Skip to main content
QUICK REVIEW

[论文解读] SpeechPrune: Context-aware Token Pruning for Speech Information Retrieval

Yueqian Lin, Yuzhe Fu|arXiv (Cornell University)|Dec 16, 2024
Speech Recognition and SynthesisComputer Science被引用 3
一句话总结

本文提出 SpeechPrune,一种无需训练的语音大语言模型(Speech LLM)标记剪枝方法,通过利用语音-文本相似度和近似注意力分数,提升长上下文语音信息检索(SIR)的性能。该方法在随机剪枝基础上实现最高达47%的准确率提升,即使在80%的剪枝率下仍保持高性能,证明了其在从长音频输入中提取关键信息方面的高效性与有效性。

ABSTRACT

We introduce Speech Information Retrieval (SIR), a new long-context task for Speech Large Language Models (Speech LLMs), and present SPIRAL, a 1,012-sample benchmark testing models' ability to extract critical details from approximately 90-second spoken inputs. While current Speech LLMs excel at short-form tasks, they struggle with the computational and representational demands of longer audio sequences. To address this limitation, we propose SpeechPrune, a training-free token pruning strategy that uses speech-text similarity and approximated attention scores to efficiently discard irrelevant tokens. In SPIRAL, SpeechPrune achieves accuracy improvements of 29% and up to 47% over the original model and the random pruning model at a pruning rate of 20%, respectively. SpeechPrune can maintain network performance even at a pruning level of 80%. This approach highlights the potential of token-level pruning for efficient and scalable long-form speech understanding.

研究动机与目标

  • 为解决语音大语言模型在长上下文语音理解任务中缺乏基准的问题,特别是针对从长音频中提取关键细节的任务。
  • 提出一种无需训练的标记剪枝策略,以提升模型在长序列语音理解中的效率与准确率。
  • 在新构建的基准 SPIRAL 上评估该方法,该基准测试语音大语言模型在90秒音频输入下对隐藏关键信息的识别能力。
  • 验证该方法在不同模型与数据集上的泛化能力,包括那些最初并非为 SIR 任务设计的模型与数据集。

提出的方法

  • SpeechPrune 采用两阶段剪枝策略:首先利用语音-文本相似度识别并保留相关标记,随后通过近似注意力分数进一步优化选择结果。
  • 该方法计算音频标记与查询之间的交叉注意力分数,以估计其相关性,避免完整注意力计算以提升效率。
  • 采用注意力分数的可微分近似方法,实现无需梯度更新、无需微调的快速剪枝。
  • 该方法在推理后应用,兼容任何预训练的语音大语言模型,无需修改网络架构。
  • 剪枝在标记级别进行,基于相似度与注意力分数移除低相关性标记,以缩短序列长度。
  • 该方法在多个模型与基准(包括 SPIRAL、DREAM-TTS 和 CN-College-Listen)上进行评估,以检验其鲁棒性与泛化能力。
Figure 1 : The proposed SpeechPrune , with two levels of token pruning.
Figure 1 : The proposed SpeechPrune , with two levels of token pruning.

实验结果

研究问题

  • RQ1无需训练的标记剪枝策略能否提升语音大语言模型在长上下文语音信息检索任务中的性能?
  • RQ2结合语音-文本相似度与近似注意力分数对剪枝效果与模型准确率有何影响?
  • RQ3在高剪枝率(如80%)下,SpeechPrune 能在多大程度上保持性能?
  • RQ4该方法是否能在不同语音大语言模型架构与长序列语音理解基准上实现泛化?

主要发现

  • 在 SPIRAL 基准上,SpeechPrune 在20%剪枝率下达到81.64%的峰值准确率,相比原始模型提升29%,相比随机剪枝最高提升47%。
  • 两阶段剪枝方法优于单一阶段,其准确率在剪枝率高达0.7前均保持领先,之后各方法性能趋于收敛。
  • 在 Qwen-2 Audio 模型上,SpeechPrune 将 DREAM-TTS 上的准确率从53.69%提升至65.19%,在 CN-College-Listen 上从52.91%提升至62.86%,剪枝率均为20%。
  • 在 DiVA(自监督语音大语言模型)上,SpeechPrune 将 SPIRAL 上的准确率从48.62%提升至57.51%,在15%剪枝率下于其他基准也表现出一致的性能增益。
  • 即使在80%的剪枝率下,该方法仍保持高性能,表明其在长上下文语音处理中具备强大的鲁棒性与可扩展性。
  • 泛化性分析证实,SpeechPrune 能够在多种模型与数据集上提升性能,包括那些并非专为 SIR 任务设计的模型与数据集。
Figure 2 : Qualitative analysis of token embeddings via t-SNE visualization, where high-dimensional embeddings are projected into 2D space for visualization. (a) SpeechPrune (b) Random pruning. Gray, blue, and red points represent pruned audio tokens, preserved audio tokens, and text tokens, respect
Figure 2 : Qualitative analysis of token embeddings via t-SNE visualization, where high-dimensional embeddings are projected into 2D space for visualization. (a) SpeechPrune (b) Random pruning. Gray, blue, and red points represent pruned audio tokens, preserved audio tokens, and text tokens, respect

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。