arXiv:2409.15594cs.CLcs.LG2024-09EMNLP被引 82

让大模型同步真实时间,实现自然流畅的实时对话。

Beyond Turn-Based Interfaces: Synchronous LLMs as Full-Duplex Dialogue Agents

  • 给Llama3-8b注入时间信息,使其能实时响应
  • 仅用2000小时真实语音数据训练出高质量对话模型
  • 支持高延迟下的双人实时对话,适合智能助手场景

尽管对语音对话代理的兴趣广泛,但多数方法本质上是半双工的,受限于回合制交互,需用户明确触发或隐式识别打断与静默。而人类对话是全双工的,具有快速动态的轮换、重叠说话和回应行为。技术挑战在于,预训练的大语言模型缺乏时间感知能力。为此,我们提出同步大模型(Synchronous LLMs),通过新机制将时间信息融入Llama3-8b,使其与真实世界时钟同步。我们设计了一套训练方案,利用21.2万小时合成语音对话数据(由文本对话生成)和仅2000小时真实语音数据,训练出能生成自然且有意义口语对话的模型。同步大模型在对话意义性和自然度上均优于现有最优方法。最后,我们在高达240毫秒互联网级延迟下,成功模拟了两个基于不同数据集训练的代理之间的全双工交互,验证了其实际应用可行性。

原文摘要 · Abstract (English)

Despite broad interest in modeling spoken dialogue agents, most approaches are inherently "half-duplex" -- restricted to turn-based interaction with responses requiring explicit prompting by the user or implicit tracking of interruption or silence events. Human dialogue, by contrast, is "full-duplex" allowing for rich synchronicity in the form of quick and dynamic turn-taking, overlapping speech, and backchanneling. Technically, the challenge of achieving full-duplex dialogue with LLMs lies in modeling synchrony as pre-trained LLMs do not have a sense of "time". To bridge this gap, we propose Synchronous LLMs for full-duplex spoken dialogue modeling. We design a novel mechanism to integrate time information into Llama3-8b so that they run synchronously with the real-world clock. We also introduce a training recipe that uses 212k hours of synthetic spoken dialogue data generated from text dialogue data to create a model that generates meaningful and natural spoken dialogue, with just 2k hours of real-world spoken dialogue data. Synchronous LLMs outperform state-of-the-art in dialogue meaningfulness while maintaining naturalness. Finally, we demonstrate the model's ability to participate in full-duplex dialogue by simulating interaction between two agents trained on different datasets, while considering Internet-scale latencies of up to 240 ms. Webpage: https://syncllm.cs.washington.edu/.

语音对话全双工时间感知大模型

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