Papers › Mini but Mighty: Finetuning ViTs with Mini Adapters

Mini but Mighty: Finetuning ViTs with Mini Adapters

7 Nov 2023arXiv:2311.03873archive 2025-07-28

Imad Eddine Marouf, Enzo Tartaglione, Stéphane Lathuilière

Vision Transformers (ViTs) have become one of the dominant architectures in computer vision, and pre-trained ViT models are commonly adapted to new tasks via fine-tuning. Recent works proposed several parameter-efficient transfer learning methods, such as adapters, to avoid the prohibitive training and storage cost of finetuning. In this work, we observe that adapters perform poorly when the dimension of adapters is small, and we propose MiMi, a training framework that addresses this issue. We start with large adapters which can reach high performance, and iteratively reduce their size. To enable automatic estimation of the hidden dimension of every adapter, we also introduce a new scoring function, specifically designed for adapters, that compares the neuron importance across layers. Our method outperforms existing methods in finding the best trade-off between accuracy and trained parameters across the three dataset benchmarks DomainNet, VTAB, and Multi-task, for a total of 29 datasets.

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

Code

Syntology Ran 5 of 15 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 15 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.

iemprog/mimi officialmentioned in papermentioned on GitHubpytorch 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; 5 ran; 0 honoured the contract we drafted; 10 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.

5ran
10unverified

Licence: 15 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 iemprog/mimi. “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.

collect_samples_faster iemprog/mimi/drloc/aux_modules.py official repository ran no licence file found · pointer only · d50eceebc1eabdc2 · report
randn_sampling iemprog/mimi/drloc/aux_modules.py official repository ran no licence file found · pointer only · a09531f2a3bed5f5 · report
relative_constraint_ce iemprog/mimi/drloc/losses.py official repository ran no licence file found · pointer only · 8872e7b986aa6d2e · report
relative_constraint_l1 iemprog/mimi/drloc/losses.py official repository ran fingerprinted no licence file found · pointer only · 7f1b680d6aa88b99 · report
variance_aware_regression iemprog/mimi/drloc/losses.py official repository ran no licence file found · pointer only · 2fc56b43da8a500b · report
build_model iemprog/mimi/models/build.py official repository unverified no licence file found · pointer only · 9635698b3dee4ac4 · report
build_scheduler iemprog/mimi/lr_scheduler.py official repository unverified no licence file found · pointer only · c02cc4e0b5720211 · report
collect_samples iemprog/mimi/drloc/aux_modules.py official repository unverified no licence file found · pointer only · e52fbbea05ecc1fb · report
create_logger iemprog/mimi/logger.py official repository unverified no licence file found · pointer only · 80450600f7f09b0a · report
get_cls_model iemprog/mimi/models/cvt.py official repository unverified no licence file found · pointer only · 2baa153879f236da · report
get_config iemprog/mimi/config.py official repository unverified no licence file found · pointer only · 3b5c44a2d3b8af0e · report
get_weights iemprog/mimi/few_shot_prune.py official repository unverified no licence file found · pointer only · e65098a07aaba1a6 · report
inference_time iemprog/mimi/inference_eval.py official repository unverified no licence file found · pointer only · 9583d22228aa7f57 · report
structured_down_magnitude_pruning iemprog/mimi/few_shot_prune.py official repository unverified no licence file found · pointer only · a90a1e594afe738b · report
structured_magnitude_pruning_layer iemprog/mimi/few_shot_prune.py official repository unverified no licence file found · pointer only · 597d06b3a9f34b01 · report

Tasks

Transfer Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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