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

权重的沉默:一种针对基于注意力的音频信号架构的结构剪枝策略,使用二阶指标

The silence of the weights: a structural pruning strategy for attention-based audio signal architectures with second order metrics

Andrea Diecidue, Carlo Alberto Barbano, Piero Fraternali, Mathieu Fontaine, Enzo Tartaglione

AI总结:

本文提出一种针对注意力机制的通道剪枝技术,通过二阶指标评估参数重要性,验证在AST和Whisper模型中50%参数剪枝后性能仍保持良好。

摘要:

基于Transformer的模型在多个领域成为最先进的方法,从自然语言处理到机器听觉,得益于注意力机制。然而,注意力层需要大量参数和高端硬件进行训练和推理。我们提出了一种新的通道剪枝技术,专门针对注意力机制,将每个头的剪枝与注意力块中的四个层(查询、键、值和输出投影矩阵)分离,采用二阶指标对网络参数进行评分。我们对比了我们的技术与头剪枝策略和幅度驱动评分指标,研究了剪枝对音频光谱Transformer(AST)和Whisper的影响。我们的结果表明,即使在注意力块中剪枝了50%的参数,性能仍得到很大程度的保持。

英文摘要:

Transformer-based models have become the state of the art across multiple domains, from natural language processing to machine listening, thanks to the attention mechanisms. However, the attention layers require a large number of parameters and high-end hardware for both training and inference. We propose a novel channel-pruning technique explicitly targeted at the attention mechanism, decoupling the pruning of each head and the four layers in the attention block: query, key, value, and output projection matrices, employing a second-order metric to score the network's parameters. We compare our technique against head-pruning strategies and magnitude-driven scoring metrics, investigating the effects of pruning on Audio Spectrogram Transformer (AST) and Whisper. Our results show that even after pruning 50\% of the parameters in the attention block, performance is largely preserved.

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

↑