High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator
Yuma Ichikawa, Shuhei Kashiwamura, Ayaka Sakata
TL;DR
This work develops a high-dimensional continuum theory for training jointly quantized weights and inputs with the straight-through estimator (STE). By mapping microscopic parameter updates to a stochastic process and macroscopic states to a deterministic ODE, it reveals a characteristic two-phase learning trajectory—an extended plateau followed by a sharp generalization drop—that is modulated by quantization hyperparameters like bit width and range. The authors provide a fixed-point and stability analysis, derive explicit degradation relative to the unquantized baseline, and extend the framework to nonlinear transformations of weights and inputs. The findings highlight that quantization can act as an implicit regularizer and influence training stability, with practical implications for layer-wise post-training quantization and the design of quantization schedules in deep networks.
Abstract
Quantized neural network training optimizes a discrete, non-differentiable objective. The straight-through estimator (STE) enables backpropagation through surrogate gradients and is widely used. While previous studies have primarily focused on the properties of surrogate gradients and their convergence, the influence of quantization hyperparameters, such as bit width and quantization range, on learning dynamics remains largely unexplored. We theoretically show that in the high-dimensional limit, STE dynamics converge to a deterministic ordinary differential equation. This reveals that STE training exhibits a plateau followed by a sharp drop in generalization error, with plateau length depending on the quantization range. A fixed-point analysis quantifies the asymptotic deviation from the unquantized linear model. We also extend analytical techniques for stochastic gradient descent to nonlinear transformations of weights and inputs.
