SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.02299 · CVPR · 2021

MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Resolution

Hong Kong, Jiaya Jia, Jiangbo Lu, Xin Tao, Wenbo Li, Smartmore, Liying Lu

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 1 failure of our instrument; 1 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/2106.02299.json · badge: /api/ran/2106.02299.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
dvlab-research/MASA-SR marked official in Papers with Code
Papers with Code archive
5 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
DRAM Ran
ran on a synthesized input · constructed an object; no result was computed
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("0b1fb3a9784a4efa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("a99f4469b696e781")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("a2d0ed546c01adb8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

ResidualBlock Ran
ran on a synthesized input · constructed an object; no result was computed
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("89fefaa3bb27b0b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

SAM Ran
ran on a synthesized input · constructed an object; no result was computed
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("224af6a4c088bba6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

make_layer Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from haoyuc/A2N
pointer only; the stored copy get_code serves, from haoyuc/A2N, is pointer only (licence: NONE) · get_code("c04a23de0531da4a")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

MASA Not yet run
unverified (harvested, no recorded run)
dvlab-research/MASA-SR/models/archs/MASA_arch.py
pointer only (licence: NONE) · get_code("535c783ce89ad298")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dvlab-research/MASA-SR 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.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 5 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
make_layer
brick of this paper's assembly: helper
31 other papers
11 dated earlier, 20 later · 6 only as an assembly brick
1809.00219 (2018-09)
ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks
1905.02716 (2019-05)
EDVR: Video Restoration with Enhanced Deformable Convolutional Networks
1905.10485 (2019-05)
Generative Latent Flow
and 28 more not named here
ResidualBlock
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2203.13963 (2022-03)
Transformer-empowered Multi-scale Contextual Matching and Aggregation for Multi-contrast MRI Super-resolution

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

Reference-based image super-resolution (RefSR) has shown promising success in recovering high-frequency details by utilizing an external reference image (Ref). In this task, texture details are transferred from the Ref image to the low-resolution (LR) image according to their point-or patch-wise correspondence. Therefore, high-quality correspondence matching is critical. It is also desired to be computationally efficient. Besides, existing RefSR methods tend to ignore the potential large disparity in distributions between the LR and Ref images, which hurts the effectiveness of the information utilization. In this paper, we propose the MASA network for RefSR, where two novel modules are designed to address these problems. The proposed Match & Extraction Module significantly reduces the computational cost by a coarse-to-fine correspondence matching scheme. The Spatial Adaptation Module learns the difference of distribution between the LR and Ref images, and remaps the distribution of Ref features to that of LR features in a spatially adaptive way. This scheme makes the network robust to handle different reference images. Extensive quantitative and qualitative experiments validate the effectiveness of our proposed model.

For agents

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

get_harvested_code_for_paper("2106.02299")
get_code_for_paper("2106.02299")
have("2106.02299")

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

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

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

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

Connect an agent — have() is free.