SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.11448 · 2022

High-Efficiency Lossy Image Coding Through Adaptive Neighborhood Information Aggregation

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2204.11448.json · badge: /api/ran/2204.11448.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lumingzzz/tinylic community (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
FunctionStatusWhere it lives
conv Ran
ran; our contract draft was wrong, not the code
lumingzzz/tinylic/compressai/models/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from micmic123/qmapcompression, is pointer only (licence: NONE) · get_code("f2cea3e9848ae52d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from micmic123/qmapcompression, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv1x1 Ran
ran; our contract draft was wrong, not the code
lumingzzz/tinylic/compressai/layers/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from UnoC-727/NeFIC, is pointer only (licence: NONE) · get_code("15eae621014906be")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from UnoC-727/NeFIC, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
lumingzzz/tinylic/compressai/layers/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from hejiaxiang1/wavelet-diffusion, is pointer only (licence: NONE) · get_code("0cbeed6985b2cf30")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from hejiaxiang1/wavelet-diffusion, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_named_buffer Ran
ran, honoured the contract we drafted
lumingzzz/tinylic/compressai/models/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from micmic123/qmapcompression, is pointer only (licence: NONE) · get_code("a94389b554ddc179")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from micmic123/qmapcompression, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_named_module Ran
ran; our contract draft was wrong, not the code
lumingzzz/tinylic/compressai/models/utils.py
code served (permissive licence) · get_code("0b4d7c9d1baaf828")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Linear. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple nested module structure
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)

class RootModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.layer1 = SimpleModule()
        self.layer2 = nn.Linear(2, 1)

# Instantiate the root module
root_module = RootModule()

# The function uses module.named_modules() which returns tuples of (name, module)
# We need to provide a valid module and a query string that matches one of the named modules
# Valid queries for root_module would be: '', 'layer1', 'layer1.linear1', 'layer1.linear2', 'layer2'

ARGS = {
    "module": root_module,
    "query": "layer1.linear1"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_mparams Ran
ran on a synthesized input
lumingzzz/tinylic/compressai/layers/natten/extras.py
code served (permissive licence) · get_code("e03f5318d5f26d00")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_raw_video_file_info Ran
ran on a synthesized input
lumingzzz/tinylic/compressai/datasets/rawvideo.py
code served (permissive licence) · get_code("f483333ef7b798d3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from fractions import Fraction
from typing import Any, Dict

# The function takes a single parameter: filename (a string)
# We need to construct various filenames that will test different parsing paths

ARGS = {
    "filename": "video_1920x1080_30fps_10bit_yuv420.yuv"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_scale_table Ran
ran, honoured the contract we drafted
lumingzzz/tinylic/compressai/models/tinylic.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from njuvision/mpa, is pointer only (licence: NOASSERTION) · get_code("feb29b32fc1ec50e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from njuvision/mpa, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

subpel_conv3x3 Ran
ran; our contract draft was wrong, not the code
lumingzzz/tinylic/compressai/layers/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from hejiaxiang1/wavelet-diffusion, is pointer only (licence: NONE) · get_code("8bc3a872b71e34f4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from hejiaxiang1/wavelet-diffusion, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_num_frms Not yet run
unverified (harvested, no recorded run)
lumingzzz/tinylic/compressai/datasets/rawvideo.py
code served (permissive licence) · get_code("808518a862db1b47")
How it ran

no invocation recorded.

make_dtype Not yet run
unverified (harvested, no recorded run)
lumingzzz/tinylic/compressai/datasets/rawvideo.py
code served (permissive licence) · get_code("39f771d03f187191")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 8 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_scale_table 16 other papers
7 dated earlier, 8 later, 1 same year, order not determinable
1802.01436 (2018-02)
Variational image compression with a scale hyperprior
2011.03029 (2020-11)
CompressAI: a PyTorch library and evaluation platform for end-to-end compression research
2011.06294 (2020-11)
Real-Time Intermediate Flow Estimation for Video Frame Interpolation
and 13 more not named here
conv 14 other papers
5 dated earlier, 8 later, 1 same year, order not determinable · 1 only as an assembly brick
Deng_Deep_Homography_for_Efficient_Stereo_Image_Compression_CVPR_2021_paper (2021 (year only))
Deep Homography for Efficient Stereo Image Compression
2108.03690 (2021-08)
Enhanced Invertible Encoding for Learned Image Compression
2108.09551 (2021-08)
Variable-Rate Deep Image Compression through Spatially-Adaptive Feature Transform
and 11 more not named here
conv1x1 12 other papers
2 dated earlier, 9 later, 1 same year, order not determinable
aaai_19890 (2022 (year only))
OoDHDR-Codec: Out-of-Distribution Generalization for HDR Image Compression
2203.08450 (2022-03)
The Devil Is in the Details: Window-based Attention for Image Compression
2203.10886 (2022-03)
ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Coding
and 9 more not named here
find_named_buffer 9 other papers
4 dated earlier, 4 later, 1 same year, order not determinable · 1 only as an assembly brick
Deng_Deep_Homography_for_Efficient_Stereo_Image_Compression_CVPR_2021_paper (2021 (year only))
Deep Homography for Efficient Stereo Image Compression
2108.03690 (2021-08)
Enhanced Invertible Encoding for Learned Image Compression
2108.09551 (2021-08)
Variable-Rate Deep Image Compression through Spatially-Adaptive Feature Transform
and 6 more not named here
find_named_module 8 other papers
3 dated earlier, 4 later, 1 same year, order not determinable
Deng_Deep_Homography_for_Efficient_Stereo_Image_Compression_CVPR_2021_paper (2021 (year only))
Deep Homography for Efficient Stereo Image Compression
2108.03690 (2021-08)
Enhanced Invertible Encoding for Learned Image Compression
aaai_19890 (2022 (year only))
OoDHDR-Codec: Out-of-Distribution Generalization for HDR Image Compression
and 5 more not named here
conv3x3 4 other papers
1 dated earlier, 2 later, 1 same year, order not determinable
aaai_19890 (2022 (year only))
OoDHDR-Codec: Out-of-Distribution Generalization for HDR Image Compression
2203.08450 (2022-03)
The Devil Is in the Details: Window-based Attention for Image Compression
2403.00628 (2024-03)
Region-Adaptive Transform with Segmentation Prior for Image Compression
and 1 more not named here
subpel_conv3x3 4 other papers
1 dated earlier, 2 later, 1 same year, order not determinable
aaai_19890 (2022 (year only))
OoDHDR-Codec: Out-of-Distribution Generalization for HDR Image Compression
2203.08450 (2022-03)
The Devil Is in the Details: Window-based Attention for Image Compression
2403.00628 (2024-03)
Region-Adaptive Transform with Segmentation Prior for Image Compression
and 1 more not named here
get_mparams 1 other paper
1 later
2211.05770 (2022-11)
Efficient Image Generation with Variadic Attention Heads

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Questing for learned lossy image coding (LIC) with superior compression performance and computation throughput is challenging. The vital factor behind it is how to intelligently explore Adaptive Neighborhood Information Aggregation (ANIA) in transform and entropy coding modules. To this end, Integrated Convolution and Self-Attention (ICSA) unit is first proposed to form a content-adaptive transform to characterize and embed neighborhood information dynamically of any input. Then a Multistage Context Model (MCM) is devised to progressively use available neighbors following a pre-arranged spatial-channel order for accurate probability estimation in parallel. ICSA and MCM are stacked under a Variational AutoEncoder (VAE) architecture to derive rate-distortion optimized compact representation of input image via end-to-end learning. Our method reports state-of-the-art compression performance surpassing the VVC Intra and other prevalent LIC approaches across Kodak, CLIC, and Tecnick datasets; More importantly, our method offers $>$60$\times$ decoding speedup using a comparable-size model when compared with the most popular LIC method. All materials are made publicly accessible at https://njuvision.github.io/TinyLIC for reproducible research.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2204.11448")
get_code_for_paper("2204.11448")
have("2204.11448")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2204.11448.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2204.11448.svg)](https://syntology.ai/paper/2204.11448)

Connect an agent — have() is free.