TL;DR
Neural Depth Field (NDF) reinterprets pretrained monocular depth estimators as scene-level implicit neural fields to solve the challenges of 3D scene geometry inpainting. By optimizing the depth estimator directly on a target scene's observed data at test time, NDF unifies data-driven depth prediction with geometric reconstruction. This single framework dramatically improves cross-view consistency and inpainting accuracy across diverse domains, from city-scale satellite mapping to complex indoor scans.
What Problem Does This Paper Address?
Real-world 3D scene data captured via sensors is rarely perfect. Indoor scans often contain holes due to occlusions, drone flights suffer from perspective constraints, and satellite imagery frequently features data voids caused by clouds or shadows.
To recover continuous geometry, researchers typically turn to deep learning-based depth estimators. While these models possess strong geometric priors learned from large datasets, they face two major roadblocks:
- Inconsistency: The completed (inpainted) regions often fail to align seamlessly with the observed parts, leading to geometric discontinuities or scale mismatches across different viewing angles.
- Out-of-Distribution (OOD) Data: Standard depth estimators are trained predominantly on ground-level images. When applied to vastly different domains—like top-down satellite imagery—their performance degrades significantly.
Methods
The core innovation of Neural Depth Field (NDF) is treating a pretrained depth estimator as both a one-shot predictor and a scene-level implicit depth field.
Instead of using a depth estimator to supervise a separate neural field representation (a common but indirect approach in recent literature), NDF optimizes the weights of the depth estimator itself during test time.
For a fixed input image, the model's parameters define an implicit surface. NDF optimizes this surface using a single, unified test-time objective:
- As an implicit field: It is forced to fit the known, observed depth values of the scene to maintain strict geometric consistency.
- As a predictor: It leverages its pretrained domain priors to plausibly extrapolate geometry into the missing regions.
To make this optimization robust, the authors introduce two key training strategies:
- Transferred-Mask Augmentation: During test-time optimization, the model randomly overlays missing-data masks from other windows onto valid regions. This forces the network to practice predicting depth for hidden areas based on surrounding context.
- Overlap-Window Loss: For large scenes requiring a sliding-window approach, this loss ensures that overlapping regions from different windows predict identical height/depth values, enforcing global coherence.
Datasets
The authors evaluated NDF on two distinct and challenging scenarios:
- Birmingham Satellite Imagery Dataset: A massive city-scale benchmark ($13673 \times 14004$ resolution) containing diverse urban structures, vegetation, and riverbanks. It features real-world data voids caused by stereo-matching failures.
- ScanNet Dataset: A popular indoor dataset consisting of RGB-D videos of offices, living rooms, and kitchens. The authors sampled 20 representative scenes (38,679 frames) and simulated both 2D image-space masks and 3D volumetric masks to evaluate inpainting.
Key Insights and Ideas
- The Dual-View Synergy: Inpainting (extrapolation via priors) and reconstruction (interpolation via fitting) are traditionally treated as separate tasks. NDF shows they are mutually beneficial: fitting the observed geometry anchors the model's metric scale, while the depth-prediction task prevents the implicit field from producing blurry or over-smoothed results in unobserved areas.
- Test-Time Adaptation Overcomes OOD Gaps: Rather than retraining a massive model from scratch for satellite imagery, NDF adapts a ground-view model to the satellite domain on-the-fly by optimizing directly on the sparse valid pixels of the target scene.
Key Results
NDF achieved state-of-the-art performance in both accuracy and structural consistency:
- Satellite Inpainting: Compared to the baseline InfiniDepth model, NDF improved metric inpainting accuracy by 23.1% (reducing Mean Absolute Error from 0.45m to 0.26m) and reduced cross-window inconsistency in overlapping regions by 63.3%.
- Indoor Scans: On ScanNet, NDF achieved a 13.2% reduction in Absolute Relative error (AbsRel) for metric depth and slashed cross-view inconsistency (Overlap MAE) by 32.5%.
- Qualitative Excellence: As shown in the qualitative evaluations, NDF successfully captures fine-grained details—such as thin wires in indoor scans and small streetlamps or chimneys in satellite imagery—while ensuring that boundaries blend seamlessly.
Limitations and Future Work
Despite its strong performance, NDF has a few limitations that open doors for future research:
- Computational Cost: Because it relies on per-scene test-time optimization, the method takes anywhere from a few minutes (for indoor scenes) to an hour (for city-scale satellite scenes) per deployment. Amortizing this cost via meta-learning initializations or parameter-efficient fine-tuning remains an open challenge.
- Static Scene Constraint: The current framework is designed strictly for static scenes represented as depth or height maps. Extending NDF to dynamic environments or richer 3D representations (like Gaussian Splatting) is a key direction for future work.
Summary updated