arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.02370cs.CLcs.SDeess.AS
收藏

语音转文本:前置拼接还是交叉注意力?一项实证比较

Prepending or Cross-Attention for Speech-to-Text? An Empirical Comparison

School of Informatics, University of Edinburgh(爱丁堡大学信息学院);Fondazione Bruno Kessler(布鲁诺·凯塞勒基金会)

Tsz Kin Lam, Marco Gaido, Sara Papi, Luisa Bentivogli, Barry Haddow

AI总结:

本文通过受控实验比较了语音集成LLMs的密集特征前置拼接与交叉注意力架构,在多种配置及ASR和ST任务上发现DFP并无明显优势。

摘要:

随着大型语言模型(LLMs)在自然语言处理任务中取得显著成功,人们越来越关注将其能力扩展到语音——这一最常见的交流形式。将语音集成到LLMs中最广泛采用的方法是密集特征前置拼接(DFP),该方法将投影后的语音表示前置拼接到文本表示之前,从而允许与语音编码器进行端到端训练。这引发了关于DFP是否需要复杂的语音编码器,以及其性能与标准编码器-解码器(即交叉注意力)架构相比如何的问题。我们在多种配置下比较了DFP和交叉注意力,例如CTC压缩、序列级知识蒸馏,以及单语、双语和多语模型。为了进行受控的架构比较,我们从头训练所有模型,而不是使用大型预训练模型,并使用可比较的数据和参数设置,在MuST-C v1.0和CoVoST2数据集上测试语音转文本识别(ASR)和翻译(ST)。尽管DFP被广泛采用,但我们的结果并未表明DFP相对于交叉注意力具有明显优势。

英文摘要:

Following the remarkable success of Large Language Models (LLMs) in NLP tasks, there is increasing interest in extending their capabilities to speech -- the most common form of communication. The most widespread approach to integrating speech into LLMs is dense feature prepending (DFP), which prepends the projected speech representations to the textual representations, allowing end-to-end training with a speech encoder. This raises questions about the need for a sophisticated speech encoder for DFP and how its performance compares with a standard encoder-decoder (i.e., cross-attention) architecture. We compare DFP and cross-attention under a variety of configurations, such as CTC compression, sequence-level knowledge distillation, on monolingual, bilingual, and multilingual models. To perform a controlled architectural comparison, we train all models from scratch rather than using large pretrained models and use comparable data and parameter settings, testing speech-to-text recognition (ASR) and translation (ST) on MuST-C v1.0 and CoVoST2 datasets. Despite the wide adoption of DFP, our results do not indicate a clear advantage of DFP over cross-attention.

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

↑