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

COMPOT:用于Transformer压缩的校准优化矩阵Procrustes正交化

COMPOT: Calibration-Optimized Matrix Procrustes Orthogonalization for Transformers Compression

Fundamental Research Center MWS AI(MWS AI基础研究中心)

Denis Makhov, Dmitriy Shopkhoev, Magauiya Zhussip, Ammar Ali, Baher Mohammad, Stamatios Lefkimmiatis

AI总结:

COMPOT是一种无需训练的Transformer压缩框架,通过校准优化矩阵Procrustes正交化实现高质量压缩,优于低秩和稀疏基线。

摘要:

在训练后对Transformer模型进行压缩通常依赖于截断奇异值分解(SVD)。然而,强制使用单一共享子空间即使在中等压缩水平下也会降低准确性。稀疏字典学习提供了一种更灵活的子空间联合表示,但现有方法往往在迭代字典和系数更新上存在问题。我们提出了COMPOT(用于Transformer的校准优化矩阵Procrustes正交化),这是一种无需训练的压缩框架,它使用一个小的校准数据集来估计稀疏权重分解。COMPOT采用正交字典,使字典和系数的Procrustes更新能够以闭式形式进行,并且使用分析方法进行单步稀疏编码,从而消除了迭代优化。为了在全局压缩预算下处理异质层敏感性,COMPOT进一步引入了一种单次动态分配策略,该策略能够自适应地重新分配层间的压缩率。在多种架构和任务上的广泛实验表明,COMPOT在强低秩和稀疏基线方面始终能够提供更优的质量-压缩权衡,同时完全兼容于训练后量化以实现极端压缩。代码可在$\href{https://github.com/mts-ai/COMPOT}{此处}$获得。

英文摘要:

Post-training compression of transformer models commonly relies on truncated singular value decomposition (SVD) strategies leading to low-rank approximations of the original model weights. However, the underlying single shared subspace modeling can degrade accuracy even at moderate compression. Sparse dictionary learning provides a more flexible union-of-subspaces representation, but existing approaches often suffer from costly iterative dictionary and coefficient updates. We propose $\textbf{COMPOT}$ ($\textbf{C}$alibration-$\textbf{O}$ptimized $\textbf{M}$atrix $\textbf{P}$rocrustes $\textbf{O}$rthogonalization for $\textbf{T}$ransformers), a training-free compression framework that uses a small calibration dataset to estimate a sparse weight factorization. COMPOT employs orthogonal dictionaries that enable closed-form Procrustes updates for the dictionary and analytical single-step sparse coding for the coefficients, reducing significantly the overall optimization cost. To handle heterogeneous layer sensitivity under a global compression budget, COMPOT further introduces a one-shot dynamic allocation strategy that adaptively redistributes layer-wise compression rates. Extensive experiments across diverse architectures and tasks show that COMPOT consistently delivers a superior quality-compression trade-off over strong low-rank and sparse baselines, while remaining fully compatible with post-training quantization for extreme compression.

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

↑