Skip to main content
QUICK REVIEW

[论文解读] An Embarrassingly Simple Approach for LLM with Strong ASR Capacity

Ziyang Ma, Guanrou Yang|arXiv (Cornell University)|Feb 13, 2024
Speech Recognition and SynthesisComputer Science被引用 3
一句话总结

该论文提出 SLAM-ASR,一种极其简单的基于大语言模型(LLM)的自动语音识别(ASR)系统,仅通过微调一个线性投影头,将预训练的语音编码器与大语言模型对齐。尽管设计极为简洁——仅在 4 张 GPU 上训练 4 小时——SLAM-ASR 在 LibriSpeech 数据集上实现了最先进(SOTA)的词错误率(WER),在 test-clean 上达到 4.33%,优于所有先前的基于 LLM 的 ASR 模型以及强大的神经网络基线模型,并揭示了训练过程中能力涌现的现象。

ABSTRACT

In this paper, we focus on solving one of the most important tasks in the field of speech processing, i.e., automatic speech recognition (ASR), with speech foundation encoders and large language models (LLM). Recent works have complex designs such as compressing the output temporally for the speech encoder, tackling modal alignment for the projector, and utilizing parameter-efficient fine-tuning for the LLM. We found that delicate designs are not necessary, while an embarrassingly simple composition of off-the-shelf speech encoder, LLM, and the only trainable linear projector is competent for the ASR task. To be more specific, we benchmark and explore various combinations of LLMs and speech encoders, leading to the optimal LLM-based ASR system, which we call SLAM-ASR. The proposed SLAM-ASR provides a clean setup and little task-specific design, where only the linear projector is trained. To the best of our knowledge, SLAM-ASR achieves the best performance on the Librispeech benchmark among LLM-based ASR models and even outperforms the latest LLM-based audio-universal model trained on massive pair data. Finally, we explore the capability emergence of LLM-based ASR in the process of modal alignment. We hope that our study can facilitate the research on extending LLM with cross-modality capacity and shed light on the LLM-based ASR community.

研究动机与目标

  • 探究复杂架构设计是否对基于 LLM 的 ASR 系统是必要的。
  • 评估仅通过最小任务特定适配的现成语音编码器与 LLM 组合的性能。
  • 探究模型规模、预训练和微调在基于 LLM 的 ASR 中的作用。
  • 研究语音与语言模型之间跨模态对齐过程中能力涌现的现象。
  • 为未来基于 LLM 的 ASR 研究建立一个清晰、简洁的基线。

提出的方法

  • 系统使用预训练的语音编码器(如 Whisper Large、WavLM Large)和预训练的 LLM(如 Vicuna-7B、LLaMA-2-7B),且不进行任何架构修改。
  • 仅引入一个可训练的线性投影头,将语音编码器的表示映射到 LLM 的 token 空间。
  • 通过监督微调(SFT)在 LibriSpeech 转录文本上微调 LLM,以提升 ASR 性能。
  • 语音编码器在有限的 LibriSpeech 数据上从自监督预训练开始进行微调,以提升表示质量。
  • 训练采用下一项词预测目标,即模型在给定上下文和语音特征的前提下预测下一个词。
  • 通过监控训练过程中下一项词预测的准确率随训练步数的变化,研究能力涌现现象,观察到性能出现突然的提升。

实验结果

研究问题

  • RQ1仅包含一个可训练线性投影头的极简、非复杂架构设计是否足以实现高性能的基于 LLM 的 ASR?
  • RQ2不同的预训练 LLM 与语音编码器组合如何影响 ASR 性能?
  • RQ3在基于 LLM 的 ASR 训练过程中是否会出现能力涌现?若出现,其触发因素是什么?
  • RQ4微调语音编码器是否必要?还是冻结它能实现更好的与 LLM 的对齐?
  • RQ5一个简单统一的框架能否超越复杂的、最先进的基于 LLM 的 ASR 模型以及神经网络基线模型?

主要发现

  • SLAM-ASR 在 LibriSpeech 的 test-clean 上实现了 4.33% 的 WER,优于所有先前的基于 LLM 的 ASR 模型,以及 Conformer 和 Wav2vec2 等强大的神经网络基线模型。
  • 该模型仅在 4 张 GPU 上训练 4 小时,通过一个简单的线性投影头,无需复杂系统工程,即实现了 SOTA 性能。
  • 通过监督微调(SFT)微调的 LLM 在 ASR 任务上显著优于原始的预训练 LLM。
  • 从自监督模型微调得到的语音编码器(如 Whisper Large、WavLM Large)优于监督预训练的基线 ASR 编码器。
  • 观察到能力涌现:下一项词预测的训练准确率出现突然的峰值,表明模型突然获得了对齐能力,尤其在使用强大的语音编码器(如 Whisper Large)时更为明显。
  • 冻结语音编码器比微调它能实现更快且更优的对齐(WER 为 4.33%),表明 1000 小时的语音数据不足以有效完成编码器的任务特定微调。

阅读本论文

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

在 Nubint 中阅读本论文

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