Real-time Stereo-based 3D Object Detection for Streaming Perception

Changcai Li, Zonghua Gu, Gang Chen, Libo Huang, Wei Zhang, Huihui Zhou

Abstract

In autonomous driving, the delay between image capture and detection output can lead to dangerous misalignments between a vehicle's perception and reality. This paper introduces StreamDSGN, the first real-time stereo-based 3D object detection framework designed specifically for "streaming perception." By predicting the 3D properties of objects in the next moment rather than the current one, StreamDSGN effectively eliminates the performance degradation typically caused by computational latency.

The Challenge of Latency in Perception

Traditional 3D object detection models are evaluated using "offline" metrics that ignore processing time. However, in a real-world driving environment, the world continues to move while the computer is "thinking." By the time a high-accuracy detector finishes processing a frame from time $t$, the vehicle has moved, and surrounding objects have reached time $t + \Delta t$. This creates a critical misalignment.

Streaming perception addresses this by jointly evaluating latency and accuracy. While stereo-based methods are more cost-effective than LiDAR, they are compute-intensive, often exceeding 200ms in latency. StreamDSGN tackles three specific challenges in this domain:

  1. Feature Misalignment: Current features do not match future ground truths.
  2. Implicit Supervision: Models struggle to learn motion patterns without explicit guidance.
  3. Context Gaps: Low frame rates in 3D datasets mean objects move large spatial distances between frames, requiring a wider receptive field than standard models provide.

Methodology

StreamDSGN is built on the DSGN++ architecture but introduces three novel strategies to enable real-time future prediction:

Feature-Flow Fusion (FFF)

Instead of simply stacking sequential images, FFF calculates the "flow" of features between the current and previous frames using similarity matching. It then "warps" the current features into the predicted coordinates of the next frame, creating a pseudo-next feature that aligns with the future state of the world.

Motion Consistency Loss (MCL)

To help the model understand physical movement, the authors introduced an extra regression loss. This explicitly supervises the model on object velocity and acceleration, ensuring that predicted trajectories are physically consistent with historical movement data.

Large Kernel BEV Backbone (LKBB)

Because objects can move significantly between frames (especially at 10Hz), the model needs to observe a larger area of the Bird’s-Eye View (BEV) map. StreamDSGN replaces standard small-kernel convolutions with a large-kernel backbone—based on the Visual Attention Network—to capture long-range spatial dependencies.

Experimental Setup

The authors evaluated their model on the KITTI Tracking dataset. Unlike many 3D datasets (such as nuScenes) that provide data at 5Hz, KITTI Tracking provides stereo images at 10Hz, which is more suitable for simulating real-time perception tasks. The researchers partitioned 20 scenes into even-numbered sequences for training (4,291 frames) and odd-numbered sequences for testing (3,672 frames).

Key Results and Insights

  • Predicting the Future is Essential: The study demonstrates that even a slightly slower model that predicts the next frame (at $t+1$) outperforms a very fast model that only detects the current frame (at $t$). The "future" prediction is what the vehicle actually requires for safe decision-making.
  • Accuracy Boost: Compared to a strong baseline, StreamDSGN improved streaming Average Precision (sAP) by up to 4.33% on the "Hard" category of the KITTI dataset.
  • Efficiency: The model achieves a latency of 91.45ms on an NVIDIA TITAN RTX. While this is a slight increase over their optimized baseline (80.71ms), it remains well under the 100ms threshold required to keep pace with a 10Hz camera feed.
  • Superiority over SOTA: It outperformed other streaming-specific frameworks, such as StreamYOLO (adapted for 3D), by approximately 5% across various metrics.

Conclusion and Future Work

StreamDSGN proves that integrating forecasting directly into the neural network's feature fusion layer is significantly more effective than using external "meta-detectors" like Kalman filters.

However, limitations remain. The Feature-Flow Fusion (FFF) relies on similarity matching, which can fail during occlusions, leading to noisy pseudo-features. Additionally, while this method is validated for stereo-camera setups, most modern autonomous stacks use multi-view systems. Future work will explore how these temporal fusion techniques scale to multi-view BEV representations and more complex dynamic foreground objects.

Summary updated

BibTeX
@inproceedings{li2024real,
  author = {Changcai Li and Zonghua Gu and Gang Chen and Libo Huang and Wei Zhang and Huihui Zhou},
  title = {{Real-time Stereo-based 3D Object Detection for Streaming Perception}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=IpHB5RC3za},
}
Figure