Multi-Task Reinforcement Learning in Humans

Momchil S. Tomov, Eric Schulz, Samuel J. GershmanbioRxiv 2019

TL;DR

Humans are remarkably adept at learning new tasks by leveraging past experiences, a skill that remains a challenge for AI. This paper investigates how humans perform multi-task reinforcement learning by having participants navigate a novel decision-making task with changing reward structures. The findings strongly suggest that humans primarily rely on a strategy that re-evaluates previously learned policies in the context of new task demands, outperforming standard computational models.

What Problem Does This Paper Address?

The ability to generalize and transfer knowledge across different tasks is a cornerstone of human intelligence, allowing us to adapt to novel situations without starting from scratch. While reinforcement learning (RL) has made strides in learning individual tasks, achieving efficient multi-task learning, especially in humans, is less understood. This paper tackles the question of how humans learn and adapt in environments where the underlying task structure (specifically, the reward function) changes, but the environment's dynamics remain consistent. They aim to understand the computational mechanisms behind this human flexibility by comparing human behavior to various RL algorithms.

Methods

The researchers designed a two-step sequential decision-making task where participants navigated a tree-like structure to reach a final state. At each trial, a new "task" was presented in the form of a reward function, which determined the value of different resources encountered in the final states. Participants were trained on multiple such tasks with varying reward weights. Crucially, a final "test" trial presented a novel reward function.

The core of their methodology involved comparing human choices on this test trial to the predictions of several computational models:

  • Model-based RL: Assumes perfect knowledge of the environment and plans optimal actions.
  • Model-free RL: Learns value functions directly from experience without building an explicit model.
  • Universal Value Function Approximators (UVFAs): A state-of-the-art multi-task RL approach that learns a single function to approximate value functions across tasks, assuming smooth transitions in value.
  • Successor Features and Generalized Policy Improvement (SF&GPI): Another advanced multi-task RL approach that leverages the shared structure of the environment by learning "successor features" (predictive representations of future states) and then re-evaluating learned policies based on the current task's reward function.

The researchers simulated these models on the same task and compared their predicted choices to the actual choices made by human participants.

Datasets

The study did not use pre-existing datasets. Instead, they created their own experimental paradigm and collected data from human participants across four experiments.

  • Experiment 1-3: Exploratory experiments with varying numbers of participants (N=226, 202, 200 respectively).
  • Experiment 4: A large-scale, preregistered replication study (N=500) designed to confirm the findings from the earlier experiments.

The data collected consisted of participants' choices at each step of the decision task, their reaction times, and their cumulative rewards during training.

Key Insights and Ideas

  • Humans don't just repeat: Participants didn't simply repeat their previous best action, especially when the task changed. This ruled out simple model-free repetition as the sole strategy.
  • SF&GPI as the leading human strategy: The data strongly favored the SF&GPI model, suggesting humans re-evaluate learned policies based on new reward structures rather than learning entirely new value functions or relying solely on environmental models.
  • The power of re-evaluation: The SF&GPI strategy's success implies that humans maintain a flexible representation of learned policies and their associated outcomes, allowing them to quickly adapt to new goals by assessing which old policies best serve the new objective.
  • Model-based planning is not the primary driver: While a significant portion of participants chose the model-based optimal state in some experiments, the SF&GPI prediction was consistently more popular, especially in later, more controlled experiments.
  • UVFA's limitations in this context: The UVFA model, which assumes smooth value function changes across tasks, did not align well with human behavior, suggesting that the task structure or feature representation might not always satisfy this smoothness assumption for humans.

Key Results

  • Experiment 1: While a model-based approach predicted the highest number of choices (state 7), the SF&GPI prediction (state 12) was the second most frequent and significantly above chance.
  • Experiment 2: By modifying the task to make model-based planning more difficult and to create stronger distinctions between models, the SF&GPI prediction (state 12) became the most frequently chosen path, significantly outperforming other models.
  • Experiment 3: In a simplified setup, SF&GPI's prediction (state 12) was again the most frequently chosen, significantly more than chance and other models.
  • Experiment 4 (Preregistered Replication): Confirmed the findings of Experiment 3, with state 12 (SF&GPI prediction) being the most frequently chosen state, significantly above chance and outperforming the model-based prediction. Participants also showed faster reaction times when choosing the SF&GPI-predicted state, consistent with the model's computational efficiency.

Limitations and Future Work

  • Task Simplicity: The researchers acknowledge that their task is relatively simple, focusing on deterministic state transitions and only varying reward functions. They suggest future work should explore richer, more complex domains (e.g., video games) to better capture the full spectrum of multi-task RL behaviors, including task compositionality and discovery of shared representations.
  • Learning vs. Transfer: The study primarily focuses on how humans transfer knowledge to new tasks rather than the detailed process of learning those initial policies. Future research could investigate the learning dynamics more deeply.
  • Algorithm Instantiations: The study aimed to distinguish between classes of algorithms, not specific implementations. Future work could explore how different learning algorithms within the SF&GPI framework might influence behavior.
  • Internal Reward Generation: The paper discusses the possibility of internally generated task weights (e.g., hunger, grogginess) and suggests future studies could explore how these motivational states might naturally vary feature weights.

Summary updated

Abstract

ABSTRACT The ability to transfer knowledge across tasks and generalize to novel ones is an important hallmark of human intelligence. Yet not much is known about human multi-task reinforcement learning. We study participants’ behavior in a novel two-step decision making task with multiple features and changing reward functions. We compare their behavior to two state-of-the-art algorithms for multi-task reinforcement learning, one that maps previous policies and encountered features to new reward functions and one that approximates value functions across tasks, as well as to standard model-based and model-free algorithms. Across three exploratory experiments and a large preregistered experiment, our results provide strong evidence for a strategy that maps previously learned policies to novel scenarios. These results enrich our understanding of human reinforcement learning in complex environments with changing task demands.
BibTeX
@misc{tomov2019multi,
  author = {Momchil S. Tomov and Eric Schulz and Samuel J. Gershman},
  title = {{Multi-Task Reinforcement Learning in Humans}},
  year = {2019},
  doi = {10.1101/815332},
  howpublished = {bioRxiv},
}
Figure