bioRxivAnimal Behavior & Cognition
Hierarchical clustering optimizes the tradeoff between compositionality and expressivity of task structures for flexible reinforcement learning
Abstract
A hallmark of human intelligence, but challenging for reinforcement learning (RL) agents, is the ability to compositionally generalise, that is, to recompose familiar knowledge components in novel ways to solve new problems. For instance, when navigating in a city, one needs to know the location of the destination and how to operate a vehicle to get there, whether it be pedalling a bike or operating a car. In RL, these correspond to the reward function and transition function, respectively. To compositionally generalize, these two components need to be transferable independently of each other: multiple modes of transport can reach the same goal, and any given mode can be used to reach multiple destinations. Yet there are also instances where it can be helpful to learn and transfer entire structures, jointly representing goals and transitions, particularly whenever these recur in natural tasks (e.g., given a suggestion to get ice cream, one might prefer to bike, even in new towns). Prior theoretical work has explored how, in model-based RL, agents can learn and generalize task components (transition and reward functions). But a satisfactory account for how a single agent can simultaneously satisfy the two competing demands is still lacking. Here, we propose a hierarchical RL agent that learns and transfers individual task components as well as entire structures (particular compositions of components) by inferring both through a non-parametric Bayesian model of the task. It maintains a factorised representation of task components through a hierarchical Dirichlet process, but it also represents different possible covariances between these components through a standard Dirichlet process. We validate our approach on a variety of navigation tasks covering a wide range of statistical correlations between task components and show that it can also improve generalisation and transfer in more complex, hierarchical tasks with goal/subgoal structures. Finally, we end with a discussion of our work including how this clustering algorithm could conceivably be implemented by cortico-striatal gating circuits in the brain.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Compositional clustering in task structure learning
Nicholas Franklin, Michael J. Frank·PLoS Computational BiologyPeer-reviewed·Apr 19, 2018
- Generalizing to generalize: humans flexibly switch between compositional and conjunctive structures during reinforcement learning
Nicholas T. Franklin, Michael J. Frank·bioRxiv·Sep 24, 2019
- Computational evidence for hierarchically-structured reinforcement learning in humans
Maria Katharina Eckstein, Anne Gabrielle Eva Collins·Proceedings of the National Academy of SciencesPeer-reviewed·Nov 23, 2020
- Temporal and state abstractions for efficient learning, transfer and composition in humans
Liyu Xia, Anne Gabrielle Eva Collins·Psychological ReviewPeer-reviewed·May 20, 2021
- Multi-Task Reinforcement Learning in Humans
Momchil S. Tomov, Eric Schulz, Samuel Joseph Gershman·Nature Human BehaviourPeer-reviewed·Jan 28, 2021
- Reward-predictive representations generalize across tasks in reinforcement learning
L. Lehnert, M. L. Littman, M. J. Frank·bioRxiv·Jul 19, 2020