arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.28251stat.AP
收藏

推杆网络:用于语言模型压缩的结构化贝叶斯剪枝算法

Push Puppet Networks: Structured Bayesian Pruning Algorithm for Language Model Compression

Robert Kubinec

AI总结:

提出推杆网络,一种结构化贝叶斯剪枝算法,通过层次惩罚函数学习门控参数,在不加载完整模型的情况下将网络剪枝至特定大小,在高剪枝率下优于现有方法并实现GPU加速。

摘要:

本文提出了推杆网络,一种用于大型语言模型结构化剪枝的新型贝叶斯算法。推杆网络在训练过程中学习一个层次函数,该函数能够针对给定的目标大小最优地确定要保留的特定网络层。通过层次惩罚函数添加少量门控参数,学习到的平滑函数允许网络在不将完整模型加载到内存中或需要进一步训练后计算的情况下调整到非常特定的大小。该方法在高剪枝率(保留不到50%的网络结构)下与现有方法(SparseGPT, Wanda)相比表现更优,同时在常规GPU上使用PyTorch实现了可测量的加速。此外,推杆网络作为推测解码的候选方案可以实现显著的加速。

英文摘要:

This paper presents push puppet networks, a novel Bayesian algorithm for structured pruning of large language models. The push puppet network learns a hierarchical function during training that can optimally determine specific network layers to keep for a given target size. By adding a small number of gating parameters via a hierarchical penalty function, the learned smooth function can allow for a network to be resized to very specific sizes without loading the full model into memory or requiring further post-training computation. The method compares favorably with existing approaches (SparseGPT, Wanda) at high pruning sizes (less than 50% of network structure) while realizing measurable speed-ups on conventional GPUs with PyTorch. Furthermore, push puppet networks can achieve significant speedups as candidates for speculative decoding.

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

↑