Towards Streaming Perception

Mengtian Li, Yu-Xiong Wang, Deva Ramanan

Presented at ECCV 2020, this research challenges a fundamental assumption in computer vision: the validity of evaluating real-time perception using offline metrics. The authors argue that because the physical world continues to evolve while an algorithm processes data, standard accuracy metrics provide a misleading picture for embodied agents like autonomous vehicles.

The Temporal Mismatch Problem

In traditional computer vision, models are evaluated on static datasets. A model receives a frame, processes it, and the output is compared to the ground truth of that specific frame. However, for a self-driving car, time is a critical factor. If a detection algorithm requires 200ms to process a frame, the vehicle has traveled several meters and surrounding objects have shifted by the time the result is produced.

Temporal mismatch: While the system computes a result for the car at position A, the car has already moved to position B.

This "temporal mismatch" means that most "real-time" benchmarks, which focus primarily on throughput (frames per second), ignore the physical displacement caused by latency. The authors propose that latency and accuracy must be treated as a single, unified value.

Methodology: A New Evaluation Framework

The core contribution of this work is a new evaluation protocol and a suite of "streaming-aware" solutions:

  • Streaming Accuracy Metric: Rather than aligning predictions with the frames they were derived from, this metric queries the system's output buffer at every time instant. It compares the most recent available prediction to the current ground truth state of the world.
  • Meta-Benchmark: A framework designed to convert any image understanding task (such as detection or segmentation) into a streaming task by simulating a continuous data stream.
  • Shrinking-Tail Scheduling: A decision-theoretic policy addressing the paradox that it is sometimes better for a GPU to remain idle and wait for a "fresher" frame than to process a "stale" one that will be outdated upon completion.
  • Asynchronous Forecasting: The integration of Kalman filters to forecast object positions into the future, effectively compensating for the time lost during computation.

To support this framework, the authors introduced Argoverse-HD (High-frame-rate Detection), providing temporally dense 2D bounding box annotations at 30 FPS for urban driving scenes.

Key Results and the "Performance Cliff"

The quantitative results highlight a significant gap in current methodologies. A state-of-the-art detector like Hybrid Task Cascade (HTC), which achieves a high 38.0 AP (Average Precision) in offline settings, plummets to just 6.2 AP when evaluated in a streaming context due to its high latency.

The standard Pareto curve of Offline AP vs. Runtime. While slower models like HTC achieve higher offline accuracy, their latency makes them ineffective in streaming scenarios.

By employing an optimized Mask R-CNN combined with the proposed scheduling and forecasting modules, the researchers boosted streaming performance from 6.2 AP to 17.8 AP. Notably, even with simulated "infinite" GPU resources, performance only reached 20.3 AP, suggesting that streaming perception is primarily an algorithmic challenge rather than a hardware limitation.

Conclusion

While the proposed methods significantly improve streaming accuracy, a massive gap remains between real-time and offline performance. This work suggests that future research should focus on attentional processing to save computation time, end-to-end learning for streaming optimization, and integrating the latency of downstream planning and actuation modules into the perception benchmark.

Summary updated

BibTeX
@inproceedings{li2020towards,
  author = {Mengtian Li and Yu-Xiong Wang and Deva Ramanan},
  title = {{Towards Streaming Perception}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58536-5\_28},
}
Figure