Can LLM Agents Infer World Models? Evidence from Agentic Automata Learning
On the map: World models → World models for language agents
also in 1 more
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 14 of its 30 references that are in the map. First posted on arXiv 15 Jun 2026.
Builds on
14 of 30 references.
Closest ancestors · 1
Same direction, newest first
Other references · 13
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2024In-Context Language Learning: Architectures and Algorithmscited by 89
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learnerscited by 78
- 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 59
- 2025Orak: A Foundational Benchmark for Training and Evaluating LLM Agents on Diverse Video Gamescited by 31
- 2026AgencyBench: Benchmarking the Frontiers of Autonomous Agents in 1M-Token Real-World Contextscited by 28
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 23
- 2014What Teachers Should Know about the Bootstrap: Resampling in the Undergraduate Statistics Curriculumcited by 15
- 2024AQA-Bench: An Interactive Benchmark for Evaluating LLMs' Sequential Reasoning Abilitycited by 8
- 2024LLMs as Probabilistic Minimally Adequate Teachers for DFA Learningcited by 3
1 more
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Agentic Reasoning: A Streamlined Framework for Enhancing LLM Reasoning with Agentic Tools
- 2026What Do LLM Agents Know About Their World? Task2Quiz: A Paradigm for Studying Environment Understanding
- 2026ATLAS: Discovering Agent Strategies through LLM-Guided Abstraction and Automata Learning
- 2026AGI Maze as a Benchmark Framework for World-Modeling Agents
- 2026Schema: Discovering Unknown Environments via Agentic Program Induction
- 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarios
- 2023A Survey on Large Language Model based Autonomous Agents
- 2026AgentEscapeBench: Evaluating Out-of-Domain Tool-Grounded Reasoning in LLM Agents