Introduction
The Internet of Things (IoT) landscape presents a persistent challenge: balancing high classification accuracy with the strict energy and latency constraints of edge devices. While cloud-based Artificial Neural Networks (ANNs) provide high precision, they incur significant communication overhead and energy drain. Conversely, Spiking Neural Networks (SNNs) offer brain-inspired energy efficiency due to discrete spike processing but often lag in accuracy and struggle with "catastrophic forgetting" when encountering new data distributions in dynamic environments.
The ECC-SNN Framework
ECC-SNN introduces a collaborative architecture that leverages the strengths of both SNNs and ANNs. The framework operates in three distinct stages to ensure continuous learning and efficient inference.
1. Setup Stage: Joint Training
To initialize the edge SNN, it undergoes knowledge distillation from a powerful cloud ANN teacher. A key technical challenge is bridging the gap between the floating-point activations of ANNs and the discrete spike trains of SNNs. ECC-SNN addresses this by using external linear modules to align features in a shared space, allowing the SNN to inherit nuanced knowledge from the teacher beyond simple classification labels.
2. Execution Stage: Ambiguity-Aware Inference
During real-time operation, the edge SNN processes incoming data and calculates a normalized entropy for its predictions. This serves as a confidence metric. If the entropy is below a predefined threshold $\delta$, the edge device handles the classification locally. If the entropy is high, indicating an "ambiguous" or difficult sample, the image is offloaded to the cloud ANN for high-precision processing.
3. Update Stage: On-Device Incremental Learning
Difficult samples labeled by the cloud are stored in a local buffer. The edge SNN then performs exemplar-free incremental learning. By employing a self-distillation loss, the model learns from these new samples while preserving its performance on previously mastered "simple" cases, effectively mitigating catastrophic forgetting without requiring expensive cloud-side retraining.
Experimental Results
The framework was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, Caltech, and Tiny-ImageNet in class-incremental settings. Experimental results demonstrate that ECC-SNN provides a superior balance of performance and efficiency:
- Accuracy: Improved average Top-1 accuracy by 4.15% compared to standalone models.
- Efficiency: Achieved a 79.4% reduction in energy consumption and a 39.1% reduction in processing latency.
- Adaptability: Outperformed state-of-the-art incremental learning methods (e.g., FeTrIL) by 5.32% on CIFAR-100.
Notably, in some scenarios, the collaborative system outperformed a standalone cloud ANN by 13.3%, as the edge model continuously optimized itself on the specific local data distributions it encountered.
Conclusion and Future Work
ECC-SNN demonstrates that edge-cloud collaboration can significantly enhance the utility of SNNs in dynamic IoT environments by using the cloud as a high-precision "safety net." While the current framework excels at handling class-incremental drift, future work will explore more complex concept drifts and hardware-specific optimizations for various neuromorphic platforms to further reduce communication dependency.
Summary updated