用LLM引导的遗传算法学习LLM Agent的紧凑状态抽象
Learning Compact State Abstractions for LLM Agents
研究将LLM Agent的状态定义为交互历史的紧凑抽象,以任务表现而非行为匹配衡量充分性,并用LLM引导的遗传算法搜索确定性递归程序形式的状态抽象。在ALFWorld和ScienceWorld上,学到的抽象在保持接近参考Agent任务成功率的同时,将策略平均输入分别减少最多71%和57%。生成的程序可直接检查,明确呈现交互中保留、更新和丢弃的信息。
arXiv:2611.31800v1 Announce Type: new Abstract: LLM agents commonly use the full interaction history as a proxy for state, retaining all past observations and actions regardless of whether they remain relevant. We instead ask what information an agent actually needs to carry forward. We define agent state as a compact abstraction of interaction history that preserves the competence of a fixed reference agent, with the minimal such abstraction as the ideal. Because matching the reference agent's behavior is unnecessarily restrictive and difficult for black-box policies, we define sufficiency through task performance rather than behavior matching. We represent state abstractions as deterministic recursive programs and search over them using an LLM-guided genetic algorithm. Across ALFWorld and ScienceWorld, the learned abstractions preserve near-reference task success while reducing mean policy input by up to 71% and 57%, respectively. The resulting programs are directly inspectable, providing an explicit account of what information is retained, updated, and discarded during interaction.
来源:arXiv (AI + Vision + Imaging) · arxiv.org