ROMA: Run-Time Object Detection To Maximize Real-Time Accuracy

JunKyu Lee, Blesson Varghese, Hans Vandierendonck · DOI

Introduction

In the field of computer vision, "real-time" performance is a critical yet elusive target. For applications like autonomous driving or drone navigation, the utility of an object detection model is not merely its laboratory accuracy, but its ability to maintain that accuracy while keeping pace with a live video stream. When a model's inference latency exceeds the frame rate of the input, the system is forced to drop frames. This leads to a "staleness" problem where detections from previous frames no longer align with the current state of a moving world.

ROMA (Run-Time Object detection Accuracy variation model) addresses this by acting as a dynamic "conductor." It switches between different detection models in real-time, optimizing for the highest possible accuracy based on the current visual context and available computational resources.

The Real-Time Accuracy Challenge

Traditional object detection evaluation focuses on "offline accuracy"—the performance on static, individual images. However, in real-time scenarios, accuracy is intrinsically linked to time. High-latency models, while potentially more accurate per frame, can cause significant frame drops. During these gaps, systems often rely on outdated bounding boxes, which become increasingly inaccurate as objects move.

The impact of object speed and computational workload on real-time detection accuracy.

As illustrated in the figure above, the "best" model is context-dependent. A heavy, precise model might excel with slow-moving subjects, but a lightweight, faster model often yields higher overall accuracy for fast-moving objects by minimizing the latency penalty.

The ROMA Framework

ROMA introduces a run-time system that dynamically selects the optimal detector from a pre-defined pool (e.g., various YOLOv4 configurations) without requiring ground-truth labels during deployment. Its architecture rests on three pillars:

  1. Relative Average Precision (RAP): ROMA estimates the potential performance of every model in its pool for the current frame. It selects the one predicted to offer the best balance of precision and speed.
  2. Label-Free Estimation via Prior Histograms: To predict the performance of un-run models, ROMA utilizes a "Prior Histogram Matrix." By analyzing the detections of the currently active model (object sizes and locations), it uses statistical history to infer what other models would likely detect in the same scene.
  3. Modeling the Staleness Factor: ROMA explicitly accounts for accuracy loss due to frame drops. By calculating the Intersection over Union (IoU) between processed frames, it estimates object velocity. If high velocity is detected (low IoU), ROMA prioritizes lower-latency models to reduce the "staleness" of detections.

Experimental Evaluation

The researchers evaluated ROMA on an NVIDIA Jetson Nano, a popular edge computing platform, using standard benchmarks such as MOT17Det and MOT20Det. The system also utilized datasets like MOT15 and ETH-Bahnhof to build its internal statistical models and test across diverse conditions, including static and moving camera perspectives.

Key Results

  • Accuracy Improvements: ROMA achieved a 4% to 37% improvement in real-time accuracy compared to using any single static model.
  • Resource Adaptability: Unlike static approaches, ROMA is sensitive to background computational load. If other system tasks consume GPU resources, ROMA detects the resulting latency spike and automatically switches to a faster model to maintain performance.
  • Minimal Overhead: The decision-making logic is highly efficient, adding only 6ms to 12ms of overhead per frame, which is negligible compared to the accuracy gains achieved.

Conclusion

ROMA demonstrates that real-time accuracy is a dynamic trade-off between a model's inherent precision and its operational latency. By formalizing this relationship and providing a label-free method for run-time model switching, ROMA enables edge devices to maintain high-fidelity tracking even under fluctuating environmental and hardware conditions. Future work may extend this framework to include diverse architectures like Vision Transformers and optimize for energy efficiency in battery-constrained mobile robotics.

Summary updated

BibTeX
@inproceedings{lee2023roma,
  author = {JunKyu Lee and Blesson Varghese and Hans Vandierendonck},
  title = {{ROMA: Run-Time Object Detection To Maximize Real-Time Accuracy}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00634},
}
Figure