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

CRePE: 后训练剪枝中基于卷积感知的相对重要性及高效搜索

CRePE: Convolution-aware Relative Importance in Post-training Pruning with Efficient Search

Hankuk University of Foreign Studies(韩国家外国语大学)

Cheonjun Park

AI总结:

提出CRePE方法,通过引入二维局部邻域上下文和自适应系数改进相对重要性评分,结合PHO代理优化实现高效后训练剪枝,在多种模型和稀疏度下取得最优性能。

摘要:

在实际部署大型语言模型(LLM)时,会带来大量的内存和计算成本。后训练剪枝(PTP)是一种通过移除权重来降低这些成本的有效方法,无需额外训练。在现有方法中,RIA引入了通过行和列和归一化的相对重要性分数,实现了最先进的精度。然而,RIA仅考虑一维十字形(行/列)方向信息,并对行和列贡献赋予相同权重。在本文中,我们提出**CRePE**,它将二维局部邻域上下文和自适应系数纳入相对重要性评分。CRePE在各种模型和稀疏度设置下始终优于现有的PTP方法。然而,通过基于困惑度(PPL)的爬山法确定最优自适应系数需要大量PPL评估和约11小时的搜索时间。为了解决这个问题,我们提出**PHO**(基于代理的超参数优化),它消除了重复PPL测量的需要,并将搜索时间减少到约20分钟。此外,PHO在一个模型上找到的最优超参数配置可以很好地迁移到其他模型,展现出强大的泛化能力。最后,我们验证了CRePE可以与现有技术(包括通道置换、非均匀稀疏分配和重新剪枝方法)正交结合。

英文摘要:

Deploying Large Language Models (LLMs) in practice incurs substantial memory and computational costs. Post-training pruning (PTP) is an effective approach to reducing these costs by removing weights without additional training. Among existing methods, RIA introduces relative importance scores normalized by row and column sums, achieving state-of-the-art accuracy. However, RIA considers only 1D cross-shaped (row/column) directional information and assigns equal weight to row and column contributions. In this paper, we propose \textbf{CRePE}, which incorporates 2D local neighborhood context and adaptive coefficients into Relative Importance scoring. CRePE consistently outperforms existing PTP methods across diverse models and sparsity settings. However, identifying optimal adaptive coefficients via perplexity (PPL)-based hill climbing requires numerous PPL evaluations and approximately 11 hours of search time. To address this, we propose \textbf{PHO} (Proxy-based Hyperparameter Optimization), which eliminates the need for repeated PPL measurements and reduces the search time to approximately 20 minutes. Furthermore, the optimal hyperparameter configuration found by PHO on one model transfers well to other models, demonstrating strong generalization. Finally, we verify that CRePE can be orthogonally combined with existing techniques including Channel Permutation, non-uniform sparsity allocation, and re-pruning methods.

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

↑