SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.14700 · 2024

Sparse-Tuning: Adapting Vision Transformers with Efficient Fine-tuning and Inference

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 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; 7 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 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/2405.14700.json · badge: /api/ran/2405.14700.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
liuting20/sparse-tuning canonical (classifier label)
classifier basis: census
11 ran · 0 no recorded run
FunctionStatusWhere it lives
adjust_keep_rate Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/models/helpers.py
pointer only (licence: NONE) · get_code("66733f50aff69220")
How it ran

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

auto_load_model Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/utils.py
pointer only (licence: NONE) · get_code("845bd96515f4674f")
How it ran

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

checkpoint_filter_fn Ran
ran; our contract draft was wrong, not the code
liuting20/sparse-tuning/models/vit_image.py
pointer only (licence: NONE) · get_code("6d8a1f8a0697180f")
How it ran

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

cosine_scheduler Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from boyazeng/understand_bias, is pointer only (licence: NONE) · get_code("b700fb0a3496b255")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liuting20/sparse-tuning 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)
liuting20/sparse-tuning/models/vit_image.py
pointer only (licence: NONE) · get_code("39eace7e2822504f")
How it ran

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

get_grad_norm_ Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from sekeunkim/echofm, is pointer only (licence: NONE) · get_code("ba1356e8ceb654d2")
How it ran

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

get_sinusoid_encoding_table Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/models/vit_video.py
pointer only (licence: NONE); the stored copy get_code serves, from khu-vll/cast, is pointer only (licence: NOASSERTION) · get_code("9b2250a3d13ed688")
How it ran

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

resize_pos_embed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
liuting20/sparse-tuning/models/vit_image.py
pointer only (licence: NONE) · get_code("191b2735955d18f4")
How it ran

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

rfft_flop_jit Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/calc_flops.py
pointer only (licence: NONE) · get_code("a78c001f6f0d381c")
How it ran

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

speed_test Ran
ran; our contract draft was wrong, not the code
liuting20/sparse-tuning/models/helpers.py
pointer only (licence: NONE) · get_code("e294b62d47bcc26f")
How it ran

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

tensor_normalize Ran
ran, honoured the contract we drafted
liuting20/sparse-tuning/datasets/kinetics.py
pointer only (licence: NONE); the stored copy get_code serves, from kangsankim07/videoicl, is pointer only (licence: NONE) · get_code("14b3b13b2e7ee844")
How it ran

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

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 2 the same month, 7 later) and 1 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
161 dated earlier, 7 the same month, 48 later, 7 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
checkpoint_filter_fn 37 other papers
26 dated earlier, 9 later, 2 same year, order not determinable · 1 only as an assembly brick
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2112.07658 (2021-12)
AdaViT: Adaptive Tokens for Efficient Vision Transformer
and 34 more not named here
cosine_scheduler 26 other papers
21 dated earlier, 4 later, 1 same year, order not determinable
1905.02244 (2019-05)
Searching for MobileNetV3
136810051 (2022 (year only))
AMixer: Adaptive Weight Mixing for Self-Attention Free Vision Transformers
136860514 (2022 (year only))
SLIP: Self-supervision meets Language-Image Pre-training
and 23 more not named here
get_grad_norm_ 21 other papers
8 dated earlier, 1 the same month, 12 later
2308.00566 (2023-08)
Stochastic positional embeddings improve masked image modeling
2310.12979 (2023-10)
Predicting a Protein's Stability under a Million Mutations
2311.13627 (2023-11)
Vamos: Versatile Action Models for Video Understanding
and 18 more not named here
get_sinusoid_encoding_table 21 other papers
15 dated earlier, 6 later · 1 only as an assembly brick
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2208.07049 (2022-08)
Self-Supervised Vision Transformers for Malware Detection
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
and 18 more not named here
resize_pos_embed 20 other papers
16 dated earlier, 4 later · 1 only as an assembly brick
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
and 17 more not named here
tensor_normalize 15 other papers
11 dated earlier, 4 later
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
2211.09120 (2022-11)
AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
and 12 more not named here
adjust_keep_rate 3 other papers
3 dated earlier
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
2210.05958 (2022-10)
Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets
2404.07713 (2024-04)
Progressive Semantic-Guided Vision Transformer for Zero-Shot Learning
speed_test 3 other papers
3 dated earlier
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
2210.05958 (2022-10)
Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets
2404.07713 (2024-04)
Progressive Semantic-Guided Vision Transformer for Zero-Shot Learning
rfft_flop_jit 1 other paper
1 dated earlier
136810051 (2022 (year only))
AMixer: Adaptive Weight Mixing for Self-Attention Free Vision 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

Parameter-efficient fine-tuning (PEFT) has emerged as a popular solution for adapting pre-trained Vision Transformer (ViT) models to downstream applications by updating only a small subset of parameters. While current PEFT methods have achieved fine-tuning efficiency, they overlook the efficiency of computation and GPU memory during inference, falling short of practical requirements. To address this limitation, we propose Sparse-Tuning, an efficient and effective framework that leverages popular token sparsification (TS) techniques to reduce information redundancy in images and videos, thereby significantly improving computational and memory efficiency. However, TS often compromises performance due to inevitable information loss. To address this limitation, we further introduce Dense Adapters (DA) to compensate for the information losses incurred by token sparsification. DA integrates comprehensive token information from shallow layers into the retained tokens of deeper layers, ensuring minimal performance degradation. Through the integration of TS techniques and DA, Sparse-Tuning achieves a significant reduction in computation and memory overhead while maintaining performance. Empirical results on VTAB-1K, three image datasets, and two video datasets show that Sparse-Tuning reduces GFLOPs to 66\% of the original ViT-B while achieving state-of-the-art performance compared to full fine-tuning and other PEFT baselines.

For agents

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

get_harvested_code_for_paper("2405.14700")
get_code_for_paper("2405.14700")
have("2405.14700")

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

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

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

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

Connect an agent — have() is free.