SHANKS: Simultaneous Hearing and Thinking for Spoken Language Models
本文提出了一种名为SHANKS的通用推理框架,使口语语言模型(SLM)能够在接收用户输入的同时进行无声的推理,从而提高实时用户-SLM交互的质量。
更新于 2025-10-10。作者:Cheng-Han Chiang、Xiaofei Wang、Linjie Li、Chung-Ching Lin、Kevin Lin、Shujie Liu、Zhendong Wang、Zhengyuan Yang、Hung-yi Lee、Lijuan Wang。
中文摘要
当前的大型语言模型(LLMs)和语音语言模型(SLMs)仅在用户完成其回合后才开始思考和采取行动。这阻止了模型在用户回合期间进行交互,可能导致在等待思考时出现高响应延迟。因此,在接收到全部输入后才开始思考并不适合语音到语音的交互,因为在这种交互中,实时、低延迟的交流非常重要。我们通过注意到人类自然地“边听边思考”来解决这个问题。在这篇论文中,我们提出了SHANKS,这是一个通用的推理框架,它使SLMs能够在听取用户输入的同时生成未说出的思维链推理。SHANKS以固定时长将输入语音流式传输,一旦接收到一个片段,就会基于所有之前的语音和推理生成未说出的推理,而用户继续说话。SHANKS使用这种未说出的推理来决定是否打断用户,并调用工具来完成任务。我们证明了SHANKS在两种场景中增强了实时用户-SLM交互:(1)当用户正在逐步解决一个数学问题时,SHANKS可以边听边推理,并在用户出错时进行打断,其打断准确率比未思考即打断的基线提高了37.1%;(2)在工具增强的对话中,SHANKS可以在用户完成回合之前完成56.9%的工具调用。总的来说,SHANKS朝着在整个对话中持续思考的模型发展,而不仅仅是回合结束后。Shanks的动画插图可以在https://d223302.github.io/SHANKS/找到。
英文摘要
Current large language models (LLMs) and spoken language models (SLMs) begin thinking and taking actions only after the user has finished their turn. This prevents the model from interacting during the user's turn and can lead to high response latency while it waits to think. Consequently, thinking after receiving the full input is not suitable for speech-to-speech interaction, where real-time, low-latency exchange is important. We address this by noting that humans naturally "think while listening." In this paper, we propose SHANKS, a general inference framework that enables SLMs to generate unspoken chain-of-thought reasoning while listening to the user input. SHANKS streams the input speech in fixed-duration chunks and, as soon as a chunk is received, generates unspoken reasoning based on all previous speech and reasoning, while the user continues speaking. SHANKS uses this unspoken reasoning to decide whether to interrupt the user and to make tool calls to complete the task. We demonstrate that SHANKS enhances real-time user-SLM interaction in two scenarios: (1) when the user is presenting a step-by-step solution to a math problem, SHANKS can listen, reason, and interrupt when the user makes a mistake, achieving 37.1% higher interruption accuracy than a baseline that interrupts without thinking; and (2) in a tool-augmented dialogue, SHANKS can complete 56.9% of the tool calls before the user finishes their turn. Overall, SHANKS moves toward models that keep thinking throughout the conversation, not only after a turn ends. Animated illustrations of Shanks can be found at https://d223302.github.io/SHANKS/
解读
一句话总结
本文提出了一种名为SHANKS的通用推理框架,使口语语言模型(SLM)能够在接收用户输入的同时进行无声的推理,从而提高实时用户-SLM交互的质量。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:当前的大语言模型(LLM)和口语语言模型(SLM)在用户完成输入后才开始思考和采取行动,这导致模型无法在用户输入时与用户互动,并且可能引起高响应延迟。
- 现有方案不足:现有的解决方案在实时性和低延迟交互方面存在局限性,不适合语音到语音交互。
- 研究目标:提出一种方法,使SLM能够在接收用户输入的同时进行无声的推理,从而提高实时用户-SLM交互的质量。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为SHANKS的通用推理框架,能够在接收用户输入的同时进行无声的推理。
- 方法改进:通过将用户输入语音分割为固定长度的块,并在接收到输入块后立即生成基于所有先前语音和推理的无声推理。
- 优势:与现有方法相比,SHANKS能够更准确地中断用户,并且能够在用户完成输入之前完成大部分工具调用。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在两个场景中测试了SHANKS的有效性:当用户逐步解决数学问题时,SHANKS可以监听并推理用户的语音,并在用户犯错误时中断用户;在工具增强的对话场景中,SHANKS可以在用户结束输入之前完成大部分工具调用。
- 性能提升:与不进行思考的基线相比,SHANKS在用户犯错误时中断用户的准确率提高了37.1%;SHANKS能够完成56.9%的工具调用,而无需等待用户完成输入。
- 对比结果:与基线模型相比,SHANKS在两个场景中都显示出显著的性能提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:SHANKS在教育和任务导向的对话场景中具有潜在的应用价值,例如作为辅导老师指导学生或作为旅行代理完成用户请求。
- 实施建议:SHANKS可以集成到现有的SLM中,以提供更实时和高效的交互体验。
- 局限与展望:SHANKS需要用户语音具有某些结构,并且使用固定块大小来分割用户输入语音,这可能导致延迟。未来的工作可以探索更复杂的块分割方法和减少推理与监听之间的延迟。
来源
机器可读索引:llms.txt