arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.07197cs.LGcs.AI
收藏

超越方差:通过Fisher对齐子空间诊断的知识感知LLM压缩

Beyond Variance: Knowledge-Aware LLM Compression via Fisher-Aligned Subspace Diagnostics

Department of Computer Science, Iowa State University(计算机科学系,爱荷华州立大学);Department of Civil, Construction & Environmental Engineering, Iowa State University(土木、建设与环境工程系,爱荷华州立大学)

Ibne Farabi Shihab, Sanjeda Akter, Anuj Sharma

AI总结:

FASC通过Fisher对齐子空间诊断方法,在压缩LLM时提升知识保留能力,实验显示其在知识密集型基准测试中表现优于传统方差方法。

摘要:

训练后激活压缩对于在资源受限硬件上部署大语言模型(LLMs)至关重要。然而,标准方法如奇异值分解(SVD)是梯度盲的:它们保留高方差维度,无论其对事实知识保留的影响如何。我们引入了Fisher对齐子空间压缩(FASC),一种知识感知的压缩框架,通过直接建模激活-梯度耦合来选择子空间,最小化损失函数的二阶替代量。FASC利用Fisher信息矩阵来识别对事实知识至关重要的维度,这些维度通常位于低方差但高梯度敏感的子空间中。我们提出依赖违反分数(ρ)作为通用的诊断度量,量化激活-梯度耦合,揭示事实知识在transformer架构中的存储位置。在Mistral-7B和Llama-3-8B上的广泛实验表明,FASC在知识密集型基准(MMLU、LAMA)上比基于方差的方法在50%排名减少时保留了6-8%更多的准确性,有效地使7B模型能够匹配13B未压缩模型的事实回忆能力。我们的分析表明,ρ是存储知识的基本信号,高ρ层只有在模型在训练过程中内部化事实关联时才会出现。

英文摘要:

Post-training activation compression is essential for deploying Large Language Models (LLMs) on resource-constrained hardware. However, standard methods like Singular Value Decomposition (SVD) are gradient-blind: they preserve high-variance dimensions regardless of their impact on factual knowledge preservation. We introduce Fisher-Aligned Subspace Compression (FASC), a knowledge-aware compression framework that selects subspaces by directly modeling activation-gradient coupling, minimizing a second-order surrogate of the loss function. FASC leverages the Fisher Information Matrix to identify dimensions critical for factual knowledge, which often reside in low-variance but high-gradient-sensitivity subspaces. We propose the Dependence Violation Score (\r{ho}) as a general-purpose diagnostic metric that quantifies activation-gradient coupling, revealing where factual knowledge is stored within transformer architectures. Extensive experiments on Mistral-7B and Llama-3-8B demonstrate that FASC preserves 6-8% more accuracy on knowledge-intensive benchmarks (MMLU, LAMA) compared to variance-based methods at 50% rank reduction, effectively enabling a 7B model to match the factual recall of a 13B uncompressed model. Our analysis reveals that \r{ho} serves as a fundamental signal of stored knowledge, with high-\r{ho} layers emerging only when models internalize factual associations during training.

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

↑