Abstract
In the context of autonomous driving, the delay between image capture and detector output creates a critical "latency gap." Traditional object detectors, even those operating at high frame rates, often fail in streaming scenarios because the world continues to move while the system processes data. StreamYOLO addresses this by shifting the paradigm from static detection to predictive perception. By incorporating a Dual Flow Perception (DFP) module and a Trend Aware Loss (TAL) into the YOLOX framework, StreamYOLO learns to forecast future object states. This approach achieves state-of-the-art performance on the Argoverse-HD benchmark, maintaining real-time speeds of 18-20ms per frame while significantly improving detection accuracy for moving objects.
Introduction
Standard object detection evaluation typically assumes an "offline" setting where the model processes static images or video frames without time constraints. However, real-world applications like autonomous driving operate on a continuous stream. By the time a high-performance detector finishes processing frame $t$, the vehicle and surrounding objects have already moved, rendering the detection results slightly obsolete. This spatial offset—the latency gap—can lead to catastrophic failures, especially at high speeds.
While previous attempts to solve this involved complex asynchronous tracking or computationally heavy meta-detectors, StreamYOLO proposes a simpler, more effective solution: making the detector itself predictive. Instead of merely identifying where an object was at time $t$, StreamYOLO predicts where it will be at time $t+1$.
Methodology
StreamYOLO builds upon the YOLOX architecture, introducing several key innovations to enable temporal awareness without sacrificing the efficiency of a single-stage detector.
Dual Flow Perception (DFP)
To understand motion, a model needs temporal context. StreamYOLO achieves this through the DFP module, which processes the current frame ($F_t$) alongside features from the previous frame ($F_{t-1}$) stored in a buffer.
- Dynamic Flow: By concatenating current and buffered features, the model learns to extract motion trends, including velocity and direction.
- Static Flow: A residual connection from the current frame preserves spatial details and classification features, ensuring that the model does not lose its ability to recognize objects while trying to predict their movement.
Trend Aware Loss (TAL)
Predicting the future position of a fast-moving object is inherently more difficult than predicting a stationary one. To address this, the authors introduced Trend Aware Loss. TAL adaptively weights the loss function based on object velocity, forcing the model to prioritize and more accurately learn the trajectories of high-speed entities that are most susceptible to the latency gap.
Efficient Feature Buffering and Training
To maintain real-time performance, StreamYOLO avoids running the backbone twice. It caches the features of the previous frame, meaning the temporal fusion adds negligible computational overhead. Furthermore, the model is trained using Mix-Velocity Training, where triplets of frames are sampled at varying intervals. This simulates different driving speeds and ensures the model remains robust whether the vehicle is in stop-and-go traffic or on a highway.
Evaluation and Results
Metrics and Datasets
The model was primarily evaluated on Argoverse-HD, a dataset specifically designed for high-frame-rate streaming perception in urban environments. In addition to standard metrics, the authors introduced VsAP (Velocity-aware streaming AP) to measure how performance scales across different simulated vehicle velocities.
Performance Highlights
- State-of-the-Art Accuracy: StreamYOLO achieved 36.9 sAP (streaming AP) on Argoverse-HD, surpassing previous winners of the Streaming Perception Challenge.
- Efficiency: The model maintains a latency of approximately 18-20ms on a Tesla V100 GPU, fulfilling the requirements for real-time deployment.
- Predictive Superiority: Compared to a standard YOLOX-L baseline, StreamYOLO improved sAP by 4.7% and VsAP by 8.2%. Qualitative analysis confirms that while baseline boxes often "lag" behind moving vehicles, StreamYOLO's predictions remain tightly aligned with the actual future positions.
Conclusion
StreamYOLO demonstrates that for streaming perception, prediction is more valuable than raw inference speed alone. By endowing a standard detector with a sense of time through feature buffering and trend-aware optimization, the framework effectively closes the latency gap. Its end-to-end, single-stage design offers a practical and robust solution for the next generation of autonomous perception systems, proving that real-time detection can finally be truly "real-time."
Summary updated