Learning Dynamic Belief Graphs to Generalize on Text-Based Games
Not on the map. Why?
Abstract (arXiv)
Playing text-based games requires skills in processing natural language and sequential decision making. Achieving human-level performance on text-based games remains an open challenge, and prior research has largely relied on hand-crafted structured representations and heuristics. In this work, we investigate how an agent can plan and generalize in text-based games using graph-structured representations learned end-to-end from raw text. We propose a novel graph-aided transformer agent (GATA) that infers and updates latent belief graphs during planning to enable effective action selection by capturing the underlying game dynamics. GATA is trained using a combination of reinforcement and self-supervised learning. Our work demonstrates that the learned graph-based representations help agents converge to better policies than their text-only counterparts and facilitate effective generalization across game configurations. Experiments on 500+ unique games from the TextWorld suite show that our best agent outperforms text-based baselines by an average of 24.2%.
Key facts. Cited by 49 papers in the map (data through 13 Oct 2026). First posted on arXiv 21 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 11; 2023: 8; 2024: 6; 2025: 7; 2026: 3.
49 papers.
Sort:
By area:
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 250
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmarkcited by 177
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 102
- 2023Minding Language Models' (Lack of) Theory of Mind: A Plug-and-Play Multi-Character Belief Trackercited by 95
- 2021What Would Jiminy Cricket Do? Towards Agents That Behave Morallycited by 57
- 2024Can Language Models Serve as Text-Based World Simulators?cited by 51
- 2022On Transforming Reinforcement Learning by Transformer: The Development Trajectorycited by 35
- 2022Aligning to Social Norms and Values in Interactive Narrativescited by 32
- 2021Learning Knowledge Graph-based World Models of Textual Environmentscited by 31
- 2021Neuro-Symbolic Reinforcement Learning with First-Order Logiccited by 30
- 2023Introspective Tips: Large Language Model for In-Context Decision Makingcited by 28
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunitiescited by 23
37 more
- 2025Monte Carlo Planning with Large Language Model for Text-Based Game Agentscited by 22
- 2021A Systematic Survey of Text Worlds as Embodied Natural Language Environmentscited by 17
- 2021Process-Level Representation of Scientific Protocols with Interactive Annotationcited by 16
- 2021Inherently Explainable Reinforcement Learning in Natural Languagecited by 16
- 2021Towards Socially Intelligent Agents with Mental State Transition and Human Utilitycited by 14
- 2021A Survey of Text Games for Reinforcement Learning informed by Natural Languagecited by 14
- 2022Learning to Follow Instructions in Text-Based Gamescited by 12
- 2021Modeling Worlds in Textcited by 11
- 2021How to Query Language Models?cited by 11
- 2021Generalization in Text-based Games via Hierarchical Reinforcement Learningcited by 11
- 2022Perceiving the World: Question-guided Reinforcement Learning for Text-based Gamescited by 10
- 2022Asking for Knowledge: Training RL Agents to Query External Knowledge Using Languagecited by 10
- 2022Behavior Cloned Transformers are Neurosymbolic Reasonerscited by 10
- 2022Discrete Factorial Representations as an Abstraction for Goal Conditioned Reinforcement Learningcited by 10
- 2021Situated Dialogue Learning through Procedural Environment Generationcited by 9
- 2024Can LLMs perform structured graph reasoning?cited by 9
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generationcited by 9
- 2021LOA: Logical Optimal Actions for Text-based Interaction Gamescited by 6
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applicationscited by 5
- 2022Building Human-like Communicative Intelligence: A Grounded Perspectivecited by 4
- 2023Learning Symbolic Rules over Abstract Meaning Representations for Textual Reinforcement Learningcited by 4
- 2025CoEx -- Co-evolving World-model and Explorationcited by 4
- 2024EXPLORER: Exploration-guided Reasoning for Textual Reinforcement Learningcited by 3
- 2021Interactive Machine Comprehension with Dynamic Knowledge Graphscited by 2
- 2023ScriptWorld: Text Based Environment For Learning Procedural Knowledgecited by 2
- 2024A Mixture-of-Experts Approach to Few-Shot Task Transfer in Open-Ended Text Worldscited by 2
- 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agentscited by 2
- 2022Learning Two-Step Hybrid Policy for Graph-Based Interpretable Reinforcement Learningcited by 1
- 2022An Analysis of Deep Reinforcement Learning Agents for Text-based Gamescited by 1
- 2023Recognizing Unseen States of Unknown Objects by Leveraging Knowledge Graphscited by 1
- 2023Constructing Temporal Dynamic Knowledge Graphs from Interactive Text-based Gamescited by 1
- 2025Efficient Graph Understanding with LLMs via Structured Context Injectioncited by 1
- 2026Utilizing and Calibrating Hindsight Process Rewards via Reinforcement with Mutual Information Self-Evaluationcited by 1
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regretcited by 1
- 2022DiffG-RL: Leveraging Difference between State and Common Sensecited by 0
- 2024Can Language Models Enable In-Context Database?cited by 0
- 2026Textual Planning with Explicit Latent Transitionscited by 0
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regret26 Sep 2026
- 2026Utilizing and Calibrating Hindsight Process Rewards via Reinforcement with Mutual Information Self-Evaluation13 Apr 2026
- 2026Textual Planning with Explicit Latent Transitions4 Feb 2026
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applications24 Oct 2025
- 2025Efficient Graph Understanding with LLMs via Structured Context Injection31 Aug 2025
- 2025CoEx -- Co-evolving World-model and Exploration29 Jul 2025
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunities22 Jun 2025
- 2025Monte Carlo Planning with Large Language Model for Text-Based Game Agents23 Apr 2025
- 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agents4 Apr 2025
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generation17 Feb 2025
- 2024Can Language Models Enable In-Context Database?4 Nov 2024
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agents5 Jul 2024
37 more
- 2024Can Language Models Serve as Text-Based World Simulators?10 Jun 2024
- 2024A Mixture-of-Experts Approach to Few-Shot Task Transfer in Open-Ended Text Worlds9 May 2024
- 2024EXPLORER: Exploration-guided Reasoning for Textual Reinforcement Learning15 Mar 2024
- 2024Can LLMs perform structured graph reasoning?2 Feb 2024
- 2023Constructing Temporal Dynamic Knowledge Graphs from Interactive Text-based Games3 Nov 2023
- 2023Recognizing Unseen States of Unknown Objects by Leveraging Knowledge Graphs22 Jul 2023
- 2023ScriptWorld: Text Based Environment For Learning Procedural Knowledge8 Jul 2023
- 2023Learning Symbolic Rules over Abstract Meaning Representations for Textual Reinforcement Learning5 Jul 2023
- 2023Minding Language Models' (Lack of) Theory of Mind: A Plug-and-Play Multi-Character Belief Tracker1 Jun 2023
- 2023Introspective Tips: Large Language Model for In-Context Decision Making19 May 2023
- 2023Can Language Models Solve Graph Problems in Natural Language?17 May 2023
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmark6 Apr 2023
- 2022On Transforming Reinforcement Learning by Transformer: The Development Trajectory29 Dec 2022
- 2022DiffG-RL: Leveraging Difference between State and Common Sense29 Nov 2022
- 2022Learning to Follow Instructions in Text-Based Games8 Nov 2022
- 2022Discrete Factorial Representations as an Abstraction for Goal Conditioned Reinforcement Learning1 Nov 2022
- 2022Behavior Cloned Transformers are Neurosymbolic Reasoners13 Oct 2022
- 2022An Analysis of Deep Reinforcement Learning Agents for Text-based Games9 Sep 2022
- 2022Asking for Knowledge: Training RL Agents to Query External Knowledge Using Language12 May 2022
- 2022Aligning to Social Norms and Values in Interactive Narratives4 May 2022
- 2022Perceiving the World: Question-guided Reinforcement Learning for Text-based Games20 Mar 2022
- 2022Learning Two-Step Hybrid Policy for Graph-Based Interpretable Reinforcement Learning21 Jan 2022
- 2022Building Human-like Communicative Intelligence: A Grounded Perspective2 Jan 2022
- 2021Inherently Explainable Reinforcement Learning in Natural Language16 Dec 2021
- 2021What Would Jiminy Cricket Do? Towards Agents That Behave Morally25 Oct 2021
- 2021LOA: Logical Optimal Actions for Text-based Interaction Games21 Oct 2021
- 2021Neuro-Symbolic Reinforcement Learning with First-Order Logic21 Oct 2021
- 2021Situated Dialogue Learning through Procedural Environment Generation7 Oct 2021
- 2021Generalization in Text-based Games via Hierarchical Reinforcement Learning21 Sep 2021
- 2021A Survey of Text Games for Reinforcement Learning informed by Natural Language20 Sep 2021
- 2021Interactive Machine Comprehension with Dynamic Knowledge Graphs31 Aug 2021
- 2021How to Query Language Models?4 Aug 2021
- 2021A Systematic Survey of Text Worlds as Embodied Natural Language Environments8 Jul 2021
- 2021Learning Knowledge Graph-based World Models of Textual Environments17 Jun 2021
- 2021Modeling Worlds in Text17 Jun 2021
- 2021Towards Socially Intelligent Agents with Mental State Transition and Human Utility12 Mar 2021
- 2021Process-Level Representation of Scientific Protocols with Interactive Annotation25 Jan 2021
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunitiescited by 23
- 2025Monte Carlo Planning with Large Language Model for Text-Based Game Agentscited by 22
- 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agentscited by 2
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regretcited by 1
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regret26 Sep 2026
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunities22 Jun 2025
- 2025Monte Carlo Planning with Large Language Model for Text-Based Game Agents23 Apr 2025
- 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agents4 Apr 2025
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 102
- 2021Learning Knowledge Graph-based World Models of Textual Environmentscited by 31
- 2021Modeling Worlds in Textcited by 11
- 2025CoEx -- Co-evolving World-model and Explorationcited by 4
- 2025CoEx -- Co-evolving World-model and Exploration29 Jul 2025
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agents5 Jul 2024
- 2021Learning Knowledge Graph-based World Models of Textual Environments17 Jun 2021
- 2021Modeling Worlds in Text17 Jun 2021
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 250
- 2024Can LLMs perform structured graph reasoning?cited by 9
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generationcited by 9
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generation17 Feb 2025
- 2024Can LLMs perform structured graph reasoning?2 Feb 2024
- 2023Can Language Models Solve Graph Problems in Natural Language?17 May 2023
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmarkcited by 177
- 2023Minding Language Models' (Lack of) Theory of Mind: A Plug-and-Play Multi-Character Belief Trackercited by 95
- 2021What Would Jiminy Cricket Do? Towards Agents That Behave Morallycited by 57
- 2024Can Language Models Serve as Text-Based World Simulators?cited by 51
- 2022On Transforming Reinforcement Learning by Transformer: The Development Trajectorycited by 35
- 2022Aligning to Social Norms and Values in Interactive Narrativescited by 32
- 2021Neuro-Symbolic Reinforcement Learning with First-Order Logiccited by 30
- 2023Introspective Tips: Large Language Model for In-Context Decision Makingcited by 28
- 2021A Systematic Survey of Text Worlds as Embodied Natural Language Environmentscited by 17
- 2021Process-Level Representation of Scientific Protocols with Interactive Annotationcited by 16
- 2021Inherently Explainable Reinforcement Learning in Natural Languagecited by 16
- 2021Towards Socially Intelligent Agents with Mental State Transition and Human Utilitycited by 14
12 most cited of 37 All 37 (JSON)
- 2026Utilizing and Calibrating Hindsight Process Rewards via Reinforcement with Mutual Information Self-Evaluation13 Apr 2026
- 2026Textual Planning with Explicit Latent Transitions4 Feb 2026
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applications24 Oct 2025
- 2025Efficient Graph Understanding with LLMs via Structured Context Injection31 Aug 2025
- 2024Can Language Models Enable In-Context Database?4 Nov 2024
- 2024Can Language Models Serve as Text-Based World Simulators?10 Jun 2024
- 2024EXPLORER: Exploration-guided Reasoning for Textual Reinforcement Learning15 Mar 2024
- 2023Constructing Temporal Dynamic Knowledge Graphs from Interactive Text-based Games3 Nov 2023
- 2023Recognizing Unseen States of Unknown Objects by Leveraging Knowledge Graphs22 Jul 2023
- 2023ScriptWorld: Text Based Environment For Learning Procedural Knowledge8 Jul 2023
- 2023Learning Symbolic Rules over Abstract Meaning Representations for Textual Reinforcement Learning5 Jul 2023
- 2023Minding Language Models' (Lack of) Theory of Mind: A Plug-and-Play Multi-Character Belief Tracker1 Jun 2023
12 newest of 37 All 37 (JSON)