BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation

Dayou Du, Yijia Zhang, Shijie Cao, Jiaqi Guo, Ting Cao +2 more
2/16/2024
cs.CL

No official code found. Best implementation: OpenBitSys/BitDistiller (139 stars, MIT, last commit 2024-05-16).

Abstract

The upscaling of Large Language Models (LLMs) has yielded impressive advances in natural language processing, yet it also poses significant deployment challenges. Weight quantization has emerged as a widely embraced solution to reduce memory and computational demands. This paper introduces BitDistiller, a framework that synergizes Quantization-Aware Training (QAT) with Knowledge Distillation (KD) to boost the performance of LLMs at ultra-low precisions (sub-4-bit). Specifically, BitDistiller first incorporates a tailored asymmetric quantization and clipping technique to maximally preserve the fidelity of quantized weights, and then proposes a novel Confidence-Aware Kullback-Leibler Divergence (CAKLD) objective, which is employed in a self-distillation manner to enable faster convergence and superior model performance. Empirical evaluations demonstrate that BitDistiller significantly surpasses existing methods in both 3-bit and 2-bit configurations on general language understanding and complex reasoning benchmarks. Notably, BitDistiller is shown to be more cost-effective, demanding fewer data and training resources. The code is available at https://github.com/DD-DuDa/BitDistiller.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL 2024] A novel QAT with Self-Distillation framework to enhance ultra low-bit LLMs.

13919C, C++Jan 3, 20242 years agoMIT

Similar Papers

Cite this paper

@article{du2024bitdistiller,
  title  = {BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation},
  author = {Dayou Du and Yijia Zhang and Shijie Cao and Jiaqi Guo and Ting Cao and Xiaowen Chu and Ningyi Xu},
  year   = {2024},
  eprint = {2402.10631},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.10631v1}
}

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.10631.svg)](https://codeofpaper.com/paper/2402.10631)

Discussion