BitNet Distillation

Xun Wu, Shaohan Huang, Wenhui Wang, Ting Song, Li Dong, Yan Xia, Furu Wei · DOI

Introduction

Deploying Large Language Models (LLMs) on edge devices like smartphones and laptops is constrained by high memory and computational requirements. While 1.58-bit models (BitNet) offer a solution by using ternary weights (-1, 0, 1), training them from scratch is prohibitively expensive. Traditional Quantization-Aware Training (QAT) often results in a significant performance gap that widens as model size increases. BitNet Distillation (BitDistill) addresses this by providing a framework to convert existing full-precision models into ultra-efficient 1.58-bit versions with minimal performance loss.

Methodology

BitDistill employs a three-stage pipeline to bridge the gap between full-precision "teacher" models and 1.58-bit "student" models:

  1. Modeling Refinement (SubLN): To stabilize training under ternary weight constraints, additional normalization layers (SubLN) are integrated into the transformer blocks. This prevents activation scales from exploding.
  2. Continual Pre-training: The model is "warmed up" on 10 billion tokens from the FALCON corpus. This phase encourages weights to transition from a Gaussian distribution to a ternary-friendly distribution.
  3. Distillation-based Fine-tuning: The student model mimics the teacher's final logits and multi-head attention patterns. Crucially, researchers found that distilling attention from only a single late-stage layer—rather than every layer—provides the student with the necessary flexibility to optimize its constrained weights effectively.
Methodological insights: (a) SubLN stability, (b) layer-wise distillation impact, and (c) scaling behavior.

Key Insights

  • Scalability: Unlike standard fine-tuning, BitDistill maintains a near-constant performance gap as models scale from 0.6B to 4B parameters, proving it is "scaling-friendly."
  • Weight Adaptation: The warm-up phase is critical for weight clustering around ternary values, ensuring stability in the 1.58-bit regime.
  • Selective Distillation: Distilling a single late-stage layer captures the teacher's "intent" while allowing the student to find its own optimal representation path with limited precision.

Experimental Results

The framework was evaluated on the Qwen3 series (0.6B, 1.7B, and 4B) and validated on Gemma and Qwen2.5 architectures using benchmarks like GLUE (MNLI, QNLI, SST-2) and CNN/DailyMail.

Performance Parity

BitDistill achieves performance nearly identical to original models. For instance, the 4B BitDistill model reached 91.40% accuracy on MNLI, compared to the 91.48% of the FP16 baseline. This bridges the significant gap usually seen with BitNet-SFT methods.

Efficiency Gains

The transition to 1.58-bit weights results in massive hardware efficiency:

  • Memory: A 10x reduction in memory footprint (e.g., a 0.6B model dropped from 1.2GB to just 0.11GB).
  • Inference Speed: A 2.65x boost in CPU inference speed, increasing throughput from 427 to 1,135 tokens per second.
Performance and efficiency comparison: BitDistill achieves near-FP16 accuracy while providing 10x memory reduction and 2.65x speedup.

Conclusion

BitDistill provides a robust, general-purpose solution for compressing off-the-shelf LLMs into 1.58-bit versions. By combining architectural refinements with a strategic distillation process, it enables the deployment of powerful models on resource-constrained devices without sacrificing intelligence. Future work will explore creating generalist 1.58-bit base models and testing at scales exceeding 70B parameters.

Summary updated

BibTeX
@misc{wu2025bitnet,
  author = {Xun Wu and Shaohan Huang and Wenhui Wang and Ting Song and Li Dong and Yan Xia and Furu Wei},
  title = {{BitNet Distillation}},
  year = {2025},
  eprint = {2510.13998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.13998},
}
Figure