Scene Coordinate Reconstruction Priors

Wenjing Bian, Axel Barroso-Laguna, Tommaso Cavallari, Victor Adrian Prisacariu, Eric Brachmann · OpenReview

Abstract: Scene coordinate regression (SCR) models have proven to be powerful implicit scene representations for 3D vision, enabling visual relocalization and structure-from-motion. SCR models are trained specifically for one scene. If training images imply insufficient multi-view constraints SCR models degenerate. We present a probabilistic reinterpretation of training SCR models, which allows us to infuse high-level reconstruction priors. We investigate multiple such priors, ranging from simple priors over the distribution of reconstructed depth values to learned priors over plausible scene coordinate configurations. For the latter, we train a 3D point cloud diffusion model on a large corpus of indoor scans. Our priors push predicted 3D scene points towards plausible geometry at each training step to increase their likelihood. On three indoor datasets our priors help learning better scene representations, resulting in more coherent scene point clouds, higher registration rates and better camera poses, with a positive effect on down-stream tasks such as novel view synthesis and camera relocalization.

Introduction

Scene Coordinate Regression (SCR) is a powerful technique for 3D vision tasks like Structure-from-Motion (SfM) and visual relocalization. Instead of matching discrete features between images, SCR models (like the state-of-the-art ACE and ACE0) learn to map image patches directly to 3D coordinates in a scene.

However, these models have a significant "blind spot": they rely on implicit triangulation. If the training images lack texture (like a blank white wall) or have very small baselines (the camera didn't move much), the triangulation fails. The resulting 3D model "explodes"—points fly off into infinity, and estimated camera paths might literally pass through walls. This degeneration occurs because the model lacks an inherent understanding of plausible geometry.

Baseline ACE0 reconstruction showing point cloud degeneration and hallucinated geometry in textureless areas.

Methods

To address these failures, the authors reformulate SCR training as a Maximum Likelihood Estimation (MLE) problem. This allows them to mathematically combine the standard reprojection error (how well the 3D points match the 2D images) with a regularization term representing a reconstruction prior.

They investigate three types of priors:

  1. Depth Distribution Prior (RGB): A hand-crafted prior that assumes depth values in a scene should follow a Laplace distribution. This prevents the model from placing points at impossible distances.
  2. Depth Prior (RGB-D): If depth data is available during training, it is used as a narrow prior to "anchor" the coordinates, providing maximum stability.
  3. Point Cloud Diffusion Prior (RGB): This is the most novel contribution. A 3D diffusion model (Point-Voxel CNN) is pre-trained on a large corpus of indoor scans (ScanNet). During SCR training, this model acts as a "critic," providing a gradient that "nudges" predicted 3D points toward a coherent, room-like layout.

Crucially, these priors are only used during the mapping (training) phase. Once the model is trained, the prior is discarded, meaning there is zero overhead during query time.

Key Insights and Results

The researchers evaluated their approach on several standard benchmarks, including ScanNet, 7Scenes, and Indoor6. A key insight was the use of Diffusion as a Regularizer: instead of generating a scene from scratch, the diffusion model's score function guides the optimization of the SCR network. This global structural "sanity check" compensates for the local nature of standard SCR patch matching.

Comparison of scene reconstructions using different priors. Note the increasing coherence and reduction in noise from the baseline (left) to the diffusion and RGB-D priors (right).

Quantitative and Qualitative Improvements

  • Higher Registration: On the Indoor6 dataset, the priors increased the number of successfully registered images by 4.7%.
  • Better Poses: On ScanNet, incorporating the Laplace NLL prior improved median pose accuracy from 19.7cm to 12.8cm in RGB-D scenarios.
  • Cleaner Reconstructions: Qualitative results show that the point clouds generated are much tighter and representative of actual walls and floors, with far fewer floating outliers.
  • The "Stairs" Breakthrough: In the difficult "Stairs" scene of the 7Scenes dataset, the diffusion prior improved relocalization accuracy by over 4% by forcing the model to respect global staircase structure.

Limitations and Future Work

While effective, the current diffusion prior is trained specifically on indoor room layouts. When tested on outdoor scenes (Cambridge Landmarks), the improvements were smaller because the "geometric common sense" of a room does not apply to urban environments. Future work may involve conditioning the diffusion prior on image features or global descriptors to provide more specific guidance and extending the priors to more diverse environments.

Summary updated

BibTeX
@inproceedings{bian2025scene,
  author = {Wenjing Bian and Axel Barroso-Laguna and Tommaso Cavallari and Victor Adrian Prisacariu and Eric Brachmann},
  title = {{Scene Coordinate Reconstruction Priors}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure