STViT+: improving self-supervised multi-camera depth estimation with spatial-temporal context and adversarial geometry regularization

Zhuo Chen, Haimei Zhao, Xiaoshuai Hao, Bo Yuan, Xiu Li

Introduction

Precise 3D environmental perception is critical for the safety of autonomous vehicles. While multi-camera systems provide a comprehensive 360-degree view, training depth estimation models typically requires expensive LiDAR ground truth. Self-supervised learning offers a scalable alternative by leveraging "photometric consistency"—the principle that a 3D point should appear consistent across different camera views and consecutive frames.

However, multi-camera setups introduce unique challenges: minimal overlap between adjacent cameras (often as low as 10%) and inconsistent lighting conditions (e.g., night, rain, or shadows) that break the photometric assumption. The STViT+ framework addresses these hurdles through spatial-temporal correlations and adversarial regularization.

Methodology

STViT+ introduces three primary innovations to enhance the robustness and accuracy of self-supervised depth estimation.

Spatial-Temporal Transformer (STTrans)

Traditional models often struggle with the small overlapping field-of-view between adjacent cameras. STTrans utilizes a hybrid CNN-Transformer architecture that incorporates a Spatial-Temporal Cross Correlation module. Rather than matching features only between adjacent cameras in a single time step, it correlates features across different cameras and multiple time steps simultaneously. This approach maximizes the usable overlap and provides a more stable geometric signal.

The STViT+ framework leverages multi-frame sequences to enhance self-supervised depth estimation across multiple cameras.

Spatial-Temporal Photometric Consistency Correction (STPCC)

To handle real-world lighting variations, STPCC acts as a pre-processing step for the loss function. It employs histogram equalization to align the brightness and intensity of images across space and time before calculating photometric loss. This stabilization prevents the model from being misled by shadows or sudden illumination changes.

The spatial cross-view correlation mechanism within the STTrans module facilitates feature matching between the six cameras of a standard autonomous driving rig.

Adversarial Geometry Regularization (AGR)

In adverse conditions like nighttime driving, photometric cues are often too weak for reliable learning. STViT+ introduces a GAN-based module where a discriminator is trained to distinguish predicted depth maps from a pool of high-quality, unpaired depth maps from normal conditions. This forces the network to maintain a strong structural prior and output geometrically sound depth maps even when input images are degraded. Crucially, AGR is only used during training and adds no overhead to inference.

Experimental Results

The framework was evaluated on the challenging NuScenes and DDAD datasets. STViT+ achieved state-of-the-art results, leading in 5 out of 7 metrics on NuScenes (e.g., Absolute Relative Error of 0.233) and 4 out of 7 on DDAD.

Beyond accuracy, the model is highly efficient, operating at 96.8 GFLOPs with an inference time of just 0.068 seconds for a batch of six images on an RTX 4090. Ablation studies confirmed that removing the AGR module resulted in significant visual artifacts in low-light regions, while masking overlapping camera regions linearly degraded performance, validating the importance of the spatial-temporal context.

Conclusion

STViT+ demonstrates that maximizing spatial-temporal correlations and applying structural priors through adversarial training can overcome the inherent limitations of multi-camera self-supervised depth estimation. While the model shows remarkable robustness, future work will focus on extreme edge cases, such as complete darkness or intense glare, where photometric cues are entirely absent.

Summary updated

BibTeX
@article{chen2025stvit,
  author = {Zhuo Chen and Haimei Zhao and Xiaoshuai Hao and Bo Yuan and Xiu Li},
  title = {{STViT+: improving self-supervised multi-camera depth estimation with spatial-temporal context and adversarial geometry regularization}},
  journal = {Applied Intelligence},
  year = {2025},
  doi = {10.1007/s10489-024-06191-6},
}
Figure