Sleep-Like Unsupervised Replay Improves Performance when Data are Limited or Unbalanced

Anthony Bazhenov, Pahan Dewasurendra, Giri P. Krishnan, Jean Erik DelanoisarXiv 2024 · DOI

Abstract

Artificial neural networks (ANNs) typically require vast amounts of labeled data to achieve high performance, often struggling with overfitting or poor generalization when training sets are small or imbalanced. This paper introduces Sleep Replay Consolidation (SRC), a biologically-inspired unsupervised learning phase that mimics the memory consolidation processes of the human brain. By mapping a standard ANN to a spiking neural network (SNN) and subjecting it to a "sleep" phase driven by random noise and Hebbian plasticity, the researchers achieved accuracy gains of up to 30% on limited datasets. This approach provides a novel pathway for improving model robustness without requiring additional labeled data.

Introduction

While deep learning has achieved remarkable success, it remains notoriously data-hungry. When training data is limited (low-shot learning) or imbalanced (certain categories are rarer than others), ANNs often fail to generalize. In contrast, the human brain is a master of "small data" learning. A key mechanism for this efficiency is sleep, during which the brain spontaneously replays recently learned patterns to strengthen important connections and prune irrelevant ones.

This study explores whether a similar "sleep phase" can help artificial networks overcome the limitations of small or skewed datasets. The authors propose a process that converts trained ANNs into spiking architectures to leverage biologically plausible learning rules during an unsupervised consolidation period.

Methodology: Sleep Replay Consolidation (SRC)

The SRC workflow consists of five distinct stages:

  1. Initial Training: A standard fully-connected ANN is trained on a small subset (0.5% to 10%) of a dataset using traditional backpropagation.
  2. Mapping to SNN: The trained ANN is converted into a Spiking Neural Network (SNN) with an identical architecture. SNNs communicate via discrete "spikes," making them suitable for biologically-inspired plasticity rules.
  3. The Sleep Phase: The SNN is driven by randomly distributed Poisson spiking input. This input simulates "spontaneous replay" by reflecting the average activity levels observed during the initial training phase.
  4. Hebbian Plasticity: During this unsupervised sleep, the network employs local Hebbian-type learning rules. Synaptic strength increases if a presynaptic neuron fires just before a postsynaptic one and decreases if the postsynaptic neuron fires in isolation.
  5. Remapping and Fine-tuning: The SNN is mapped back to an ANN. For larger datasets, a brief "fine-tuning" step on the original data is used to recover any precision lost during the unsupervised phase.

Experimental Setup

The SRC algorithm was evaluated on two classic computer vision benchmarks: MNIST (handwritten digits) and Fashion MNIST (FMNIST) (clothing items). To simulate real-world constraints, the researchers tested these datasets under "limited data" conditions, using as little as 0.5% of the total available training samples.

Key Results and Insights

The primary finding of the study is a significant performance boost in low-data regimes. For models trained on only 0.5% to 10% of the total data, the sleep phase resulted in a 20-30% increase in accuracy for both MNIST and FMNIST.

Accuracy vs. Fraction of Total Data for MNIST (A) and FMNIST (B) datasets.

Sparsity and Bias Correction

Analysis of synaptic weights revealed that the sleep phase increased the strength of a small fraction of "critical" synapses while weakening many others. This suggests that sleep improves performance by increasing the sparsity of the network's responses, effectively filtering out noise. Furthermore, the sleep phase helped correct "majority bias" in imbalanced datasets, where models typically over-classify samples into the most frequent categories. SRC encouraged a more balanced response, improving accuracy for underrepresented classes.

The High-Data Trade-off

Interestingly, the data shows that if a network already has access to ample data (more than 10% of the dataset), the unsupervised sleep phase can initially cause a slight decrease in performance. However, as shown in the figure above, a quick round of fine-tuning (the green "After sleep + fine-tuning" line) allows the model to retain the benefits of consolidation while matching or exceeding the baseline precision.

Conclusion and Future Work

Sleep Replay Consolidation offers a promising, unsupervised method for enhancing ANN performance when labeled data is scarce. Because the sleep phase uses random noise rather than explicit labels, it provides a computationally efficient way to refine models.

Future research will focus on several key areas:

  • Scaling Architectures: Moving beyond fully-connected networks to test SRC on Convolutional Neural Networks (CNNs) and Transformers.
  • Parameter Tuning: Optimizing sleep parameters to prevent the performance dip observed in high-data regimes.
  • Direct Implementation: Developing ways to implement these plasticity rules directly within the ANN framework to eliminate the overhead of mapping back and forth to SNNs.

Summary updated

BibTeX
@misc{bazhenov2024sleep,
  author = {Anthony Bazhenov and Pahan Dewasurendra and Giri P. Krishnan and Jean Erik Delanois},
  title = {{Sleep-Like Unsupervised Replay Improves Performance when Data are Limited or Unbalanced}},
  year = {2024},
  eprint = {2402.10956},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.10956},
}
Figure