通过最优传输重排神经元,实现大模型宽度压缩而不丢信息
DOTResize: Reducing LLM Width via Discrete Optimal Transport-based Neuron Merging
- 将神经元压缩建模为离散最优传输问题,重新分配信息
- 在多个基准上比传统剪枝方法降低更多计算开销
- 适合需要轻量化部署的大模型场景
针对大语言模型(LLM)的结构化剪枝通常聚焦于识别并移除不重要的组件以优化模型大小。本文质疑这一主流方法,转而探索如何将待剪枝结构中的信息重新整合回压缩后的模型中。我们特别关注神经元宽度的缩减,将其建模为离散最优传输问题,并提出DOTResize——一种基于最优传输理论的Transformer压缩方法,用于变换和压缩模型宽度。为确保在Transformer架构中的适用性,我们在运输映射中引入必要的熵正则化与矩阵分解技术。与基于重要性度量舍弃神经元的剪枝方法不同,DOTResize对整个神经元宽度进行重投影,保留并重新分布有用信号至压缩层。实验表明,相较于简单或最先进的神经元宽度剪枝方法,DOTResize可作为剪枝的有效补充,在真实计算成本上实现显著降低。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。