Learning under Quantization for High-Dimensional Linear Regression

Dechen Zhang, Junwei Su, Difan Zou

Introduction

In the race to train massive machine learning architectures like Large Language Models (LLMs), low-precision (low-bit) quantization has emerged as an indispensable technique. By reducing the bit-width of numbers used in calculations, practitioners can drastically cut down on memory usage and compute time. However, while we know empirically that quantization works—and existing proofs show that quantized optimizers eventually converge—the field has lacked a rigorous theoretical understanding of how quantization affects population risk, or the model's ability to generalize to unseen data.

This challenge is particularly acute in high-dimensional settings where the number of features is vast. Until now, researchers did not have a clear picture of how quantizing different components of the training loop interacts with model dimensionality and dataset size. This paper bridges the theory-practice gap by providing the first systematic theoretical analysis of finite-step Stochastic Gradient Descent (SGD) under quantization, using high-dimensional linear regression as a foundational testbed.

A Comprehensive Analytical Framework

To isolate the effects of low-precision training, the authors analyze finite-step SGD with iterate averaging. They introduce a comprehensive framework that quantizes five distinct components of the learning process:

  1. Data features
  2. Labels
  3. Model parameters
  4. Activations
  5. Output gradients

Crucially, the study distinguishes between two fundamental mathematical models of quantization:

  • Additive Quantization: The error variance is constant, which is representative of Integer or Fixed-point formats (e.g., INT8).
  • Multiplicative Quantization: The error scales proportionally with the magnitude of the input, representing Floating-point formats (e.g., FP8 or BF16).

By deriving precise "excess risk" bounds, the authors decompose the total learning error into variance, bias, and a novel "approximation error" specifically induced by data quantization. These theoretical derivations are validated against both synthetic Gaussian least-squares models (featuring polynomial and exponential eigenvalue decays) and real-world data (the Communities and Crime dataset).

Key Insights: Noise, Distortion, and Dimensionality

The theoretical framework yields several profound insights into how different quantization targets and schemes shape learning dynamics.

Noise Amplification vs. Spectral Distortion

The analysis reveals that quantizing weights, activations, and gradients primarily acts as a "noise amplifier" during the training process. In contrast, quantizing the input data itself has a much more fundamental and damaging effect: it distorts the "effective covariance spectrum" of the features. This spectral distortion introduces a permanent approximation error that cannot be mitigated simply by training for more iterations.

The "Dimension-Free" Advantage of Floating-Point

One of the paper's most significant contributions is explaining why floating-point (multiplicative) quantization vastly outperforms integer (additive) quantization in high-dimensional spaces.

Under additive quantization, a constant "noise floor" is added to every feature dimension. As the dimension $d$ grows, this noise accumulates, eventually causing the generalization error to explode. Conversely, multiplicative quantization preserves the relative structure of the data spectrum. Because the error scales with the input magnitude, it remains robust and effectively "dimension-free." The authors provide a quantitative rule of thumb: floating-point quantization becomes preferable when the model dimension is large enough that the "spectral flattening" caused by integer schemes outweighs the precision of the floating-point mantissa.

The Role of Batch Size

The study also clarifies the mitigating role of batch size. For additive quantization, increasing the batch size effectively suppresses the noise originating from quantized activations and gradients. However, it acts as a limited filter; a larger batch size does not alleviate the noise from parameter quantization, nor does it fix the spectral distortion caused by data quantization.

Limitations and Future Directions

While this work provides a powerful new lens for understanding quantization, it is currently bounded by its focus on linear regression and single-pass (one-epoch) SGD.

Extending these theoretical insights to non-linear, over-parameterized neural networks represents the next major frontier. Additionally, future research could explore multi-pass training dynamics, more complex optimizers like Adam, and the development of matching theoretical lower bounds to perfectly bracket the worst-case errors established in this paper. Ultimately, this framework paves the way for a more principled approach to designing learning algorithms under strict hardware constraints.

Summary updated

BibTeX
@inproceedings{zhang2026learning,
  author = {Dechen Zhang and Junwei Su and Difan Zou},
  title = {{Learning under Quantization for High-Dimensional Linear Regression}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=eUjUReZoYR},
}
Figure