arXiv:2505.11352cs.CLcs.SD2025-05EMNLP被引 5

用CTC后验连接语音编码器与大语言模型,提升语音识别与翻译性能。

LegoSLM: Connecting LLM with Speech Encoder using CTC Posteriors

  • 通过CTC后验矩阵将语音编码器输出映射到语言模型词汇空间
  • 在8个MLS测试集上相比基线降低49%的词错误率
  • 支持零样本切换语音编码器,适合多场景语音任务

近期大规模预训练语音编码器和大语言模型(LLM)在自动语音识别(ASR)等语音处理任务中表现优异。为有效结合两者以提升性能,现有方法采用连续语音提示或ASR错误修正,但存在性能不稳或灵活性差的问题。本文提出LegoSLM新范式,利用ASR后验矩阵连接语音编码器与LLM。语音编码器被训练生成在LLM词汇上的连接时序分类(CTC)后验,通过加权求和重建伪音频嵌入,并与文本嵌入在LLM输入空间拼接。以USM和Gemma模型为例,LegoSLM在ASR和语音翻译任务上均表现良好。连接USM与Gemma模型后,在8个MLS测试集上平均词错误率(WERR)较USM-CTC基线降低49%。该模型具备模块化特性:微调Gemma权重后,可零样本切换并组合不同语音编码器。此外,通过解码时调整软最大温度控制语音与语言模型影响,有效提升领域自适应能力。

原文摘要 · Abstract (English)

Recently, large-scale pre-trained speech encoders and Large Language Models (LLMs) have been released, which show state-of-the-art performance on a range of spoken language processing tasks including Automatic Speech Recognition (ASR). To effectively combine both models for better performance, continuous speech prompts, and ASR error correction have been adopted. However, these methods are prone to suboptimal performance or are inflexible. In this paper, we propose a new paradigm, LegoSLM, that bridges speech encoders and LLMs using the ASR posterior matrices. The speech encoder is trained to generate Connectionist Temporal Classification (CTC) posteriors over the LLM vocabulary, which are used to reconstruct pseudo-audio embeddings by computing a weighted sum of the LLM input embeddings. These embeddings are concatenated with text embeddings in the LLM input space. Using the well-performing USM and Gemma models as an example, we demonstrate that our proposed LegoSLM method yields good performance on both ASR and speech translation tasks. By connecting USM with Gemma models, we can get an average of 49% WERR over the USM-CTC baseline on 8 MLS testsets. The trained model also exhibits modularity in a range of settings -- after fine-tuning the Gemma model weights, the speech encoder can be switched and combined with the LLM in a zero-shot fashion. Additionally, we propose to control the decode-time influence of the USM and LLM using a softmax temperature, which shows effectiveness in domain adaptation.

语音识别大模型CTC模块化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。