Papers › BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

18 Jun 2021ACL 2022 5arXiv:2106.10199archive 2025-07-28

Elad Ben Zaken, Shauli Ravfogel, Yoav Goldberg

We introduce BitFit, a sparse-finetuning method where only the bias-terms of the model (or a subset of them) are being modified. We show that with small-to-medium training data, applying BitFit on pre-trained BERT models is competitive with (and sometimes better than) fine-tuning the entire model. For larger data, the method is competitive with other sparse fine-tuning methods. Besides their practical utility, these findings are relevant for the question of understanding the commonly-used process of finetuning: they support the hypothesis that finetuning is mainly about exposing knowledge induced by language-modeling training, rather than learning new task-specific linguistic knowledge.

PaperPDFConference PDFCodeCode 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="2106.10199")

Code

Syntology Ran 4 of 13 code samples harvested from 3 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 3 ran with no contract checked.

By repository: community (archive-listed): 13 samples from 3 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

benzakenelad/BitFit officialmentioned in papermentioned on GitHubpytorchMIT report
Aradhye2002/selective-peft-toolkit mentioned on GitHubpytorch report
cloudygoose/fewshot_lama mentioned on GitHubpytorch report
mkshing/DiffFit-pytorch mentioned on GitHubpytorch report
piero2c/BitInfer mentioned on GitHubpytorch report
uds-lsv/llmft mentioned 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

13 samples harvested; 4 ran; 0 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 · our draft was wrong
3ran
9unverified

Licence: 0 of the 13 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

BitAdditiveBias piero2c/BitInfer/bitinfer/wrappers/bert_modeling.py community (archive-listed) ran MIT (permissive) · fd7783a0f859595f · report
LoRALinearLayer mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) ran · metamorphic tier: invariant MIT (permissive) · fc4cbb21fd52d41e · report
SlicedAttnAddedKVProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) ran MIT (permissive) · 99828ec14262bca0 · report
get_bitfit Aradhye2002/selective-peft-toolkit/selective_optimizers/optimizers/bitfit.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 3e842c5dc40c0417 · report
AttnAddedKVProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 5936bf677f1ca5e6 · report
AttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 2772c67fd48b070d · report
AttnProcessor2_0 mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 22a4995cd018342d · report
DiffFitAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 9dc8c249e25cc758 · report
DiffFitXFormersAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · f986040d6b978c1a · report
LoRAAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · b684827fec968595 · report
LoRAXFormersAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 7886240878f393a4 · report
SlicedAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 63bf91f1802952a1 · report
XFormersAttnProcessor mkshing/DiffFit-pytorch/difffit_pytorch/diffusers_models/attention_processor.py community (archive-listed) unverified MIT (permissive) · 921edfd779ddeac7 · report

Tasks

Language ModelingLanguage Modellingparameter-efficient fine-tuning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

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