[Paper Review] Biologically inspired sleep algorithm for artificial neural networks
This paper proposes a biologically inspired sleep algorithm for artificial neural networks (ANNs) that improves incremental learning and generalization by converting the ANN to a spiking neural network (SNN), simulating an offline sleep-like phase using spike-timing-dependent plasticity (STDP) with noisy, high-activity inputs, and then converting back to an ANN. The method reduces catastrophic forgetting, enhances robustness to noisy and blurred inputs, and enables forward transfer learning to unseen tasks.
Sleep plays an important role in incremental learning and consolidation of memories in biological systems. Motivated by the processes that are known to be involved in sleep generation in biological networks, we developed an algorithm that implements a sleep-like phase in artificial neural networks (ANNs). After initial training phase, we convert the ANN to a spiking neural network (SNN) and simulate an offline sleep-like phase using spike-timing dependent plasticity rules to modify synaptic weights. The SNN is then converted back to the ANN and evaluated or trained on new inputs. We demonstrate several performance improvements after applying this processing to ANNs trained on MNIST, CUB200 and a motivating toy dataset. First, in an incremental learning framework, sleep is able to recover older tasks that were otherwise forgotten in the ANN without sleep phase due to catastrophic forgetting. Second, sleep results in forward transfer learning of unseen tasks. Finally, sleep improves generalization ability of the ANNs to classify images with various types of noise. We provide a theoretical basis for the beneficial role of the brain-inspired sleep-like phase for the ANNs and present an algorithmic way for future implementations of the various features of sleep in deep learning ANNs. Overall, these results suggest that biological sleep can help mitigate a number of problems ANNs suffer from, such as poor generalization and catastrophic forgetting for incremental learning.
Motivation & Objective
- To address catastrophic forgetting in artificial neural networks during incremental learning.
- To improve generalization of ANNs to noisy or degraded inputs, such as blurred or noised images.
- To enable forward transfer learning to untrained but related tasks without explicit retraining.
- To implement a biologically plausible sleep mechanism in ANNs using spiking dynamics and STDP.
- To provide a scalable, memory-efficient alternative to existing rehearsal or regularization-based continual learning methods.
Proposed method
- Convert a trained artificial neural network (ANN) with ReLU activations into a spiking neural network (SNN) for offline processing.
- Simulate a sleep-like phase in the SNN by applying spike-timing-dependent plasticity (STDP) with increased intrinsic activity and noisy input to reactivate stored patterns.
- Use unsupervised STDP to modify synaptic weights during the simulated sleep phase, mimicking biological memory consolidation.
- Convert the modified SNN back into an ANN and evaluate or continue training on new tasks.
- Apply the sleep phase after initial backpropagation training and before new task learning to enable memory retention and generalization.
- Use MNIST, CUB200, and a toy dataset to validate performance across diverse tasks and input distortions.
Experimental results
Research questions
- RQ1Can a biologically inspired sleep phase reduce catastrophic forgetting in ANNs during incremental learning?
- RQ2Does simulating sleep in SNNs improve generalization to noisy or degraded inputs in ANNs?
- RQ3Can the sleep phase enable forward transfer learning to untrained but related tasks?
- RQ4How does the sleep mechanism compare to existing rehearsal or regularization techniques in terms of memory efficiency and performance?
- RQ5What is the role of stochastic network dynamics during sleep in enhancing representation generalization?
Key findings
- The sleep algorithm significantly reduced catastrophic forgetting, recovering performance on previously learned tasks after new training.
- After sleep, classification accuracy on noisy and blurred MNIST images improved from approximately 20% to 50%.
- The network demonstrated forward transfer learning, improving performance on unseen but related tasks without explicit training.
- The method enhanced generalization to input distortions without requiring storage of original training data or generative models.
- Sleep improved robustness to adversarial attacks, as shown by increased resistance in follow-up analyses.
- The approach outperformed baseline ANNs in maintaining functional connectivity to older tasks, suggesting partial retention of forgotten knowledge.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.