DiffG-RL: Leveraging Difference between State and Common Sense

Tsunehiko Tanaka, Daiki Kimura, Michiaki Tatsubori
11/29/2022
cs.CLcs.AI
rl

Official code: IBM/diffg-rl (4 stars, Python, Apache-2.0, last commit 2025-09-17).

Abstract

Taking into account background knowledge as the context has always been an important part of solving tasks that involve natural language. One representative example of such tasks is text-based games, where players need to make decisions based on both description text previously shown in the game, and their own background knowledge about the language and common sense.

Show full abstract

In this work, we investigate not simply giving common sense, as can be seen in prior research, but also its effective usage. We assume that a part of the environment states different from common sense should constitute one of the grounds for action selection. We propose a novel agent, DiffG-RL, which constructs a Difference Graph that organizes the environment states and common sense by means of interactive objects with a dedicated graph encoder. DiffG-RL also contains a framework for extracting the appropriate amount and representation of common sense from the source to support the construction of the graph. We validate DiffG-RL in experiments with text-based games that require common sense and show that it outperforms baselines by 17% of scores. The code is available at https://github.com/ibm/diffg-rl

View on arXivView PDF

Code Implementations(1)

IBM/diffg-rlOfficial100%
Apache-2.0

DiffG-RL: Leveraging Difference between State and Common Sense

41Python, ShellNov 21, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{tanaka2022diffgrl,
  title  = {DiffG-RL: Leveraging Difference between State and Common Sense},
  author = {Tsunehiko Tanaka and Daiki Kimura and Michiaki Tatsubori},
  year   = {2022},
  eprint = {2211.16002},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.16002}
}

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/2211.16002.svg)](https://codeofpaper.com/paper/2211.16002)

Discussion