6D Camera Relocalization in Ambiguous Scenes via Continuous Multimodal Inference

Mai Bui, Tolga Birdal, Haowen Deng, Shadi Albarqouni, Leonidas J. Guibas, Slobodan Ilic, Nassir Navab

Introduction

Camera relocalization—determining the 6-degree-of-freedom (6-DoF) pose of a camera within a 3D space—is a fundamental requirement for augmented reality, autonomous driving, and robotics. Traditionally, deep learning models treat this as a regression problem, aiming to output a single "correct" pose. However, real-world environments are often ambiguous due to symmetries or repetitive structures. In such cases, a standard model forced to pick one answer often suffers from "label blur," predicting a pose that is an average of all possibilities—effectively placing the camera in a physically impossible location.

Ambiguity in camera relocalization: multiple views can appear identical, leading to multiple valid pose hypotheses during testing.

Methodology: Continuous Multimodal Inference

To address these challenges, the authors propose a framework that predicts a multimodal distribution of possible camera poses using mixture models. This allows the system to maintain multiple hypotheses and accurately quantify uncertainty in ambiguous environments.

Mixture Model Representation

The system outputs a mixture of $K$ components. To handle the unique geometries of rotation and translation, the framework uses a hybrid approach:

  • Bingham Distributions: Used for rotation (quaternions). These are defined on the hypersphere and naturally handle "antipodal symmetry," making them mathematically superior to standard Gaussians for representing rotations.
  • Multivariate Gaussians: Used for 3D translation.

Network Architecture and Training

The framework utilizes a ResNet-34 backbone to extract image features, which are then mapped to $K$ sets of pose parameters. To prevent "mode collapse"—where all predicted hypotheses merge into one—the authors use a Relaxed Winner-Takes-All (RWTA) training scheme. During training, the loss is primarily calculated for the hypothesis closest to the ground truth, encouraging the network to spread its predictions across different possible modes.

The proposed architecture uses a ResNet backbone to predict parameters for a mixture of Bingham and Gaussian distributions, resulting in K hypotheses.

Experimental Results

The paper evaluates the method on standard benchmarks (7-Scenes, Cambridge Landmarks) and a new dataset specifically designed to test symmetries, including synthetic and real-world scenes like meeting rooms and staircases.

  • Ambiguous Scenes: In the "Meeting Table" scene, standard regression achieved near 0% accuracy at strict thresholds. The proposed model achieved significantly higher recall by correctly identifying multiple possible modes.
  • Uncertainty as a Filter: The model provides a built-in measure of uncertainty (entropy). The authors demonstrate a strong correlation between high predicted uncertainty and high actual error, allowing a robot to "know it doesn't know."
  • Efficiency: Despite predicting 50 hypotheses ($K=50$), the computational overhead is negligible, adding only about 1ms to the inference time compared to a standard single-pose regressor.

Conclusion

By moving from single-point regression to continuous multimodal inference, this framework enables robust camera relocalization in complex, ambiguous environments. The use of Bingham distributions and RWTA training allows the system to represent multiple hypotheses accurately while maintaining competitive performance in non-ambiguous scenes.

Summary updated

BibTeX
@inproceedings{bui2020d,
  author = {Mai Bui and Tolga Birdal and Haowen Deng and Shadi Albarqouni and Leonidas J. Guibas and Slobodan Ilic and Nassir Navab},
  title = {{6D Camera Relocalization in Ambiguous Scenes via Continuous Multimodal Inference}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58523-5\_9},
}
Figure