Introduction
Deep learning models are increasingly deployed on resource-constrained edge devices like IoT sensors and mobile phones. However, state-of-the-art architectures often exceed the memory and computational capacity of a single edge node. While model compression techniques like pruning and quantization are common, they may not suffice for real-time performance on low-power hardware. Furthermore, offloading computation to the cloud introduces latency and privacy risks.
This paper proposes a "divide and conquer" approach to distributed inference. By partitioning large "Teacher" models into smaller "Student" models and deploying them across a network of inexpensive edge devices, the researchers achieve significant reductions in memory footprint and energy consumption with minimal accuracy loss.
The NoNN Framework
The core of this approach is the Network-of-Neural Networks (NoNN) framework, which utilizes a two-stage process to distribute intelligence across the edge:
- Teacher Partitioning via Community Detection: Rather than arbitrary splitting, the framework analyzes the activation patterns of filters in the last convolutional layer of a pre-trained Teacher model (such as VGG or Wide ResNet). Filters are treated as nodes in a graph, connected based on their co-activation frequency. Community detection algorithms then identify functional clusters of filters, effectively finding "social circles" of operations that work together.
- Knowledge Distillation (KD): The Teacher's knowledge is partitioned into $N$ disjoint sets. Multiple smaller Student models are then trained, each tasked with mimicking a specific partition of the Teacher.
Experimental Setup
The prototype was evaluated using the CIFAR10 dataset, a standard benchmark for image classification. The student models were specifically designed to fit within the strict resource constraints (500KB memory and 2W power envelopes) of common edge hardware, such as the ARM Cortex-A53 processor found in the Raspberry Pi 3B+. In the final deployment, a host device distributes the input image to all student nodes, aggregates their outputs, and performs a final prediction via a Fully Connected (FC) layer.
Key Results
The researchers compared the performance of a single large Teacher model against a distributed NoNN setup using two students ($K=2$). The results demonstrated that the Wide ResNet (WRN) architecture was particularly well-suited for this type of partitioning.
As shown in the table above, the WRN implementation achieved:
- Memory Footprint: Reduced by 49.89x (from 8.9M to 0.18M parameters).
- Latency: Improved by 12.44x (from 1878ms down to 150ms).
- Energy Consumption: Reduced by 14.36x.
- Accuracy: Only a marginal decrease of 0.86% (from 96.78% to 95.92%).
Results for VGG-19 also showed improvements, including a 2.04x improvement in latency and a 1.2x reduction in energy consumption, though the gains were less dramatic than those seen with WRN.
Conclusion and Future Work
The NoNN framework demonstrates that neural network filters form functional communities that can be exploited for parallelization. By identifying these communities, models can be "unzipped" into parallel paths that require minimal inter-device communication.
Future research will focus on scaling this approach to higher-resolution datasets like ImageNet, where communication overhead for larger images may become a factor. Additionally, exploring the trade-offs of scaling beyond two student nodes and investigating different networking protocols (e.g., Ethernet vs. Wi-Fi) will be critical for real-world IoT deployments.
Summary updated