ScaleBITS: Scalable Bitwidth Search for Hardware-Aligned Mixed-Precision LLMs

Xinlin Li, Timothy Chou, Josh Fromm, Zichang Liu, Yunjie Pan, Christina Fragouli

TL;DR

This paper introduces ScaleBITS, a novel framework for mixed-precision quantization of Large Language Models (LLMs). It achieves significant accuracy improvements at ultra-low bitrates (2-3 bits) by intelligently allocating different bitwidths to different parts of the model, all while maintaining hardware efficiency and without introducing runtime overhead.

What Problem Does This Paper Address?

Large Language Models (LLMs) are becoming incredibly powerful but also massive, requiring substantial memory and computational resources for inference. Post-training weight quantization is a key technique to reduce these costs by using fewer bits to represent model weights. However, pushing quantization below 4 bits is challenging because LLM weights have highly non-uniform sensitivity: a few critical weights are very sensitive to quantization, while most are not. Existing methods either use irregular mixed-precision with high overhead or rely on simplified, less effective allocation strategies. This paper addresses the need for a principled, scalable, and hardware-efficient way to perform fine-grained mixed-precision quantization for LLMs, especially in the challenging ultra-low-bit regime.

Methods

ScaleBITS introduces a three-pronged approach:

  1. Hardware-Aligned Weight Partitioning: Instead of arbitrary partitions, ScaleBITS divides weight matrices into blocks that align with efficient hardware operations (like those used in Tensor Cores). This ensures that dequantization and matrix multiplication can be fused efficiently.
  2. Bi-directional Channel Reordering: To better exploit the non-uniform weight sensitivity, ScaleBITS reorders both input and output channels of weight matrices. This process clusters sensitive weights together, allowing for more effective precision allocation. This is a one-time preprocessing step.
  3. Scalable Precision Allocation: The core innovation is a scalable approximation of a classic greedy algorithm. This algorithm efficiently searches for the optimal bitwidth allocation for each block, given a global memory budget, without requiring exhaustive search or retraining. It uses a novel sensitivity analysis that estimates weight importance based on gradients from a quantized model, which is more accurate than using gradients from the full-precision model.

Datasets

  • Calibration Data: RedPajama (128 sequences of 4096 tokens) was used for sensitivity estimation.
  • Evaluation Benchmarks:
    • Perplexity: WikiText-2 (context length 4096 for Llama2, 8192 for Llama3)
    • Zero-shot Accuracy: WinoGrande, PiQA, HellaSwag, ARC-easy, ARC-challenge, BoolQ
    • 5-shot Accuracy: MMLU
    • Instruction-tuned Benchmarks: GSM8K, MBPP

Key Insights and Ideas

  • Sensitivity is Dynamic: Weight sensitivity isn't static; it changes significantly as the model is quantized. Estimating sensitivity from a quantized model (rather than the full-precision one) is crucial for accurate mixed-precision allocation, especially at ultra-low bits.
  • Bi-directional Structure: Sensitive weights in LLM matrices exhibit a structured pattern along both output (row) and input (column) channels. Reordering both dimensions is key to effectively clustering these sensitive weights.
  • Hardware Alignment is Key: Simply partitioning weights isn't enough. Aligning partitions with hardware's computational units (like tiled matrix multiplication) is essential for achieving actual efficiency gains without runtime overhead.
  • Global Budget Control: ScaleBITS allows for fine-grained control over the global bit budget, enabling a continuous spectrum of accuracy-compression trade-offs, unlike methods that offer only discrete points or layer-wise constraints.

Key Results

  • Significant Accuracy Gains: ScaleBITS consistently outperforms uniform-precision quantization (up to +36%) and state-of-the-art mixed-precision baselines (up to +13%) in the ultra-low-bit regime (2-3 bits).
  • Hardware Efficiency: The block-wise partitioning and hardware alignment ensure no additional runtime overhead compared to uniform-precision quantization.
  • Scalability: The proposed scalable greedy search algorithm significantly reduces quantization time compared to previous methods, making it practical for LLMs. For Llama3-8B, ScaleBITS achieved a 3-6x speedup over SlimLLM.
  • Continuous Trade-off Curve: ScaleBITS generates a smooth accuracy-compression curve, offering more granular control over model size and performance than existing methods.

Limitations and Future Work

  • Limitations:
    • The current framework focuses on weight-only quantization.
  • The sensitivity estimation relies on approximations, though empirically shown to be effective.
  • While efficient, the Triton kernel used for demonstrating hardware efficiency is a proof-of-concept and not fully optimized.
  • Future Work:
    • Extend the framework to joint weight-activation precision allocation.
  • Incorporate lightweight fine-tuning or training-time adaptation to further improve robustness under extreme compression.
  • Explore the interaction of compression techniques with model robustness, fairness, and safety.

Summary updated

BibTeX
@inproceedings{li2026scalebits,
  author = {Xinlin Li and Timothy Chou and Josh Fromm and Zichang Liu and Yunjie Pan and Christina Fragouli},
  title = {{ScaleBITS: Scalable Bitwidth Search for Hardware-Aligned Mixed-Precision LLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=TpYhEftiHb},
}
Figure