Exploration of Input Patterns for Enhancing the Performance of Liquid State Machines

Shasha Guo, Lianhua Qu, Lei Wang, Xulong Tang, Tian Shuo, Shiming Li, Weixia XuarXiv 2020

Abstract

Spiking Neural Networks (SNNs) are increasingly valued for their low power consumption, yet training them remains a significant challenge. Liquid State Machines (LSMs), a form of reservoir computing, offer a low-cost training alternative among SNNs. Traditionally, enhancing LSM performance involves complex hyper-parameter searches for reservoir topology, which is resource-intensive. This study explores an alternative: input scale reduction. By investigating four input patterns—fullscale, scanline, chessboard, and patch—we demonstrate that reducing input data can actually improve performance. Experimental results on spatial and spatio-temporal datasets show that a chessboard pattern can improve accuracy by up to 5%, reduce execution time by 50%, and decrease input storage requirements by 75% compared to full-scale inputs.

What Problem Does This Paper Address?

Liquid State Machines (LSMs) are popular SNN architectures where only the "readout" layer is trained, while the internal "liquid"—a recurrent reservoir of spiking neurons—remains fixed. This makes them computationally efficient to train compared to standard deep learning models.

Architecture of a Liquid State Machine (LSM) showing the input, liquid, and readout layers.

However, LSMs face a scaling hurdle: processing large images requires massive reservoirs, leading to high computational overhead. Most research focuses on optimizing the internal topology of the reservoir, a process that is notoriously time-consuming. This paper investigates whether performance can be improved more economically by changing how input data is presented to the network, effectively reducing the input dimension before it reaches the reservoir.

Methods

The researchers systematically compared four distinct input patterns to evaluate their impact on accuracy, runtime, and storage:

  1. Fullscale: The baseline pattern using every available pixel.
  2. Scanline: Inspired by biological saccades (human eye movements), using specific horizontal lines of pixels.
  3. Chessboard: Sampling pixels in a grid pattern (e.g., only the "black" squares of a board).
  4. Patch: Selecting small, evenly spaced blocks of pixels.
Visual representation of (a) scanline, (b) chessboard, and (c) patch input patterns.

To process these patterns, the authors developed specialized algorithms to convert them into spike trains for both standard frame-based images and event-based (neuromorphic) data. These patterns were tested across two LSM architectures: a single reservoir (1RC) and a multi-reservoir ensemble (5RC).

Datasets

The study utilized three primary benchmarks to evaluate the proposed input patterns:

  • MNIST: The standard dataset of 70,000 handwritten digits.
  • N-MNIST: A neuromorphic, event-based version of MNIST that captures pixel changes over time, mimicking biological vision.
  • JAFFE: The Japanese Female Facial Expression dataset, tested at multiple resolutions (10x45 and 45x45 pixels).

Key Insights and Results

The Regularization Effect

Surprisingly, reduced input patterns—specifically the chessboard pattern—often outperformed the full-scale baseline. The authors suggest that by discarding redundant pixels, the pattern acts as a form of regularization. This prevents the LSM from overfitting to noise within the high-dimensional input space, leading to better generalization.

Efficiency Gains

Because the number of input pixels directly dictates the number of input neurons required, reducing the input scale provides a linear reduction in the computational load of the "liquid" layer. The chessboard pattern, which utilizes only 25% of the original pixels, achieved:

  • Accuracy Boost: An improvement of nearly 5% for the 1RC architecture on the N-MNIST dataset.
  • Speedup: A reduction in execution time by 30% to 50%.
  • Storage Savings: A 75% reduction in input storage requirements.

The study highlights that "input exploration" is far more economical than "architecture search." Instead of spending weeks tuning hyper-parameters for reservoir connectivity, researchers can achieve superior results by optimizing the input mask.

Limitations and Future Work

While the results are promising for spatial data, the authors noted that performance is sensitive to the chosen pattern. For instance, the "scanline" pattern performed poorly on the JAFFE dataset, likely because it missed critical facial features like eyes or mouths.

Future work will focus on developing "intelligent" patterns that can learn to sample the most salient areas of an image dynamically. Additionally, the researchers plan to validate these findings on purely temporal datasets, such as speech or sensor data, to see if the benefits of input reduction extend beyond spatial imagery.

Summary updated

Abstract

Spiking Neural Networks (SNN) have gained increasing attention for its low power consumption. But training SNN is challenging. Liquid State Machine (LSM), as a major type of Reservoir computing, has been widely recognized for its low training cost among SNNs. The exploration of LSM topology for enhancing performance often requires hyper-parameter search, which is both resource-expensive and time-consuming. We explore the influence of input scale reduction on LSM instead. There are two main reasons for studying input reduction of LSM. One is that the input dimension of large images requires efficient processing. Another one is that input exploration is generally more economic than architecture search. To mitigate the difficulty in effectively dealing with huge input spaces of LSM, and to find that whether input reduction can enhance LSM performance, we explore several input patterns, namely fullscale, scanline, chessboard, and patch. Several datasets have been used to evaluate the performance of the proposed input patterns, including two spatio image datasets and one spatio-temporal image database. The experimental results show that the reduced input under chessboard pattern improves the accuracy by up to 5%, and reduces execution time by up to 50% with up to 75\% less input storage than the fullscale input pattern for LSM.
BibTeX
@misc{guo2020exploration,
  author = {Shasha Guo and Lianhua Qu and Lei Wang and Xulong Tang and Tian Shuo and Shiming Li and Weixia Xu},
  title = {{Exploration of Input Patterns for Enhancing the Performance of Liquid State Machines}},
  year = {2020},
  eprint = {2004.02540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.02540},
}
Figure