Introduction
Deep learning models for stereo matching—calculating depth from pairs of images—are typically trained on large synthetic datasets because real-world "ground truth" labels are difficult to obtain. However, these models often suffer from a domain generalization gap: a model trained on synthetic scenes frequently fails when encountering the complex lighting, reflections, and textures of the real world. This paper introduces a semi-supervised pipeline designed to bridge this gap by alternating between supervised learning on synthetic data and self-supervised learning on unlabeled real-world images.
Methodology
The authors propose a training regime that avoids the pitfalls of standard fine-tuning. Instead of training on synthetic data and then specializing on real data (which often leads to "forgetting" general geometric principles), they train on both simultaneously.
Key components of the pipeline include:
- Dual-Batch Training: The network alternates between synthetic batches (supervised with ground truth) and real-world batches (self-supervised via reconstruction loss).
- Occlusion Handling: To prevent the model from being misled by areas visible to only one camera, the network predicts an occlusion mask ($\hat{M}$). Real-world data is also augmented with synthetic occlusions to improve robustness.
- Reconstruction Losses: The model evaluates performance using either standard photometric loss (RGB-based) or Deep Feature Reconstruction (DFR), which utilizes features from the network's early layers.
The Deep Feature Reconstruction (DFR) Paradox
Theoretically, high-level features should be more robust to lighting changes than raw pixels. However, the authors found that DFR currently struggles to outperform photometric loss. Their analysis identifies several critical issues:
- Information Smearing: Convolutional layers tend to "smear" feature information across object boundaries, leading to inaccuracies at edges.
- High Sensitivity: DFR is highly dependent on resampling methods and is more sensitive to occlusions.
- Optimization Challenges: The matching curves for DFR are noisier (higher entropy) and provide helpful gradients only when the model is already very close to the correct disparity.
Key Results
The semi-supervised approach demonstrates significantly better generalization across diverse environments compared to traditional supervised methods.
As shown in the results table, the DispNet SemiSup. PH model (using photometric loss) achieved an Endpoint Error (EPE) of 1.23 on KITTI 2015, outperforming the supervised-only version. Crucially, while standard fine-tuning on KITTI degraded performance on the ETH3D dataset (1.99 EPE), the semi-supervised approach improved it (0.61 EPE), proving that the model learns general geometric features rather than just memorizing a specific dataset's appearance.
Conclusion
This research highlights that simultaneous training on synthetic and real data is a powerful strategy for robust disparity estimation. While Deep Feature Reconstruction shows promise for texture-less surfaces, its current implementation at object boundaries remains a challenge. Future work will focus on refining feature extraction to maintain the sharp edges necessary for high-precision depth mapping.
Summary updated