arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.09527cs.CVcs.AIcs.CLcs.LG
收藏

BitNet b1.58 重探:小型网络也能实现最优性能

BitNet b1.58 Reloaded: State-of-the-art Performance Also on Smaller Networks

University of Southern Denmark(南丹麦大学)

Jacob Nielsen, Peter Schneider-Kamp

AI总结:

本研究提出采用中位数计算的BitNet b1.58变体,验证1.58比特量化感知训练在100K-48M参数的小型语言与视觉模型上的效果,证实其能达到甚至超越最优性能,可支撑低资源场景部署。

摘要:

近期提出的1比特和1.58比特量化感知训练方法,已在大语言模型场景下验证了性能与表现,证实参数量超3B的模型可取得最优性能。本研究针对参数量在100K到48M之间的小型语言模型与视觉模型,探究1.58比特量化的效果。我们提出了BitNet b1.58的一种变体,该变体在量化过程中可采用中位数而非均值进行计算。\n 通过大量实验,我们研究了经量化感知训练得到的1.58比特模型的性能,还进一步探究了1.58比特量化感知训练对学习率变化、以及通过权重衰减实现的正则化的鲁棒性,发现小型语言模型与视觉模型呈现的规律,和此前大语言模型报告的规律存在差异。\n 研究结果表明,当隐藏层尺寸翻倍时,1.58比特量化感知训练能让小型语言模型达到最优性能;对于尺寸相同的小型视觉模型,该方法能达到甚至超越现有最优性能。最终我们证明,1.58比特量化感知训练对于训练小型深度学习网络同样是可行且极具前景的方法,能推动这类模型在低资源场景下的部署,也为后续研究提供了方向。

英文摘要:

Recently proposed methods for 1-bit and 1.58-bit quantization aware training investigate the performance and behavior of these methods in the context of large language models, finding state-of-the-art performance for models with more than 3B parameters. In this work, we investigate 1.58-bit quantization for small language and vision models ranging from 100K to 48M parameters. We introduce a variant of BitNet b1.58, which allows to rely on the median rather than the mean in the quantization process. Through extensive experiments we investigate the performance of 1.58-bit models obtained through quantization aware training. We further investigate the robustness of 1.58-bit quantization-aware training to changes in the learning rate and regularization through weight decay, finding different patterns for small language and vision models than previously reported for large language models. Our results showcase that 1.58-bit quantization-aware training provides state-of-the-art performance for small language models when doubling hidden layer sizes and reaches or even surpasses state-of-the-art performance for small vision models of identical size. Ultimately, we demonstrate that 1.58-bit quantization-aware training is a viable and promising approach also for training smaller deep learning networks, facilitating deployment of such models in low-resource use-cases and encouraging future research.

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

↑