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

IntraSlice: 面向高绩效结构剪枝的块内PCA方法用于大语言模型

IntraSlice: Towards High-Performance Structural Pruning with Block-Intra PCA for LLMs

Nanjing University of Science and Technology(南京理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Beijing National Research Center for Information Science and Technology(北京信息科学研究院)

Meng Li, Peisong Wang, Yuantian Shao, Qinghao Hu, Hongjian Fang, Yifan Zhang, Zhihui Wei, Jian Cheng

AI总结:

IntraSlice通过块内PCA实现高效结构剪枝,提升大语言模型的压缩性能与推理效率。

摘要:

大型语言模型(LLMs)在多样任务上展现出强大的性能,但因其庞大的规模而面临部署挑战。结构剪枝提供了加速优势,但会导致显著的性能下降。最近基于PCA的剪枝方法通过保留关键激活组件缓解了这一问题,但仅在模块之间应用以融合变换矩阵,这引入了额外参数,并由于残差连接严重破坏了激活分布。为了解决这些问题,我们提出了IntraSlice框架,该框架应用块级模块内PCA压缩剪枝。通过利用Transformer模块的结构特性,我们设计了一种近似的PCA方法,其变换矩阵可以完全融合到模型中而无需额外参数。我们还引入了一种基于PCA的全局剪枝比率估计器,进一步考虑压缩激活的分布,基于传统的模块重要性。我们在Llama2、Llama3和Phi系列上跨各种语言基准进行验证。实验结果表明,我们的方法在相同压缩比率或推理速度下,相比最近的基线方法实现了更优的压缩性能。

英文摘要:

Large Language Models (LLMs) achieve strong performance across diverse tasks but face deployment challenges due to their massive size. Structured pruning offers acceleration benefits but leads to significant performance degradation. Recent PCA-based pruning methods have alleviated this issue by retaining key activation components, but are only applied between modules in order to fuse the transformation matrix, which introduces extra parameters and severely disrupts activation distributions due to residual connections. To address these issues, we propose IntraSlice, a framework that applies block-wise module-intra PCA compression pruning. By leveraging the structural characteristics of Transformer modules, we design an approximate PCA method whose transformation matrices can be fully fused into the model without additional parameters. We also introduce a PCA-based global pruning ratio estimator that further considers the distribution of compressed activations, building on conventional module importance. We validate our method on Llama2, Llama3, and Phi series across various language benchmarks. Experimental results demonstrate that our approach achieves superior compression performance compared to recent baselines at the same compression ratio or inference speed.

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

↑