SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.11273 · 2024

Training Transformer Models by Wavelet Losses Improves Quantitative and Visual Performance in Single Image Super-Resolution

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 13 failures of our instrument; 3 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/2404.11273.json · badge: /api/ran/2404.11273.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
mandalinadagi/wavelettention canonical (classifier label)
classifier basis: census
14 ran · 3 no recorded run
FunctionStatusWhere it lives
batched_index_select Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/archs/wavelettention_arch.py
code served (permissive licence) · get_code("8429e6520e353d4d")
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 Tensor, ndim 3, dtype family float, shape (2, 3, 4) 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

torch.manual_seed(0)

# Construct arguments for batched_index_select
# The function expects:
# - values: a tensor with shape (batch, seq_len, features)
# - indices: a tensor with shape (batch, num_indices) containing indices to select from seq_len dimension

batch_size = 2
seq_len = 5
feature_dim = 4
num_indices = 3

# values tensor: shape (batch_size, seq_len, feature_dim)
values = torch.randn(batch_size, seq_len, feature_dim)

# indices tensor: shape (batch_size, num_indices) with valid indices in range [0, seq_len)
indices = torch.tensor([[0, 2, 4], [1, 3, 2]], dtype=torch.long)

ARGS = {
    "values": values,
    "indices": indices,
}
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 Tensor, ndim 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 4) 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
default_conv Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/archs/wavelettention_arch.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from mc-e/deep-generalized-unfolding-networks-for-image-restoration, is pointer only (licence: NONE) · get_code("1da66073b47c5596")
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 mc-e/deep-generalized-unfolding-networks-for-image-restoration, 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.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mandalinadagi/wavelettention/wavelettention/archs/wavelettention_arch.py
code served (permissive licence) · get_code("52d96aa31ed74a56")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) 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

torch.manual_seed(0)

# Create a small tensor with batch size 2 and some feature dimensions
# Shape: (batch=2, channels=3, height=4, width=5) to have distinct dimensions
x = torch.randn(2, 3, 4, 5)

# drop_prob: probability of dropping a path (between 0 and 1)
drop_prob = 0.2

# training: boolean flag indicating if we're in training mode
training = True

ARGS = {
    'x': x,
    'drop_prob': drop_prob,
    'training': training
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 5) 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
flow_warp Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/archs/arch_util.py
code served (permissive licence) · get_code("ef9faf68f492a375")
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) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 3, 5) 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.functional as F

torch.manual_seed(0)

# Create a small image/feature map tensor: (batch=2, channels=4, height=3, width=5)
x = torch.randn(2, 4, 3, 5)

# Create optical flow tensor: (batch=2, height=3, width=5, 2)
# The flow represents displacement in (x, y) directions
flow = torch.randn(2, 3, 5, 2) * 0.5  # Small displacements

ARGS = {
    'x': x,
    'flow': flow,
    'interp_mode': 'bilinear',
    'padding_mode': 'zeros',
    'align_corners': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 4, dtype family float, shape (2, 4, 3, 5) — shape (2, 4, 3, 5) 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_position_from_periods Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mandalinadagi/wavelettention/wavelettention/basicsr/models/lr_scheduler.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from AlifAshrafee/Restoring-Without-Forgetting, is pointer only (licence: NONE) · get_code("cd569444547de84f")
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 AlifAshrafee/Restoring-Without-Forgetting, 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.

gradient_penalty_loss Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/losses/gan_loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("81eb425a41a7c2a1")
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 CUHK-AIM-Group/MedVSR, 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.

insert_bn Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/archs/vgg_arch.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Jiayi-Fu/IPC-Dehaze, is pointer only (licence: NOASSERTION) · get_code("5360d45b71ae2bb1")
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 Jiayi-Fu/IPC-Dehaze, 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.

make_layer Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/archs/arch_util.py
code served (permissive licence) · get_code("96ad5dc9ca239aec")
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) and returned Sequential. 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)

# Define a simple basic block that can be instantiated with **kwarg
class SimpleBasicBlock(nn.Module):
    def __init__(self, in_channels=3, out_channels=4):
        super().__init__()
        self.conv = nn.Conv2d(in_channels, out_channels, kernel_size=3, padding=1)
    
    def forward(self, x):
        return self.conv(x)

# Construct the arguments
ARGS = {
    'basic_block': SimpleBasicBlock,
    'num_basic_block': 3,
    'in_channels': 3,
    'out_channels': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
mypad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mandalinadagi/wavelettention/wavelettention/basicsr/losses/SWT.py
code served (permissive licence) · get_code("5e656210252d9f33")
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 Tensor, ndim 4, dtype family float, shape (2, 3, 6, 7) 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 numpy as np

torch.manual_seed(0)

# Create a small 4D tensor (batch=2, channels=3, height=4, width=5)
x = torch.randn(2, 3, 4, 5)

# Define padding as (left, right, top, bottom)
pad = (1, 1, 1, 1)

# Define mode - testing with 'constant'
mode = 'constant'

# Define value for constant padding
value = 0

ARGS = {
    'x': x,
    'pad': pad,
    'mode': mode,
    'value': value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 6, 7) — shape (2, 3, 6, 7) 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
prep_filt_afb2d Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/losses/SWT.py
code served (permissive licence) · get_code("a1070467a2c29db6")
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 tuple. 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 numpy as np

torch.manual_seed(0)

# Create small filter arrays for the wavelet decomposition
# These represent low-pass and high-pass filters for column and row operations
h0_col = [0.5, 0.5]  # Simple low-pass column filter
h1_col = [0.5, -0.5]  # Simple high-pass column filter
h0_row = [0.25, 0.5, 0.25]  # Low-pass row filter (different size)
h1_row = [0.25, -0.5, 0.25]  # High-pass row filter (different size)

ARGS = {
    "h0_col": h0_col,
    "h1_col": h1_col,
    "h0_row": h0_row,
    "h1_row": h1_row,
    "device": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
reduce_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mandalinadagi/wavelettention/wavelettention/basicsr/losses/loss_util.py
code served (permissive licence) · get_code("a648a03a952822c0")
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 Tensor, 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.functional as F

torch.manual_seed(0)

# Create a small elementwise loss tensor (batch=2, elements=4)
loss = torch.tensor([[0.5, 1.2, 0.3, 0.8], [0.9, 0.4, 1.1, 0.6]], dtype=torch.float32)

# Test with 'mean' reduction
reduction = 'mean'

ARGS = {
    'loss': loss,
    'reduction': reduction,
}
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 Tensor, 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
reflect Ran
ran, violated the contract we drafted
mandalinadagi/wavelettention/wavelettention/basicsr/losses/SWT.py
code served (permissive licence) · get_code("c18931526ac3006c")
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 ndarray, ndim 1, dtype family float, shape (10,) 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 numpy as np

ARGS = {
    "x": np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], dtype=np.float32),
    "minx": 0.5,
    "maxx": 5.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (10,) — shape (10,) 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
resize_flow Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/archs/arch_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from JiaxiaoWang/EvReflection, is pointer only (licence: NONE) · get_code("5a1d8458dc7077a6")
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 JiaxiaoWang/EvReflection, 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.

weight_reduce_loss Ran
ran; our contract draft was wrong, not the code
mandalinadagi/wavelettention/wavelettention/basicsr/losses/loss_util.py
code served (permissive licence) · get_code("1ba39317ea81871a")
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 Tensor, 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.functional as F

torch.manual_seed(0)

# Create a small loss tensor (batch_size=2, num_elements=4)
loss = torch.rand(2, 4)

# Create a weight tensor with matching dimensions
# weight.dim() == loss.dim() and weight.size(1) == loss.size(1)
weight = torch.rand(2, 4)

# Test different reduction modes
reduction = 'mean'

ARGS = {
    'loss': loss,
    'weight': weight,
    'reduction': reduction
}
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 Tensor, 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
g_path_regularize Not yet run
unverified (harvested, no recorded run)
mandalinadagi/wavelettention/wavelettention/basicsr/losses/gan_loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("fe05416387de89c6")
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 CUHK-AIM-Group/MedVSR, 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. No invocation recorded.

r1_penalty Not yet run
unverified (harvested, no recorded run)
mandalinadagi/wavelettention/wavelettention/basicsr/losses/gan_loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("c7cba9053f3cadb5")
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 CUHK-AIM-Group/MedVSR, 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. No invocation recorded.

weighted_loss Not yet run
unverified (harvested, no recorded run)
mandalinadagi/wavelettention/wavelettention/basicsr/losses/loss_util.py
code served (permissive licence) · get_code("cf63f8afc13f62a7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 17 are also present in other papers whose code we hold (17 with at least one paper dated earlier, 9 the same month, 16 later) and 0 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
drop_path 224 other papers
157 dated earlier, 3 the same month, 56 later, 7 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
get_position_from_periods 55 other papers
28 dated earlier, 3 the same month, 21 later, 3 same year, order not determinable
2110.04627 (2021-10)
Vector-quantized Image Modeling with Improved VQGAN
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2204.04676 (2022-04)
Simple Baselines for Image Restoration
and 52 more not named here
weighted_loss 44 other papers
20 dated earlier, 21 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 41 more not named here
reduce_loss 43 other papers
19 dated earlier, 21 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 40 more not named here
weight_reduce_loss 43 other papers
20 dated earlier, 20 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 40 more not named here
make_layer 29 other papers
12 dated earlier, 2 the same month, 14 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2108.11048 (2021-08)
Memory-Augmented Non-Local Attention for Video Super-Resolution
and 26 more not named here
flow_warp 25 other papers
11 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable · 1 only as an assembly brick
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 22 more not named here
resize_flow 21 other papers
9 dated earlier, 1 the same month, 10 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 18 more not named here
g_path_regularize 18 other papers
8 dated earlier, 1 the same month, 8 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here
gradient_penalty_loss 18 other papers
8 dated earlier, 1 the same month, 8 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here
r1_penalty 18 other papers
8 dated earlier, 1 the same month, 8 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here
insert_bn 12 other papers
7 dated earlier, 1 the same month, 3 later, 1 same year, order not determinable · 3 only as an assembly brick
2303.00748 (2023-03)
Efficient and Explicit Modelling of Image Hierarchies for Image Restoration
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
2304.03994 (2023-04)
RIDCP: Revitalizing Real Image Dehazing via High-Quality Codebook Priors
and 9 more not named here
batched_index_select 5 other papers
4 dated earlier, 1 later · 1 only as an assembly brick
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
1909.11942 (2019-09)
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
2205.08897 (2022-05)
FiLM: Frequency improved Legendre Memory Model for Long-term Time Series Forecasting
and 2 more not named here
mypad 5 other papers
1 dated earlier, 4 later
2402.19215 (2024-02)
Training Generative Image Super-Resolution Models by Wavelet-Domain Losses Enables Better Control of Artifacts *
2411.15922 (2024-11)
PromptHSI: Universal Hyperspectral Image Restoration with Vision-Language Modulated Frequency Adaptation
2506.10412 (2025-06)
TIME-IMM: A Dataset and Benchmark for Irregular Multimodal Multivariate Time Series
and 2 more not named here
reflect 4 other papers
3 dated earlier, 1 later
2203.03689 (2022-03)
WaveMix: Resource-efficient Token Mixing for Images
2311.08819 (2023-11)
Frequency Domain-based Dataset Distillation
2402.19215 (2024-02)
Training Generative Image Super-Resolution Models by Wavelet-Domain Losses Enables Better Control of Artifacts *
and 1 more not named here
default_conv 3 other papers
3 dated earlier
2004.13824 (2020-04)
Pyramid Attention Networks for Image Restoration
2204.13348 (2022-04)
Deep Generalized Unfolding Networks for Image Restoration
2402.12192 (2024-02)
Pan-Mamba: Effective pan-sharpening with State Space Model
prep_filt_afb2d 2 other papers
1 dated earlier, 1 later
2402.19215 (2024-02)
Training Generative Image Super-Resolution Models by Wavelet-Domain Losses Enables Better Control of Artifacts *
2411.15922 (2024-11)
PromptHSI: Universal Hyperspectral Image Restoration with Vision-Language Modulated Frequency Adaptation

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

Transformer-based models have achieved remarkable results in low-level vision tasks including image super-resolution (SR). However, early Transformer-based approaches that rely on self-attention within non-overlapping windows encounter challenges in acquiring global information. To activate more input pixels globally, hybrid attention models have been proposed. Moreover, training by solely minimizing pixel-wise RGB losses, such as L1, have been found inadequate for capturing essential high-frequency details. This paper presents two contributions: i) We introduce convolutional non-local sparse attention (NLSA) blocks to extend the hybrid transformer architecture in order to further enhance its receptive field. ii) We employ wavelet losses to train Transformer models to improve quantitative and subjective performance. While wavelet losses have been explored previously, showing their power in training Transformer-based SR models is novel. Our experimental results demonstrate that the proposed model provides state-of-the-art PSNR results as well as superior visual performance across various benchmark datasets.

For agents

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

get_harvested_code_for_paper("2404.11273")
get_code_for_paper("2404.11273")
have("2404.11273")

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

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

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

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

Connect an agent — have() is free.