arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.03062cs.LGstat.ML
收藏

通过费米函数基于的秩选择和规范固定实现全局优化的LLM SVD压缩

FermiGrad-SVD: An LLM Compression Pipeline with Global Rank Selection and Gauge Fixing

Multiverse Computing(多维计算公司);Donostia International Physics Center(Donostia国际物理中心);Ikerbasque Foundation for Science(Ikerbasque科学基金会)

Roman Rausch, David Jansen, Sukhbinder Singh, Román Orús

AI总结:

本文提出FermiGrad和PivGa两种方法,通过费米函数优化秩选择和规范固定,实现LLM压缩的全局优化。

摘要:

大型语言模型(LLMs)在计算资源需求方面非常苛刻。通过奇异值分解(SVD)等低秩分解对LLM权重进行压缩是一个有前景的方法,但存在几个实际障碍,例如选择适当的层间秩和消除其参数冗余。在本文中,我们提出了两个受物理启发的改进来改进SVD LLM压缩:(1)FermiGrad,一种梯度下降算法,通过将离散的奇异值截断放松为连续优化来确定全局最优的层间秩,使用费米函数;(2)PivGa,一种额外的无损压缩低秩因子的方法,利用其参数化中的内在规范自由度。

英文摘要:

Low-rank factorization of weight matrices is a promising approach to compress large language models (LLMs), but its practical effectiveness depends on allocating ranks across layers and efficiently representing the resulting factors. We introduce three complementary methods for improving SVD-based LLM compression. First, FermiGrad formulates global layer-wise rank allocation as a differentiable optimization problem by replacing discrete singular-value truncation with continuous Fermi gates. Because FermiGrad optimizes only rank parameters over precomputed low-rank factors, it avoids repeated activation decompositions and backpropagation through SVD operations. Second, the Targeted Compressor extends FermiGrad with a task-specific objective that directs limited model capacity toward a selected domain. At 60% parameter density for Llama-3.1-8B-Instruct, SciQ-targeted compression achieves 60% MMLU accuracy, exceeding the reported quantized Dobi-SVD result by 10 percentage points, while deliberately trading performance on unrelated tasks for domain specialization. Third, PivGa provides a lossless secondary compression of low-rank factors by exploiting the gauge freedom in their parametrization. The proposed framework is modular, computationally efficient, and applicable at scale, as demonstrated by compressing Llama-3.3-70B-Instruct to 50% parameter density.

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

↑