SynDistNet: Self-Supervised Monocular Fisheye Camera Distance Estimation Synergized with Semantic Segmentation for Autonomous Driving

Varun Ravi Kumar, Marvin Klingner, Senthil Kumar Yogamani, Stefan Milz, Tim Fingscheidt, Patrick Maeder

TL;DR

SynDistNet introduces a powerful multi-task learning framework that elegantly combines self-supervised monocular distance estimation with supervised semantic segmentation. By leveraging self-attention, pixel-adaptive convolutions, and an adaptive robust loss function, it overcomes the traditional scale-ambiguity and distortion challenges inherent to wide-angle fisheye cameras. The result is a state-of-the-art system that slashes distance estimation errors by 25% while simultaneously boosting segmentation accuracy.

What Problem Does This Paper Address?

Self-supervised monocular depth estimation is a holy grail for autonomous driving perception: it allows networks to learn 3D scene geometry from simple video sequences, completely bypassing the need for expensive and sparse LiDAR ground truth. However, translating this success from standard pinhole cameras to the wide-angle fisheye lenses ubiquitous in surround-view automotive systems introduces severe complications.

Fisheye lenses create non-linear distortions that break standard projection models. Furthermore, self-supervised methods rely heavily on a "static world" assumption to project images across consecutive video frames. When dynamic objects—like a car driving ahead at the exact same speed as the ego-vehicle—violate this assumption, the network suffers from the "infinite depth" problem, treating the moving object as part of the infinite background.

Methods

The authors propose SynDistNet (Synergized Distance Network), a multi-task learning framework that trains distance estimation and semantic segmentation simultaneously in a single stage.

Figure 2: Overview of our proposed framework for the joint prediction of distance and semantic segmentation. The upper part (blue blocks) describes the single steps for the depth estimation, while the green blocks describe the single steps needed for the prediction of the semantic segmentation. Both tasks are optimized inside a multi-task network by using the weighted total loss described in Eq. 8.

Key innovations include:

  • Self-Attention Encoder: Instead of relying solely on standard convolutions with limited receptive fields, the shared ResNet encoder incorporates self-attention blocks. This allows the network to capture long-range spatial dependencies, which is crucial for modeling the severe geometric distortions of fisheye images.
  • Semantically-Guided Decoder: The distance decoder utilizes pixel-adaptive convolutions (PAC). This architectural choice allows features from the semantic segmentation branch to directly guide and sharpen the distance predictions, ensuring crisp depth boundaries around objects.
  • Generalized Robust Loss: Rather than using the standard, rigid $L_1$ or $L_2$ pixel-wise reconstruction losses, the authors adopt Barron’s generalized robust loss function. This loss adaptively tunes its own hyperparameters ($\alpha$ and $c$) during training via data-driven optimization, significantly mitigating the impact of outliers without manual tuning.
  • Dynamic Object Masking: To solve the static world violation, SynDistNet cross-references semantic segmentation masks across consecutive frames. By checking temporal consistency, it creates a motion mask ($\mu_t$) that selectively filters out actually moving objects from the photometric loss calculation, while preserving static objects belonging to dynamic classes (e.g., parked cars).
Semantic masking pipeline for dynamic objects

Datasets

The model was trained and evaluated on two primary datasets:

  1. WoodScape: A flagship multi-camera fisheye dataset specifically designed for autonomous driving tasks. It served as the primary testbed for evaluating the network's performance on complex geometries.
  2. KITTI: A standard, widely used pinhole camera dataset. Even though the primary focus was fisheye cameras, the authors evaluated SynDistNet on KITTI to benchmark it against the broader state-of-the-art in self-supervised monocular depth estimation.

Key Insights and Ideas

  • The Multi-Task Synergy: A common fear in multi-task learning is negative interference (where tasks compete and degrade performance). SynDistNet proves the opposite: geometric features assist semantic understanding, and semantic boundaries guide geometry. Joint training improved semantic segmentation mIoU by nearly 4% and dramatically improved distance metrics.
  • Adaptive Loss Functions Matter: Moving away from standard heuristic losses to a parameterized, self-tuning loss function proved to be one of the most significant drivers of accuracy, highlighting the value of letting the network regulate its own optimization robustness.

Key Results

SynDistNet achieved remarkable quantitative and qualitative improvements across both camera geometries:

  • WoodScape (Fisheye): The network achieved a 25% reduction in Root Mean Squared Error (RMSE) for distance estimation compared to the previous state-of-the-art baseline (FisheyeDistanceNet), dropping the error from 2.723 to 1.714. Concurrently, semantic segmentation accuracy jumped from 76.8% to 81.5% mIoU.
  • KITTI (Pinhole): Despite being tailored for fisheye, the architecture achieved state-of-the-art performance among self-supervised monocular methods on the standard pinhole benchmark (achieving an Absolute Relative error of 0.076 on improved maps), outperforming heavyweights like Monodepth2 and PackNet-SfM without requiring external scale alignment.
Qualitative comparison showing sharper edges and resolved dynamic object distances

Limitations and Future Work

While SynDistNet delivers impressive scale-aware metrics directly from monocular video, its scale-awareness relies on vehicle odometry data during the training phase. Consequently, it cannot be easily trained on datasets that lack odometry information (such as Cityscapes). Additionally, the dynamic object masking strategy is inherently dependent on the fidelity of the supervised semantic segmentation branch; errors in segmentation could propagate into the distance estimation loss.

Future work points toward expanding this synergistic framework to accommodate even more diverse multi-task settings and exploring completely uncalibrated, arbitrary camera geometries.

Summary updated

Abstract

State-of-the-art self-supervised learning approaches for monocular depth estimation usually suffer from scale ambiguity. They do not generalize well when applied on distance estimation for complex projection models such as in fisheye and omnidirectional cameras. This paper introduces a novel multi-task learning strategy to improve self-supervised monocular distance estimation on fisheye and pinhole camera images. Our contribution to this work is threefold: Firstly, we introduce a novel distance estimation network architecture using a self-attention based encoder coupled with robust semantic feature guidance to the decoder that can be trained in a one-stage fashion. Secondly, we integrate a generalized robust loss function, which improves performance significantly while removing the need for hyperparameter tuning with the reprojection loss. Finally, we reduce the artifacts caused by dynamic objects violating static world assumptions using a semantic masking strategy. We significantly improve upon the RMSE of previous work on fisheye by 25% reduction in RMSE. As there is little work on fisheye cameras, we evaluated the proposed method on KITTI using a pinhole model. We achieved state-of-the-art performance among self-supervised methods without requiring an external scale estimation.
BibTeX
@inproceedings{kumar2021syndistnet,
  author = {Varun Ravi Kumar and Marvin Klingner and Senthil Kumar Yogamani and Stefan Milz and Tim Fingscheidt and Patrick Maeder},
  title = {{SynDistNet: Self-Supervised Monocular Fisheye Camera Distance Estimation Synergized with Semantic Segmentation for Autonomous Driving}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00011},
}
Figure