arXiv:2412.16500eess.AScs.AI2024-12被引 18

不依赖语音识别,直接用语音检索生成问答结果

Speech Retrieval-Augmented Generation without Automatic Speech Recognition

论文配图:Speech Retrieval-Augmented Generation without Automatic Speech Recognition
图 1 · 摘自论文原文
  • 用语音编码器适配语言模型,实现语音与文本嵌入对齐
  • 语音检索效果不输文本基线,且优于有语音识别错误的串联系统
  • 无需微调语音语言模型,高误识率下仍表现更优

针对语音数据的开放问题问答,传统方法先通过语音识别(ASR)转录语音,再使用基于文本的检索增强生成(RAG)。但ASR错误会传播至后续步骤。为此,我们提出SpeechRAG框架:将预训练语音编码器微调为语音适配器,输入冻结的大语言模型(LLM)文本检索器。通过对齐文本与语音嵌入空间,语音检索器可直接根据文本查询检索音频片段,利用冻结文本检索器的检索能力。在语音问答数据集上的实验表明,直接语音检索性能不低于文本基线,且优于使用ASR的串联系统。生成阶段采用语音语言模型(SLM),以音频片段为条件生成答案。无需微调SLM,在转录文本高词错误率(WER)时,该方法仍优于串联文本模型。

原文摘要 · Abstract (English)

One common approach for question answering over speech data is to first transcribe speech using automatic speech recognition (ASR) and then employ text-based retrieval-augmented generation (RAG) on the transcriptions. While this cascaded pipeline has proven effective in many practical settings, ASR errors can propagate to the retrieval and generation steps. To overcome this limitation, we introduce SpeechRAG, a novel framework designed for open-question answering over spoken data. Our proposed approach fine-tunes a pre-trained speech encoder into a speech adapter fed into a frozen large language model (LLM)--based retrieval model. By aligning the embedding spaces of text and speech, our speech retriever directly retrieves audio passages from text-based queries, leveraging the retrieval capacity of the frozen text retriever. Our retrieval experiments on spoken question answering datasets show that direct speech retrieval does not degrade over the text-based baseline, and outperforms the cascaded systems using ASR. For generation, we use a speech language model (SLM) as a generator, conditioned on audio passages rather than transcripts. Without fine-tuning of the SLM, this approach outperforms cascaded text-based models when there is high WER in the transcripts.

语音问答检索生成无识别

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