计算机科学 > 机器学习
[提交于 2025年11月2日]
标题:Training with Fewer Bits: Unlocking Edge LLMs Training with Stochastic Rounding
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:LLM training is resource-intensive. Quantized training improves computational and memory efficiency but introduces quantization noise, which can hinder convergence and degrade model accuracy. Stochastic Rounding (SR) has emerged as a theoretically attractive alternative to deterministic rounding, offering unbiased gradient estimates. However, its interaction with other training factors -- especially batch size -- remains under explored. In this paper, we present a theoretical and empirical study of mini-batch stochastic gradient descent (SGD) with SR, showing that increased batch sizes can compensate for reduced precision during back-propagation. Furthermore, we show that quantizing weights and activations impacts gradient variance in distinct ways. Our experiments validate these theoretical insights.
提交历史
来自:Taowen Liu[v1] 2025年11月2日 星期日 09:49:34 UTC