SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.05109 · 2022

ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attention

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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 7 have no contract verdict; 5 failures of our instrument; 1 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/2211.05109.json · badge: /api/ran/2211.05109.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
GATECH-EIC/ViTaLiTy canonical (classifier label)
classifier basis not recorded on the link
13 ran · 1 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
GATECH-EIC/ViTaLiTy/src/datasets.py
pointer only (licence: Apache-2.0) · get_code("3bc74137ab36aa79")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

calc_max_quant_value Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/quant_utils.py
pointer only (licence: Apache-2.0) · get_code("b008c1f4638ba65f")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

calculate_qparams Ran
ran; our contract draft was wrong, not the code
GATECH-EIC/ViTaLiTy/src/quantize.py
pointer only (licence: Apache-2.0) · get_code("750c588ade0c659c")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

conv3x3 Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/patchconvnet_models.py
pointer only (licence: Apache-2.0) · get_code("e90596193a6f191a")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

drop_block_2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GATECH-EIC/ViTaLiTy/src/drop.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from vankouf/rfenet, is pointer only (licence: NONE) · get_code("33efc9f1ccc7933c")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

drop_block_fast_2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GATECH-EIC/ViTaLiTy/src/drop.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from vankouf/rfenet, is pointer only (licence: NONE) · get_code("30d63ccefb97a166")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GATECH-EIC/ViTaLiTy/src/drop.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from fudan-zvg/SeaFormer, is pointer only (licence: NONE) · get_code("3ac6b7d76e8e3584")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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_activation Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/mlp.py
pointer only (licence: Apache-2.0) · get_code("4768845394611c2a")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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_dynamic_scale Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/quant_utils.py
pointer only (licence: Apache-2.0) · get_code("b2f5a5d7be746e1f")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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_grad Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/quantize.py
pointer only (licence: Apache-2.0) · get_code("66ea78e93ec5b48e")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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_scale Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/quant_utils.py
pointer only (licence: Apache-2.0) · get_code("1184aa6c5f001630")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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_divisible Ran
ran, honoured the contract we drafted
GATECH-EIC/ViTaLiTy/src/patch_embed.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from facebookresearch/depthshrinker, is pointer only (licence: NOASSERTION) · get_code("24400bc088ed228d")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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.

quantize Ran
ran on a synthesized input
GATECH-EIC/ViTaLiTy/src/quantize.py
pointer only (licence: Apache-2.0) · get_code("3f1de05d36b1a783")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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 Not yet run
unverified (harvested, no recorded run)
GATECH-EIC/ViTaLiTy/src/datasets.py
pointer only (licence: Apache-2.0) · get_code("9153241c4331eb1a")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, GATECH-EIC/ViTaLiTy, 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. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 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, 6 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
drop_path 224 other papers
60 dated earlier, 1 the same month, 160 later, 2 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
build_transform 37 other papers
17 dated earlier, 18 later, 2 same year, order not determinable
2104.05707 (2021-04)
LocalViT: Analyzing Locality in Vision Transformers
2104.13840 (2021-04)
Twins: Revisiting the Design of Spatial Attention in Vision Transformers
2106.00515 (2021-06)
KVT: k-NN Attention for Boosting Vision Transformers
and 34 more not named here
build_dataset 25 other papers
6 dated earlier, 16 later, 3 same year, order not determinable
2104.05707 (2021-04)
LocalViT: Analyzing Locality in Vision Transformers
2106.00515 (2021-06)
KVT: k-NN Attention for Boosting Vision Transformers
2106.01401 (2021-06)
Container: Context Aggregation Network
and 22 more not named here
drop_block_2d 12 other papers
8 dated earlier, 4 later
2106.00666 (2021-06)
You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection
2107.00644 (2021-07)
Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation
2108.05045 (2021-08)
Semi-Supervised Domain Generalizable Person Re-Identification
and 9 more not named here
drop_block_fast_2d 11 other papers
8 dated earlier, 3 later
2106.00666 (2021-06)
You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection
2107.00644 (2021-07)
Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation
2108.05045 (2021-08)
Semi-Supervised Domain Generalizable Person Re-Identification
and 8 more not named here
make_divisible 9 other papers
5 dated earlier, 1 the same month, 3 later
2105.01601 (2021-05)
MLP-Mixer: An all-MLP Architecture for Vision
2203.08392 (2022-03)
Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?
2203.14509 (2022-03)
Automated Progressive Learning for Efficient Training of Vision Transformers
and 6 more not named here
calculate_qparams 3 other papers
3 dated earlier · 1 only as an assembly brick
2012.13113 (2020-12)
FracTrain: Fractionally Squeezing Bit Savings Both Temporally and Spatially for Efficient DNN Training
2101.09868 (2021-01)
CPT: Efficient Deep Neural Network Training via Cyclic Precision
2112.11594 (2021-12)
GCoD: Graph Convolutional Network Acceleration via Dedicated Algorithm and Accelerator Co-Design

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

Vision Transformer (ViT) has emerged as a competitive alternative to convolutional neural networks for various computer vision applications. Specifically, ViT multi-head attention layers make it possible to embed information globally across the overall image. Nevertheless, computing and storing such attention matrices incurs a quadratic cost dependency on the number of patches, limiting its achievable efficiency and scalability and prohibiting more extensive real-world ViT applications on resource-constrained devices. Sparse attention has been shown to be a promising direction for improving hardware acceleration efficiency for NLP models. However, a systematic counterpart approach is still missing for accelerating ViT models. To close the above gap, we propose a first-of-its-kind algorithm-hardware codesigned framework, dubbed ViTALiTy, for boosting the inference efficiency of ViTs. Unlike sparsity-based Transformer accelerators for NLP, ViTALiTy unifies both low-rank and sparse components of the attention in ViTs. At the algorithm level, we approximate the dot-product softmax operation via first-order Taylor attention with row-mean centering as the low-rank component to linearize the cost of attention blocks and further boost the accuracy by incorporating a sparsity-based regularization. At the hardware level, we develop a dedicated accelerator to better leverage the resulting workload and pipeline from ViTALiTy's linear Taylor attention which requires the execution of only the low-rank component, to further boost the hardware efficiency. Extensive experiments and ablation studies validate that ViTALiTy offers boosted end-to-end efficiency (e.g., $3\times$ faster and $3\times$ energy-efficient) under comparable accuracy, with respect to the state-of-the-art solution.

For agents

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

get_harvested_code_for_paper("2211.05109")
get_code_for_paper("2211.05109")
have("2211.05109")

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

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

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

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

Connect an agent — have() is free.