TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Learning Knowledge Graph-based World Models of Textual Env...

Learning Knowledge Graph-based World Models of Textual Environments

Prithviraj Ammanabrolu, Mark O. Riedl

2021-06-17NeurIPS 2021 12Knowledge Graphstext-based gamesAction Parsing
PaperPDF

Abstract

World models improve a learning agent's ability to efficiently operate in interactive and situated environments. This work focuses on the task of building world models of text-based game environments. Text-based games, or interactive narratives, are reinforcement learning environments in which agents perceive and interact with the world using textual natural language. These environments contain long, multi-step puzzles or quests woven through a world that is filled with hundreds of characters, locations, and objects. Our world model learns to simultaneously: (1) predict changes in the world caused by an agent's actions when representing the world as a knowledge graph; and (2) generate the set of contextually relevant natural language actions required to operate in the world. We frame this task as a Set of Sequences generation problem by exploiting the inherent structure of knowledge graphs and actions and introduce both a transformer-based multi-task architecture and a loss function to train it. A zero-shot ablation study on never-before-seen textual worlds shows that our methodology significantly outperforms existing textual world modeling techniques as well as the importance of each of our contributions.

Results

TaskDatasetMetricValueModel
Knowledge GraphsJerichoWorldSet accuracy39.15Worldformer
Knowledge GraphsJerichoWorldSet accuracy24.06GATA-W
Action ParsingJerichoWorldSet accuracy23.22Worldformer
Action ParsingJerichoWorldSet accuracy13.79CALM
Knowledge Graph CompletionJerichoWorldSet accuracy39.15Worldformer
Knowledge Graph CompletionJerichoWorldSet accuracy24.06GATA-W
Large Language ModelJerichoWorldSet accuracy39.15Worldformer
Large Language ModelJerichoWorldSet accuracy24.06GATA-W
Inductive knowledge graph completionJerichoWorldSet accuracy39.15Worldformer
Inductive knowledge graph completionJerichoWorldSet accuracy24.06GATA-W

Related Papers

SMART: Relation-Aware Learning of Geometric Representations for Knowledge Graphs2025-07-17Topic Modeling and Link-Prediction for Material Property Discovery2025-07-08Graph Collaborative Attention Network for Link Prediction in Knowledge Graphs2025-07-05Context-Driven Knowledge Graph Completion with Semantic-Aware Relational Message Passing2025-06-29Active Inference AI Systems for Scientific Discovery2025-06-26Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph2025-06-26Generating Reliable Adverse event Profiles for Health through Automated Integrated Data (GRAPH-AID): A Semi-Automated Ontology Building Approach2025-06-25Inference Scaled GraphRAG: Improving Multi Hop Question Answering on Knowledge Graphs2025-06-24