Extending Absolute Pose Regression to Multiple Scenes

Hunter Blanton, Connor Greenwell, Scott Workman, Nathan Jacobs

Abstract

Absolute Pose Regression (APR) offers fast, constant-time camera localization but suffers from poor scalability, typically requiring a separate large neural network for every new environment. Multi-Scene PoseNet (MSPN) overcomes this by employing a shared ResNet-34 backbone for general feature extraction and a compact database of scene-specific weights for final pose regression. This approach reduces the per-scene memory footprint by up to 99% for large-scale deployments while maintaining competitive accuracy and providing a robust initialization for learning new scenes.

Introduction

Absolute Pose Regression (APR) directly predicts a camera's 6-degree-of-freedom (6DOF) pose from a single image. While efficient, standard APR models like PoseNet are constrained to a "one-network-per-scene" paradigm. Localizing across multiple large-scale environments would traditionally require storing dozens of massive models, ignoring the fact that low-level visual features are often shared across different locations. MSPN proposes a unified architecture that scales efficiently to an arbitrary number of scenes by treating localization as a generalizable skill.

Methods

The core of MSPN is the separation of general geometric feature extraction from scene-specific coordinate regression.

Architecture

As shown in Figure 1, the system consists of several key components:

  1. Shared Backbone: A ResNet-34 CNN that acts as a universal feature extractor (F) shared across all scenes.
  2. Scene Prediction Branch: A small classifier (Dense layer leading to N) that identifies the most likely scene ID from the extracted features.
  3. Weights Database: A repository of small weight matrices (N x F x P) indexed by the predicted scene ID.
  4. Pose Regression: The final pose (C) is calculated by applying the retrieved scene-specific weights to the shared features through a final Dense layer.
The MSPN architecture utilizes a shared CNN backbone and a scene-specific weights database to enable multi-scene localization.

Optimization

The authors improved the standard PoseNet pipeline by removing a specific intermediate fully connected layer with ReLU activation. Since camera coordinates can be negative, the ReLU was forcing the network to learn redundant "basis poses" to compensate for zeroed-out values. Removing it made the model both smaller and more accurate.

Experimental Setup

MSPN was evaluated on two primary benchmarks for 6DOF camera localization:

  • Microsoft 7Scenes: Seven small-scale indoor environments (e.g., Kitchen, Office, Stairs).
  • Cambridge Landmarks: Six large-scale outdoor environments (e.g., Kings College, St. Mary’s Church) spanning hundreds of meters.

Key Results and Discussion

MSPN demonstrates that training on multiple scenes simultaneously acts as a form of implicit regularization, preventing the model from memorizing noise specific to a single sequence.

Accuracy and Scalability

MSPN achieves accuracy comparable to or better than single-scene models. For example, in the "Office" scene of the 7Scenes dataset, MSPN reduced median error to 0.16m from the 0.20m achieved by a standard single-scene PoseNet. Figure 6 illustrates the performance across various indoor scenes, comparing single-scene training against multi-scene and multi-dataset configurations.

Position and orientation error comparison across the 7Scenes dataset for different training configurations.

Parameter Efficiency

While the shared backbone contains ~22 million parameters, each additional scene requires only ~14,000 parameters for its specific weights. This allows a single MSPN to support 100 scenes using only 1% of the memory required by 100 individual PoseNets.

Transfer Learning

Training on multiple scenes creates a more robust feature extractor. When learning a completely new scene, initializing with MSPN weights leads to significantly faster convergence and lower final error compared to standard ImageNet initialization. For the "Heads" scene, MSPN initialization achieved 0.41m/20.1° error after just one epoch, versus 1.19m/148.1° for ImageNet-initialized models.

Conclusion

Multi-Scene PoseNet successfully addresses the scalability bottleneck of absolute pose regression. By sharing features across environments, it achieves extreme memory efficiency and improved generalization. While structure-based methods still lead in absolute precision, MSPN represents a significant step toward practical, large-scale neural camera localization.

Summary updated

BibTeX
@inproceedings{blanton2020extending,
  author = {Hunter Blanton and Connor Greenwell and Scott Workman and Nathan Jacobs},
  title = {{Extending Absolute Pose Regression to Multiple Scenes}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00027},
}
Figure