MCDS-VSS: Moving Camera Dynamic Scene Video Semantic Segmentation by Filtering with Self-Supervised Geometry and Motion

Angel Villar-Corrales, Moritz Austermann, Sven Behnke

Introduction

Video Semantic Segmentation (VSS) is a critical task for autonomous systems, requiring the assignment of semantic labels to every pixel across a temporal sequence. While image-based segmentation models have achieved high per-frame accuracy, their application to video often suffers from temporal inconsistency, commonly referred to as "flickering." This phenomenon occurs when a model's predictions for the same physical object fluctuate between frames due to noise or subtle changes in perspective.

Existing VSS approaches typically employ unstructured recurrent neural networks (e.g., ConvGRUs) or Transformers to capture temporal correlations. However, these "black box" methods often fail to account for the underlying physical reality of the scene: in a moving vehicle, pixel shifts are governed by camera ego-motion and the independent movement of dynamic objects. Without these geometric inductive biases, models struggle to maintain a stable internal representation of the environment over time.

Methodology: The MCDS-VSS Framework

The authors propose MCDS-VSS, a structured recurrent filter designed to decompose frame-to-frame changes into interpretable geometric and motion components. The framework follows a prediction-fusion pipeline that explicitly models the scene's 3D structure.

MCDS-VSS Architecture: The model uses Ego-Motion and Object Motion Compensation to warp features before fusing them with current frame observations.

1. Ego-Motion Compensation

To handle the static background, the model estimates the scene's depth and the camera's 6-DOF movement (rotation and translation). Using these estimates, it performs an "Ego Warp" to align features from the previous time step ($t-1$) with the current frame ($t$). This process accounts for how the static world shifts as the observer moves.

2. Object Motion Compensation

Since ego-motion only explains the movement of static elements, a separate module calculates "residual flow" to account for dynamic objects such as pedestrians or other vehicles. This component is trained via knowledge distillation from a high-performance optical flow teacher model (RAFT), allowing the system to learn complex motion patterns without requiring ground-truth flow during inference.

3. Feature Fusion

The final stage involves a learned spatial "update gate." This mask determines, on a per-pixel basis, whether to rely on the warped historical features or the fresh observations from the current frame's encoder. This mechanism allows the model to effectively integrate temporal memory while remaining responsive to new visual information.

Self-Supervised Learning Strategy

A key innovation of MCDS-VSS is its reliance on self-supervised learning (SSL) for geometry estimation. By attempting to reconstruct the current frame from the previous one using the estimated depth and camera pose, the model learns the 3D structure of the world from raw video data. This eliminates the need for expensive LiDAR or GPS ground truth, making the approach highly scalable.

Experimental Results

The researchers evaluated MCDS-VSS on the Cityscapes dataset, a benchmark for urban driving, and tested generalization on KITTI. Performance was measured using Mean Intersection over Union (mIoU) for accuracy and Temporal Consistency (TC) to quantify flickering reduction.

Quantitative Results on Cityscapes: MCDS-VSS achieves state-of-the-art temporal consistency (TC) while maintaining competitive mIoU accuracy.

Key Findings:

  • Superior Consistency: MCDS-VSS achieved the highest temporal consistency among compared methods. With an HRNetV2 backbone, it reached 75.3% TC, outperforming specialized models like TCNet (74.7%) and STT (72.0%).
  • Accuracy Preservation: Unlike many temporal smoothing techniques that degrade spatial detail, MCDS-VSS maintained competitive accuracy, achieving 77.1% mIoU with the HRNetV2 backbone.
  • Qualitative Stability: Visual analysis confirms that the model is significantly better at maintaining stable labels for thin structures (e.g., poles) and large moving objects (e.g., buses) compared to baseline methods.

Conclusion and Future Work

MCDS-VSS demonstrates that incorporating physical priors—specifically ego-motion and object motion—into a recurrent filtering framework significantly enhances the stability of video semantic segmentation. While the model provides state-of-the-art consistency, its current inference speed (5.6 to 9.0 FPS) remains a bottleneck for real-time deployment. Future research will focus on optimizing the flow modules and encoders to achieve the 30+ FPS required for real-world autonomous driving applications.

Summary updated

Abstract

Autonomous systems, such as self-driving cars, rely on reliable semantic environment perception for decision making. Despite great advances in video semantic segmentation, existing approaches ignore important inductive biases and lack structured and interpretable internal representations. In this work, we propose MCDS-VSS, a structured filter model that learns in a self-supervised manner to estimate scene geometry and ego-motion of the camera, while also estimating the motion of external objects. Our model leverages these representations to improve the temporal consistency of semantic segmentation without sacrificing segmentation accuracy. MCDS-VSS follows a prediction-fusion approach in which scene geometry and camera motion are first used to compensate for ego-motion, then residual flow is used to compensate motion of dynamic objects, and finally the predicted scene features are fused with the current features to obtain a temporally consistent scene segmentation. Our model parses automotive scenes into multiple decoupled interpretable representations such as scene geometry, ego-motion, and object motion. Quantitative evaluation shows that MCDS-VSS achieves superior temporal consistency on video sequences while retaining competitive segmentation performance.
BibTeX
@inproceedings{villarcorrales2024mcds,
  author = {Angel Villar-Corrales and Moritz Austermann and Sven Behnke},
  title = {{MCDS-VSS: Moving Camera Dynamic Scene Video Semantic Segmentation by Filtering with Self-Supervised Geometry and Motion}},
  booktitle = {BMVC},
  year = {2024},
}
Figure