Constructing Temporal Dynamic Knowledge Graphs from Interactive Text-based Games

Keunwoo Peter Yu
11/3/2023
2 citations
cs.CL

Official code: yukw777/temporal-discrete-graph-updater (2 stars, Python, MIT, last commit 2023-11-06).

Abstract

In natural language processing, interactive text-based games serve as a test bed for interactive AI systems. Prior work has proposed to play text-based games by acting based on discrete knowledge graphs constructed by the Discrete Graph Updater (DGU) to represent the game state from the natural language description.

Show full abstract

While DGU has shown promising results with high interpretability, it suffers from lower knowledge graph accuracy due to its lack of temporality and limited generalizability to complex environments with objects with the same label. In order to address DGU's weaknesses while preserving its high interpretability, we propose the Temporal Discrete Graph Updater (TDGU), a novel neural network model that represents dynamic knowledge graphs as a sequence of timestamped graph events and models them using a temporal point based graph neural network. Through experiments on the dataset collected from a text-based game TextWorld, we show that TDGU outperforms the baseline DGU. We further show the importance of temporal information for TDGU's performance through an ablation study and demonstrate that TDGU has the ability to generalize to more complex environments with objects with the same label. All the relevant code can be found at \url{https://github.com/yukw777/temporal-discrete-graph-updater}.

View on arXivView PDF

Code Implementations(1)

MIT

A discrete graph updater

20Python, ShellMay 10, 20213 years agoMIT

Similar Papers

Cite this paper

@article{yu2023constructing,
  title  = {Constructing Temporal Dynamic Knowledge Graphs from Interactive Text-based Games},
  author = {Keunwoo Peter Yu},
  year   = {2023},
  eprint = {2311.01928},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.01928v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.01928.svg)](https://codeofpaper.com/paper/2311.01928)

Discussion