NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving STDP-based Visual Feature Learning with Whitening

Pierre Falez, Pierre Tirilly, Ioan Marius Bilasco

Abstract

Spiking Neural Networks (SNNs) offer a power-efficient, biologically inspired alternative to traditional Deep Neural Networks. However, their performance on complex natural images has been limited by standard pre-processing techniques that discard significant visual information. This paper proposes the use of ZCA whitening to decorrelate input data, enabling SNNs to learn richer features via Spike-Timing-Dependent Plasticity (STDP). We introduce a hardware-friendly "whitening kernel" approximation that achieves a substantial performance boost on the CIFAR-10 dataset, improving classification accuracy by up to 9%.

Introduction

While Deep Neural Networks (DNNs) excel at computer vision tasks, they are computationally expensive and typically require large labeled datasets. SNNs provide a promising alternative for low-power neuromorphic hardware, utilizing unsupervised learning rules like STDP. Despite their potential, SNNs often struggle with natural image datasets such as CIFAR-10. Traditional pre-processing, which relies on Difference-of-Gaussians (DoG) filters to mimic biological "on-center/off-center" cells, often removes critical color and spatial frequency information, leading STDP to learn suboptimal features.

Methodology: ZCA Whitening and Whitening Kernels

To overcome the limitations of traditional filtering, we propose replacing standard pre-processing with ZCA whitening. Whitening is a statistical procedure that standardizes and decorrelates data, highlighting edges and high-frequency features while preserving more information than simple edge-extraction methods.

Comparison of image pre-processing techniques: (a) original image, (b) grayscale filtering, (c) color filtering, and (d) ZCA whitening.

A significant challenge of ZCA whitening is its global nature, which is computationally demanding for neuromorphic hardware. We address this by developing "Whitening Kernels"—small convolutional filters learned from image patches (e.g., $9 \times 9$ pixels). These kernels approximate the whitening transformation locally, making the process computationally efficient and compatible with the local connectivity of neuromorphic architectures.

SNN Architecture and Feature Learning

The whitened input values are converted into spikes using latency coding, where higher intensity values trigger earlier spikes. These spikes are processed by a single-layer convolutional SNN composed of Integrate-and-Fire neurons. Through unsupervised STDP, the network learns a diverse set of features, including oriented color patterns and sharp edges, which are qualitatively similar to those found in supervised DNNs.

Learned whitening kernels and their application to a sample image, demonstrating the extraction of oriented features.

Experimental Results

The proposed method was evaluated on the CIFAR-10 dataset. Applying whitening led to a significant increase in classification accuracy. Using 64 learned features, accuracy rose from 48.27% (with standard color filters) to 57.07%. Increasing the feature count to 1,024 further improved accuracy to 63.64%.

Key findings include:

  • Stability: Whitening kernels learned on the STL-10 dataset could be applied to CIFAR-10 with minimal performance loss, indicating the universality of the learned transformations.
  • Approximation Robustness: The convolutional whitening kernels matched the performance of full ZCA whitening, validating the hardware-friendly approximation.
  • Temporal Dynamics: STDP learning was found to be most effective when neurons integrated spikes over a window of approximately 96-97% of the exposition time, balancing information capture with noise reduction.

Conclusion

Whitening provides a powerful pre-processing step that enables SNNs to learn meaningful visual features from complex natural images. By introducing local whitening kernels, we provide a path for implementing these benefits on low-power neuromorphic hardware. Future research will explore scaling this approach to multi-layer deep SNNs and developing fully spiking end-to-end classification systems.

Summary updated

BibTeX
@inproceedings{falez2020improving,
  author = {Pierre Falez and Pierre Tirilly and Ioan Marius Bilasco},
  title = {{Improving STDP-based Visual Feature Learning with Whitening}},
  booktitle = {IJCNN},
  year = {2020},
  doi = {10.1109/ijcnn48605.2020.9207373},
}
Figure