Hugging Face Daily Papers论文
大语言模型作为通用异步智能体
该论文指出,现代大语言模型(LLMs)在作为自主智能体时,通常遵循“读取-思考-回复”的串行交互循环。然而,语音助手、具身智能体和监控系统等现实场景需要并行处理输入。文章探讨了通过专用架构(如VLA、异步工具调用等)解决非顺序交互需求的方法,旨在将LLM转化为能够同时处理多源输入的通用异步智能体。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
- +9
Abstract
Modern LLMs are increasingly capable as autonomous agents, but they follow sequential interaction cycles: read, think, reply or call tools, repeat. Many real-world use cases are not sequential: voice assistants, embodied agents, and monitoring systems receive new inputs while they think or perform another task. Modern LLMs address this with specialized architectures for voice interaction and video streams, VLAs for robot control, asynchronous tool calling for API usage, and others. In this work, we generalize from different asynchronous tasks to general asynchronous agents that can adapt to different types of concurrency. To achieve this, we develop an asynchronous LLM framework that lets users (or the agents themselves) define inference coroutines with overlapping memory states. We showcase that Qwen 3.x models are capable of asynchronous operation for streaming video understanding, videogames, and monitoring, without task-specific training.
We’re releasing AsyncLLM, an open-source framework that lets pretrained LLMs observe, reason and act concurrently without additional training.
The key idea: concurrency lives inside inference, and not around API calls. Inspired by asyncio an agent is a set of Python async/await coroutines. Each writes to cache block and chooses which blocks to attend to through cache views. Streams read each other’s evolving state while they may be incomplete.This cache-block abstraction sits on an inference engine built on Mini-SGLang. It efficiently batches requests across coroutines and supports full attention, Gated DeltaNet and multimodal MRoPE models. Coordination uses standard asyncio events, locks and queues.
- +5