SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.05425 · 2021

Couplformer:Rethinking Vision Transformer with Coupling Attention Map

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 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 0 have no contract verdict; 4 failures of our instrument; 6 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2112.05425.json · badge: /api/ran/2112.05425.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
wer010/Couplformer canonical (classifier label)
classifier basis: census
6 ran · 6 no recorded run
FunctionStatusWhere it lives
window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wer010/Couplformer/src/swin.py
pointer only (licence: NONE) · get_code("144d10b49baeb8a6")
How it ran

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

accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wer010/Couplformer/evaluate.py
pointer only (licence: NONE) · get_code("d5edbca041111ce3")
How it ran

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

cls_validate Ran
ran, honoured the contract we drafted
wer010/Couplformer/evaluate.py
pointer only (licence: NONE) · get_code("3bca64f194bf9a4c")
How it ran

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

count_parameters Ran
ran, honoured the contract we drafted
wer010/Couplformer/ddp_train.py
pointer only (licence: NONE) · get_code("6a41f5e3194a54b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wer010/Couplformer 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)
wer010/Couplformer/src/utils/stochastic_depth.py
pointer only (licence: NONE) · get_code("6bb7492655ecbda4")
How it ran

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

window_reverse Ran
ran; our contract draft was wrong, not the code
wer010/Couplformer/src/swin.py
pointer only (licence: NONE) · get_code("61bf152e6a42a184")
How it ran

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

cct_sd Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/src/cct.py
pointer only (licence: NONE) · get_code("a05e508be34863c6")
How it ran

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

kct_sd Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/src/kct.py
pointer only (licence: NONE) · get_code("24bd7de1ce705a4b")
How it ran

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

simple_accuracy Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/ddp_train.py
pointer only (licence: NONE) · get_code("3c241ecfe3749a6d")
How it ran

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

vic_10 Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/src/vic.py
pointer only (licence: NONE) · get_code("59cf6b7b765b5627")
How it ran

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

vic_6 Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/src/vic.py
pointer only (licence: NONE) · get_code("438fd905dba1403f")
How it ran

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

vic_sd Not yet run
unverified (harvested, no recorded run)
wer010/Couplformer/src/vic.py
pointer only (licence: NONE) · get_code("2241f1a5c5f4a2c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wer010/Couplformer 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 2 the same month, 5 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
window_reverse 227 other papers
21 dated earlier, 7 the same month, 199 later · 34 only as an assembly brick
1608.03983 (2016-08)
SGDR: Stochastic Gradient Descent with Warm Restarts
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 224 more not named here
drop_path 224 other papers
17 dated earlier, 206 later, 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
window_partition 223 other papers
19 dated earlier, 7 the same month, 197 later · 32 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 220 more not named here
simple_accuracy 59 other papers
40 dated earlier, 19 later
1506.05865 (2015-06)
LCSTS: A Large Scale Chinese Short Text Summarization Dataset
1509.01626 (2015-09)
Character-level Convolutional Networks for Text Classification *
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
and 56 more not named here
count_parameters 3 other papers
1 dated earlier, 2 later
2103.15808 (2021-03)
CvT: Introducing Convolutions to Vision Transformers
2403.19067 (2024-03)
Low-Rank Rescaled Vision Transformer Fine-Tuning: A Residual Design Approach
accuracy 1 other paper
1 dated earlier
2104.05704 (2021-04)
Escaping the Big Data Paradigm with Compact Transformers
cls_validate 1 other paper
1 dated earlier
2104.05704 (2021-04)
Escaping the Big Data Paradigm with Compact Transformers

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

With the development of the self-attention mechanism, the Transformer model has demonstrated its outstanding performance in the computer vision domain. However, the massive computation brought from the full attention mechanism became a heavy burden for memory consumption. Sequentially, the limitation of memory reduces the possibility of improving the Transformer model. To remedy this problem, we propose a novel memory economy attention mechanism named Couplformer, which decouples the attention map into two sub-matrices and generates the alignment scores from spatial information. A series of different scale image classification tasks are applied to evaluate the effectiveness of our model. The result of experiments shows that on the ImageNet-1k classification task, the Couplformer can significantly decrease 28% memory consumption compared with regular Transformer while accessing sufficient accuracy requirements and outperforming 0.92% on Top-1 accuracy while occupying the same memory footprint. As a result, the Couplformer can serve as an efficient backbone in visual tasks, and provide a novel perspective on the attention mechanism for researchers.

For agents

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

get_harvested_code_for_paper("2112.05425")
get_code_for_paper("2112.05425")
have("2112.05425")

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

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

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

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

Connect an agent — have() is free.