Exploring the hierarchical structure of human plans via program generation
Carlos G. Correa, Sophia Sanborn, Mark K. Ho, Frederick Callaway, Nathaniel D. Daw, Thomas L. Griffiths
TL;DR
This work addresses how humans form hierarchically structured plans by analyzing the programs people write to solve Lightbot tasks. It introduces a grammar-induction framework, based on adaptor grammars and Dirichlet Processes, to capture a reuse bias in subroutines that is not predicted by MDL or simple utility minimization. Empirical results show that the grammar induction model, especially when combined with a step-cost prior, best predicts participants' programs and explains qualitative reuse patterns beyond compressibility. The findings suggest that hierarchical planning is guided by rich-get-richer reuse dynamics and that explicit hierarchical representations can simplify planning and execution, with implications for models of human planning and program generation.
Abstract
Human behavior is often assumed to be hierarchically structured, made up of abstract actions that can be decomposed into concrete actions. However, behavior is typically measured as a sequence of actions, which makes it difficult to infer its hierarchical structure. In this paper, we explore how people form hierarchically structured plans, using an experimental paradigm with observable hierarchical representations: participants create programs that produce sequences of actions in a language with explicit hierarchical structure. This task lets us test two well-established principles of human behavior: utility maximization (i.e. using fewer actions) and minimum description length (MDL; i.e. having a shorter program). We find that humans are sensitive to both metrics, but that both accounts fail to predict a qualitative feature of human-created programs, namely that people prefer programs with reuse over and above the predictions of MDL. We formalize this preference for reuse by extending the MDL account into a generative model over programs, modeling hierarchy choice as the induction of a grammar over actions. Our account can explain the preference for reuse and provides better predictions of human behavior, going beyond simple accounts of compressibility to highlight a principle that guides hierarchical planning.
