English

Goals as Reward-Producing Programs

Artificial Intelligence 2025-05-20 v3

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.

Keywords

Cite

@article{arxiv.2405.13242,
  title  = {Goals as Reward-Producing Programs},
  author = {Guy Davidson and Graham Todd and Julian Togelius and Todd M. Gureckis and Brenden M. Lake},
  journal= {arXiv preprint arXiv:2405.13242},
  year   = {2025}
}

Comments

Project website and goal program viewer: https://exps.gureckislab.org/guydav/goal_programs_viewer/main/

R2 v1 2026-06-28T16:35:02.466Z