Skip to main content
QUICK REVIEW

[Paper Review] BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

Elad Ben Zaken, Shauli Ravfogel|arXiv (Cornell University)|Jun 18, 2021
Natural Language Processing TechniquesComputer Science10 citations
TL;DR

BitFit is a parameter-efficient fine-tuning method that updates only the bias terms of pre-trained BERT models, achieving performance on par with full fine-tuning on GLUE tasks and outperforming full fine-tuning on small-to-medium data regimes. It enables efficient multi-task deployment by modifying just 0.04% of model parameters, supporting task-invariant, stream-based learning with minimal computational overhead.

ABSTRACT

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.

Motivation & Objective

  • To explore whether fine-tuning can be made highly parameter-efficient by updating only bias terms in pre-trained transformers.
  • To investigate whether bias-only fine-tuning can match or exceed full fine-tuning performance, especially in low-data regimes.
  • To enable task-invariant, stream-based deployment of multiple NLP models with minimal memory and parameter overhead.
  • To understand the role of bias terms in transferring knowledge from pre-training to downstream tasks.
  • To challenge the assumption that full parameter updates are necessary for effective fine-tuning.

Proposed method

  • Freeze all transformer encoder weights and only fine-tune the bias terms across all layers and attention heads.
  • Maintain a task-specific classification head on top of the frozen encoder, trained end-to-end with the bias terms.
  • Use standard backpropagation to update only the bias parameters, keeping all other weights fixed.
  • Apply the same bias update strategy across all tasks, enabling consistent, reusable model weights.
  • Limit fine-tuning to only two bias components—query and middle-of-MLP—achieving 0.04% parameter update ratio.
  • Evaluate performance on GLUE and SQuAD tasks under varying training data sizes to assess data efficiency.

Experimental results

Research questions

  • RQ1Can fine-tuning only the bias terms of a pre-trained BERT model achieve performance comparable to full fine-tuning?
  • RQ2Does bias-only fine-tuning outperform full fine-tuning in low-data regimes?
  • RQ3Can a single set of updated bias parameters be reused across multiple downstream tasks without retraining?
  • RQ4To what extent does fine-tuning primarily expose pre-existing knowledge rather than learn new linguistic patterns?
  • RQ5How do bias terms contribute to the model's behavior shift during fine-tuning?

Key findings

  • BitFit achieves performance on par with full fine-tuning across all GLUE tasks, with exact match scores of 97.2 on SQuAD for BERT BASE.
  • On small-to-medium training data, BitFit outperforms full fine-tuning, particularly on SQuAD v1.0 with smaller subsets.
  • Fine-tuning only two bias components (query and middle-of-MLP) achieves 0.04% parameter update ratio while maintaining competitive accuracy.
  • BitFit maintains task-invariance: the same bias parameters can be used across different tasks without retraining.
  • The method enables efficient hardware deployment by hardwiring most of the model, with only a few changeable bias parameters.
  • The results support the hypothesis that fine-tuning mainly exposes knowledge learned during pre-training, rather than learning new linguistic knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.