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

通过自动化接口生成实现智能体-环境对齐

Agent-Environment Alignment via Automated Interface Generation

Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院)

Kaiming Liu, Xuanyu Lei, Ziyue Wang, Peng Li, Yang Liu

AI总结:

针对LLM智能体与环境交互中的错位瓶颈,提出自动对齐接口生成框架ALIGN,通过丰富静态信息和逐步观测的轻量级包装器实现智能体与环境的对齐,在多领域任务中显著提升性能且无需重新生成接口。

摘要:

大型语言模型(LLM)智能体在交互式决策任务中展现出了令人印象深刻的推理能力。这些智能体通过中间接口(如预定义的动作空间和交互规则)与环境进行交互,这些接口介导了感知和动作。然而,智能体对其发出动作影响的内部期望与环境中的实际状态转换之间经常发生不匹配,这种现象被称为智能体-环境错位。虽然先前的工作在改进智能体策略和环境设计方面投入了大量精力,但接口的关键作用仍未得到充分探索。在这项工作中,我们实证证明了智能体-环境错位是智能体性能的显著瓶颈。为了缓解这一问题,我们提出了ALIGN,这是一个自动对齐接口生成框架,通过丰富接口来缓解错位。具体而言,ALIGN生成的接口增强了环境的静态信息和返回给智能体的逐步观测。作为轻量级包装器实现,该接口在不修改智能体逻辑或环境代码的情况下实现了对齐。在包括具身任务、Web导航和工具使用在内的多个领域的实验表明,性能得到了持续提升,在ALFWorld中观察到成功率最高提升了45.67%。同时,ALIGN生成的接口可以在不同的智能体架构和LLM骨干网络之间泛化,而无需重新生成接口。代码和实验结果可在https://github.com/THUNLP-MT/ALIGN获取。

英文摘要:

Large language model (LLM) agents have shown impressive reasoning capabilities in interactive decision-making tasks. These agents interact with environment through intermediate interfaces, such as predefined action spaces and interaction rules, which mediate the perception and action. However, mismatches often happen between the internal expectations of the agent regarding the influence of its issued actions and the actual state transitions in the environment, a phenomenon referred to as agent-environment misalignment. While prior work has invested substantially in improving agent strategies and environment design, the critical role of the interface still remains underexplored. In this work, we empirically demonstrate that agent-environment misalignment poses a significant bottleneck to agent performance. To mitigate this issue, we propose ALIGN, an Auto-Aligned Interface Generation framework that alleviates the misalignment by enriching the interface. Specifically, the ALIGN-generated interface enhances both the static information of the environment and the step-wise observations returned to the agent. Implemented as a lightweight wrapper, this interface achieves the alignment without modifying either the agent logic or the environment code. Experiments across multiple domains including embodied tasks, web navigation and tool-use, show consistent performance improvements, with up to a 45.67% success rate improvement observed in ALFWorld. Meanwhile, ALIGN-generated interface can generalize across different agent architectures and LLM backbones without interface regeneration. Code and experimental results are available at https://github.com/THUNLP-MT/ALIGN.

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

↑