Abstract
Object detection is a cornerstone of computer vision, yet deploying state-of-the-art models like YOLOv2 on embedded devices remains challenging due to limited computational resources. We propose Fast YOLO, a framework designed to accelerate YOLOv2 for real-time video detection on embedded systems. By leveraging an evolutionary deep intelligence framework, we produced an optimized architecture (O-YOLOv2) with 2.8x fewer parameters and only a ~2% drop in IOU. Additionally, we introduced a motion-adaptive inference method that reduces deep inference frequency based on temporal motion characteristics. Our results demonstrate an average speedup of ~3.3x, enabling Fast YOLO to run at ~18 FPS on an Nvidia Jetson TX1.
The Challenge: Real-Time Detection on the Edge
Deep neural networks (DNNs) have set new benchmarks for object detection accuracy. However, models like YOLOv2 are computationally intensive, requiring significant memory and processing power. This makes them difficult to deploy on embedded platforms such as drones or mobile devices. The authors identify two primary hurdles:
- Model Complexity: Standard architectures contain tens of millions of parameters, leading to high memory usage.
- Temporal Redundancy: Video frames are often highly correlated. Processing every frame with a full DNN pass is inefficient when little has changed in the scene.
Methodology
1. Evolutionary Deep Intelligence
To address model size, the researchers employed an evolutionary framework to optimize the YOLOv2 architecture. This process treats the network's structure as a probabilistic "DNA," using stochastic synthesis to "breed" more efficient offspring. The resulting O-YOLOv2 architecture significantly reduces the number of synapses (parameters) while maintaining high detection performance.
2. Motion-Adaptive Inference
To exploit temporal redundancy, Fast YOLO incorporates a lightweight motion-adaptive mechanism. This module acts as a gatekeeper for the heavy O-YOLOv2 network.
As illustrated in Figure 1, the system compares the current frame ($I_t$) with a reference frame ($I_{ref}$). A $1 \times 1$ convolutional layer generates a motion probability map. If the detected motion is below a certain threshold, the system reuses the previous class probability map instead of running a full inference pass, drastically saving power and compute cycles.
Experimental Results
Architectural Optimization
The evolutionary approach successfully compressed the original YOLOv2. The parameter count was reduced from 48.2M to 17.1M (a 2.8x reduction). This optimization came with a negligible impact on accuracy, as the Intersection over Union (IOU) only decreased from 67.2% to 65.1% on the Pascal VOC 2007 dataset.
Real-Time Performance
The combined impact of O-YOLOv2 and motion-adaptive inference was evaluated on an Nvidia Jetson TX1 using a standard video tracking dataset.
As shown in Figure 2, the original YOLOv2 struggles at 5.40 FPS. The optimized O-YOLOv2 improves this to 11.80 FPS. However, the full Fast YOLO framework achieves 17.85 FPS by reducing the inference frequency to approximately 61.87%. This represents a total speedup of ~3.3x over the baseline.
Conclusion
Fast YOLO demonstrates that real-time object detection on embedded hardware is achievable through a combination of architectural evolution and temporal awareness. By skipping unnecessary computations in static video segments, the system achieves a balance between speed and accuracy suitable for practical edge applications. Future work may focus on refining motion detection to handle complex camera movements and further aggressive model pruning.
Summary updated