arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19241stat.MLcs.AIcs.LG
收藏

高维线性回归中精度的缩放规律

Scaling Laws for Precision in High-Dimensional Linear Regression

The University of Hong Kong(香港大学)

Dechen Zhang, Xuan Tang, Yingyu Liang, Difan Zou

AI总结:

本文研究了高维线性回归中低精度训练的缩放规律,揭示了乘法和加法量化对模型和数据容量的不同影响,为优化训练协议提供了理论依据。

摘要:

低精度训练对于在模型质量与训练成本之间优化贸易平衡至关重要,需要同时分配模型大小、数据集大小和数值精度。虽然经验缩放定律表明量化影响有效模型和数据容量或作为加性误差,但这些效果的理论机制仍 largely 未被探索。在本工作中,我们启动了在高维草图线性回归框架内低精度训练缩放定律的理论研究。通过分析乘法(信号依赖)和加法(信号无关)量化,我们识别了它们的缩放行为中的关键二元性。我们的分析揭示,尽管两种方案都引入了加性误差并降低了有效数据大小,但它们对有效模型大小的影响却不同:乘法量化保持全精度模型大小,而加法量化则降低了有效模型大小。数值实验验证了我们的理论发现。通过严格刻画模型规模、数据集大小和量化误差之间的复杂相互作用,我们的工作为在实际硬件约束下优化训练协议提供了原则性的理论基础。

英文摘要:

Low-precision training is critical for optimizing the trade-off between model quality and training costs, necessitating the joint allocation of model size, dataset size, and numerical precision. While empirical scaling laws suggest that quantization impacts effective model and data capacities or acts as an additive error, the theoretical mechanisms governing these effects remain largely unexplored. In this work, we initiate a theoretical study of scaling laws for low-precision training within a high-dimensional sketched linear regression framework. By analyzing multiplicative (signal-dependent) and additive (signal-independent) quantization, we identify a critical dichotomy in their scaling behaviors. Our analysis reveals that while both schemes introduce an additive error and degrade the effective data size, they exhibit distinct effects on effective model size: multiplicative quantization maintains the full-precision model size, whereas additive quantization reduces the effective model size. Numerical experiments validate our theoretical findings. By rigorously characterizing the complex interplay among model scale, dataset size, and quantization error, our work provides a principled theoretical basis for optimizing training protocols under practical hardware constraints.

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

↑