Fast Linear Reservoirs via Diagonalization
Organizations: Mnemosyne, DI-ENS · ENS PSL, Inria Center of Bordeaux University, LaBRI, IMN · Mnemosyne · Inria Center of Bordeaux University, LaBRI, IMN ·
Abstract
We introduce a diagonalization-based optimization for Linear Echo State Networks (ESNs) that reduces the per-step computational complexity of reservoir state updates from quadratic to linear. By reformulating reservoir dynamics in the eigenbasis of the recurrent matrix, the recurrent update becomes a set of independent element-wise operations, eliminating the matrix multiplication. We further propose three methods to use our optimization depending on the situation: (i) Eigenbasis Weight Transformation (EWT), which preserves the dynamics of standard and trained Linear ESNs, (ii) End-to-End Eigenbasis Training (EET), which directly optimizes readout weights in the transformed space and (iii) Direct Parameter Generation (DPG), that bypasses matrix diagonalization by directly sampling eigenvalues and eigenvectors, achieving comparable performance to standard Linear ESNs. Across all experiments, both our methods preserve predictive accuracy while offering significant computational speedups, making them a replacement for standard Linear ESNs computations and training, and suggesting a shift of paradigm in linear ESN towards the direct selection of eigenvalues.
Figures & tables
| Hyper-parameter | Values considered |
|---|---|
| Reservoir size ( ) | 100 |
| Input scaling ( ) | 0.01, 0.1, 1 |
| Leaking rate ( lr ) | 0.1, 0.3, 0.5, 0.7, 0.9, 1.0 |
| Spectral radius ( ) | 0.1, 0.3, 0.5, 0.7, 0.9, 1.0 |
| Ridge regression regularization ( ) |
| Task | Normal | Diagonalized | Uniform Dist. | Golden Dist. | Noisy Golden Dist. | Sim Dist. |
|---|---|---|---|---|---|---|
| ( ) | ( ) | |||||
| MSO1 | 1.65e-14 | 1.58e-14 | 5.85e-14 | 2.49e-14 | 4.77e-14 | 3.56e-14 |
| MSO2 | 2.55e-13 | 2.78e-13 | 2.28e-13 | 1.45e-13 | 2.39e-13 | 2.44e-13 |
| MSO3 | 5.42e-12 | 9.14e-12 | 4.49e-12 | 9.07e-12 | 6.14e-12 | 8.37e-12 |
| MSO4 | 1.39e-10 | 5.77e-10 | 3.64e-10 | 7.22e-11 | 6.93e-11 | 2.28e-10 |
| MSO5 | 2.75e-09 | 4.03e-08 | 2.95e-08 | 5.24e-10 | 1.63e-09 | 1.87e-08 |
Reservoir Computing
Reservoir computing uses recurrent dynamical systems to transform temporal inputs into features that support efficient learning with simple readouts.
See all 107 papers