arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09734cs.LGcs.AI
收藏

量化神经网络的无梯度训练

Gradient-Free Training of Quantized Neural Networks

Technion – Israel Institute of Technology(技术离子-以色列理工学院);Technical University of Munich(慕尼黑技术大学);Bosch Centre for Artificial Intelligence(博世人工智能中心)

Noa Cohen, Omkar Joglekar, Dotan Di Castro, Vladimir Tchuiev, Shir Kozlovsky, Michal Moshkovitz

AI总结:

针对量化网络训练依赖高成本梯度优化的问题,提出无梯度启发式框架,证明无梯度权重优化为NP-hard,并以更低能耗和参数更新达到接近全精度梯度训练的性能。

摘要:

训练神经网络需要大量计算资源和能源。混合精度与量化感知训练等方法虽能降低比特使用量,却仍严重依赖计算成本高昂的基于梯度的优化。本研究提出一种范式转变:彻底消除梯度。人们或许希望,在有限的量化空间中,无梯度寻找最优权重会更容易,但我们从理论上证明,即便在连续情形可高效求解的简单设定下,该问题仍是 NP-hard。为解决此问题,我们提出一种新颖的启发式优化框架,避免全量权重更新并显著提升效率。实验表明,在标准数据集和架构上,该方法取得了与全精度梯度训练相当的性能,同时能耗最高降低3倍,所需参数更新次数最高减少5倍。

英文摘要:

Training neural networks requires significant computational resources and energy. Methods like mixed-precision and quantization-aware training reduce bit usage, yet they still depend heavily on computationally expensive gradient-based optimization. In this work, we propose a paradigm shift: eliminate gradients altogether. One might hope that, in a finite quantized space, finding optimal weights with out gradients would be easier but we theoretically prove that this problem is NP-hard even in simple settings where the continuous case is efficiently solvable. To address this, we introduce a novel heuristic optimization framework that avoids full weight updates and significantly improves efficiency. Empirically, our method achieves performance comparable to that of full-precision gradient-based training on standard datasets and architectures, while using up to 3x less energy and requiring up to 5x fewer parameter updates.

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

↑