arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.11795eess.AScs.AIcs.CLcs.LG
收藏

赋予大语言模型语音识别能力的提示方法

Prompting Large Language Models with Speech Recognition Abilities

Meta AI;University of Cambridge(剑桥大学)

Yassir Fathullah, Chunyang Wu, Egor Lakomkin, Junteng Jia, Yuan Shangguan, Ke Li, Jinxi Guo, Wenhan Xiong, Jay Mahadeokar, Ozlem Kalinli, Christian Fuegen, Mike Seltzer

AI总结:

本研究通过给LLaMA-7B接入小型音频编码器构建ASR系统,在MLS上较单语言基线提升18%,且冻结LLM或采用大步长时仍可实现多语言语音识别,为长音频处理提供可能。

摘要:

大语言模型已被证明具备高度灵活性,能够解决广泛的生成式任务,例如抽象摘要和开放式问答。本文通过直接接入一个小型音频编码器拓展大语言模型(LLM)的能力,使其能够执行语音识别任务。通过将一系列音频嵌入直接前置到文本词元嵌入之前,LLM可被改造为自动语音识别(ASR,自动语音识别)系统,并且能够以与其文本版本完全相同的方式使用。在Multilingual LibriSpeech(MLS,多语言Libri语音数据集)上的实验表明,将conformer(卷积增强Transformer)编码器整合到开源LLaMA-7B中,可使其性能优于单语言基线18%,并且尽管LLaMA绝大多数是在英文文本上训练的,仍能执行多语言语音识别。此外,我们开展了消融研究,探究是否可以在训练期间完全冻结LLM以保留其原有能力、扩大音频编码器规模,以及提高音频编码器的步长以生成更少的嵌入。这些研究的结果表明,即使LLM被冻结,或者音频编码器使用近1秒的步长,多语言ASR依然可行,这为LLM处理长音频开辟了可能性。

英文摘要:

Large language models have proven themselves highly flexible, able to solve a wide range of generative tasks, such as abstractive summarization and open-ended question answering. In this paper we extend the capabilities of LLMs by directly attaching a small audio encoder allowing it to perform speech recognition. By directly prepending a sequence of audial embeddings to the text token embeddings, the LLM can be converted to an automatic speech recognition (ASR) system, and be used in the exact same manner as its textual counterpart. Experiments on Multilingual LibriSpeech (MLS) show that incorporating a conformer encoder into the open sourced LLaMA-7B allows it to outperform monolingual baselines by 18% and perform multilingual speech recognition despite LLaMA being trained overwhelmingly on English text. Furthermore, we perform ablation studies to investigate whether the LLM can be completely frozen during training to maintain its original capabilities, scaling up the audio encoder, and increasing the audio encoder striding to generate fewer embeddings. The results from these studies show that multilingual ASR is possible even when the LLM is frozen or when strides of almost 1 second are used in the audio encoder opening up the possibility for LLMs to operate on long-form audio.

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

↑