Knowledge-enhanced Agents for Interactive Text Games
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Communication via natural language is a key aspect of machine intelligence, and it requires computational models to learn and reason about world concepts, with varying levels of supervision. Significant progress has been made on fully-supervised non-interactive tasks, such as question-answering and procedural text understanding. Yet, various sequential interactive tasks, as in text-based games, have revealed limitations of existing approaches in terms of coherence, contextual awareness, and their ability to learn effectively from the environment. In this paper, we propose a knowledge-injection framework for improved functional grounding of agents in text-based games. Specifically, we consider two forms of domain knowledge that we inject into learning-based agents: memory of previous correct actions and affordances of relevant objects in the environment. Our framework supports two representative model classes: reinforcement learning agents and language model agents. Furthermore, we devise multiple injection strategies for the above domain knowledge types and agent architectures, including injection via knowledge graphs and augmentation of the existing input encoding strategies. We experiment with four models on the 10 tasks in the ScienceWorld text-based game environment, to illustrate the impact of knowledge injection on various model configurations and challenging task settings. Our findings provide crucial insights into the interplay between task properties, model architectures, and domain knowledge for interactive contexts.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 57 references that are in the map. First posted on arXiv 8 May 2023.
Builds on
29 of 57 references.
References · 29
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017Graph Attention Networkscited by 8,854
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
- 2018TextWorld: A Learning Environment for Text-based Gamescited by 304
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
- 2019Go-Explore: a New Approach for Hard-Exploration Problemscited by 207
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
- 2019Interactive Fiction Games: A Colossal Adventurecited by 165
- 2020Keep CALM and Explore: Language Models for Action Generation in Text-based Gamescited by 108
- 2020A Survey of Deep Meta-Learningcited by 99
17 more
- 2015Deep Reinforcement Learning with a Natural Language Action Spacecited by 88
- 2020Graph Constrained Reinforcement Learning for Natural Language Action Spacescited by 80
- 2018Playing Text-Adventure Games with Graph-Based Deep Reinforcement Learningcited by 53
- 2020CSKG: The CommonSense Knowledge Graphcited by 45
- 2020How to Avoid Being Eaten by a Grue: Structured Exploration Strategies for Textual Worldscited by 38
- 2021Core Challenges in Embodied Vision-Language Planningcited by 30
- 2021Dimensions of Commonsense Knowledgecited by 29
- 2022Multi-Stage Episodic Control for Strategic Exploration in Text Gamescited by 22
- 2020Exploration Based Language Learning for Text-Based Gamescited by 18
- 2022Reshaping Robot Trajectories Using Natural Language Commands: A Study of Multi-Modal Data Alignment Using Transformerscited by 17
- 2021Generalization in Text-based Games via Hierarchical Reinforcement Learningcited by 11
- 2022Coalescing Global and Local Information for Procedural Text Understandingcited by 10
- 2019Action Assembly: Sparse Imitation Learning for Text Based Games with Combinatorial Action Spacescited by 7
- 2021On the Challenges of Evaluating Compositional Explanations in Multi-Hop Inference: Relevance, Completeness, and Expert Ratingscited by 5
- 2022An Empirical Investigation of Commonsense Self-Supervision with Knowledge Graphscited by 4
- 2022Leveraging class abstraction for commonsense reinforcement learning via residual policy gradient methodscited by 2
- 2023Transferring Procedural Knowledge across Commonsense Taskscited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 2; 2026: 3.
10 papers.
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2023LLM-Based Agent Society Investigation: Collaboration and Confrontation in Avalon Gameplaycited by 62
- 2024FlowBench: Revisiting and Benchmarking Workflow-Guided Planning for LLM-based Agentscited by 39
- 2024PsychoGAT: A Novel Psychological Measurement Paradigm through Interactive Fiction Games with LLM Agentscited by 28
- 2026SWE Context Bench: A Benchmark for Context Learning in Codingcited by 8
- 2026Bridging the Agent-World Gap: Text World Models for LLM-based Agentscited by 3
- 2026Evaluating Confidence-Gated Retrieval with Matched Trajectory Replaycited by 3
- 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
- 2026Evaluating Confidence-Gated Retrieval with Matched Trajectory Replay27 Aug 2026
- 2026Bridging the Agent-World Gap: Text World Models for LLM-based Agents8 Jun 2026
- 2026SWE Context Bench: A Benchmark for Context Learning in Coding9 Feb 2026
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr 2025
- 2025Learning Natural Language Constraints for Safe Reinforcement Learning of Language Agents4 Apr 2025
- 2024FlowBench: Revisiting and Benchmarking Workflow-Guided Planning for LLM-based Agents21 Jun 2024
- 2024A Mixture-of-Experts Approach to Few-Shot Task Transfer in Open-Ended Text Worlds9 May 2024
- 2024PsychoGAT: A Novel Psychological Measurement Paradigm through Interactive Fiction Games with LLM Agents19 Feb 2024
- 2023LLM-Based Agent Society Investigation: Collaboration and Confrontation in Avalon Gameplay23 Oct 2023
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey14 Sep 2023
Similar, not cited
Close in wording, no citation either way
- 2021Learning Knowledge Graph-based World Models of Textual Environments
- 2021Modeling Worlds in Text
- 2025TextAtari: 100K Frames Game Playing with Language Agents
- 2024A Survey on Large Language Model-Based Game Agents
- 2025Think in Games: Learning to Reason in Games via Reinforcement Learning with Large Language Models
- 2024STARLING: Self-supervised Training of Text-based Reinforcement Learning Agent with Large Language Models
- 2025PARL: Prompt-based Agents for Reinforcement Learning
- 2022Understanding Game-Playing Agents with Natural Language Annotations