arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.12460cs.LGcs.CL
收藏

多流语言模型:通过并行思维、输入和输出流解除语言模型瓶颈

Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs

Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Tübingen AI Center(图宾根人工智能中心);ETH Zurich(苏黎世联邦理工学院);University Hospital Tübingen(图宾根大学医院);University of Tübingen(图宾根大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Guinan Su, Yanwu Yang, Xueyan Li, Jonas Geiping

AI总结:

本文提出通过并行计算流替代顺序消息格式,提升语言模型的效率、安全性和可监控性,解决单流计算的局限性。

摘要:

语言模型能力的持续提升已解锁其在自主代理中的广泛应用,例如在编码或计算机使用应用中。然而,这些系统的核心自早期指令微调模型如ChatGPT以来几乎没有变化。即使先进的AI代理仍基于消息交换格式,依次与用户、系统和自身(即思维链)及工具进行单一流计算。这种单一流在聊天模型中的瓶颈导致了多个限制:代理在阅读时无法行动(生成输出),在写作时也无法响应新信息。同样,代理在思考时无法行动,也无法在阅读或处理信息时思考。在本文中,我们展示模型可以通过从顺序消息格式的指令微调切换到多个并行计算流的指令微调来解除瓶颈,将每个角色分为单独的流。每个语言模型的正向传递同时从多个输入流读取并生成多个输出流的令牌,所有这些都因果依赖于更早的时间步。我们主张这种数据驱动的变化可以解决上述可用性限制,通过并行化提高模型效率,通过更好的职责分离提高模型安全性,并进一步提高模型的可监控性。

英文摘要:

The continued improvements in language model capability have unlocked their widespread use as drivers of autonomous agents, for example in coding or computer use applications. However, the core of these systems has not changed much since early instruction-tuned models like ChatGPT. Even advanced AI agents function on message exchange formats, successively exchanging messages with users, systems, with itself (i.e. chain-of-thought) and tools in a single stream of computation. This bottleneck to a single stream in chat models leads to a number of limitations: the agent cannot act (generate output) while reading, and in reverse, cannot react to new information while writing. Similarly, the agent cannot act while thinking and cannot think while reading or acting on information. In this work, we show that models can be unblocked by switching from instruction-tuning for sequential message formats to instruction-tuning for multiple, parallel streams of computation, splitting each role into a separate stream. Every forward pass of the language model then simultaneously reads from multiple input streams and generates tokens in multiple output streams, all of which causally depend on earlier timesteps. We argue that this data-driven change remedies a number of usability limitations as outlined above, improves model efficiency through parallelization, improves model security through better separation of concerns and can further improve model monitorability.

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

↑