Adaptive control of recurrent neural networks using conceptors

Guillaume Pourcel, Mirko Goldmann, Ingo Fischer, Miguel C. Soriano

Introduction

Recurrent Neural Networks (RNNs) are powerful tools for modeling temporal patterns, but they typically suffer from a rigid separation between training and inference phases. Once parameters are frozen after training, the network becomes brittle, often failing when faced with noisy inputs or internal hardware degradation. Furthermore, standard RNNs lack the inherent ability to interpolate smoothly between learned behaviors, such as transitioning from a walking gait to a running gait. This paper introduces the Conceptor Control Loop (CCL), a framework designed to imbue RNNs with post-training adaptivity and robustness.

Methods: The Conceptor Control Loop

The proposed method leverages the conceptor framework, where a "conceptor" acts as a mathematical filter—specifically a soft-projection matrix—that constrains a network's high-dimensional activity to a specific ellipsoid in state space. This ellipsoid characterizes a particular learned pattern.

The core innovation is the Conceptor Control Loop (CCL), which enables real-time dynamic regulation of the network's state. The CCL operates through three primary steps:

  1. Online Estimation: An "autoconceptor" continuously monitors and estimates the network's current dynamic state.
  2. Target Comparison: The system compares the estimated state to a "target" conceptor representing the desired behavior.
  3. Adaptive Regulation: The system applies a "push" to the network's dynamics, steering them toward the target geometry at every timestep.
The Conceptor Control Loop (CCL) architecture.

Unlike traditional Reservoir Computing, where internal weights remain fixed, the CCL acts as an active supervisor. For more complex tasks like signal cleaning, multiple CCL units can be arranged in a hierarchical architecture to progressively filter distorted signals.

Experimental Evaluation

The CCL was evaluated using two distinct datasets:

  • Synthetic Sine Waves: Used to test the network's ability to interpolate between different frequencies (e.g., periods ranging from 20 to 35).
  • CMU Motion Capture (MoCap): Using high-dimensional human running data to assess robustness against network damage and input scaling.

Key Results

The CCL demonstrated significant improvements over static RNNs in several areas:

Smooth Interpolation

The CCL successfully generated smooth transitions between frequencies. While static frameworks failed to interpolate beyond a period of $T_1 = 35$, the CCL-augmented network maintained functional dynamics up to $T_1 = 47.5$.

Interpolation performance across different frequency ranges.

Robustness and Graceful Degradation

In tests involving simulated hardware failure (clamping 200 out of 1500 neurons to zero), standard RNNs collapsed. In contrast, the CCL sensed the deviation and forced the remaining neurons to compensate, allowing the network to maintain its output gait. Similarly, the system could recover clean signals from inputs scaled down to 0.3x amplitude, effectively using the conceptor as a "prior" to guide reconstruction.

Conclusion

The Conceptor Control Loop provides a robust mechanism for maintaining RNN performance in dynamic or hostile environments. By treating the desired behavior as a geometric target in state space, the CCL allows for graceful degradation and sophisticated interpolation. Future work will focus on scaling this approach to more complex, chaotic tasks and exploring its implementation on low-power neuromorphic hardware.

Summary updated

Abstract

Recurrent neural networks excel at predicting and generating complex high-dimensional temporal patterns. Due to their inherent nonlinear dynamics and memory, they can learn unbounded temporal dependencies from data. In a machine learning setting, the network's parameters are adapted during a training phase to match the requirements of a given task/problem increasing its computational capabilities. After the training, the network parameters are kept fixed to exploit the learned computations. The static parameters, therefore, render the network unadaptive to changing conditions, such as an external or internal perturbation. In this paper, we demonstrate how keeping parts of the network adaptive even after the training enhances its functionality and robustness. Here, we utilize the conceptor framework and conceptualize an adaptive control loop analyzing the network's behavior continuously and adjusting its time-varying internal representation to follow a desired target. We demonstrate how the added adaptivity of the network supports the computational functionality in three distinct tasks: interpolation of temporal patterns, stabilization against partial network degradation, and robustness against input distortion. Our results highlight the potential of adaptive networks in machine learning beyond training, enabling them to not only learn complex patterns but also dynamically adjust to changing environments, ultimately broadening their applicability.
BibTeX
@inproceedings{pourcel2024adaptive,
  author = {Guillaume Pourcel and Mirko Goldmann and Ingo Fischer and Miguel C. Soriano},
  title = {{Adaptive control of recurrent neural networks using conceptors}},
  booktitle = {Chaos},
  year = {2024},
  doi = {10.1063/5.0211692},
}
Figure