arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05059cs.AI
收藏

阶梯式流式处理:面向低延迟多智能体推理

Staircase Streaming for Low-Latency Multi-Agent Inference

Duke University(杜克大学);Together AI;University of Chicago(芝加哥大学);Stanford University(斯坦福大学)

Junlin Wang, Jue Wang, Zhen, Xu, Ben Athiwaratkun, Bhuwan Dhingra, Ce Zhang, James Zou

AI总结:

针对多智能体推理中首令牌延迟高的问题,提出阶梯式流式处理,利用部分中间输出提前生成最终响应,在保持质量的同时将TTFT降低高达93%。

摘要:

大型语言模型(LLM)的最新进展为利用多个LLM的集体专业知识开辟了新方向。这些方法,如Mixture-of-Agents,通常采用额外的推理步骤来生成中间输出,然后用于产生最终响应。虽然多智能体推理可以提高响应质量,但它会显著增加首令牌时间(TTFT),对延迟敏感的应用构成挑战,并损害用户体验。为解决此问题,我们提出阶梯式流式处理用于低延迟多智能体推理。我们不再等待先前步骤的完整中间输出,而是只要收到这些步骤的部分输出就开始生成最终响应。实验结果表明,阶梯式流式处理在保持响应质量的同时,将TTFT降低了高达93%。

英文摘要:

Recent advances in large language models (LLMs) opened up new directions for leveraging the collective expertise of multiple LLMs. These methods, such as Mixture-of-Agents, typically employ additional inference steps to generate intermediate outputs, which are then used to produce the final response. While multi-agent inference can enhance response quality, it can significantly increase the time to first token (TTFT), posing a challenge for latency-sensitive applications and hurting user experience. To address this issue, we propose staircase streaming for low-latency multi-agent inference. Instead of waiting for the complete intermediate outputs from previous steps, we begin generating the final response as soon as we receive partial outputs from these steps. Experimental results demonstrate that staircase streaming reduces TTFT by up to 93% while maintaining response quality.

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

↑