解决大模型智能体在动态环境中的响应延迟问题
Reflex First, Reflect Later: Latency-Aware Embodied LLM Agents for Dynamic Response
- 提出时间转换机制,将计算延迟映射到仿真时间
- 新代理架构在延迟下仍保持高响应速度与决策质量
- 适合需要实时交互的机器人、自动驾驶等场景
大型语言模型(LLMs)显著提升了具身智能体的规划能力,使其适用于动态和安全关键环境。然而,这些场景暴露了一个关键局限:推理延迟。延迟的LLM响应会削弱实时响应能力,并导致智能体推理与快速变化的环境状态脱节。本文系统研究了推理延迟对基于LLM的具身智能体在动态环境中的影响。我们引入基于帧率的时间转换机制(TCM),将推理时间映射为仿真经过时间,使计算延迟直接作用于环境演化和智能体结果。我们在HAZARD环境中实现该协议,并引入响应延迟(RL)和延迟-动作比(LAR)来评估智能体响应能力。在此框架基础上,我们提出快速反射异步反思代理(RRARA),结合快速反射动作与异步LLM反思,以缓解延迟带来的误差。我们还引入基于LLM的预规划器,生成缓存的对象中心子目标,在减少重复调用的同时保留模型高层推理能力。实验表明,考虑推理延迟会显著改变具身智能体性能,且RRARA在决策质量与响应速度之间取得了更强平衡。
原文摘要 · Abstract (English)
Large language models (LLMs) have substantially improved the planning capabilities of embodied agents, enabling their deployment in dynamic and safety-critical environments. However, these settings expose a critical limitation: inference latency. Delayed LLM responses can weaken real-time responsiveness and misalign agent reasoning with rapidly changing environmental states. This paper systematically studies the impact of inference latency on LLM-based embodied agents in dynamic environments. We introduce an FPS-based Time Conversion Mechanism (TCM) that maps inference time to elapsed simulation time, allowing computational delays to directly affect environmental evolution and agent outcomes. We instantiate this protocol in HAZARD and introduce Response Latency (RL) and Latency-to-Action Ratio (LAR) to evaluate agent responsiveness. Building on this framework, we propose the Rapid-Reflex Async-Reflect Agent (RRARA), which integrates rapid reflexive actions with asynchronous LLM reflection to mitigate latency-induced errors. We further introduce an LLM-based PrePlanner that generates cached object-centric subgoals, reducing repeated LLM calls while retaining the model's high-level reasoning capability. Experiments show that accounting for inference latency substantially changes embodied-agent performance and that RRARA achieves a stronger balance between decision quality and responsiveness.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。