大型语言模型的二值神经网络:综述
Binary Neural Networks for Large Language Model: A Survey
AI总结:
本文综述了大型语言模型的二值量化技术,涵盖从训练起始即采用二值权重的BitNet方法及其衍生技术,并探讨了这些技术在深度神经网络中的应用与贡献。
摘要:
大型语言模型(LLMs)在自然语言处理(NLP)领域有着广泛的应用,例如GPT-4和Llama。然而,随着模型参数规模的指数级增长,LLMs带来了显著的计算资源开销。低比特量化作为一种关键技术,通过减少模型参数、激活值和梯度的位宽来降低内存使用和计算需求。以往针对LLMs的量化方法主要采用训练后量化(PTQ)和量化感知训练(QAT)。PTQ不需要对原始模型进行任何重新训练,而QAT则在训练过程中优化精度以获得最佳的量化参数。BitNet团队提出了一种截然不同的方法,即在模型训练一开始就进行量化,在训练过程中利用低精度的二值权重。这种方法催生了许多针对大型语言模型的二值量化技术。本文对这些二值量化技术进行了全面的综述。具体而言,我们将介绍深度神经网络中的二值量化技术,并进一步探讨其在LLMs中的应用,回顾它们的各种贡献、实现和应用。
英文摘要:
Large language models (LLMs) have wide applications in the field of natural language processing(NLP), such as GPT-4 and Llama. However, with the exponential growth of model parameter sizes, LLMs bring significant resource overheads. Low-bit quantization, as a key technique, reduces memory usage and computational demands by decreasing the bit-width of model parameters, activations, and gradients. Previous quantization methods for LLMs have largely employed Post-Training Quantization (PTQ) and Quantization-Aware Training (QAT). PTQ does not require any retraining of the original model, while QAT involves optimizing precision during training to achieve the best quantization parameters. The BitNet team proposed a radically different approach, where quantization is performed from the start of model training, utilizing low-precision binary weights during the training process. This approach has led to the emergence of many binary quantization techniques for large language models. This paper provides a comprehensive review of these binary quantization techniques. Specifically, we will introduce binary quantization techniques in deep neural networks and further explore their application to LLMs, reviewing their various contributions, implementations, and applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。