arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.00723cs.CLcs.AIcs.LGcs.SDeess.AS
收藏

利用大语言模型对命名实体进行上下文偏置

Contextual Biasing of Named-Entities with Large Language Models

Meta AI

Chuanneng Sun, Zeeshan Ahmed, Yingyi Ma, Zhe Liu, Lucas Kabela, Yutong Pang, Ozlem Kalinli

AI总结:

本文提出利用大语言模型在ASR第二遍重打分中进行命名实体上下文偏置,通过少样本提示、多任务训练和动态提示方法,在多个数据集上显著降低了词错误率。

摘要:

本文研究利用大语言模型(LLMs)进行上下文偏置,即在第二遍重打分过程中向大语言模型提供额外的上下文信息,以提升自动语音识别(ASR)性能。我们提出在重打分时利用提示词来使用未经微调的大语言模型,这些提示词包含一个偏置列表和少样本示例,作为计算假设得分时的附加信息。除了少样本提示学习外,我们还提出对大语言模型进行多任务训练,使其同时预测实体类别和下一个词元。为了提高上下文偏置的效率并避免超过大语言模型的最大序列长度,我们提出动态提示方法,即利用类别标签预测选择最可能的类别,并仅将该类别中的实体作为下一个词元预测的上下文。在 i) 一个内部的通话、消息和听写数据集,以及 ii) SLUE-Voxpopuli 数据集上进行了词错误率(WER)评估。结果表明,与第一遍 ASR 相比,偏置列表和少样本示例分别能取得 17.8% 和 9.6% 的相对改进,而多任务训练和动态提示分别能取得 20.0% 和 11.3% 的相对 WER 改进。

英文摘要:

This paper studies contextual biasing with Large Language Models (LLMs), where during second-pass rescoring additional contextual information is provided to a LLM to boost Automatic Speech Recognition (ASR) performance. We propose to leverage prompts for a LLM without fine tuning during rescoring which incorporate a biasing list and few-shot examples to serve as additional information when calculating the score for the hypothesis. In addition to few-shot prompt learning, we propose multi-task training of the LLM to predict both the entity class and the next token. To improve the efficiency for contextual biasing and to avoid exceeding LLMs' maximum sequence lengths, we propose dynamic prompting, where we select the most likely class using the class tag prediction, and only use entities in this class as contexts for next token prediction. Word Error Rate (WER) evaluation is performed on i) an internal calling, messaging, and dictation dataset, and ii) the SLUE-Voxpopuli dataset. Results indicate that biasing lists and few-shot examples can achieve 17.8% and 9.6% relative improvement compared to first pass ASR, and that multi-task training and dynamic prompting can achieve 20.0% and 11.3% relative WER improvement, respectively.

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

↑