Table of Contents
Fetching ...

Learning under Quantization for High-Dimensional Linear Regression

Dechen Zhang, Junwei Su, Difan Zou

TL;DR

This paper develops a rigorous theory for learning under quantization in high-dimensional linear regression trained with SGD. By modeling unbiased, coordinate-wise quantization across data, labels, parameters, activations, and gradients, the authors derive a finite-sample excess risk bound for the iterate-averaged predictor, decomposed into variance, bias, approximation, and quantization errors, with the data covariance reshaped by the quantized data Hessian $\mathbf{H}^{(q)}$. The key finding is that multiplicative (FP-like) quantization can eliminate spectral distortion, while additive (INT-like) quantization introduces a spectral gap but benefits from a batch-size scaling in certain error terms; the paper also contrasts these regimes under polynomial-decay data spectra and provides numerical experiments illustrating dimension-dependent behavior. Collectively, the results offer a principled lens to design quantized learning procedures under hardware constraints and guide choices between FP-like versus INT-like quantization in high-dimensional settings. The work lays groundwork for further theory on multi-pass SGD and momentum under low-precision computation and informs scaling laws for quantized learning systems.

Abstract

The use of low-bit quantization has emerged as an indispensable technique for enabling the efficient training of large-scale models. Despite its widespread empirical success, a rigorous theoretical understanding of its impact on learning performance remains notably absent, even in the simplest linear regression setting. We present the first systematic theoretical study of this fundamental question, analyzing finite-step stochastic gradient descent (SGD) for high-dimensional linear regression under a comprehensive range of quantization targets: data, labels, parameters, activations, and gradients. Our novel analytical framework establishes precise algorithm-dependent and data-dependent excess risk bounds that characterize how different quantization affects learning: parameter, activation, and gradient quantization amplify noise during training; data quantization distorts the data spectrum; and data and label quantization introduce additional approximation and quantized error. Crucially, we prove that for multiplicative quantization (with input-dependent quantization step), this spectral distortion can be eliminated, and for additive quantization (with constant quantization step), a beneficial scaling effect with batch size emerges. Furthermore, for common polynomial-decay data spectra, we quantitatively compare the risks of multiplicative and additive quantization, drawing a parallel to the comparison between FP and integer quantization methods. Our theory provides a powerful lens to characterize how quantization shapes the learning dynamics of optimization algorithms, paving the way to further explore learning theory under practical hardware constraints.

Learning under Quantization for High-Dimensional Linear Regression

TL;DR

This paper develops a rigorous theory for learning under quantization in high-dimensional linear regression trained with SGD. By modeling unbiased, coordinate-wise quantization across data, labels, parameters, activations, and gradients, the authors derive a finite-sample excess risk bound for the iterate-averaged predictor, decomposed into variance, bias, approximation, and quantization errors, with the data covariance reshaped by the quantized data Hessian . The key finding is that multiplicative (FP-like) quantization can eliminate spectral distortion, while additive (INT-like) quantization introduces a spectral gap but benefits from a batch-size scaling in certain error terms; the paper also contrasts these regimes under polynomial-decay data spectra and provides numerical experiments illustrating dimension-dependent behavior. Collectively, the results offer a principled lens to design quantized learning procedures under hardware constraints and guide choices between FP-like versus INT-like quantization in high-dimensional settings. The work lays groundwork for further theory on multi-pass SGD and momentum under low-precision computation and informs scaling laws for quantized learning systems.

Abstract

The use of low-bit quantization has emerged as an indispensable technique for enabling the efficient training of large-scale models. Despite its widespread empirical success, a rigorous theoretical understanding of its impact on learning performance remains notably absent, even in the simplest linear regression setting. We present the first systematic theoretical study of this fundamental question, analyzing finite-step stochastic gradient descent (SGD) for high-dimensional linear regression under a comprehensive range of quantization targets: data, labels, parameters, activations, and gradients. Our novel analytical framework establishes precise algorithm-dependent and data-dependent excess risk bounds that characterize how different quantization affects learning: parameter, activation, and gradient quantization amplify noise during training; data quantization distorts the data spectrum; and data and label quantization introduce additional approximation and quantized error. Crucially, we prove that for multiplicative quantization (with input-dependent quantization step), this spectral distortion can be eliminated, and for additive quantization (with constant quantization step), a beneficial scaling effect with batch size emerges. Furthermore, for common polynomial-decay data spectra, we quantitatively compare the risks of multiplicative and additive quantization, drawing a parallel to the comparison between FP and integer quantization methods. Our theory provides a powerful lens to characterize how quantization shapes the learning dynamics of optimization algorithms, paving the way to further explore learning theory under practical hardware constraints.
Paper Structure (36 sections, 30 theorems, 270 equations, 1 figure)

This paper contains 36 sections, 30 theorems, 270 equations, 1 figure.

Key Result

Theorem 4.1

Consider the general data quantization, let $\mathbf{D}_{1}^H = \mathbf{H}\left(\mathbf{H}+\mathbf{D}\right)^{-1}\mathbf{D}\left(\mathbf{H}+\mathbf{D}\right)^{-1}\mathbf{H}$ and $\mathbf{D}_{2}^H = \mathbf{D}(\mathbf{H}+\mathbf{D})^{-1}\mathbf{H}(\mathbf{H}+\mathbf{D})^{-1}\mathbf{D}$, and consider where with In Theorem Theorem 4, $\|\cdot\|$ denotes the spectral norm.${\sigma_G^{(q)}}^2=\frac{\

Figures (1)

  • Figure 1: Generalization under quantization. Test risk for SGD with iterate averaging under multiplicative (FP-like) vs. additive (INT-like) quantization. (a) and (b): vary the quantization level at fixed dimension. (c) and (d): vary dimension at fixed quantization level.

Theorems & Definitions (65)

  • Definition 3.1
  • Definition 3.2
  • Theorem 4.1
  • Theorem 4.2: Multiplicative quantization
  • Corollary 4.1: Additive quantization
  • Corollary 4.2
  • Corollary 4.3
  • Lemma A.1
  • proof
  • Lemma A.2
  • ...and 55 more