心跳思考:实时语音代理在聆听时的推测性推理与工具执行

·

研究论文 · 2026/10/23

工具型语音代理通常在语音结束后让用户等待,即使可操作信息在请求中较早出现。推测方法在语音期间开始工作,但分块边界或更新时中断的生成可能在工具调用参数完整之前截断调用,将计算时间与语音更新耦合,限制了提前完成的有用工作。我们提出心跳思考(Heartbeat Thinking),通过新的思考器调用处理更新输入,同时允许正在进行的调用和已分派的工具完成。周期性调用读取最新的部分转录以及已完成推理和工具结果的共享记录,这些结果有助于解决缺失参数并启动依赖调用,使准备能够跨语音更新推进。在SpeechFCEval、FDBench v3和AudioCRAG上,心跳思考相比SHANKS风格的窗口基线提高了聚合推测工具覆盖率或检索重用,对最终任务质量的影响因基准而异。在FDBench v3上,它将工具覆盖率提高了16个百分点,并将平均最终响应延迟降低了36.4%。结果表明,在语音期间保留持续计算的心跳思考范式可以将聆听时间转化为可重用的准备,从而实现更快、更强大的语音代理响应。

该研究提出了一种在语音代理中利用聆听时间进行推测性推理和工具执行的新范式,显著降低了响应延迟并提高了工具覆盖率,对提升实时语音交互体验有重要价值。

Tool-using voice agents often leave users waiting after speech ends, even when actionable information arrives earlier in the request. Speculative approaches begin work during speech, but chunk-bounded or interrupt-on-update generation can truncate a tool call before its arguments are complete. This couples computation time to speech updates, limiting useful work completed in advance. We introduce Heartbeat Thinking, which handles updated input through new Thinker invocations while allowing ongoing invocations and dispatched tools to finish. Periodic invocations read the latest partial transcript and a shared record of completed reasoning and tool results. These results help resolve missing arguments and initiate dependent calls, allowing preparation to progress across speech updates. Across SpeechFCEval, FDBench v3, and AudioCRAG, Heartbeat improves aggregate speculative tool coverage or retrieval reuse over a SHANKS-style windowed baseline, with benchmark-dependent effects on final task quality. On FDBench v3, it increases tool coverage by 16 percentage points and reduces mean final-response latency by 36.4\%. The results show that heartbeat thinking paradigm preserving ongoing computation during speech can turn listening time into reusable preparation for faster and more capable voice-agent responses.

阅读原文

参与讨论