LLM智能体能否推断世界模型?来自智能体自动机学习的证据
Can Agents Infer Environment from Interaction? Evidence from Agentic Automata Learning
AI总结:
提出智能体自动机学习框架,通过成员查询和等价查询评估LLM智能体发现隐藏确定性有限自动机的能力,发现性能随DFA规模增加而急剧下降,推理模型优于非推理模型但仍存在规划、整合和假设构建缺陷。
摘要:
我们提出智能体自动机学习,以评估调用工具的LLM智能体通过交互发现隐藏环境的程度。在我们的设置中,智能体应通过与预言机的交互来发现隐藏的确定性有限自动机(DFA),交互方式包括(1)成员查询(“该字符串是否属于目标语言?”)和(2)等价查询(“这是目标DFA吗?”)。这产生了一个可扩展的测试平台,具有可控的任务复杂度、可测量的交互效率以及强基线(经典自动机学习算法)。评估最先进的LLM,我们发现性能随着DFA规模增加而急剧下降。推理模型明显强于非推理模型,但轨迹分析揭示了查询规划、证据整合和假设构建中的反复失败。总体而言,我们的结果表明,当前的LLM智能体有时可以执行非平凡的交互式发现,但在此任务上远不如经典算法稳健和高效。
英文摘要:
We propose agentic automata learning to evaluate the extent to which tool-calling LLM agents can uncover hidden environments through interaction, a capability increasingly required in agentic tasks (e.g., reproducing an executable without access to its source code by interacting with it). In our setup, an agent should uncover a hidden deterministic finite automaton (DFA) by interacting with an oracle through (1) membership queries ("Does this string belong to the target language?'') and (2) equivalence queries ("Is this the target DFA?''). Agentic automata learning yields a scalable testbed with controlled task complexity, measurable interaction efficiency, and strong algorithms to compare against from the classic automata-learning literature. Evaluating state-of-the-art LLMs with a multi-turn agent scaffold, we find that while they are able to recover simple DFAs, their performance drops sharply as DFA size increases. Results improve with a more elaborate ReAct-style state-tracking scaffold, yet strong models still struggle with complex instances. Trajectory analyses reveal recurring failures in query planning, evidence integration, and hypothesis construction. These failures occur even though the models mention classic automata learning algorithms in their reasoning, and can implement and execute them when given access to a coding environment. Our results suggest that for state-of-the-art LLMs, identifying a solution to the problem is insufficient, and reliably executing the resulting plan still poses a distinct challenge.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。