SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.13677 · 2021

ResT: An Efficient Transformer for Visual Recognition

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 2 failures of our instrument; 0 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/2105.13677.json · badge: /api/ran/2105.13677.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
wofmanaf/ResT canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
attn_flops Ran
ran on a synthesized input
wofmanaf/ResT/get_flops.py
pointer only (licence: Apache-2.0) · get_code("3c6688ac878a6fe8")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

build_dataset Ran
ran on a synthesized input
wofmanaf/ResT/datasets.py
pointer only (licence: Apache-2.0) · get_code("8f9624e6bef0eeae")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

build_transform Ran
ran; our contract draft was wrong, not the code
wofmanaf/ResT/datasets.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from techmonsterwang/illama, is pointer only (licence: NONE) · get_code("6a0317bfd6be9557")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

fourier Ran
ran on a synthesized input
wofmanaf/ResT/fourier_analysis.py
pointer only (licence: Apache-2.0) · get_code("ae74acedd042c1b1")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

get_flops Ran
ran on a synthesized input
wofmanaf/ResT/get_flops.py
pointer only (licence: Apache-2.0) · get_code("de5fef9f979995e1")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

get_layer_id_for_rest Ran
ran, honoured the contract we drafted
wofmanaf/ResT/optim_factory.py
pointer only (licence: Apache-2.0) · get_code("e761e05ddc7ffc66")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

get_parameter_groups Ran
ran; our contract draft was wrong, not the code
wofmanaf/ResT/optim_factory.py
pointer only (licence: Apache-2.0) · get_code("7de76b9d1b1f4ea4")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

make_segments Ran
ran on a synthesized input
wofmanaf/ResT/fourier_analysis.py
pointer only (licence: Apache-2.0) · get_code("983d59bb1110637b")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

shift Ran
ran on a synthesized input
wofmanaf/ResT/fourier_analysis.py
pointer only (licence: Apache-2.0) · get_code("4250eda6a35c9d8c")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, wofmanaf/ResT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 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
build_transform 9 other papers
1 dated earlier, 8 later
1905.02244 (2019-05)
Searching for MobileNetV3
136810051 (2022 (year only))
AMixer: Adaptive Weight Mixing for Self-Attention Free Vision Transformers
2211.05781 (2022-11)
Demystify Transformers & Convolutions in Modern Image Deep Networks
and 6 more not named here
make_segments 1 other paper
1 dated earlier
1905.08721 (2019-05)
Factorised Neural Relational Inference for Multi-Interaction Systems

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

This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.

For agents

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

get_harvested_code_for_paper("2105.13677")
get_code_for_paper("2105.13677")
have("2105.13677")

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

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

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

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

Connect an agent — have() is free.