Tracking human skill learning with a hierarchical Bayesian sequence model

Noémi Éltető, Dezső Németh, Karolina Janacsek, Peter Dayan

Abstract

Humans possess a remarkable ability to implicitly learn complex motor skills by internalizing predictive relationships in their environment. This study uses a hierarchical Bayesian sequence model, adapted from natural language processing, to analyze human reaction times over ten sessions of a serial reaction time task. The model reveals that learners adaptively deepen their temporal context—moving from simple trigrams to more complex dependencies—while their learning capacity correlates with individual working memory.

Introduction: The Context-Depth Problem

Whether typing on a keyboard or making a cup of coffee, the brain is constantly predicting the next step in a sequence. A major challenge in sequence learning is determining the "depth" of context: should you predict the next action based on the last one, the last two, or the last ten? Standard models of human learning often struggle with this "context-depth" problem. Simple n-gram models suffer from a "combinatorial explosion" as they look further back, and they fail to capture how humans flexibly ignore irrelevant "noise." This paper seeks to provide a principled, mechanistic account of how humans adaptively manage this complexity during long-term skill acquisition.

Methods: Hierarchical Bayesian Modeling

The authors employed a Distance-Dependent Hierarchical Chinese Restaurant Process (ddHCRP), a non-parametric Bayesian model originally used in linguistics. Key features of this approach include:

  • Hierarchical "Back-off": The model predicts the next event by looking at a deep context (e.g., a 4-gram). If that context hasn't been seen often, it "backs off" to a shallower one (a 3-gram, then a 2-gram), weighing each level by its predictive power.
  • Distance-Dependence (Forgetting): Unlike standard models that remember everything forever, this model includes a decay parameter ($\lambda$). It assumes that more recent occurrences of a sequence are more influential, mimicking human forgetting.
  • Reaction Time Mapping: The researchers assumed that a participant's reaction time (RT) is proportional to the negative log-probability of the event. If the model predicts an event with high certainty, the simulated RT is fast.
  • Online Learning: The model updates its beliefs trial-by-trial, allowing researchers to track the "evolution" of a skill in real-time.

Experimental Design: The ASRT Task

The study analyzed data from 25 human participants who performed an Alternating Serial Reaction Time (ASRT) task over 10 weekly sessions, totaling over 20,000 trials per participant.

The ASRT task interface where participants respond to cues in four locations.

In this task, every second trial followed a predetermined pattern, while the trials in between were random. This "noisy" structure requires participants to learn higher-order dependencies (trigrams) to perform optimally. In the final sessions, the researchers swapped elements of the sequence to test resistance to interference and adaptation to new information.

Results: Adaptive Complexity and Working Memory

The model revealed several key insights into the dynamics of skill acquisition by comparing internal model predictions with measured behavioral data.

Overview of sequence structure and model predictions vs. human reaction times.
  • The Trigram Threshold: Even in the first session, participants quickly began relying on a context of two previous elements (trigrams), allowing them to solve the basic structure of the ASRT task.
  • Deepening Context: By the eighth week, a subset of participants began using context deeper than two elements (4-grams or 5-grams), showing that skill learning involves a gradual "deepening" of the internal representation.
  • From Volatility to Robustness: Early in training, participants were highly sensitive to "local fluctuations" (random repetitions). As they became experts, their internal models became more stable, and their "forgetting rate" for the true sequence decreased.
  • The Working Memory Link: A major finding was the link between implicit learning and working memory. Individuals with higher spatial and complex working memory scores had model parameters that favored deeper, more stable context tracking (e.g., $r = -0.50, p = .01$ for the 3-gram strength parameter).
  • Interference Resistance: In Session 9, when the sequence changed, participants showed significant resistance. Their internal models remained dominated by the "old" sequence, explaining the observed slowdown when rules changed.

Conclusion

The ddHCRP model offers a principled account of the adaptive complexity and nuanced dynamics of human internal sequence representations during long-term implicit skill learning. While the model captures the trade-off between old and new knowledge, future work could involve "multi-model" architectures to account for the parallel learning of multiple sequence representations observed in the final stages of the experiment.

Summary updated

BibTeX
@article{elteto2022tracking,
  author = {Noémi Éltető and Dezső Németh and Karolina Janacsek and Peter Dayan},
  title = {{Tracking human skill learning with a hierarchical Bayesian sequence model}},
  journal = {PLOS Computational Biology},
  year = {2022},
  doi = {10.1371/journal.pcbi.1009866},
}
Figure