BitDelta: Your Fine-Tune May Only Be Worth One Bit

James Liu, Guangxuan Xiao, Kai Li, Jason D. Lee, Song Han +2 more
2/15/2024
58 citations
cs.LGcs.CL

Official code: FasterDecoding/BitDelta (207 stars, Jupyter Notebook, Apache-2.0, last commit 2024-12-05).

Abstract

Large Language Models (LLMs) are typically trained in two phases: pre-training on large internet-scale datasets, and fine-tuning for downstream tasks. Given the higher computational demand of pre-training, it's intuitive to assume that fine-tuning adds less new information to the model, and is thus more compressible.

Show full abstract

We explore this assumption by decomposing the weights of fine-tuned models into their pre-trained components and an additional delta. We introduce a simple method, BitDelta, which successfully quantizes this delta down to 1 bit without compromising performance. This interesting finding not only highlights the potential redundancy of information added during fine-tuning, but also has significant implications for the multi-tenant serving and multi-tenant storage of fine-tuned models. By enabling the use of a single high-precision base model accompanied by multiple 1-bit deltas, BitDelta dramatically reduces GPU memory requirements by more than 10x, which can also be translated to enhanced generation latency in multi-tenant settings. We validate BitDelta through experiments across Llama-2 and Mistral model families, and on models up to 70B parameters, showcasing minimal performance degradation over all tested settings.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
20717Jupyter Notebook, PythonFeb 14, 20241 years agoApache-2.0
llmquantizationserving

Similar Papers

Cite this paper

@article{liu2024bitdelta,
  title  = {BitDelta: Your Fine-Tune May Only Be Worth One Bit},
  author = {James Liu and Guangxuan Xiao and Kai Li and Jason D. Lee and Song Han and Tri Dao and Tianle Cai},
  year   = {2024},
  eprint = {2402.10193},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.10193},
  url    = {http://arxiv.org/abs/2402.10193v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.10193.svg)](https://codeofpaper.com/paper/2402.10193)

Discussion