Reservoir Computing meets Recurrent Kernels and Structured Transforms

Jonathan Dong, Ruben Ohana, Mushegh Rafayelyan, Florent Krzakala

Introduction

Recurrent Neural Networks (RNNs) are powerful tools for sequence modeling but often suffer from training instabilities like exploding or vanishing gradients. Reservoir Computing (RC) provides an elegant alternative: by using a fixed, random recurrent "reservoir" and training only a linear output layer, it simplifies the learning process significantly. However, traditional RC faces challenges in scaling to large neuron counts ($N$) and has historically lacked a deep theoretical connection to kernel methods. This research bridges these gaps by introducing Recurrent Kernels (RK) and Structured Reservoir Computing (SRC).

The Theoretical Bridge: Recurrent Kernels

A key contribution of this work is the rigorous proof that RC converges to a deterministic Recurrent Kernel (RK) in the infinite-width limit ($N \to \infty$). Using Bernstein’s concentration inequality, the authors demonstrate that the inner product of two reservoir states converges at a rate of $O(1/\sqrt{N})$.

This theoretical framework allows practitioners to bypass random neurons entirely when the dataset size ($n$) is manageable, using the deterministic kernel instead. This creates a clear "N vs. n" trade-off: RK complexity scales with the number of training points, while RC/SRC complexity scales with the number of neurons. If you have few data points but need high expressivity, the RK limit is the optimal choice.

Scaling up with Structured Transforms

While RC is efficient, its $O(N^2)$ computational complexity for dense matrix multiplications limits its use for very large reservoirs. To address this, the authors propose Structured Reservoir Computing (SRC). By replacing dense random weight matrices with a sequence of Hadamard matrices and diagonal random matrices, SRC leverages the Fast Walsh-Hadamard Transform to reduce complexity to $O(N \log N)$.

This structured approach yields massive practical benefits. For a reservoir of ~32,000 neurons, traditional RC hit memory errors on a standard V100 GPU. In contrast, SRC handled the same size easily, performing the forward pass in just 3.6 seconds—significantly faster than the 10.4 seconds required by standard RC for only 8,000 neurons.

Empirical Validation and Convergence

The methods were evaluated on the Kuramoto-Sivashinsky (KS) system, a classic benchmark for spatio-temporal chaos. Results show that RC, SRC, and RK achieve nearly identical Mean-Squared Error (MSE), validating that the faster, structured versions do not sacrifice predictive power.

Convergence of MSE for a reservoir scale of 0.25 using ReLU activation.

Experiments confirmed the predicted $O(1/\sqrt{N})$ convergence rate across different activation functions and reservoir scales. As shown in the figures, the error consistently decreases as the reservoir dimension increases, aligning with the theoretical kernel limit. Interestingly, the structured Hadamard-based approach often converged faster than traditional RC, likely due to the orthogonality inherent in the transform.

Convergence of MSE for a reservoir scale of 1.0.

Conclusion

This work harmonizes the practical efficiency of Reservoir Computing with the theoretical rigor of Kernel Methods. The introduction of SRC enables the deployment of massive reservoirs that were previously computationally prohibitive, while the RK limit provides a solid foundation for understanding the expressivity of these models. Future work may extend these proofs to more complex network topologies, such as sparse or layered reservoirs.

Summary updated

BibTeX
@inproceedings{dong2020reservoir,
  author = {Jonathan Dong and Ruben Ohana and Mushegh Rafayelyan and Florent Krzakala},
  title = {{Reservoir Computing meets Recurrent Kernels and Structured Transforms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure