Diagnosis-aware continual recovery for Spiking Neural Networks under dynamic failures.
This repository contains the experimental implementation of SH-SNN, a proof-of-concept framework for self-healing Spiking Neural Networks (SNNs) in dynamic edge environments.
SH-SNN separates the adaptation process into three stages:
These signals are standardized relative to clean validation windows to produce a monitoring score.
Failure Detection
The implementation evaluates ADWIN as a streaming change detector.
Current limitation:
In the present short N-MNIST pilot streams, the monitoring score changes clearly under major failures such as noise and spatial shift, but the evaluated ADWIN configuration does not reliably trigger.
Therefore, this repository does not claim fully autonomous end-to-end failure detection.
Causal Failure Diagnosis
Root-cause attribution is implemented using DoWhy-GCM.
This demonstrates an important motivation of the framework:
High immediate recovery does not necessarily mean safe recovery. A useful self-healing method should restore performance while preserving previously learned knowledge.
The current implementation has the following limitations:
N-MNIST is currently used as a proof-of-concept dataset.
The reported smoke results use reduced dataset sizes and training schedules.
ADWIN does not reliably trigger in the current short monitoring streams.
Causal attribution distinguishes noise and spatial shift more effectively than imbalance and new-class arrival.
Recovery currently assumes labeled adaptation samples.
GPU latency and spike-rate measurements are not direct measurements of neuromorphic energy consumption.
Larger datasets and multiple-seed validation are required before making broad performance claims.
Future Work
Planned extensions include:
CIFAR10-DVS experiments
DVS128 Gesture experiments
Multiple-seed evaluation
Improved streaming change detection
Better novelty representations
Improved imbalance diagnostics
Label-efficient recovery
Unsupervised recovery
Resource-aware adaptation
Neuromorphic hardware deployment
Direct energy-consumption measurements
Associated Paper
Working title:
SH-SNN: Causal Attribution-Guided Continual Recovery for Spiking Neural Networks Under Dynamic Failures
The manuscript evaluates SH-SNN as a proof-of-concept framework for diagnosis-aware continual recovery.
Citation
If you use this repository, please cite the associated paper once the final bibliographic information becomes available.
bibtex
1@inproceedings{shsnn2026,
2 title = {SH-SNN: Causal Attribution-Guided Continual Recovery
3 for Spiking Neural Networks Under Dynamic Failures},
4 author = {Author Name(s)},
5 booktitle = {Conference Name},
6 year = {2026}
7}
Replace the placeholder author and conference information after publication.
License
This repository is intended for academic research.
Before public release, add an appropriate open-source license such as the MIT License, subject to your institution's intellectual-property requirements.
Disclaimer
This repository contains experimental research code.
The current N-MNIST results represent a proof-of-concept evaluation and should not be interpreted as production-level autonomous self-healing performance, state-of-the-art benchmark results, or direct evidence of neuromorphic energy efficiency.