TL;DR
MonoDepthSeg is a self-supervised framework that jointly estimates monocular depth and segments moving objects from video without requiring any ground-truth labels. By decomposing a scene into a fixed number of rigidly moving components using a shared encoder-decoder architecture, it significantly improves depth accuracy in dynamic environments while automatically discovering moving objects.
What Problem Does This Paper Address?
Standard self-supervised monocular depth estimation models rely heavily on a "static scene" assumption. They assume that any pixel changes between consecutive video frames are caused solely by the camera's own movement (ego-motion). When independently moving objects—such as driving cars, cyclists, or pedestrians—enter the frame, this assumption breaks down. The model gets confused, resulting in severe depth artifacts and holes around dynamic objects.
Existing solutions typically fix this by introducing heavy, separate optical flow networks or relying on pre-computed semantic/instance segmentation masks. However, these workarounds dramatically increase computational overhead and risk propagating segmentation errors directly into the 3D scene structure.
Methods
The authors introduce MonoDepthSeg, a unified framework that couples depth estimation and scene decomposition without any external supervision:
- Depth Network: Uses a standard U-Net architecture with a ResNet50 encoder to predict a per-pixel depth map from a single target image.
- Pose and Mask Network: Instead of computing a single ego-motion camera transformation, this network decomposes the scene into a predefined maximum number of components ($K$). Crucially, it uses a shared encoder that branches into two separate decoders: a mask decoder and a pose decoder.
- Decomposition & Warping: The pose decoder outputs $K$ distinct 3D rigid transformations ($SE(3)$), while the mask decoder outputs $K$ corresponding probability masks. To reconstruct the scene across frames, a 3D point is transformed as a convex combination of these $K$ transformations, weighted by the mask probabilities.
- Depth Ordering Regularization: To handle occlusions cleanly, the authors introduce a layered depth-ordering constraint. This forces the network to sort masks sequentially (from foreground to background), ensuring that foreground objects are properly accounted for before the background.
Datasets
The model was trained and evaluated on three major autonomous driving datasets:
- KITTI: Evaluated on the standard Eigen split using both the original sparse ground-truth and the improved, denser ground-truth depth maps.
- Cityscapes: Used to test the model's capability in complex urban environments dense with independently moving traffic.
- DDAD (Dense Depth for Autonomous Driving): A challenging dataset featuring precise, long-range depth structure up to 250 meters.
Key Insights and Ideas
- The Synergy of a Shared Encoder: Tightly coupling the pose and mask decoders through a single shared encoder does more than just save parameters. Interleaving the structural and motion representations actually improves performance, as the network learns a stronger internal representation of how object shapes correlate to specific rigid movements.
- Global vs. Local Regularization: Enforcing a depth ordering constraint on the masks acts as a powerful global regularizer. While standard mask smoothing only forces adjacent pixels to look similar, depth ordering clusters pixels at similar depth levels onto the same mask channel, drastically reducing mask noise.
- Emergent Semantics from Pure Geometry: Without a single semantic label or pre-computed instance mask during training, the model naturally learns to isolate moving cars, bikes, and pedestrians into their own distinct motion masks purely by optimizing for geometric consistency across video frames.
Key Results
- Superior Dynamic Accuracy: MonoDepthSeg significantly outperforms the baseline Monodepth2 in moving foreground regions. On KITTI, it reduces the absolute relative error (Abs Rel) in moving regions from 0.143 to 0.138, and on Cityscapes from 0.158 to 0.143.
- State-of-the-Art on DDAD: Even without being initialized by a pre-trained segmentation network, MonoDepthSeg achieves state-of-the-art results on the DDAD dataset, outperforming both Monodepth2 and PackNet across all metrics, including specific improvements in car and person classes.
- High Efficiency: By eliminating the need for an independent instance segmentation pass, MonoDepthSeg processes images at 9.057 samples per second—more than twice as fast as comparable mask-conditioned methods (which clock in at 4.124 samples per second).
Limitations and Future Work
- Fixed Component Count ($K$): The maximum number of components is a fixed hyperparameter (optimized at $K=5$ for these datasets). In reality, scene complexity varies wildly; a low $K$ fails to isolate multiple moving objects, while a high $K$ can cause a single object to be unnecessarily fractured into multiple pieces.
- Rigid Motion Constraint: The framework assumes all moving components undergo rigid body transformations. While highly accurate for vehicles, this is only an approximation for deformable entities like walking pedestrians.
- Future Directions: The authors plan to extend this formulation to dynamically adapt the number of components ($K$) on the fly based on real-time scene complexity.
Summary updated