Skip to main content
QUICK REVIEW

[论文解读] Aligning Speech to Languages to Enhance Code-switching Speech Recognition

Hexin Liu, Xiangyu Zhang|arXiv (Cornell University)|Mar 9, 2024
Speech Recognition and SynthesisComputer Science被引用 3
一句话总结

本文提出一种用于代码切换语音识别的语言对齐损失(LAL),通过利用ASR解码器生成的伪标签实现帧级语言识别,从而无需昂贵的帧级标注。通过将LAL与大型语言模型(LLMs)结合使用语言学提示,该方法在ASRU数据集上实现14.1%的相对WER降低,在SEAME数据集上实现5.5%的降低,且参数增加可忽略不计。

ABSTRACT

Code-switching (CS) refers to the switching of languages within a speech signal and results in language confusion for automatic speech recognition (ASR). To address language confusion, we propose a language alignment loss (LAL) that aligns acoustic features to pseudo-language labels learned from the ASR decoder during ASR training. This approach enables frame-level language identification without the need for frame-level language annotations. To further tackle the complex token alternatives for language modeling in bilingual scenarios, we propose to employ large language models via a generative error correction method. A linguistic hint, derived from LAL outputs and decoded hypotheses, is introduced to guide the prompting and enhance the LLM-based generative error correction for CS-ASR. The proposed methods are evaluated on the SEAME dataset and data from the ASRU 2019 Mandarin-English code-switching speech recognition challenge. The incorporation of the proposed language alignment loss improves CS-ASR performance for both hybrid CTC/attention and Whisper models on both datasets, with only a negligible increase in the number of parameters. This work also highlights the efficacy of language alignment loss in balancing primary-language-dominant bilingual data during training, with an 8.6% relative improvement on the ASRU dataset compared to the baseline model. Performance evaluation using large language models reveals the advantage of the linguistic hint by achieving 14.1% and 5.5% relative improvement on test sets of the ASRU and SEAME datasets, respectively.

研究动机与目标

  • 解决因缺乏帧级语言标注而导致的代码切换语音识别中的语言混淆问题。
  • 减少对昂贵单语编码器或解码器的依赖,从而避免模型参数显著增加。
  • 通过在训练过程中平衡主语言与次语言表征,提升在数据不平衡的双语数据上的性能。
  • 通过语言学提示引导的生成式错误纠正,提升ASR输出质量。
  • 开发一种低成本、高效的方法,将语言感知上下文注入端到端ASR,无需外部监督。

提出的方法

  • 提出一种语言对齐损失(LAL),利用从ASR解码器的交叉注意力权重中提取的伪语言标签,实现帧级语言识别。
  • 使用来自交叉注意力矩阵(非CTC)的帧到token对齐方式生成更准确的伪标签,避免因空白token对齐错误导致的问题。
  • 通过引入LAL训练ASR模型,使其在无需真实语言标签的情况下学习帧级别的语言特异性表征。
  • 从LAL预测结果和解码结果中生成话语级语言学提示,用于引导LLM进行错误纠正。
  • 使用LoRA微调的LLM进行生成式错误纠正,将语言学提示作为上下文提示。
  • 通过晚期融合将LAL增强的ASR与LLM驱动的纠错相结合,提升对替换错误和语法错误的鲁棒性。

实验结果

研究问题

  • RQ1在缺乏真实语言标注的情况下,能否在代码切换ASR中有效实现帧级语言识别?
  • RQ2与标准端到端模型相比,所提出的语言对齐损失在数据不平衡的双语数据上如何提升ASR性能?
  • RQ3从LAL预测和ASR假设中提取的语言学提示,在多语言语音的LLM错误纠正中能发挥多大作用?
  • RQ4LAL对减少多语言语音中因语言混淆导致的替换错误有何影响?
  • RQ5在未在目标领域微调的情况下,语言学提示引导的LLM能否提升对自发性、口语化代码切换语音的ASR性能?

主要发现

  • 在ASRU 2019代码切换数据集上,LAL方法相比基线模型实现了8.6%的相对WER改进,证明其在平衡主语言与次语言主导性方面的有效性。
  • 在SEAME数据集上,结合语言学提示的LLM错误纠正后,基于LAL的模型实现了5.5%的相对WER降低。
  • 当结合LLMs和语言学提示时,LAL方法在ASRU数据集上实现了14.1%的相对WER降低,表明LAL与LLMs之间具有显著的协同效应。
  • LAL方法仅通过增加一个线性层,使模型参数增长可忽略不计,而无需额外编码器或解码器,优于其他需要额外结构的方法。
  • 语言学提示显著提升了LLM提示效果,减少了代码切换输出中的替换错误和语法不一致。
  • 尽管性能有所提升,但在SEAME数据上微调的LLM在处理口语化表达时表现更差,表明语法正确性与自然性之间存在权衡。

阅读本论文

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

在 Nubint 中阅读本论文

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