Scene Coordinate Reconstruction Priors

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

TL;DR

This paper tackles the problem of "degenerate" scene reconstructions in neural 3D vision models, which often struggle with featureless areas or repetitive textures. They introduce a probabilistic framework to incorporate "priors" – learned knowledge about plausible scene geometry – into Scene Coordinate Regression (SCR) training, leading to more robust and accurate 3D scene representations and camera pose estimation.

What Problem Does This Paper Address?

Neural 3D vision models, particularly those for Scene Coordinate Regression (SCR), aim to represent a 3D scene using a neural network trained on images with known camera poses. While powerful for tasks like visual relocalization and structure-from-motion, these models can "degenerate" when faced with challenging visual conditions. This means they might produce inconsistent 3D point clouds, inaccurate camera poses, or artifacts, especially in areas lacking distinct features (e.g., plain walls, floors) or with repetitive patterns. This limitation hinders their reliability in real-world applications. The paper addresses this by proposing a way to inject prior knowledge about what constitutes a "good" 3D scene into the training process, making SCR models more robust to these challenging scenarios.

Methods

The core innovation is reformulating SCR training as a maximum likelihood estimation problem. This probabilistic framing allows the authors to naturally incorporate regularization terms, which they call "priors." They propose two main types of priors:

  • Depth Distribution Prior: This prior encourages the predicted depth values of 3D scene points to follow a plausible distribution. They found a Laplacian distribution to be effective and proposed two ways to enforce it:
  • A direct negative log-likelihood loss on individual depth values.
  • A Wasserstein distance loss between the distribution of predicted depth values in a mini-batch and the target distribution.
  • 3D Point Cloud Diffusion Prior: This is a more sophisticated prior. They train a 3D point cloud diffusion model on a large dataset of indoor scenes. This diffusion model learns to generate plausible 3D scene layouts. During SCR training, this pre-trained diffusion model acts as a regularizer, nudging the SCR network's predictions towards these learned plausible geometries.

They also show how to adapt these priors for RGB-D inputs, using measured depth to create a more specific depth prior.

Datasets

  • ScanNetV2: Used for training the diffusion prior and for evaluating structure-from-motion (SfM) performance. It consists of 706 indoor scenes.
  • Indoor6: Used for evaluating SfM performance. It features six larger indoor environments with multiple rooms.
  • 7Scenes: Used for evaluating relocalization performance.
  • Indoor6: Also used for evaluating relocalization performance.

The paper does not introduce new datasets but leverages existing ones for training and evaluation.

Key Insights and Ideas

  • Probabilistic Framing is Key: By viewing SCR training probabilistically, the door is opened to easily integrate various forms of prior knowledge, moving beyond simple loss minimization.
  • Plausible Geometry Matters: The success of both depth distribution and diffusion priors highlights that injecting knowledge about what a "real" scene looks like significantly improves reconstruction quality, even if the prior isn't perfect.
  • Diffusion Models as Powerful Priors: A pre-trained 3D diffusion model, even if not capable of generating perfect scenes itself, can act as a strong regularizer for SCR, guiding it towards more coherent and accurate reconstructions.
  • Efficiency is Maintained: Crucially, these priors are incorporated during training, not at inference time, meaning they don't slow down the relocalization or SfM process.

Key Results

  • Improved SfM: On ScanNetV2 and Indoor6, their priors led to higher registration rates, more accurate camera poses (lower ATE/RPE), and better novel view synthesis (higher PSNR) compared to the baseline ACE0. For example, on Indoor6, the diffusion prior increased registration rates by 4.7% and PSNR by 1.1 dB.
  • Improved Relocalization: On 7Scenes, their priors improved relocalization accuracy, with the diffusion prior showing the most significant gains (up to 4.1% on the Stairs scene). On Indoor6, their priors also showed improvements, particularly when coupled with GLACE.
  • RGB-D Advantage: Using a depth prior with RGB-D inputs significantly improved results on ScanNet, outperforming a baseline that used a hard-coded RGB-D loss.
  • Minimal Computational Overhead: The proposed methods did not significantly increase training time and had a modest impact on mapping time (around +3 minutes for the diffusion prior).

Limitations and Future Work

  • Indoor Scene Focus: The current experiments are primarily focused on indoor scenes. Extending the approach to outdoor scenes would require better depth distribution models and more diverse outdoor data for diffusion training.
  • Diffusion Model Fidelity: While the diffusion prior is effective, it doesn't generate photorealistic scenes. Future work could explore more expressive point cloud encoders or conditional diffusion models for higher fidelity.
  • Outdoor Data Diversity: The authors acknowledge the need for more diverse outdoor datasets to train robust priors for such 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