OGNI-DC: Robust Depth Completion with Optimization-Guided Neural Iterations

Yiming Zuo, Jia Deng

Introduction

Depth completion is a fundamental task in computer vision, essential for autonomous driving, robotics, and augmented reality. It involves transforming a sparse "constellation" of depth points—typically obtained from LiDAR or ToF sensors—and a corresponding high-resolution RGB image into a dense, accurate depth map.

Currently, the field is divided into two primary approaches. Optimization-based methods utilize hand-crafted mathematical constraints to ensure smoothness and consistency with sensor data. While robust, these methods often lack the fine-grained detail and accuracy of modern deep learning. Conversely, Deep learning methods directly regress depth values, achieving state-of-the-art (SOTA) performance on familiar datasets. However, these models are notoriously "brittle," often failing when deployed in new environments or when the density of input data changes (e.g., transitioning from a 64-line LiDAR to an 8-line sensor).

OGNI-DC (Optimization-Guided Neural Iterations for Depth Completion) bridges this gap by combining the predictive power of deep learning with the structural robustness of classical optimization.

Methodology

The OGNI-DC framework introduces a novel iterative approach that replaces direct depth regression with gradient prediction and global integration. The architecture is composed of four primary stages:

  1. Feature Extraction: A standard backbone (CompletionFormer) extracts multi-scale features from the RGB image and the sparse depth input.
  2. The OGNI Loop: This core innovation utilizes a Convolutional Gated Recurrent Unit (ConvGRU) to iteratively predict a field of depth gradients—the relative difference in depth between neighboring pixels—rather than absolute depth values.
  3. Differentiable Depth Integrator (DDI): The predicted gradients are passed to the DDI, which solves a global linear least squares optimization problem. This layer finds a depth map that best fits the predicted gradients while remaining strictly consistent with the original sparse sensor points. By using a Conjugate Gradient solver, this mathematically intensive step is made differentiable and efficient for GPU execution.
  4. Refinement: The resulting depth map is up-sampled and processed through a Spatial Propagation Network (SPN) to sharpen object boundaries and finalize the output.

Key Insights and Innovations

Gradients over Absolute Values

Predicting the change in depth between pixels is a local task heavily influenced by visual cues like edges and textures. This is significantly easier for a neural network to learn and generalize across different scenes than predicting absolute metric depth, which can vary wildly between indoor and outdoor environments.

Hard-Coded Consistency

While most AI models attempt to "learn" to respect input points, OGNI-DC enforces this through the DDI’s energy function. This acts as a powerful inductive bias, preventing the model from "hallucinating" depth values that contradict the physical sensor data.

Computational Efficiency

To mitigate the cost of solving large matrix problems in every iteration, the authors employ "warm-starting." By using the depth map from the previous iteration as the initial guess for the current optimization, the system achieves a latency reduction of over 60%.

Confidence Masking

LiDAR data is often prone to noise, particularly at object edges. OGNI-DC learns to predict a confidence map, allowing the DDI to intelligently ignore or down-weight suspicious sensor points during the optimization phase.

Experimental Results

Benchmark Performance

OGNI-DC achieved the top position on the NYUv2 benchmark, improving the Root Mean Square Error (RMSE) from 0.089m to 0.087m. It also outperformed existing methods on the KITTI online benchmark across several key metrics, demonstrating its efficacy in both indoor and outdoor settings.

Zero-Shot Generalization

To test robustness, the model was trained on NYUv2 and tested on the VOID dataset without any additional fine-tuning. OGNI-DC reduced the Mean Absolute Error (MAE) by 35.5% compared to previous leading models, highlighting its ability to handle unseen environments.

Sparsity Robustness

Unlike traditional models that require retraining for different sensor configurations, a single OGNI-DC model maintains optimal performance across a wide range of data densities—from 50 to 20,000 points—outperforming specialized sparsity-agnostic baselines.

Limitations and Future Work

Despite its robustness, the iterative Conjugate Gradient solver introduces more computational overhead than simple feed-forward networks. Furthermore, in scenarios of extreme sparsity (e.g., fewer than 5 points per image), gradient errors can accumulate in regions lacking sensor "anchors," leading to minor depth drifts. Future research may extend this "optimization-in-the-loop" philosophy to other 3D vision tasks where robustness remains a critical bottleneck.

Summary updated

BibTeX
@inproceedings{zuo2024ogni,
  author = {Yiming Zuo and Jia Deng},
  title = {{OGNI-DC: Robust Depth Completion with Optimization-Guided Neural Iterations}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72646-0\_5},
}
Figure