arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02117cs.CL
收藏

AVSS:通过激活方差-稀疏度分析评估大型语言模型中的层重要性

AVSS: Layer Importance Evaluation in Large Language Models via Activation Variance-Sparsity Analysis

Lanzhou University(兰州大学)

Zichen Song, Yuxin Wu, Sitan Huang, Zhongfeng Kang

AI总结:

提出AVSS指标,通过激活方差与稀疏度评估LLM各层重要性,移除约25%低分层层后仍保持90%以上性能,助力模型架构优化。

摘要:

深度学习中的层重要性评估一直是一个活跃的研究领域,对模型优化和可解释性具有重要意义。近年来,大型语言模型(LLMs)在各个领域崭露头角,但很少有研究从激活分布的角度探讨LLMs中单个层的功能重要性和性能贡献。在本工作中,我们提出了激活方差-稀疏度分数(AVSS),这是一种结合归一化激活方差和稀疏度的新指标,用于评估每层对模型性能的贡献。通过基于AVSS识别并移除大约最低25%的层,我们在问答、语言建模和情感分类等任务上实现了原始模型性能的90%以上,表明这些层可能是非必要的。我们的方法提供了一种系统性的方法来识别不太关键的层,有助于构建高效的大型语言模型架构。

英文摘要:

The evaluation of layer importance in deep learning has been an active area of research, with significant implications for model optimization and interpretability. Recently, large language models (LLMs) have gained prominence across various domains, yet limited studies have explored the functional importance and performance contributions of individual layers within LLMs, especially from the perspective of activation distribution. In this work, we propose the Activation Variance-Sparsity Score (AVSS), a novel metric combining normalized activation variance and sparsity to assess each layer's contribution to model performance. By identifying and removing approximately the lowest 25% of layers based on AVSS, we achieve over 90% of original model performance across tasks such as question answering, language modeling, and sentiment classification, indicating that these layers may be non-essential. Our approach provides a systematic method for identifying less critical layers, contributing to efficient large language model architectures.

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

↑