Sparsity in Reservoir Computing Neural Networks

Claudio Gallicchio

TL;DR

This paper challenges the common assumption that sparsity in Reservoir Computing (RC) is merely a computational trick for speed. By systematically varying connectivity, the author demonstrates that high levels of sparsity—particularly in how inputs connect to the reservoir—actually improve the "richness" of internal representations, leading to better short-term memory and higher-dimensional state dynamics.

What Problem Does This Paper Address?

Reservoir Computing (RC) is a paradigm for training Recurrent Neural Networks (RNNs) where the internal connections (the "reservoir") are fixed and random; only the output layer (the "readout") is trained. This makes RC incredibly fast and efficient.

In the RC community, it is standard practice to make the reservoir sparse. However, most researchers treat this as a hardware optimization—a way to use sparse matrix multiplication to save on FLOPs. There has been a long-standing debate: Does sparsity actually help the network process information better, or is it just a shortcut? This paper tackles this by investigating how sparsity in both recurrent connections (within the reservoir) and input connections (from the data to the reservoir) affects the quality of the temporal representations the network builds.

Methods

The author uses the Echo State Network (ESN), the most popular flavor of RC. The study focuses on two specific parameters of sparsity:

  1. $\chi_R$ (Recurrent Connectivity): The number of incoming recurrent connections for each reservoir neuron.
  2. $\chi_I$ (Input Connectivity): The number of reservoir neurons each input signal is sent to.

To evaluate the "quality" of the reservoir, the author uses two sophisticated metrics:

  • Short-term Memory Capacity (MC): A measure of how well the reservoir can reconstruct past inputs from its current state.
  • Effective Dimension ($N_{eff}$): A measure of the "richness" of the state space. It uses the eigenvalues of the state covariance matrix to see how many independent "directions" the reservoir is actually using to represent data.

The experiments involved a 100-neuron reservoir, systematically varying $\chi_R$ and $\chi_I$ from 1 to 100 and averaging results over 50 different random initializations to ensure robustness.

Datasets

The study uses a synthetic "probing" dataset rather than a real-world task to isolate the intrinsic properties of the reservoir:

  • Input: A uni-dimensional time-series of i.i.d. (independent and identically distributed) values sampled uniformly from $[-0.8, 0.8]$.
  • Scale: 6,000 time-steps (5,000 for training the readout, 1,000 for evaluation).

This setup is standard for measuring Memory Capacity, as it forces the reservoir to handle purely temporal information without relying on patterns or trends in the data.

Key Insights and Ideas

  • Input Sparsity is the Real Hero: The most surprising finding is that input-to-reservoir sparsity has a much larger impact than recurrent sparsity. Maximally sparse input ($\chi_I = 1$), where each input dimension connects to only one reservoir neuron, yielded the highest memory capacity and dimensionality.
  • The "Muddying" Effect: Propagating the same input to all reservoir neurons actually degrades performance. It seems that "spreading the news" too wide causes the internal states to become too correlated, effectively wasting the reservoir's capacity.
  • Recurrent Sparsity Plateaus Early: While you need some recurrent connections to create dynamics, the benefits of increasing $\chi_R$ saturate very quickly. Once you hit about 20% connectivity, adding more connections doesn't significantly improve memory or dimensionality.
  • Decoupling for Richness: Sparse connectivity helps "decouple" the state variables. This allows different parts of the reservoir to specialize in different temporal features, leading to a higher-dimensional representation of the input history.

Key Results

  • Optimal Configuration: The best results for both Memory Capacity and Effective Dimension were achieved with $\chi_I = 1$.
  • Saturation Point: For a 100-neuron reservoir, performance stabilized at approximately $\chi_R \approx 20$. Beyond this point, the reservoir's "richness" did not increase appreciably.
  • Rule of Thumb: The author suggests a simple design rule for practitioners: connect each input to just one reservoir neuron and keep recurrent connectivity at roughly 20%.

Limitations and Future Work

The paper acknowledges a few areas for further exploration:

  • Dimensionality of Input: The experiments focused on uni-dimensional inputs. It remains to be seen if the "connect to only one neuron" rule holds for high-dimensional input data (like video or multi-sensor arrays).
  • Deep Reservoirs: The study looks at a single-layer reservoir. The author suggests that in "Deep RC" (stacked reservoirs), sparsity might play an even more intriguing role in modulating how signals propagate through layers.
  • Hardware Synergy: The findings are particularly relevant for neuromorphic hardware, where physical constraints make sparse wiring much easier to implement than dense connectivity. Future work could involve testing these sparse designs on actual edge-computing hardware.

Summary updated

BibTeX
@inproceedings{gallicchio2020sparsity,
  author = {Claudio Gallicchio},
  title = {{Sparsity in Reservoir Computing Neural Networks}},
  booktitle = {INISTA},
  year = {2020},
  url = {https://openreview.net/forum?id=i56vlPDFNw6},
}

Loading related content...

Figure