Story Shaping: Teaching Agents Human-like Behavior with Stories

01/24/2023
by   Xiangyu Peng, et al.
0

Reward design for reinforcement learning agents can be difficult in situations where one not only wants the agent to achieve some effect in the world but where one also cares about how that effect is achieved. For example, we might wish for an agent to adhere to a tacit understanding of commonsense, align itself to a preference for how to behave for purposes of safety, or taking on a particular role in an interactive game. Storytelling is a mode for communicating tacit procedural knowledge. We introduce a technique, Story Shaping, in which a reinforcement learning agent infers tacit knowledge from an exemplar story of how to accomplish a task and intrinsically rewards itself for performing actions that make its current environment adhere to that of the inferred story world. Specifically, Story Shaping infers a knowledge graph representation of the world state from observations, and also infers a knowledge graph from the exemplar story. An intrinsic reward is generated based on the similarity between the agent's inferred world state graph and the inferred story world graph. We conducted experiments in text-based games requiring commonsense reasoning and shaping the behaviors of agents as virtual game characters.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/01/2018

Incorporating Structured Commonsense Knowledge in Story Completion

The ability to select an appropriate story ending is the first step towa...
research
08/25/2021

Evaluating Effects of Background Stories on Graph Perception

A graph is an abstract model that represents relations among entities, f...
research
09/02/2020

Automated Storytelling via Causal, Commonsense Plot Ordering

Automated story plot generation is the task of generating a coherent seq...
research
08/03/2023

Ambient Adventures: Teaching ChatGPT on Developing Complex Stories

Imaginative play is an area of creativity that could allow robots to eng...
research
08/19/2018

Let CONAN tell you a story: Procedural quest generation

This work proposes an engine for the Creation Of Novel Adventure Narrati...
research
06/04/2021

Detecting and Adapting to Novelty in Games

Open-world novelty occurs when the rules of an environment can change ab...
research
06/12/2020

How to Avoid Being Eaten by a Grue: Structured Exploration Strategies for Textual Worlds

Text-based games are long puzzles or quests, characterized by a sequence...

Please sign up or login with your details

Forgot password? Click here to reset