CoChat

Knowledge-enhanced Agents for Interactive Text Games

Open access
Chhikara, Prateek, Zhang, Jiarui, Ilievski, Filip, Francis, Jonathan, Ma, Kaixin · 2023 · Proceedings of the 12th Knowledge Capture Conference 2023

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3587259.3627561

Cites

31 of 31 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Illustration of an Interactive Fiction (IF) game, where an agent must perform the task of picking a fruit (e.g., an apple) then placing it in a blue box in the kitchen.
Figure 1 Illustration of an Interactive Fiction (IF) game, where an agent must perform the task of picking a fruit (e.g., an apple) then placing it in a blue box in the kitchen.CC-BY · From the PDF
Figure 2 DRRN architecture, enhanced with the memory of previous correct actions and object affordances.
Figure 2 DRRN architecture, enhanced with the memory of previous correct actions and object affordances.CC-BY · From the PDF
Figure 3 KG-A2C model architecture with integrated affordances and previous correct actions.
Figure 3 KG-A2C model architecture with integrated affordances and previous correct actions.CC-BY · From the PDF
Figure 4 RoBERTa architecture trained using distractors.
Figure 4 RoBERTa architecture trained using distractors.CC-BY · From the PDF
Figure 5 Swift architecture trained in a Seq2Seq manner.
Figure 5 Swift architecture trained in a Seq2Seq manner.CC-BY · From the PDF
Figure 6 Actions taken by affordance models on Task 4. Blue = step index, green = cumulative score, and yellow = correct action.
Figure 6 Actions taken by affordance models on Task 4. Blue = step index, green = cumulative score, and yellow = correct action.CC-BY · From the PDF
Figure 7 Effect of five ways to add affordances in KG-A2C.
Figure 7 Effect of five ways to add affordances in KG-A2C.CC-BY · From the PDF

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 31 references

Research works printed but not linked: 7

  1. Prithviraj Ammanabrolu and Matthew Hausknecht. 2020. Graph Constrained Reinforcement Learning for Natural Language Action Spaces. In ICLR.
  2. Noam Chomsky. 2014. Aspects of the Theory of Syntax. Vol. 11. MIT press.
  3. 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.
  4. Jens Tuyls, Shunyu Yao, Sham M Kakade, and Karthik R Narasimhan. 2022. Multi- Stage Episodic Control for Strategic Exploration in Text Games. In ICLR.
  5. Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph Attention Networks. In ICLR.
  6. Yunqiu Xu, Meng Fang, Ling Chen, Yali Du, and Chengqi Zhang. 2021. Gen- eralization in Text-based Games via Hierarchical Reinforcement Learning. In EMNLP.
  7. 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

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
Cited by
2
References
20
Citations by year
2025: 1 · 2024: 1
FWCI
0.35
Type
conference paper
Language
en
Open access
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.