Goals as Reward-Producing Programs

Guy Davidson, Graham Todd, Julian Togelius, Todd M. Gureckis, Brenden M. Lake
5/21/2024
cs.AI

No official code found. Best implementation: guydav/goals-as-reward-producing-programs (14 stars, MIT, last commit 2024-12-05).

Abstract

People are remarkably capable of generating their own goals, beginning with child's play and continuing into adulthood. Despite considerable empirical and computational work on goals and goal-oriented behavior, models are still far from capturing the richness of everyday human goals. Here, we bridge this gap by collecting a dataset of human-generated playful goals (in the form of scorable, single-player games), modeling them as reward-producing programs, and generating novel human-like goals through program synthesis. Reward-producing programs capture the rich semantics of goals through symbolic operations that compose, add temporal constraints, and allow for program execution on behavioral traces to evaluate progress. To build a generative model of goals, we learn a fitness function over the infinite set of possible goal programs and sample novel goals with a quality-diversity algorithm. Human evaluators found that model-generated goals, when sampled from partitions of program space occupied by human examples, were indistinguishable from human-created games. We also discovered that our model's internal fitness scores predict games that are evaluated as more fun to play and more human-like.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Goals as Reward Producing Programs"

140TeX, HTMLMay 13, 20241 years agoMIT

Similar Papers

Cite this paper

@article{davidson2024goals,
  title  = {Goals as Reward-Producing Programs},
  author = {Guy Davidson and Graham Todd and Julian Togelius and Todd M. Gureckis and Brenden M. Lake},
  year   = {2024},
  eprint = {2405.13242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13242v3}
}

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

Discussion