Reservoir Memory Networks

Claudio Gallicchio, Andrea CeniESANN 2024

Abstract

Reservoir Computing (RC) provides an efficient approach to Recurrent Neural Networks by keeping the internal reservoir fixed and training only the output layer. However, standard RC models like Echo State Networks (ESNs) often struggle with "fading memory," where past information is rapidly lost to maintain dynamical stability. We present Reservoir Memory Networks (RMNs), which address this limitation through a dual-reservoir architecture. By separating a dedicated, untrained linear memory cell from a non-linear processing reservoir, RMNs can retain information over hundreds of time steps. Experimental results show that RMNs significantly outperform traditional RC models on complex time-series classification, notably achieving 95% accuracy on sequential MNIST.

The Challenge of Long-Range Dependencies

The efficiency of Reservoir Computing comes from the fact that only the readout layer is trained. However, to ensure stable dynamics, reservoirs are typically designed with a "fading memory" property—they are biased toward recent inputs and gradually "forget" the distant past. This creates a significant bottleneck for tasks requiring long-range dependencies, such as identifying a signal based on a feature that occurred hundreds of steps prior. While newer architectures like Euler State Networks (EuSNs) attempt to operate at the "edge of stability" to extend memory, they often struggle to balance the conflicting requirements of stable memory storage and expressive non-linear processing within the same set of neurons.

Decoupling Memory and Processing

The core innovation of Reservoir Memory Networks (RMNs) is the decoupling of memorization and data processing into two distinct components.

The RMN architecture decouples memory (Linear Reservoir Memory) from processing (Non-linear Reservoir).

The architecture consists of:

  1. Linear Memory Cell: A dedicated, untrained layer designed solely for memorization. The authors explore structures like Circular Shift Matrices and Legendre Polynomials ($RMN_{Le}$) to effectively compress or rotate the input signal history into the state vector.
  2. Non-linear Reservoir: A standard reservoir (e.g., ESN or EuSN) that receives both the current external input and the state of the linear memory cell. This allows the reservoir to focus on extracting complex patterns from a "rich temporal context" provided by the memory cell.
  3. Readout: A linear layer trained via ridge regression that maps the final reservoir state to a classification output.

Performance Benchmarks

The RMN framework was evaluated against standard ESNs and EuSNs across 12 datasets from the UCR Time Series Archive and the challenging sequential MNIST (sMNIST) benchmark. In sMNIST, pixels are fed one by one (784 steps), requiring the model to remember the start of the sequence to classify the digit at the end.

Accuracy results comparing RMN variants against standard ESN and EuSN models across multiple datasets.

As shown in the results, RMN variants consistently outperform traditional models. Most notably, on the sMNIST task, the best standard ESN achieved approximately 77% accuracy, while the $RMN_{Le}$ reached 95%. Similar significant gains were observed in datasets like "Beef," where accuracy improved from 0.55 to 0.84.

Key Insights and Future Work

The success of RMNs highlights that memory and non-linear processing are often at odds in dynamical systems. By delegating storage to a mathematically structured linear system, the non-linear reservoir is freed to be more expressive without risking instability. Furthermore, the architecture allows for independent scaling of memory and processing capacities, providing a flexible tool for various time-series tasks.

Future research directions include testing RMNs on time-series forecasting and generative tasks, as well as integrating these principles into Structured State Space Models (SSMs). The low-power nature of this architecture also makes it a prime candidate for implementation on neuromorphic hardware.

Summary updated

BibTeX
@inproceedings{gallicchio2024reservoir,
  author = {Claudio Gallicchio and Andrea Ceni},
  title = {{Reservoir Memory Networks}},
  booktitle = {ESANN},
  year = {2024},
  doi = {10.14428/esann/2024.es2024-117},
}
Figure