Knowledge-enhanced Agents for Interactive Text Games
Open accessThe DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures







Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Agents equipped with memory of past experiences can better anticipate user needs, learn from previous mistakes, and generalize knowledge across tasks (Chhikara et al., 2023).”
From Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory (2025) · cites this paper as Chhikara et al., 2023
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
RoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515
Planning and acting in partially observable stochastic domains
Kaelbling, L. P., Littman, M. L., & Cassandra, A. R. (1998) · Artificial Intelligence · doi:10.1016/s0004-3702(98)00023-x · Cited by 4,149
ConceptNet 5.5: An Open Multilingual Graph of General Knowledge
Speer, R., Chin, J., & Havasi, C. (2017) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v31i1.11164 · Cited by 2,312
Scaling Instruction-Finetuned Language Models
Chung, H. W., Hou, L., Longpre, S., Zoph, B., Tay, Y., Fedus, W., Li, Y., Wang, X., Dehghani, M., Brahma, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2210.11416 · Cited by 1,441
Leveraging Linguistic Structure For Open Domain Information Extraction
Angeli, G., Johnson Premkumar, M. J., & Manning, C. D. (2015) · Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.3115/v1/p15-1034 · Cited by 725 · cited 2×
“For KG-A2C, in addition to the textual representation of the game state, the agent also builds a dynamic KG representing the state space by parsing the textual descriptions using OpenIE [4].”
MethodDo As I Can, Not As I Say: Grounding Language in Robotic Affordances
Ahn, M., Brohan, A., Brown, N., Chebotar, Y., Cortes, O., David, B., Finn, C., Fu, C., Gopalakrishnan, K., Hausman, K., et al. (2022) · arXiv · doi:10.48550/arxiv.2204.01691 · Cited by 624
ReAct: Synergizing Reasoning and Acting in Language Models
Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., & Cao, Y. (2022) · arXiv · doi:10.48550/arxiv.2210.03629 · Cited by 608
Fine-Tuning Language Models from Human Preferences
Ziegler, D. M., Stiennon, N., Wu, J., Brown, T. B., Radford, A., Amodei, D., Christiano, P., & Irving, G. (2019) · arXiv · doi:10.48550/arxiv.1909.08593 · Cited by 413
A survey of deep meta-learning
Huisman, M., van Rijn, J. N., & Plaat, A. (2021) · Artificial Intelligence Review · doi:10.1007/s10462-021-10004-4 · Cited by 376
A survey of deep meta-learning
Huisman, M., van Rijn, J. N., & Plaat, A. (2021) · Data Archiving and Networked Services (DANS) · doi:10.1007/s10462-021-10004-4#rightslink · Cited by 316
Grounding Large Language Models in Interactive Environments with Online Reinforcement LearningPreprint
Carta, T., Romac, C., Wolf, T., Lamprier, S., Sigaud, O., & Oudeyer, P. (2023) · International Conference on Machine Learning · doi:10.48550/arxiv.2302.02662 · Cited by 312
TextWorld: A Learning Environment for Text-Based Games
Côté, M.-A., Kádár, Á., Yuan, X., Kybartas, B., Barnes, T., Fine, E., Moore, J., Hausknecht, M., El Asri, L., Adada, M., et al. (2019) · Communications in Computer and Information Science · doi:10.1007/978-3-030-24337-1_3 · Cited by 209
Go-Explore: a New Approach for Hard-Exploration Problems
Ecoffet, A., Huizinga, J., Lehman, J., Stanley, K. O., & Clune, J. (2019) · arXiv · doi:10.48550/arxiv.1901.10995 · Cited by 205 · cited 1×
“The proposed method uses the exploration approach of Go-Explore [10] for solving games and trains a policy to imitate trajectories with high rewards. eXploit-Then-eXplore (XTX) [28] is a multi-stage episodic control algorithm that separates exploitation and exploration into distinct policies,…”
MethodDeep Reinforcement Learning with a Natural Language Action Space
He, J., Chen, J., He, X., Gao, J., Li, L., Deng, L., & Ostendorf, M. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1153 · Cited by 164
CSKG: The CommonSense Knowledge Graph
Ilievski, F., Szekely, P. A., & Zhang, B. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-77385-4_41 · Cited by 120
Self-citationInteractive Fiction Games: A Colossal Adventure
Hausknecht, M., Ammanabrolu, P., Côté, M.-A., & Yuan, X. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6297 · Cited by 119
Playing Text-Adventure Games with Graph-Based Deep Reinforcement Learning
Ammanabrolu, P., & Riedl, M. O. (2019) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/n19-1358 · Cited by 117
Dimensions of commonsense knowledge
Ilievski, F., Oltramari, A., Ma, K., Zhang, B., McGuinness, D. L., & Szekely, P. A. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107347 · Cited by 107
Self-citationKeep CALM and Explore: Language Models for Action Generation in Text-based Games
Yao, S., Rao, R., Hausknecht, M., & Narasimhan, K. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.704 · Cited by 75
Core Challenges in Embodied Vision-Language Planning
Francis, J., Kitamura, N., Labelle, F., Lu, X., Navarro, I., & Oh, J. (2022) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.13646 · Cited by 62
Self-citationMemory-assisted prompt editing to improve GPT-3 after deployment
Madaan, A., Tandon, N., Clark, P., & Yang, Y. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.183 · Cited by 60
SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Tasks
Lin, B. Y., Fu, Y., Yang, K., Brahman, F., Huang, S., Bhagavatula, C., Ammanabrolu, P., Choi, Y., & Ren, X. (2023) · arXiv · doi:10.48550/arxiv.2305.17390 · Cited by 50 · cited 5×
“…injection for two complementary paradigms based on training objectives: (1) online policy optimization through rewards, including pure RL [13] and enhanced RL with Knowledge Graphs (KGs) [1], and (2) single-step offline prediction, including both pre-trained LM [23] and instructions-tuned [22] LM.”
BackgroundMethodInfluentialSwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Tasks
Lin, B. Y., Fu, Y., Yang, K., Brahman, F., Huang, S., Bhagavatula, C., Ammanabrolu, P., Choi, Y., & Ren, X. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-1034 · Cited by 50
ScienceWorld: Is your Agent Smarter than a 5th Grader?
Wang, R., Jansen, P., Côté, M.-A., & Ammanabrolu, P. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.775 · Cited by 45
ScienceWorld: Is your Agent Smarter than a 5th Grader?
Wang, R., Jansen, P., Côté, M.-A., & Ammanabrolu, P. (2022) · arXiv · doi:10.48550/arxiv.2203.07540 · Cited by 45 · cited 5×
“We evaluate the effectiveness of our proposed framework on the diverse set of 10 elementary school science tasks of the ScienceWorld environment [30].”
BackgroundMethodInfluentialExploration Based Language Learning for Text-Based Games
Madotto, A., Namazifar, M., Huizinga, J., Molino, P., Ecoffet, A., Zheng, H., Papangelis, A., Yu, D., Khatri, C., & Tür, G. (2020) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/207 · Cited by 40
Jansen, P. A., Smith, K., Moreno, D., & Ortiz, H. (2021) · Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.596 · Cited by 12
Privacy Aware Question-Answering System for Online Mental Health Risk Assessment
Chhikara, P., Pasupulety, U., Marshall, J., Chaurasia, D., & Kumari, S. (2023) · Workshop on Biomedical Language Processing (BioNLP) · doi:10.18653/v1/2023.bionlp-1.18 · Cited by 9
Self-citationTransferring Procedural Knowledge Across Commonsense Tasks
Jiang, Y., Ilievski, F., & Ma, K. (2023) · Frontiers in artificial intelligence and applications · doi:10.3233/faia230391 · Cited by 5
Self-citationHöpner, N., Tiddi, I., & van Hoof, H. (2022) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2022/423 · Cited by 5
(1977) · doi:10.4324/9781315740218-18
Research works printed but not linked: 7
- Prithviraj Ammanabrolu and Matthew Hausknecht. 2020. Graph Constrained Reinforcement Learning for Natural Language Action Spaces. In ICLR.
- Noam Chomsky. 2014. Aspects of the Theory of Syntax. Vol. 11. MIT press.
- Kaixin Ma, Filip Ilievski, Jonathan Francis, Eric Nyberg, and Alessandro Oltramari. 2022. Coalescing Global and Local Information for Procedural Text Understanding. In Proceedings of COLING.
- Jens Tuyls, Shunyu Yao, Sham M Kakade, and Karthik R Narasimhan. 2022. Multi- Stage Episodic Control for Strategic Exploration in Text Games. In ICLR.
- Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph Attention Networks. In ICLR.
- Yunqiu Xu, Meng Fang, Ling Chen, Yali Du, and Chengqi Zhang. 2021. Gen- eralization in Text-based Games via Hierarchical Reinforcement Learning. In EMNLP.
- Jiarui Zhang, Filip Ilievski, Kaixin Ma, Jonathan Francis, and Alessandro Oltra- mari. 2022. An Empirical Investigation of Commonsense Self-Supervision with Knowledge Graphs. AKBC (2022).
Cited by
The Rise and Potential of Large Language Model Based Agents: A Survey
Xi, Z., Chen, W., Guo, X., He, W., Ding, Y., Hong, B., Zhang, M., Wang, J., Jin, S., Zhou, E., et al. (2023) · arXiv · doi:10.48550/arxiv.2309.07864 · Cited by 972
The rise and potential of large language model based agents: a survey
Xi, Z., Chen, W., Guo, X., He, W., Ding, Y., Hong, B., Zhang, M., Wang, J., Jin, S., Zhou, E., et al. (2025) · Science China Information Sciences · doi:10.1007/s11432-024-4222-0 · Cited by 970
“On the other hand, there is a severe lack of suitable training data in scientific domains, making it difficult for agents to comprehend the entire domain knowledge [306, 307].”
Yang, Q., Wang, Z., Chen, H., Wang, S., Pu, Y., Gao, X., Huang, W. D., Song, S., & Huang, G. M. (2024) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2024.acl-long.779 · Cited by 78
FlowBench: Revisiting and Benchmarking Workflow-Guided Planning for LLM-based Agents
Xiao, R., Ma, W., Wang, K., Wu, Y., Zhao, J., Wang, H., Huang, F., & Li, Y. (2024) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2024.findings-emnlp.638 · Cited by 77
SWE Context Bench: A Benchmark for Context Learning in CodingPreprint
Zhu, J., Wu, J., Hu, M., Zhu, S., Pan, J., Shen, W., Yang, Y., Liu, F., Hao, J., Jin, Y., et al. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2602.08316 · Cited by 24
Metadata
- Authors
- Chhikara, P., Zhang, J., Ilievski, F., Francis, J., & Ma, K.
- Affiliations
- University of Southern California (US)
- Carnegie Mellon University (US)
- Venue
- Proceedings of the 12th Knowledge Capture Conference 2023
- Publisher
- ACM
- Published
- 2023-12-05
- Pages
- 157-165
- OpenAlex
- W4389109049
- Semantic Scholar
- 70f2372ea589d0fa5af3fb618569e9677ecbbd62
- Cited by
- 2
- References
- 20
- Citations by year
- 2025: 1 · 2024: 1
- FWCI
- 0.35
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Locations
- International Conference on Knowledge Capture (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- VU Research Portal (submittedVersion, other-oa)
- arXiv (Cornell University)
- Funders
- DARPA (N660011924033)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Artificial Intelligence in Games
- Physical Sciences › Computer Science › Artificial Intelligence › Reinforcement Learning in Robotics
- Physical Sciences › Computer Science › Artificial Intelligence › AI-based Problem Solving and Planning
- Keywords
- knowledge injection, text-based games, interactive learning, affordances, knowledge graphs, reinforcement learning agents, language model agents, domain knowledge, action memory
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.