Papers › ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer...

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

9 Nov 2022arXiv:2211.05109archive 2025-07-28

Jyotikrishna Dass, Shang Wu, Huihong Shi, Chaojian Li, Zhifan Ye, Zhongfeng Wang, Yingyan Lin

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× faster and 3× energy-efficient) under comparable accuracy, with respect to the state-of-the-art solution.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.05109")

Code

Syntology Ran 5 of 14 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

GATECH-EIC/ViTaLiTy officialmentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 5 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
2ran
9unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from GATECH-EIC/ViTaLiTy. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_qparams GATECH-EIC/ViTaLiTy/src/quantize.py official repository ran · our draft was wrong Apache-2.0 recorded; this copy not marked cleared · pointer only · 750c588ade0c659c · report
drop_block_2d GATECH-EIC/ViTaLiTy/src/drop.py official repository ran Apache-2.0 recorded; this copy not marked cleared · pointer only · 33efc9f1ccc7933c · report
drop_block_fast_2d GATECH-EIC/ViTaLiTy/src/drop.py official repository ran Apache-2.0 recorded; this copy not marked cleared · pointer only · 30d63ccefb97a166 · report
drop_path GATECH-EIC/ViTaLiTy/src/drop.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 3ac6b7d76e8e3584 · report
make_divisible GATECH-EIC/ViTaLiTy/src/patch_embed.py official repository ran · honoured contract fingerprinted Apache-2.0 recorded; this copy not marked cleared · pointer only · 24400bc088ed228d · report
build_dataset GATECH-EIC/ViTaLiTy/src/datasets.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 9153241c4331eb1a · report
build_transform GATECH-EIC/ViTaLiTy/src/datasets.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 3bc74137ab36aa79 · report
calc_max_quant_value GATECH-EIC/ViTaLiTy/src/quant_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · b008c1f4638ba65f · report
conv3x3 GATECH-EIC/ViTaLiTy/src/patchconvnet_models.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · e90596193a6f191a · report
get_activation GATECH-EIC/ViTaLiTy/src/mlp.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 4768845394611c2a · report
get_dynamic_scale GATECH-EIC/ViTaLiTy/src/quant_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · b2f5a5d7be746e1f · report
get_grad GATECH-EIC/ViTaLiTy/src/quantize.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 66ea78e93ec5b48e · report
get_scale GATECH-EIC/ViTaLiTy/src/quant_utils.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 1184aa6c5f001630 · report
quantize GATECH-EIC/ViTaLiTy/src/quantize.py official repository unverified Apache-2.0 recorded; this copy not marked cleared · pointer only · 3f1de05d36b1a783 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections