From implicit learning to explicit representations

Naomi Chaix-Eichel, Snigdha Dagar, Quentin Lanneau, Karen Sobriel, Thomas Boraud, Frédéric Alexandre, Nicolas P. Rougier · DOI

Abstract: Using the reservoir computing framework, we demonstrate how a simple model can solve an alternation task without an explicit working memory. To do so, a simple bot equipped with sensors navigates inside a 8-shaped maze and turns alternatively right and left at the same intersection in the maze. The analysis of the model's internal activity reveals that the memory is actually encoded inside the dynamics of the network. However, such dynamic working memory is not accessible such as to bias the behavior into one of the two attractors (left and right). To do so, external cues are fed to the bot such that it can follow arbitrary sequences, instructed by the cue. This model highlights the idea that procedural learning and its internal representation can be dissociated. If the former allows to produce behavior, it is not sufficient to allow for an explicit and fine-grained manipulation.

Introduction

In cognitive science, a fundamental distinction exists between implicit learning—habitual pattern recognition—and explicit learning—the following of conscious rules. A classic paradigm to study this is the alternation task, such as an animal navigating an 8-shaped maze. To succeed, the agent must turn left at the central intersection during one pass and right during the next. Traditionally, this is thought to require an explicit "working memory bit" that tracks the previous state. This research investigates whether such explicit memory is necessary or if the task can be solved through the inherent temporal dynamics of a neural network. Furthermore, it explores how a system that has learned a pattern implicitly can transition to flexible, rule-based behavior.

Methods

The study employs Reservoir Computing, specifically an Echo State Network (ESN). The ESN features a large, fixed reservoir of recurrently connected neurons where only the output layer (the "readout") is trained. This architecture is uniquely suited for studying how temporal patterns are preserved in the "echoes" of network activity.

Reservoir Computing architecture with internal state classifiers.

A simulated Braintenberg vehicle was trained to navigate an 8-shaped maze. In the Uncued Experiment, the robot learned to alternate turns by observing a tutor model, with no external signals indicating the direction. In the Cued Experiment, binary contextual inputs (L or R) were provided at the maze's center. To analyze the internal representations, Principal Component Analysis (PCA) was used to visualize the reservoir's state space, and secondary classifiers (SVM and KNN) were trained to predict the next turn based solely on the reservoir's internal state.

The training dataset consisted of 50,000 time steps (approximately 71 loops) from a tutor model, with Gaussian noise added to ensure robust learning. Testing focused on 900 data points from the "decision zone" in the central corridor.

Results and Discussion

The ESN successfully mastered the alternating pattern without an explicit memory cell. The "memory" was implicitly encoded in the high-dimensional trajectory of the reservoir's activity; the network's current state was a physical consequence of its recent history.

Robot trajectory in the 8-shaped maze.

The uncued ESN achieved a high precision $R^2$ score of 0.9962, tracking the 8-maze trajectory nearly perfectly. Interestingly, while the internal state of the reservoir allowed SVM/KNN classifiers to predict the next turn with 1.0 accuracy, the robot itself could not use this information to deviate from its learned habit. It was "trapped" in the implicit pattern.

The introduction of external contextual cues allowed the model to transition to explicit rule-following. These cues enabled the robot to follow complex, non-alternating sequences (e.g., AABBAABB), acting as a surrogate for the prefrontal cortex's role in flexible decision-making. This suggests that while an agent may appear to follow a rule, it may simply be utilizing implicit dynamics.

Conclusion

This work demonstrates that procedural learning and internal representation can be dissociated. While implicit dynamics are sufficient for producing complex behavior, they lack the flexibility for fine-grained manipulation without external or higher-level contextual signals. Future research will explore how biological systems autonomously transition between habit-based and rule-based reasoning.

Summary updated

BibTeX
@misc{chaixeichel2022from,
  author = {Naomi Chaix-Eichel and Snigdha Dagar and Quentin Lanneau and Karen Sobriel and Thomas Boraud and Frédéric Alexandre and Nicolas P. Rougier},
  title = {{From implicit learning to explicit representations}},
  year = {2022},
  eprint = {2204.02484},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.02484},
}
Figure