论文提出压缩状态抽象方法,让 LLM 智能体输入最多减少 71%
Learning Compact State Abstractions for LLM Agents
这篇 arXiv 论文挺有意思:让智能体丢掉冗长的历史记录,只保留真正有用的信息,在 ALFWorld 上输入少了 71% 性能几乎不掉。做智能体上下文管理、想省 token 成本的朋友可以看看实现思路。
arXiv 论文《Learning Compact State Abstractions for LLM Agents》提出一种新方法:不再让 LLM 智能体把全部交互历史当作状态,而是学习一个紧凑的状态抽象。作者把状态抽象表示为确定性递归程序,用 LLM 引导的遗传算法来搜索,并以任务表现而非行为匹配来定义充分性。
在 ALFWorld 和 ScienceWorld 两个基准上,学到的抽象在保持接近参考智能体任务成功率的前提下,将平均策略输入分别减少 71% 和 57%。生成的程序可直接人工检查,能明确展示交互过程中哪些信息被保留、更新或丢弃。
Learning Compact State Abstractions for LLM Agents
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.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LLM, agents, ALFWorld, ScienceWorld.
Source attribution: curated from arXiv cs.AI (@Yaswanth Chittepu, Raghavendra Addanki, Anup Rao, Branislav Kveton, Scott Niekum).