Abstract
Deep learning-based object detectors often struggle to meet the real-time requirements of embedded systems due to high computational costs. This paper introduces "category-aware" domain-specific approximation (DSA), a technique that dynamically adjusts image resolution and region proposal counts based on the specific object types in a scene. By leveraging the fact that large objects like trains require less detail than small objects like motorcycles, the proposed approach achieves up to a 7.5x speedup in theoretical scenarios and significant improvements in practical runtimes.
Introduction
Modern object detection frameworks, such as Faster R-CNN and R-FCN, provide state-of-the-art accuracy but are computationally intensive. On embedded platforms like the NVIDIA Tegra X1, these models often fail to reach the 30 FPS threshold required for real-time applications like autonomous driving or drone navigation. A primary source of inefficiency is the "one-size-fits-all" approach, where every frame is processed at maximum resolution and with a fixed number of region proposals, regardless of the content.
Methodology
The researchers propose two primary "knobs" for approximation: image scaling (downsampling the input height) and proposal scaling (reducing the number of candidate regions). They explore two implementation strategies:
- Static DSA: Assigns a fixed configuration per object category.
- Dynamic DSA: Adjusts configurations per frame based on object size and detectability.
To implement this dynamically, the authors developed AutoFocus, a runtime that uses temporal consistency and a lightweight polynomial regressor to predict optimal settings for the next frame based on previous detections.
Key Insights: Variance and Architecture
The study reveals significant variance in how different object categories respond to approximation. Large, distinct objects like trains are highly resilient to downsampling, whereas smaller, complex objects like motorcycles are much more sensitive. Furthermore, the sensitivity is architecture-dependent.
As shown in the heatmaps above, Faster R-CNN is particularly sensitive to the number of region proposals due to its fully-connected layers, while R-FCN's fully-convolutional design makes it more sensitive to image scaling. Identifying the "Safe Approximation Zone"—the region where computation can be reduced without significant accuracy loss—is critical for efficient deployment.
Results and Discussion
In an "Oracle" analysis (assuming perfect prediction of optimal settings), category-aware dynamic DSA achieved a 7.5x speedup for Faster R-CNN and a 7x speedup for R-FCN with zero accuracy loss. In a real-world implementation using the AutoFocus runtime:
- Faster R-CNN saw a 51% speed improvement.
- R-FCN achieved a 211% speed improvement.
While the live runtime experienced some accuracy degradation (22-41%) due to the difficulty of modeling intra-category dynamism perfectly, the overhead of the AutoFocus decision-maker remained negligible at 0.6% (3.2 ms).
Conclusion
Category-aware approximation offers a promising path toward real-time object detection on embedded hardware. Future work will focus on refining dynamism modeling to close the accuracy gap and exploring energy efficiency gains for battery-constrained mobile robotics.
Summary updated