SA4Depth: Consistent Pose-Depth Scale Alignment for Self-Supervised Monocular Depth Estimation

Changxuan Li, Nadine Berner, Nassir Navab, Federico Tombari, Stefano Gasperini

TL;DR

Self-supervised monocular depth estimation relies on jointly training a depth network and a pose network, but scale misalignment between the two often degrades performance. SA4Depth introduces a differentiable, SLAM-style pose refinement layer during training that aligns the scales of both networks using learnable visual features. This significantly boosts depth accuracy across multiple benchmarks while keeping inference time completely unchanged.

What Problem Does This Paper Address?

Self-supervised monocular depth estimation (SSMDE) is a highly cost-effective way to teach neural networks to understand 3D scenes using nothing but standard video sequences. It works by predicting the depth of a frame and the relative camera movement (pose) to adjacent frames, then warping the images together to minimize a photometric (appearance) consistency loss.

However, monocular vision suffers from an inherent scale ambiguity. If the depth network and the pose network predict different, unaligned scene scales, the photometric loss receives conflicting geometric signals. This scale inconsistency causes large fluctuations across scenes, destabilizing the delicate self-supervision process and degrading final depth accuracy. While some previous approaches tried replacing the pose network with complex geometric solvers, they are computationally expensive and incompatible with standard, fast SSMDE pipelines.

Methods

SA4Depth introduces a clever training-time intervention that couples depth and pose estimation through an internalized, differentiable direct alignment routine.

Overview of the proposed SA4Depth pipeline compared to conventional SSMDE.

The method operates as follows during training:

  1. Feature & Confidence Extraction: A dedicated feature network extracts deep visual features ($F$) and a confidence map ($C$) from the input frames. The confidence map dynamically downweights tricky regions like textureless skies or moving objects.
  2. Differentiable Pose Refinement: Using the current depth estimate, points from a reference frame are reprojected into adjacent query frames. The algorithm minimizes the distance between the deep features of these reprojected points using Levenberg-Marquardt (LM) optimization over several iterations.
  3. Scale-Aligned Losses: The refined pose ($P^{(N)}$) is used to compute the final photometric loss. Crucially, it also self-supervises the initial pose network output via a pose loss ($L_{pose}$). Because gradients flow back through the reprojection step, the depth network's scale is tightly constrained and aligned with the pose scale.

At test time, the feature network and LM optimizer are discarded entirely. Only the depth network is used for inference, meaning the accuracy boost comes with zero computational overhead.

Datasets

The authors evaluated SA4Depth across several diverse benchmarks:

  • KITTI (Eigen Split & Odometry): The standard outdoor driving benchmark used for evaluating both depth estimation and camera trajectory tracking.
  • Cityscapes: A challenging urban driving dataset characterized by complex, highly dynamic scenes.
  • NYUv2: An indoor dataset featuring hand-held camera sequences with intricate ego-motion and geometry.
  • Virtual KITTI 2 (vKITTI2): A synthetic dataset with perfect ground truth, utilized specifically for the paper's scale alignment analysis.

Key Insights and Ideas

  • The Scale Alignment Bottleneck: The authors demonstrate that even if you use ground-truth poses during training, performance drops if those poses aren't actively scaled to match the depth network's current state. Joint adaptation and explicit scale constraints are vital.
  • Features Over Pixels for Optimization: Aligning poses using deep, learnable visual features is far more robust than using raw pixel intensities (photometric error), which are highly sensitive to lighting changes, noise, and reflections.
  • Internalizing SLAM: By embedding a SLAM-style optimization directly into the training loop as a differentiable layer, the network develops a fundamentally more consistent geometric understanding without paying a runtime tax.

Key Results

SA4Depth was evaluated on top of several state-of-the-art baselines (including Monodepth2 and MonoViT) and demonstrated systematic improvements:

  • Dramatic Scale Stabilization: On KITTI, adding SA4Depth to MonoViT reduced the scale standard deviation from a volatile 3.73 down to a highly stable 0.16, proving excellent scale consistency across sequences.
  • Outdoor Performance: Paired with the Hybrid-depth baseline, it achieved state-of-the-art results on the KITTI Eigen split (Abs Rel error of 0.068). On Cityscapes, it slashed the absolute relative error of MonoViT by 12.6% in scale-aware setups.
  • Indoor Success: On the complex indoor NYUv2 dataset, it improved MonoViT's absolute relative error by 16.2%, successfully reconstructing challenging structures like chairs, tables, and ladders.
Absolute Relative Error improvements across KITTI, Cityscapes, and NYUv2 datasets.

Limitations and Future Work

  • Dependency on Initial Geometry: Because SA4Depth uses the predicted depth map to reproject features, it inherits a "chicken-and-egg" limitation. If the initial depth estimates are completely degraded (e.g., in highly chaotic or entirely unlearned environments), the feature correspondences break down, which can negatively impact training.
  • Handling Highly Dynamic Scenes: Although the confidence maps successfully downweight moving vehicles and pedestrians to protect pose estimation, the framework does not explicitly model or track dynamic objects, leaving room for future optimization in crowded urban environments.

Summary updated

BibTeX
@article{li2026sa,
  author = {Changxuan Li and Nadine Berner and Nassir Navab and Federico Tombari and Stefano Gasperini},
  title = {{SA4Depth: Consistent Pose-Depth Scale Alignment for Self-Supervised Monocular Depth Estimation}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2026},
  doi = {10.1109/lra.2026.3699248},
}
Figure