Active-Passive SimStereo - Benchmarking the Cross-Generalization Capabilities of Deep Learning-based Stereo Methods

Laurent Valentin Jospin, Allen Antony, Lian Xu, Hamid Laga, Farid Boussaid, Mohammed Bennamoun

Introduction

Stereo vision—calculating depth by comparing two slightly offset images—famously struggles with "textureless" surfaces, such as plain white walls or shiny floors. To solve this, active stereo systems (like the Microsoft Kinect or Intel RealSense) project a pseudo-random dot pattern onto the scene to create artificial texture.

While traditional algorithms easily exploit this extra data, modern deep learning (DL) models are almost exclusively trained on "passive" (natural) images. This raises a critical question: Does the projected dot pattern act as "adversarial noise" that confuses DL models? Or can these models generalize to active stereo without being specifically trained for it?

To answer this, researchers have introduced Active-Passive SimStereo, the first public dataset providing perfectly aligned passive and active stereo image pairs, allowing for a rigorous benchmark of state-of-the-art deep learning models.

The Active-Passive SimStereo Dataset

To create perfectly aligned data, the authors developed a simulation pipeline using Blender and its physically-based rendering (PBR) engine, Cycles. This approach allowed them to:

  1. Generate Ground Truth: Create perfectly accurate depth maps that are nearly impossible to capture in the real world.
  2. Toggle Lighting: Render the exact same scene twice—once with natural lighting (passive) and once with a projected Whorley noise pattern (active).

The resulting Active-Passive SimStereo dataset contains 515 high-quality image pairs (412 for training, 103 for testing) at 640x480 resolution, featuring diverse scenes ranging from realistic indoor rooms to abstract geometric compositions.

Example from the Active-Passive SimStereo dataset showing (a) passive image, (b) active image with projected pattern, and (c) ground truth disparity map.

Using this dataset, the researchers benchmarked 20 top-tier DL stereo models (including RAFT-Stereo, AANet, and ACVNet) using their pre-trained weights from standard passive datasets (like SceneFlow and KITTI) to see how they handled the "active" domain shift.

Key Findings: Generalization and the Refinement Trap

Universal Improvement

Surprisingly, generalization proved to be highly robust. Almost all of the 20 tested models performed better on active stereo images than passive ones, even without seeing a single dot pattern during training. The feature extraction layers of these models simply treated the projected dots as helpful texture, leading to a universal improvement in accuracy across the board.

The "Refinement" Trap

Despite the overall improvement, the researchers identified a specific weak point in modern stereo pipelines: the disparity refinement module.

Standard deep learning stereo pipeline. The 'Disparity refinement' module at the end is often responsible for introducing artifacts when processing active patterns.

Some models (such as ACVNet, CascadeStereo, and StereoNet) use the original RGB image to "guide" or sharpen the final depth map in the final stages of processing. Because these modules are trained to expect the image to represent the scene's actual physical geometry, they mistakenly try to "sharpen" the depth map around the projected dots. This creates unwanted, noisy artifacts. Consequently, models like ACVNet and CascadeStereo showed the lowest relative improvement when switching to active images.

Fortunately, this issue is easily correctable. By fine-tuning the "failing" models on just a small amount of active data (10 epochs), the researchers drastically reduced these artifacts. For example, ACVNet’s Mean Absolute Error (MAE) dropped from 1.31px to 0.66px after brief fine-tuning.

One-Way Generalization

Interestingly, while passive models generalize well to active data, the reverse is not true. Models trained only on active data (like ActiveStereoNet) performed poorly on passive images. This suggests that learning to rely heavily on a specific projected pattern makes a model brittle when that pattern is removed.

Limitations and Future Directions

While groundbreaking, the Active-Passive SimStereo dataset is relatively small (515 pairs) compared to massive synthetic sets like SceneFlow. Additionally, the simulation focuses purely on the visual pattern and does not fully model the physical complexities of infrared (IR) sensors often used in real active stereo cameras, such as specific sensor noise or material reflectivity in the IR spectrum.

Future work could involve expanding the dataset to include more pattern types and exploring "hybrid" architectures that can dynamically decide when to trust the image appearance versus the cost volume, ensuring robust performance across both active and passive domains.

Summary updated

BibTeX
@inproceedings{jospin2022active,
  author = {Laurent Valentin Jospin and Allen Antony and Lian Xu and Hamid Laga and Farid Boussaid and Mohammed Bennamoun},
  title = {{Active-Passive SimStereo - Benchmarking the Cross-Generalization Capabilities of Deep Learning-based Stereo Methods}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ml1NjI-ujzf},
}
Figure