Papers › Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning

Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuning

17 Oct 2022arXiv:2210.08823archive 2025-07-28

Dongze Lian, Daquan Zhou, Jiashi Feng, Xinchao Wang

Existing fine-tuning methods either tune all parameters of the pre-trained model (full fine-tuning), which is not efficient, or only tune the last linear layer (linear probing), which suffers a significant accuracy drop compared to the full fine-tuning. In this paper, we propose a new parameter-efficient fine-tuning method termed as SSF, representing that researchers only need to Scale and Shift the deep Features extracted by a pre-trained model to catch up with the performance of full fine-tuning. In this way, SSF also surprisingly outperforms other parameter-efficient fine-tuning approaches even with a smaller number of tunable parameters. Furthermore, different from some existing parameter-efficient fine-tuning methods (e.g., Adapter or VPT) that introduce the extra parameters and computational cost in the training and inference stages, SSF only adds learnable parameters during the training stage, and these additional parameters can be merged into the original pre-trained model weights via re-parameterization in the inference phase. With the proposed SSF, our model obtains 2.46% (90.72% vs. 88.54%) and 11.48% (73.10% vs. 65.57%) performance improvement on FGVC and VTAB-1k in terms of Top-1 accuracy compared to the full fine-tuning but only fine-tuning about 0.3M parameters. We also conduct amounts of experiments in various model families (CNNs, Transformers, and MLPs) and datasets. Results on 26 image classification datasets in total and 3 robustness & out-of-distribution datasets show the effectiveness of SSF. Code is available at https://github.com/dongzelian/SSF.

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="2210.08823")

Code

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

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

dongzelian/ssf officialmentioned in papermentioned on GitHubpytorchMIT 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

15 samples harvested; 12 ran; 1 honoured the contract we drafted; 3 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
5ran · our draft was wrong
1ran · fixture could not drive it
5ran
3unverified

Licence: 0 of the 15 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 dongzelian/ssf. “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.

MyNorm dongzelian/ssf/models/as_mlp.py official repository ran · our draft was wrong MIT (permissive) · c3f4c265067c1717 · report
get_init_weights_vit dongzelian/ssf/models/vision_transformer.py official repository ran MIT (permissive) · def23f7d7d042968 · report
get_mce_from_accuracy dongzelian/ssf/utils/mce_utils.py official repository ran fingerprinted MIT (permissive) · a9e48df75d2e823e · report
init_ssf_scale_shift dongzelian/ssf/models/vision_transformer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 896b5eec245f1bab · report
init_ssf_scale_shift dongzelian/ssf/models/as_mlp.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 9873773b10315cc0 · report
param_groups_weight_decay dongzelian/ssf/optim_factory.py official repository ran · our draft was wrong MIT (permissive) · 88f4962784e09b88 · report
resize_pos_embed dongzelian/ssf/utils/utils.py official repository ran MIT (permissive) · 6957ddf9520c3d71 · report
resize_pos_embed_cait dongzelian/ssf/utils/utils.py official repository ran fingerprinted MIT (permissive) · 0eae5b409f8d3a5b · report
resize_pos_embed_nocls dongzelian/ssf/utils/utils.py official repository ran fingerprinted MIT (permissive) · f553c9b260a0e6e3 · report
ssf_ada dongzelian/ssf/models/as_mlp.py official repository ran · honoured contract fingerprinted MIT (permissive) · 61e8364b7e9bcb70 · report
window_partition dongzelian/ssf/models/swin_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 993ae96666b00cb5 · report
window_reverse dongzelian/ssf/models/swin_transformer.py official repository ran · our draft was wrong MIT (permissive) · 609922bd93c75117 · report
checkpoint_filter_fn dongzelian/ssf/models/convnext.py official repository unverified MIT (permissive) · 7619bf7f57c5d2b6 · report
group_parameters dongzelian/ssf/optim_factory.py official repository unverified MIT (permissive) · efeb37d90ba28266 · report
group_with_matcher dongzelian/ssf/optim_factory.py official repository unverified MIT (permissive) · 0332519996466b5a · report

Tasks

Image Classificationimage-classificationparameter-efficient fine-tuning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdapterLinear Layer

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