Abstract
Deploying state-of-the-art Deep Neural Networks (DNNs) for object detection on power-constrained IoT devices remains a significant challenge due to high computational demands and energy consumption. This paper presents a hierarchical "student-oracle" framework that offloads intensive training tasks to local edge servers. By utilizing a shallow "student" model that incrementally learns from a powerful "oracle" model during environmental shifts, the system achieves a 78% reduction in energy consumption and a 40% improvement in inference speed compared to full deep model execution, with minimal impact on detection accuracy.
Introduction
While DNNs have revolutionized computer vision, their "heavyweight" nature makes direct deployment on mobile or IoT devices (the "edge") impractical, leading to rapid battery depletion and high latency. Traditional cloud-based offloading introduces bandwidth bottlenecks and privacy risks.
This research argues that edge cameras often operate in specific, relatively stable environments (e.g., a fixed surveillance point or a delivery robot's path). Instead of a general-purpose, all-knowing model, these devices benefit from a small, specialized model. The proposed framework enables a lightweight model to adapt dynamically to its surroundings by selectively extracting knowledge from a more complex remote oracle.
System Architecture and Methods
The system employs a two-level hierarchy consisting of a Student (SHNN) and an Oracle (DNN). The student, based on Tiny-YOLO v3, runs locally on a device like an NVIDIA Jetson Nano to provide real-time detection. The oracle, a full YOLO v3 model, resides on a powerful edge workstation.
Incremental Knowledge Transfer
The core of the framework is its selective update mechanism:
- Key Frame Selection: To avoid redundant training, the system uses Kalman filtering to identify scene changes. A binomial selector determines which frames are sent to the Oracle for knowledge extraction.
- Decoder-only Updates: When adaptation is required, the Oracle calculates and transmits new weights only for the student's decoder layers. This minimizes data transfer and update latency.
- Precision Optimization: The use of 16-bit half-precision weights further reduces communication overhead without compromising performance.
Experimental Evaluation
The framework was evaluated using the Microsoft COCO dataset for pre-training, followed by testing in two real-world scenarios: a fixed camera (UCF dataset) and a moving camera (dashcam footage).
A critical finding was that "Local Training"—attempting to retrain the student model directly on the IoT device—is inefficient. The computational overhead creates thread interference that slows down inference and consumes excessive power. In contrast, "Network Training" (NT) on a local edge server via LAN or Wi-Fi proved to be the optimal strategy.
Key Results
The experiments demonstrated that the Network Training (LAN) approach provides the best balance of efficiency and accuracy. As shown in the table below, the proposed method significantly outperforms both standalone shallow models and full deep models in overall utility.
- Energy Efficiency: NT via LAN reduced energy consumption by 78% compared to the Deep Model.
- Inference Speed: The system achieved a 40% speedup in inference time (0.038s vs 0.063s).
- Accuracy Recovery: While a basic shallow model achieved an F1 score of only 0.489, the incremental transfer mechanism boosted the student's F1 score to 0.745, nearing deep model performance in specialized contexts.
Conclusion
By exploiting temporal locality and offloading specialized training to the edge, the student-oracle framework enables high-performance object detection on low-power devices. Future work will focus on optimizing loss functions for CPU execution and developing dynamic policies to handle stochastic network behaviors in Wi-Fi environments.
Summary updated