TL;DR
DVPSFormer is a unified, real-time online framework for depth-aware video panoptic segmentation (DVPS) tailored for autonomous driving. By treating the segmentation process as an explicit way to discretize a scene, it estimates metric depth in a single pass and uses an online majority voting mechanism to track objects robustly. This streamlined approach achieves state-of-the-art accuracy while running up to 18x faster than previous offline methods.
What Problem Does This Paper Address?
For self-driving cars to navigate safely, they must answer three questions simultaneously: What is in the scene (panoptic segmentation), where is it in 3D space (monocular metric depth estimation), and how is it moving (instance tracking)? Combining these tasks is known as Depth-aware Video Panoptic Segmentation (DVPS).
Existing DVPS solutions are plagued by high latency and convoluted pipelines. They often separate depth and segmentation into isolated modules—missing out on helpful mutual information—or rely on "offline" tracking, which requires looking at future video frames. This makes them completely impractical for real-time decision-making in autonomous vehicles. DVPSFormer bridges this gap by introducing a highly efficient, fully "online" architecture that tightly couples geometry and semantics.
Methods
DVPSFormer uses a single encoder-decoder architecture (built on Mask2Former) enhanced by three task-specific heads:
- Explicit Scene Discretization (ESD): Instead of calculating depth per-mask or using abstract "internal slots," the authors realize that panoptic segmentation queries already discretize the scene into meaningful foreground and background regions. DVPSFormer leverages these explicit queries through a cross-attention mechanism—termed a Discrete-to-Continuous (D2C) transformation—to decode a complete, continuous metric depth map in a single pass.
- Online Tracking & Majority Voting (OMV): Rather than using computationally heavy region-of-interest (RoI) feature extractors, a lightweight tracking head projects the unified transformer queries into instance embeddings. Tracking is performed online via bipartite matching. To fix temporary classification errors (e.g., a van briefly misclassified as a car), the OMV mechanism refines the current frame's classification based on a majority vote of the object's tracked history over the past five frames.
- Noisy Data Point Sampling: Driving datasets often feature sparse or noisy ground truth depth maps derived from projected LiDAR. The authors adjusted standard point-based mask loss algorithms to filter out these invalid pixels during training, making high-resolution training feasible on a single 24GB GPU.
Datasets
The model was trained and evaluated on two primary autonomous driving benchmarks:
- Cityscapes-DVPS: Contains 19 semantic classes (8 thing, 11 stuff) with depth maps computed via stereo matching. It features relatively clean annotations (~70% valid pixels).
- SemKITTI-DVPS: Based on SemanticKITTI, this dataset projects sparse 3D LiDAR point clouds onto the image plane. It is highly challenging due to sparse annotations (~40% valid pixels).
Key Insights and Ideas
- Segmentation is Geometry: The core "aha!" moment is that segmentation queries inherently contain the layout of the scene. Reusing them for depth estimation creates a tight coupling: depth supervision directly refines object segmentation boundaries, and vice versa.
- Tracking as a Semantic Corrector: Tracking isn't just a downstream application; it provides temporal context that can fix spatial errors. Class-agnostic tracking combined with OMV allows the model to use an object's past stability to override single-frame classification blinks.
- Simplification Breeds Speed: By eliminating multi-stage mask filtering for depth and heavy appearance feature extraction for tracking, the architecture cuts down computational overhead dramatically.
Key Results
DVPSFormer establishes a new state-of-the-art on both benchmarks while delivering remarkable speedups:
- Accuracy: Achieves an average Depth-aware Video Panoptic Quality (DVPQ) of 55.7 on Cityscapes-DVPS (outperforming the previous best open-source method, Uni-DVPS, by 3.9 points) and 46.3 on SemKITTI-DVPS.
- Efficiency: On an NVIDIA RTX 4090, it runs at 12.8 FPS on high-resolution Cityscapes images (1024×2048) and 46.9 FPS on SemKITTI.
- Inference Speedup: For long-sequence tracking (20 frames), DVPSFormer achieves an 18× speedup over previous state-of-the-art methods because it processes frames sequentially online, rather than re-evaluating overlapping multi-frame windows offline.
Limitations and Future Work
While the architecture itself is unified, the training pipeline remains somewhat multi-stage: the depth-aware panoptic segmentation model is trained first, and then frozen while the tracking head is optimized for similarity learning. Developing a fully end-to-end, single-stage training regime remains an open direction. Additionally, because OMV relies on a 5-frame history window, very short-lived tracks or highly abrupt environmental changes might not fully benefit from the voting mechanism.
Summary updated