arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.18259stat.MLcs.AIcs.LG
收藏

在高维线性回归中学习的量化问题

Learning under Quantization for High-Dimensional Linear Regression

The University of Hong Kong(香港大学)

Dechen Zhang, Junwei Su, Difan Zou

AI总结:

本文研究了在高维线性回归中量化对学习性能的影响,通过分析不同量化方式的噪声放大和谱扭曲,提出了精确的风险界并比较了加法与乘法量化的效果。

摘要:

低比特量化技术的使用已经发展成为使大规模模型高效训练不可或缺的技巧。尽管其在实践中取得了广泛的成功,但对其对学习性能影响的严谨理论理解仍然明显缺失,甚至在最简单的线性回归设置中也是如此。我们首次系统地研究了这个问题,分析了在数据、标签、参数、激活和梯度等广泛范围的量化目标下,有限步随机梯度下降(SGD)在高维线性回归中的表现。我们的新分析框架建立了精确的算法依赖性和数据依赖性的额外风险界,这些界描述了不同量化如何影响学习:参数、激活和梯度量化在训练过程中放大噪声;数据量化扭曲数据谱并引入额外的近似误差。关键的是,我们区分了两种量化方案的影响:我们证明,对于加法量化(具有恒定的量化步长),噪声放大受益于由批量大小缩放的抑制效应,而乘法量化(具有输入依赖的量化步长)在很大程度上保留了谱结构,从而减少了谱扭曲。此外,在常见的多项式衰减数据谱下,我们定量比较了乘法和加法量化的风险,将这种比较类比于FP和整数量化方法的比较。我们的理论提供了一个强有力的视角,以描述量化如何塑造优化算法的学习动态,为进一步探索在实际硬件约束下的学习理论铺平了道路。

英文摘要:

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, label, parameter, activation, and gradient. 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 introduces additional approximation error. Crucially, we distinguish the effects of two quantization schemes: we prove that for additive quantization (with constant quantization steps), the noise amplification benefits from a suppression effect scaled by the batch size, while multiplicative quantization (with input-dependent quantization steps) largely preserves the spectral structure, thereby reducing the spectral distortion. Furthermore, under 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑