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

Eigenpruning:一种受可解释性启发的PEFT方法

Eigenpruning: an Interpretability-Inspired PEFT Method

National Institute of Informatics(情报学研究所);Pontificia Universidad Católica de Chile(智利天主教大学);Centro Nacional de Inteligencia Artificial(国家人工智能中心)

Tomás Vergara-Browne, Álvaro Soto, Akiko Aizawa

AI总结:

本研究提出受可解释性启发的eigenpruning参数高效微调方法,通过移除LLM权重矩阵奇异值提升特定任务性能,在整数乘法任务中让Phi-2准确率从13.75%升至97.50%,且计算成本极低。

摘要:

我们提出eigenpruning(特征剪枝)方法,通过移除大语言模型(LLM)权重矩阵中的奇异值,提升模型在特定任务上的性能。该方法受可解释性方法启发,这类方法旨在自动发现模型中负责解决特定任务的子网络。在我们的测试中,剪枝后的模型性能大幅优于原始模型,且权重矩阵剪枝仅需极少计算量。在整数乘法的小型合成任务中,Phi-2模型的测试集准确率从13.75%提升至97.50%。有趣的是,这些结果似乎表明存在一条能高效解决该任务的计算路径,但原始模型并未使用它。最后,我们公开发布了实现代码。

英文摘要:

We introduce eigenpruning, a method that removes singular values from weight matrices in an LLM to improve its performance in a particular task. This method is inspired by interpretability methods designed to automatically find subnetworks of a model which solve a specific task. In our tests, the pruned model outperforms the original model by a large margin, while only requiring minimal computation to prune the weight matrices. In the case of a small synthetic task in integer multiplication, the Phi-2 model can improve its accuracy in the test set from 13.75% to 97.50%. Interestingly, these results seem to indicate the existence of a computation path that can solve the task very effectively, but it was not being used by the original model. Finally, we publicly release our implementation.

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

↑