Radio: Rate–Distortion Optimization for Large Language Model Compression

Sean I. Young

Abstract

Large Language Models (LLMs) possess hundreds of billions of parameters, necessitating significant compression for deployment on consumer-grade hardware. This paper introduces Radio, a principled framework that treats LLM quantization as a formal rate-distortion (R-D) optimization problem. By determining optimal bit allocation across model components to minimize output error, Radio achieves state-of-the-art compression (down to 3-4 bits) for models such as Llama-2 and OPT. The method combines a stochastic dual ascent algorithm with "companded" quantization, consistently outperforming popular heuristics like GPTQ and AWQ in both perplexity and downstream task performance.

Introduction

The deployment of Large Language Models (LLMs) is primarily limited by their immense memory footprint. While quantization—reducing weight precision from 16-bit floats to low-bit integers—is a standard mitigation strategy, most existing techniques rely on heuristics or adaptations of pruning algorithms. These methods often lack a rigorous foundation in information theory.

Radio addresses this gap by applying Rate-Distortion (R-D) theory, the established standard for image and video compression. The core objective is to minimize the "distortion" (output error) given a fixed "rate" (bit budget). This framework allows for principled decisions on bit allocation, such as whether a sensitive attention layer should receive more bits than a less critical MLP layer.

Methodology

Rate-Distortion Formulation

Radio defines a constrained optimization problem: minimize the expected squared error of the model's output subject to an average bit-rate constraint across all weight groups. The optimal bit depth for a weight group is shown to be logarithmic relative to its sensitivity, which is measured by gradient variance.

Rate-distortion curves and the derivative-based optimization for determining optimal bit depths.

To solve this problem at scale, the authors employ Stochastic Dual Ascent. This approach iteratively updates bit depths (primal variables) and a trade-off parameter $V$ (dual variable) using gradients calculated via backpropagation over a small calibration set (e.g., 128 examples from C4).

Companded Quantization

Standard uniform quantization is often inefficient for LLM weights, which typically follow light-tailed distributions like Gaussian or Laplace. Radio introduces Companded Quantization, applying a non-linear sigmoid transform before uniform quantization. This process "compresses" the distribution, placing more quantization levels where weight density is highest, thereby significantly reducing distortion at low bit-rates.

Comparison between uniform quantization (left) and companded quantization (right) for weight distributions.

Weight Grouping and Inference

Instead of assigning a single bit-depth per layer, Radio optimizes bit-depths for small weight groups (rows or columns). This exploits the varying sensitivity of different weight channels. To ensure these mixed-precision models are performant, custom CUDA kernels were developed to dequantize weights on-the-fly, achieving up to a 3.8x speedup over standard FP16 operations.

Results

Radio was evaluated on the OPT and Llama-2 model families using WikiText2 and C4 for perplexity, alongside various zero-shot downstream benchmarks.

  • Perplexity: Radio consistently achieves lower perplexity than RTN, GPTQ, AWQ, and QuIP at 3-bit and 4-bit averages. For OPT-125M at 3 bits, Radio improved perplexity by 4.55 points over the next best method.
  • Downstream Performance: On the GSM8K math benchmark, a 3-bit Llama-2 70B quantized with Radio scored 49.81%, significantly higher than GPTQ (46.47%) and RTN (6.14%).
  • Efficiency: The optimization process is remarkably fast, quantizing a 70B parameter model in approximately 11 hours on a single A100 GPU.

Conclusion

Radio provides a theoretically grounded and highly effective framework for LLM compression. By moving beyond heuristics to a formal R-D optimization, it enables more efficient use of bit budgets, resulting in models that are both smaller and more capable. Future work includes extending this framework to activation quantization to further reduce memory requirements during batched inference.

Summary updated

BibTeX
@inproceedings{young2025radio,
  author = {Sean I. Young},
  title = {{Radio: Rate–Distortion Optimization for Large Language Model Compression}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=ifnxXCCEiM},
}
Figure