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

大语言模型剪枝

Large Language Model Pruning

National Taiwan University of Science and Technology(台湾科技大学);WUYI University(武夷大学)

Hanjuan Huang, Hao-Jia Song, Hsing-Kuo Pao

AI总结:

针对大语言模型参数庞大及过拟合等问题,提出一种基于互信息估计的可解释模型剪枝技术,通过消除冗余神经元减少参数依赖,并发现剪枝标准选择对模型规模敏感度不同,整体性能优于现有方法。

摘要:

在过去的几年里,得益于硬件和软件的支持,我们确实乐于使用越变越大的模型,因为它们具有卓越的性能。其应用领域包括文本挖掘等。特别是,LLMs在文本理解和文本生成方面的成功,吸引了多年来甚至数十年来致力于NLP及相关领域的研究人员的注意。另一方面,LLMs也可能面临模型过拟合、幻觉和设备限制等问题。在这项工作中,我们提出了一种专门针对LLMs的模型剪枝技术。所提出的方法强调深度学习模型的可解释性。基于理论基础,我们获得了一个可信赖的深度模型,使得拥有大量模型参数的庞大模型变得不再那么必要。我们采用基于互信息的估计来寻找并消除冗余神经元。此外,一个参数调优良好的估计器有助于找到精确的估计来指导剪枝过程。同时,我们还探索了大规模模型剪枝与小规模模型剪枝之间的差异。剪枝标准的选择在小模型中很敏感,但在大规模模型中则不然。这是本工作的一项新发现。总体而言,我们展示了所提出模型相对于最先进模型的优越性。

英文摘要:

We surely enjoy the larger the better models for their superior performance in the last couple of years when both the hardware and software support the birth of such extremely huge models. The applied fields include text mining and others. In particular, the success of LLMs on text understanding and text generation draws attention from researchers who have worked on NLP and related areas for years or even decades. On the side, LLMs may suffer from problems like model overfitting, hallucination, and device limitation to name a few. In this work, we suggest a model pruning technique specifically focused on LLMs. The proposed methodology emphasizes the explainability of deep learning models. By having the theoretical foundation, we obtain a trustworthy deep model so that huge models with a massive number of model parameters become not quite necessary. A mutual information-based estimation is adopted to find neurons with redundancy to eliminate. Moreover, an estimator with well-tuned parameters helps to find precise estimation to guide the pruning procedure. At the same time, we also explore the difference between pruning on large-scale models vs. pruning on small-scale models. The choice of pruning criteria is sensitive in small models but not for large-scale models. It is a novel finding through this work. Overall, we demonstrate the superiority of the proposed model to the state-of-the-art models.

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

↑