SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.15139 · CVPR · 2024

Deep Generative Model based Rate-Distortion for Image Downscaling Assessment

Yuanbang Liang, Yipeng Qin, Paul Rosin, Bhavesh Garg

arXiv · PDF · Open in the Atlas

Code that ran

13 of 20 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, 3 violated it and 4 have no contract verdict; 4 failures of our instrument; 7 no recorded run), measured 2026-11-23; 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/2403.15139.json · badge: /api/ran/2403.15139.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
andreas128/SRFlow canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
IIGROUP/MANIQA community
Papers with Code archive
4 ran · 5 no recorded run
FunctionStatusWhere it lives
Block Ran
ran on a synthesized input
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("2746ad51b2733503")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import numpy as np
from scipy import stats

INIT_ARGS = {
    'dim': 4,
    'num_heads': 2,
    'mlp_ratio': 2.0,
    'qkv_bias': False,
    'drop': 0.0,
    'attn_drop': 0.0,
    'drop_path': 0.1,
    'act_layer': nn.GELU,
    'norm_layer': nn.LayerNorm
}

# Create input tensor with shape (batch_size, sequence_length, feature_dim)
batch_size = 2
sequence_length = 3
feature_dim = 4  # must match INIT_ARGS['dim']

ARGS = {
    'x': torch.randn(batch_size, sequence_length, feature_dim)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DropPath Ran
ran on a synthesized input
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("93f0fde3bc773068")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 4, 3) 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

def drop_path(x, drop_prob: float=0.0, training: bool=False, scale_by_keep: bool=True):
    """Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).

    This is the same as the DropConnect impl I created for EfficientNet, etc networks, however,
    the original name is misleading as 'Drop Connect' is a different form of dropout in a separate paper...
    See discussion: https://github.com/tensorflow/tpu/issues/494#issuecomment-532968956 ... I've opted for
    changing the layer and argument names to 'drop path' rather than mix DropConnect as a layer name and use
    'survival rate' as the argument.

    """
    if drop_prob == 0.0 or not training:
        return x
    keep_prob = 1 - drop_prob
    shape = (x.shape[0],) + (1,) * (x.ndim - 1)
    random_tensor = x.new_empty(shape).bernoulli_(keep_prob)
    if keep_prob > 0.0 and scale_by_keep:
        random_tensor.div_(keep_prob)
    return x * random_tensor

class DropPath(nn.Module):
    """Drop paths (Stochastic Depth) per sample  (when applied in main path of residual blocks).
    """

    def __init__(self, drop_prob=None, scale_by_keep=True):
        super(DropPath, self).__init__()
        self.drop_prob = drop_prob
        self.scale_by_keep = scale_by_keep

    def forward(self, x):
        return drop_path(x, self.drop_prob, self.training, self.scale_by_keep)


INIT_ARGS = {
    'drop_prob': 0.2,
    'scale_by_keep': True,
}

ARGS = {
    'x': torch.randn(2, 4, 3),
}

if __name__ == '__main__':
    model = DropPath(**INIT_ARGS)
    model.train()
    output = model(**ARGS)
    print(output.shape)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
SaveOutput Ran
ran on a synthesized input
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("29ae1bd63129829a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned NoneType. 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

class SaveOutput:

    def __init__(self):
        self.outputs = []

    def __call__(self, module, module_in, module_out):
        self.outputs.append(module_out)

    def clear(self):
        self.outputs = []


INIT_ARGS = {}

ARGS = {
    'module': nn.Linear(4, 3),
    'module_in': (torch.randn(2, 4),),
    'module_out': torch.randn(2, 3)
}

METHOD = '__call__'

if __name__ == '__main__':
    save_output = SaveOutput(**INIT_ARGS)
    save_output(**ARGS)
    print("Outputs collected:", len(save_output.outputs))
    print("Output shape:", save_output.outputs[0].shape)
    save_output.clear()
    print("Outputs after clear:", len(save_output.outputs))
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
WindowAttention Ran
ran on a synthesized input
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("934603402f30a8bf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import math
import warnings

def _no_grad_trunc_normal_(tensor, mean, std, a, b):
    def norm_cdf(x):
        return (1.0 + math.erf(x / math.sqrt(2.0))) / 2.0
    if mean < a - 2 * std or mean > b + 2 * std:
        warnings.warn('mean is more than 2 std from [a, b] in nn.init.trunc_normal_. The distribution of values may be incorrect.', stacklevel=2)
    with torch.no_grad():
        l = norm_cdf((a - mean) / std)
        u = norm_cdf((b - mean) / std)
        tensor.uniform_(2 * l - 1, 2 * u - 1)
        tensor.erfinv_()
        tensor.mul_(std * math.sqrt(2.0))
        tensor.add_(mean)
        tensor.clamp_(min=a, max=b)
        return tensor

def trunc_normal_(tensor, mean=0.0, std=1.0, a=-2.0, b=2.0):
    return _no_grad_trunc_normal_(tensor, mean, std, a, b)

class WindowAttention(nn.Module):
    def __init__(self, dim, window_size, num_heads, qkv_bias=True, qk_scale=None, attn_drop=0.0, proj_drop=0.0):
        super().__init__()
        self.dim = dim
        self.window_size = window_size
        self.num_heads = num_heads
        head_dim = dim // num_heads
        self.scale = qk_scale or head_dim ** (-0.5)
        self.relative_position_bias_table = nn.Parameter(torch.zeros((2 * window_size[0] - 1) * (2 * window_size[1] - 1), num_heads))
        coords_h = torch.arange(self.window_size[0])
        coords_w = torch.arange(self.window_size[1])
        coords = torch.stack(torch.meshgrid([coords_h, coords_w]))
        coords_flatten = torch.flatten(coords, 1)
        relative_coords = coords_flatten[:, :, None] - coords_flatten[:, None, :]
        relative_coords = relative_coords.permute(1, 2, 0).contiguous()
        relative_coords[:, :, 0] += self.window_size[0] - 1
        relative_coords[:, :, 1] += self.window_size[1] - 1
        relative_coords[:, :, 0] *= 2 * self.window_size[1] - 1
        relative_position_index = relative_coords.sum(-1)
        self.register_buffer('relative_position_index', relative_position_index)
        self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
        self.attn_drop = nn.Dropout(attn_drop)
        self.proj = nn.Linear(dim, dim)
        self.proj_drop = nn.Dropout(proj_drop)
        trunc_normal_(self.relative_position_bias_table, std=0.02)
        self.softmax = nn.Softmax(dim=-1)

    def forward(self, x, mask=None):
        B_, N, C = x.shape
        qkv = self.qkv(x).reshape(B_, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
        q, k, v = (qkv[0], qkv[1], qkv[2])
        q = q * self.scale
        attn = q @ k.transpose(-2, -1)
        relative_position_bias = self.relative_position_bias_table[self.relative_position_index.view(-1)].view(self.window_size[0] * self.window_size[1], self.window_size[0] * self.window_size[1], -1)
        relative_position_bias = relative_position_bias.permute(2, 0, 1).contiguous()
        attn = attn + relative_position_bias.unsqueeze(0)
        if mask is not None:
            nW = mask.shape[0]
            attn = attn.view(B_ // nW, nW, self.num_heads, N, N) + mask.unsqueeze(1).unsqueeze(0)
            attn = attn.view(-1, self.num_heads, N, N)
            attn = self.softmax(attn)
        else:
            attn = self.softmax(attn)
        attn = self.attn_drop(attn)
        x = (attn @ v).transpose(1, 2).reshape(B_, N, C)
        x = self.proj(x)
        x = self.proj_drop(x)
        return x

INIT_ARGS = {
    'dim': 4,
    'window_size': (2, 3),
    'num_heads': 2,
    'qkv_bias': True,
    'qk_scale': None,
    'attn_drop': 0.0,
    'proj_drop': 0.0,
}

ARGS = {
    'x': torch.randn(2, 6, 4),
    'mask': None,
}

if __name__ == '__main__':
    model = WindowAttention(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
deriveScaleFromSize Ran
ran, violated the contract we drafted
andreas128/SRFlow/code/imresize.py
pointer only (licence: NOASSERTION) · get_code("b97b2d33b67260a8")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

deriveSizeFromScale Ran
ran; our contract draft was wrong, not the code
andreas128/SRFlow/code/imresize.py
pointer only (licence: NOASSERTION) · get_code("ffe34bf756a6eaa8")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

getConditional Ran
ran, violated the contract we drafted
andreas128/SRFlow/code/models/modules/FlowStep.py
pointer only (licence: NONE); the stored copy get_code serves, from hnt4499/DeFlow, is pointer only (licence: NONE) · get_code("0bebbc75f9a3e43e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, andreas128/SRFlow 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_position_name Ran
ran; our contract draft was wrong, not the code
andreas128/SRFlow/code/models/modules/FlowUpsamplerNet.py
pointer only (licence: NOASSERTION) · get_code("4a5dde4fe6f03db6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

imread Ran
ran, honoured the contract we drafted
andreas128/SRFlow/code/Measure.py
pointer only (licence: NOASSERTION) · get_code("b3408d91189f5c25")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

imread Ran
ran, honoured the contract we drafted
andreas128/SRFlow/code/prepare_data.py
pointer only (licence: NOASSERTION) · get_code("d4a4924746094263")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

random_crop Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
andreas128/SRFlow/code/prepare_data.py
pointer only (licence: NOASSERTION) · get_code("9c54ab0c75133028")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

t Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
andreas128/SRFlow/code/Measure.py
pointer only (licence: NOASSERTION) · get_code("df0c958745aa00b2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

triangle Ran
ran, violated the contract we drafted
andreas128/SRFlow/code/imresize.py
pointer only (licence: NOASSERTION) · get_code("2722f476a816c1b9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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.

BasicLayer Not yet run
unverified (harvested, no recorded run)
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("07eec89c3481b3e2")
How it ran

no invocation recorded.

MANIQA Not yet run
unverified (harvested, no recorded run)
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("635a6dcf3b09ffb0")
How it ran

no invocation recorded.

SwinBlock Not yet run
unverified (harvested, no recorded run)
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("9171a3e6b2c22032")
How it ran

no invocation recorded.

SwinTransformer Not yet run
unverified (harvested, no recorded run)
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("af6e9e8156c1445d")
How it ran

no invocation recorded.

TABlock Not yet run
unverified (harvested, no recorded run)
IIGROUP/MANIQA/models/maniqa.py
code served (permissive licence) · get_code("14c15edf88a94cd7")
How it ran

no invocation recorded.

define_Flow Not yet run
unverified (harvested, no recorded run)
andreas128/SRFlow/code/models/networks.py
pointer only (licence: NOASSERTION) · get_code("6d050c5262a0b80b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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. No invocation recorded.

find_model_using_name Not yet run
unverified (harvested, no recorded run)
andreas128/SRFlow/code/models/networks.py
pointer only (licence: NOASSERTION) · get_code("7d04d276ed855e64")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andreas128/SRFlow (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. No invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 1 the same month, 1 later) and 7 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
WindowAttention
brick of this paper's assembly: helper
15 other papers
12 dated earlier, 3 later · 5 only as an assembly brick
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2203.13963 (2022-03)
Transformer-empowered Multi-scale Contextual Matching and Aggregation for Multi-contrast MRI Super-resolution
and 12 more not named here
Block
brick of this paper's assembly: helper
7 other papers
6 dated earlier, 1 the same month · 1 only as an assembly brick
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2204.01678 (2022-04)
MultiMAE: Multi-modal Multi-task Masked Autoencoders
2209.08956 (2022-09)
Panoramic Vision Transformer for Saliency Detection in 360 • Videos
and 4 more not named here
deriveScaleFromSize 3 other papers
3 dated earlier
1912.06960 (2019-12)
What Else Can Fool Deep Learning? Addressing Color Constancy Errors on Deep Neural Network Performance
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
2210.12593 (2022-10)
Single Image Super-Resolution via a Dual Interactive Implicit Neural Network
deriveSizeFromScale 3 other papers
3 dated earlier
1912.06960 (2019-12)
What Else Can Fool Deep Learning? Addressing Color Constancy Errors on Deep Neural Network Performance
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
2210.12593 (2022-10)
Single Image Super-Resolution via a Dual Interactive Implicit Neural Network
triangle 3 other papers
3 dated earlier
1912.06960 (2019-12)
What Else Can Fool Deep Learning? Addressing Color Constancy Errors on Deep Neural Network Performance
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
2210.12593 (2022-10)
Single Image Super-Resolution via a Dual Interactive Implicit Neural Network
define_Flow 2 other papers
2 dated earlier
2106.12699 (2021-06)
Distilling the Knowledge from Conditional Normalizing Flows
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
find_model_using_name 2 other papers
2 dated earlier
2106.12699 (2021-06)
Distilling the Knowledge from Conditional Normalizing Flows
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
random_crop 2 other papers
2 dated earlier
2106.12699 (2021-06)
Distilling the Knowledge from Conditional Normalizing Flows
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
DropPath
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2201.03545 (2022-01)
A ConvNet for the 2020s
getConditional 1 other paper
1 dated earlier
2101.05796 (2021-01)
DeFlow: Learning Complex Image Degradations from Unpaired Data with Conditional Flows
imread 1 other paper
1 dated earlier
2304.07039 (2023-04)
Learning Semantic-Aware Knowledge Guidance for Low-Light Image Enhancement
imread 1 other paper
1 dated earlier
2204.09679 (2022-04)
FS-NCSR: Increasing Diversity of the Super-Resolution Space via Frequency Separation and Noise-Conditioned Normalizing Flow
t 1 other paper
1 dated earlier
2304.07039 (2023-04)
Learning Semantic-Aware Knowledge Guidance for Low-Light Image Enhancement

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-23.

Repositories linked to this paper

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

Abstract

In this paper, we propose Image Downscaling Assessment by Rate-Distortion (IDA-RD), a novel measure to quantitatively evaluate image downscaling algorithms. In contrast to image-based methods that measure the quality of downscaled images, ours is process-based that draws ideas from ratedistortion theory to measure the distortion incurred during downscaling. Our main idea is that downscaling and superresolution (SR) can be viewed as the encoding and decoding processes in the rate-distortion model, respectively, and that a downscaling algorithm that preserves more details in the resulting low-resolution (LR) images should lead to less distorted high-resolution (HR) images in SR. In other words, the distortion should increase as the downscaling algorithm deteriorates. However, it is non-trivial to measure this distortion as it requires the SR algorithm to be blind and stochastic. Our key insight is that such requirements can be met by recent SR algorithms based on deep generative models that can find all matching HR images for a given LR image on their learned manifolds. Extensive experimental results show the effectiveness of our IDA-RD measure. Our code is available at: https:// github.com/ Byronliang8/ IDA-RD

For agents

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

get_harvested_code_for_paper("2403.15139")
get_code_for_paper("2403.15139")
have("2403.15139")

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

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

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

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

Connect an agent — have() is free.