Foundations to Frontier
Tests
E. Deep Learning › E6 Early and Energy-Based Networks

Echo State Networks and Reservoir Computing

An echo state network drives a large, fixed, random recurrent network (the reservoir) with an input signal and trains only a linear readout from the reservoir's states. If the reservoir forgets its initial state (the echo state property, usually ensured by a spectral radius below 1), its state is a rich nonlinear function of the recent input history, and a ridge regression readout can predict time series, classify sequences or model dynamical systems, with no backpropagation through time. This page covers the reservoir, the echo state property, spectral radius and memory, and practical design. In the exercises you show reservoir copies converge at spectral radius 0.8 but not at 1.6, then measure memory capacity against spectral radius: it peaked at about 21 (of 50) near ρ = 0.9–1 and collapsed above 1.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

A random pond that remembers

Drop stones into a pond and the ripples carry information about where and when they fell, for a while. An echo state network uses a big random recurrent network the same way: the input signal stirs it, and its activity carries a fading memory of the recent input. The random connections are never trained; only a simple linear readout learns to turn the pond’s state into the desired output.

Echo state network: forgetting the start, remembering the input
distance between two copies (log scale, 200 steps)
memory curve r²(k), k = 1…30
final distance 1.7e-2 · memory capacity (k ≤ 30) 9.3 of at most 30
Below ρ ≈ 1 the two copies converge (the echo state property): the reservoir's state depends only on the recent input. Its memory of the input grows as ρ approaches 1, then collapses above it as the reservoir's own dynamics take over. Only the linear readout is trained.
Why engineers care

Reservoir computing trains in seconds by linear regression, needs no backpropagation through time, and works on physical substrates: photonic, spintronic and mechanical reservoirs compute with physics itself. It is used for chaotic time-series prediction, signal equalisation and fast models of dynamical systems.

📝 Quick check (Level 0)
0/3 answered
  1. 1. In an echo state network, what is trained?
  2. 2. The reservoir's state reflects…
  3. 3. Reservoirs can be built from…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Reservoir update: x(t + 1) = tanh(Wx(t) + w_in·u(t + 1)). With W = 0, the state is just tanh(w_in·u): for w_in = (1, −1), u = 0.5 it is (tanh 0.5, −tanh 0.5).
  • Spectral radius: ρ(W) = largest |eigenvalue|. To get ρ = 0.9 from diag(2, 1), divide by 2 and multiply by 0.9.
  • Readout: w = (XᵀX + λI)⁻¹Xᵀy on the collected states X, after discarding an initial washout.
  • Echo state property: two copies started differently but driven by the same input become identical. For contracting dynamics their difference shrinks roughly like ρᵗ: 0.8¹⁰ ≈ 0.11.
  • Memory capacity: MC = Σₖ r²(readout_k, u(t − k)), at most N for a reservoir of N units.
📝 Quick check (Level 1)
0/3 answered
  1. 1. Scale factor to give diag(2, 1) radius 0.9:
  2. 2. Upper bound on memory capacity for 50 units:
  3. 3. 0.5³:

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Reservoirs in code

Exercise 1. Two copies of a 100-unit reservoir driven by the same input: at ρ = 0.8 their distance fell from 0.27 after 10 steps to below 10⁻¹⁰ after 100; at ρ = 1.6 it stayed around 7–8.

Practice.

  • Hyperparameters to tune:
    • spectral radius (0.8–1.2 for memory tasks, smaller for fast-changing inputs);
    • input scaling (how strongly the input drives the units);
    • sparsity;
    • leak rate (leaky integrator units for slow signals);
    • ridge λ.
  • Discard a washout period before collecting states for the readout.
  • The echo state property depends on the input too; ρ < 1 is a rule of thumb, neither necessary nor sufficient in general.
X = run(W, w_in, u)[washout:]                 # collected reservoir states
w_out = np.linalg.solve(X.T @ X + lam * np.eye(N), X.T @ y[washout:])
🐍 Exercise 1: the echo state property
Drive two copies of a random reservoir with the same input from different initial states, and compare spectral radius 0.8 with 1.6.
📝 Quick check (Level 2)
0/3 answered
  1. 1. A washout period is…
  2. 2. ρ &lt; 1 for the echo state property is…
  3. 3. Leaky integrator units suit…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Echo state property. A reservoir has the ESP if its state is asymptotically determined by the input history alone. A sufficient condition is that the largest singular value of W is below 1 (the update is then a contraction for tanh units). The spectral radius below 1 is necessary for the zero-input case and works well in practice (Jaeger, 2001; Yildiz et al., 2012).

Memory capacity. For linear reservoirs with N units and i.i.d. input, Jaeger (2002) showed MC ≤ N. Nonlinearity trades memory for computational richness: tanh units can compute nonlinear functions of past inputs but remember less linearly.

Edge of stability. Near ρ = 1 perturbations decay slowly, so information persists longest, which is why memory peaks there (exercise 2). Above 1 the reservoir’s own dynamics dominate and the input history is overwritten.

Why training only the readout works. A large random dynamical system gives a high-dimensional nonlinear expansion of the input history, like an ELM’s random features but in time. A linear readout is then often enough, and training is a convex problem.

📝 Quick check (Level 3)
0/3 answered
  1. 1. A sufficient condition for the ESP is…
  2. 2. For linear reservoirs, MC is at most…
  3. 3. Above ρ = 1 the input history is…

Level 4: Expert

★★★★★ Expert⏱ 25 minResearchers: original papers and open problems.

Memory versus spectral radius

History.

  • H. Jaeger (2001) introduced echo state networks; W. Maass, T. Natschläger and H. Markram (2002) liquid state machines.
  • H. Jaeger and H. Haas (2004) predicted chaotic time series with ESNs.
  • J. Pathak et al. (2018) used reservoirs to predict spatio-temporal chaos far ahead.
  • Physical reservoirs (photonic, spintronic, mechanical) followed in the 2010s.

Exercise 2. A 50-unit sparse tanh reservoir driven by uniform random input; for each delay k = 1–60 a ridge readout is trained to output u(t − k), and the squared test correlations are summed. Two seeds:

spectral radius ρ memory capacity
0.3 7.07
0.6 13.35
0.9 20.59
0.99 20.73
1.2 10.42
1.5 6.17
  • Memory grew with ρ up to about 1, peaking at about 21 of a possible 50.
  • It collapsed above 1: at ρ = 1.5 it was below its value at 0.3.
  • Lesson: choose ρ near (just below) 1 for tasks needing long memory, and smaller for fast responses; tune it on the task.
🐍 Exercise 2 (research): memory versus spectral radius
Measure the short-term memory capacity of a random reservoir at several spectral radii.

Reservoir computing in AI, robotics and aerospace

  • Fast models of dynamics: predicting turbulent or chaotic signals, and short-term forecasting of vibration or flow states.
  • Robot control: reservoirs have been used for motor pattern generation and soft-robot proprioception, where the soft body itself is the reservoir.
  • Edge hardware: photonic and analogue reservoirs process high-bandwidth signals (for example optical channel equalisation) with very low power.

References

  1. H. Jaeger (2001). “The ‘echo state’ approach to analysing and training recurrent neural networks.” GMD Report 148.
  2. H. Jaeger, H. Haas (2004). “Harnessing nonlinearity: predicting chaotic systems and saving energy in wireless communication.” Science 304.
  3. W. Maass, T. Natschläger, H. Markram (2002). “Real-time computing without stable states.” Neural Computation 14(11).
  4. J. Pathak, B. Hunt, M. Girvan, Z. Lu, E. Ott (2018). “Model-free prediction of large spatiotemporally chaotic systems from data: a reservoir computing approach.” Physical Review Letters 120.