模型压缩顺序影响性能,先剪枝后量化更优
Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compression
- 提出渐进强度假设:弱扰动应先于强扰动执行
- 实验验证先剪枝后量化在多类模型上效果更优
- 适用于多阶段压缩与混合精度量化场景
当多种压缩方法组合使用时,其应用顺序是否重要?联合模型压缩已成为通过结合剪枝与量化等方法提升效率的有效策略。然而,压缩顺序这一核心但未被充分研究的因素仍不明确。多数前期研究假设不同技术相互独立,少数研究仅在严格限制条件下探讨该问题。本文系统分析压缩顺序的影响,提出渐进强度假设:较弱的扰动应先于较强的扰动执行,并提供理论证明,显示某种顺序的优势随性能差距增大而提升。在语言与视觉模型上的大量实验验证了该假设,且其有效性可推广至多阶段压缩和混合精度量化等更广泛设置。
原文摘要 · Abstract (English)
What happens when multiple compression methods are combined-does the order in which they are applied matter? Joint model compression has emerged as a powerful strategy to achieve higher efficiency by combining multiple methods such as pruning and quantization. A central but underexplored factor in joint model compression is the compression order, or the sequence of different methods within the compression pipeline. Most prior studies have either sidestepped the issue by assuming orthogonality between techniques, while a few have examined them only in highly constrained cases. Consequently, the broader role of compression order in shaping model performance remains poorly understood. In this paper, we address the overlooked problem of compression order and provide both theoretical and empirical analysis. We formulate the problem of optimizing the compression order and introduce the Progressive Intensity Hypothesis, which states that weaker perturbations should precede stronger ones. We provide theoretical guarantees showing that the relative benefit of one order increases with the underlying performance gap. Extensive experiments on both language and vision models validate the hypothesis, and further show its generality to broader setups such as multi-stage compression and mixed-precision quantization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。