跳到正文
arXiv cs.AI· Dhananjay Saikumar, Blesson Varghese·· 3 小时前AI 评分36

GatePrune:基于 Query-Key 耦合的数据无关 Self-Attention 层剪枝方法

GatePrune: Data-free Pruning of Self-attention Layers via Query-Key Coupling

AI 导读

GatePrune 是一种一次性、数据无关的剪枝方法,仅凭预训练权重即可为 LLM 的冗余 Self-Attention 层打分并移除,无需校准数据、前向传播或微调。

正文 · 原文

View PDF HTML (experimental)

Abstract:Although the Self-Attention mechanism is a primary contributor to the inference latency of large language models (LLMs), many Self-Attention layers can be removed with little loss in accuracy. We attribute this to the Attention Suppression Hypothesis: during pre-training, deeper Self-Attention layers learn to suppress their outputs, making them redundant. Leveraging this insight, we propose GatePrune, a one-shot, data-free method that scores and removes redundant Self-Attention layers from pre-trained weights alone-with zero calibration data, zero forward passes, and no fine-tuning. Free of the calibration-set dependence of data-driven methods, GatePrune can prune a 13B-parameter model in 30s only on a CPU when the model does not fit in GPU memory. It removes up to 40% of the Self-Attention layers at a cost of at most 1.5 percentage points in average zero-shot accuracy, while speeding up inference by $1.30\times$ and accelerating pruning by $\mathbf{1000\times}$.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2512.20636 [cs.LG]
  (or arXiv:2512.20636v3 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2512.20636

arXiv-issued DOI via DataCite

Submission history

From: Dhananjay Saikumar Mr [view email]
[v1] Wed, 3 Dec 2025 07:47:49 UTC (161 KB)
[v2] Tue, 29 Sep 2026 12:16:29 UTC (109 KB)
[v3] Fri, 27 Nov 2026 13:10:20 UTC (95 KB)

来源:arXiv cs.AI · arxiv.org