DOTResize: 通过基于离散最优传输的神经元合并减少LLM宽度
DOTResize: Reducing LLM Width via Discrete Optimal Transport-based Neuron Merging
AI总结:
DOTResize通过离散最优传输方法实现神经元宽度缩减,作为剪枝的补充手段,有效降低计算成本。
摘要:
结构化剪枝方法用于大语言模型(LLMs)时,通常专注于识别并移除最不重要的组件以优化模型大小。然而,在这项工作中,我们质疑这一普遍方法,转而探索如何将用于剪枝的结构中的信息重新组合回缩减的模型中。我们特别关注神经元宽度的减少,并将此问题框架为一个离散最优传输问题,并提出DOTResize,一种新颖的Transformer压缩方法,利用最优传输理论来转换和压缩模型宽度。为了确保适用于Transformer架构,我们激励并纳入必要的熵正则化和矩阵分解技术到我们方法产生的传输映射中。与基于剪枝的方法不同,后者根据重要性度量丢弃神经元,DOTResize重新投影整个神经元宽度,允许在缩减的层中保留和重新分配有用的信号。实验结果表明,与简单的或最先进的神经元宽度剪枝技术相比,DOTResize作为剪枝的有用补充,同时实现了实际计算成本的可测量减少。
英文摘要:
Structured pruning methods designed for Large Language Models (LLMs) generally focus on identifying and removing the least important components to optimize model size. However, in this work, we question this prevalent approach by instead exploring how to recombine information from structures designated for pruning back into the reduced model. We specifically focus on neuron width reduction, and frame this problem as a Discrete Optimal Transport problem, and propose DOTResize, a novel Transformer compression method that uses optimal transport theory to transform and compress model width. To ensure applicability within the Transformer architecture, we motivate and incorporate necessary entropic regularization and matrix factorization techniques into the transportation maps produced by our method. Unlike pruning-based approaches which discard neurons based on importance measures, DOTResize re-projects the entire neuron width, allowing the retention and redistribution of useful signal across the reduced layer. Empirical results show that compared to simple or state-of-the-art neuron width-pruning techniques, DOTResize serves as a useful add-on to pruning, while achieving measurable reductions in real-world computational cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。