Abstract
Depth-aware Video Panoptic Segmentation (DVPS) is a challenging vision problem that aims to predict panoptic segmentation and depth in a video simultaneously. Previous work solves this task by extending existing panoptic segmentation methods with extra dense depth prediction and instance tracking heads. However, the relationship between depth and panoptic segmentation is not well explored—simply combining existing methods leads to competition and requires careful weight balancing. In this paper, we present PolyphonicFormer, a vision transformer designed to unify these sub-tasks under the DVPS task for more robust results. Our principal insight is that depth can be harmonized with panoptic segmentation through a new paradigm of predicting instance-level depth maps with object queries. Experiments demonstrate the benefits of our design in both depth estimation and panoptic segmentation. Since each thing query encodes instance-wise information, tracking is performed directly via appearance learning. Our method achieves state-of-the-art results on Semantic KITTI and Cityscapes datasets, ranking 1st on the ICCV-2021 BMTT Challenge video + depth track.
Introduction: The Challenge of Scene Understanding
To truly understand a scene, an autonomous agent needs to know three things: what is in front of it (segmentation), where those things are in 3D space (depth), and how they move over time (tracking). This combined task is known as Depth-aware Video Panoptic Segmentation (DVPS).
Historically, researchers tackled these sub-tasks using separate "heads" attached to a shared backbone. However, this creates a "resource battle": features optimized for sharp semantic boundaries might not be ideal for smooth depth gradients. Furthermore, these models are notoriously brittle, requiring extensive fine-tuning of loss weights to prevent one task from overpowering the others. PolyphonicFormer moves away from this "separate-but-equal" approach toward a truly unified architecture where tasks collaborate.
Methods: A Unified Query-Based Framework
PolyphonicFormer is a vision transformer that leverages the query-based paradigm popularized by models like DETR. Key technical innovations include:
- Unified Query Learning: Instead of predicting one massive, dense depth map for the whole image, the model uses "queries" (learnable vectors representing specific objects or regions) to predict instance-level depth maps.
- Query Linking: The model explicitly links panoptic queries (handling semantics) with depth queries. This allows the model to use semantic context—like the predictable 3D shape of a car—to improve depth estimation.
- Iterative Refinement: Features are processed through multiple stages. In each stage, the model performs Mask Grouping (pooling features using current masks), Query Update (refining queries), and Query Reasoning (predicting the next set of masks and depth).
- Appearance-based Tracking: Since each "thing" query already tracks an instance's identity, a lightweight head learns appearance embeddings, allowing for consistent tracking across video frames without complex post-processing.
Datasets and Evaluation
The model was evaluated on the primary benchmarks for this field:
- Cityscapes-DVPS: High-resolution urban driving sequences with dense depth and panoptic annotations.
- SemKITTI-DVPS: Based on the KITTI dataset, featuring sparse LiDAR-based depth ground truth.
- Cityscapes-VPS: Used to test video panoptic segmentation performance in isolation.
- Mapillary Vistas: Used for large-scale pre-training of the panoptic segmentation components.
Key Insights
- Geometry Follows Semantics: Depth changes most sharply at object boundaries. By using shared queries, the model naturally aligns depth discontinuities with semantic edges.
- Simplicity in Instances: Predicting the depth of a single car is a simpler geometric problem than predicting the depth of an entire city street. Breaking the global problem into instance-level sub-problems increases robustness.
- Harmonious Learning: PolyphonicFormer is remarkably insensitive to loss weights. Whether the depth loss is weighted at 0.1 or 10, performance remains stable, suggesting the tasks are mutually reinforcing rather than competing for backbone resources.
Experimental Results
PolyphonicFormer achieved championship performance, ranking 1st on the ICCV-2021 BMTT Challenge (Video + Depth track). On the SemKITTI-DVPS test set, it achieved 64.6 DSTQ, outperforming the previous state-of-the-art, ViP-DeepLab.
Notably, the model is significantly more efficient; on Cityscapes, it requires approximately 1,675 GFLOPs compared to the 9,451 GFLOPs of ViP-DeepLab—a nearly 6x improvement. Qualitative results show cleaner depth boundaries for small, distant objects compared to traditional dense estimation methods.
Conclusion and Future Work
While PolyphonicFormer sets a new state-of-the-art, challenges remain. The tracking head relies primarily on appearance, which can lead to identity switches during extreme occlusion. Future work may involve incorporating 3D geometric information directly into the tracking process. Despite these limitations, the unified query learning paradigm represents a significant step toward robust and efficient scene understanding for autonomous systems.
Summary updated