[Paper Review] Hierarchical Scene Coordinate Classification and Regression for Visual Localization
The paper proposes a hierarchical, coarse-to-fine scene coordinate network with per-pixel location-conditioned FiLM-like modules to improve single-image RGB localization, achieving state-of-the-art results on multiple datasets and scalable performance for large environments.
Visual localization is critical to many applications in computer vision and robotics. To address single-image RGB localization, state-of-the-art feature-based methods match local descriptors between a query image and a pre-built 3D model. Recently, deep neural networks have been exploited to regress the mapping between raw pixels and 3D coordinates in the scene, and thus the matching is implicitly performed by the forward pass through the network. However, in a large and ambiguous environment, learning such a regression task directly can be difficult for a single network. In this work, we present a new hierarchical scene coordinate network to predict pixel scene coordinates in a coarse-to-fine manner from a single RGB image. The network consists of a series of output layers, each of them conditioned on the previous ones. The final output layer predicts the 3D coordinates and the others produce progressively finer discrete location labels. The proposed method outperforms the baseline regression-only network and allows us to train compact models which scale robustly to large environments. It sets a new state-of-the-art for single-image RGB localization performance on the 7-Scenes, 12-Scenes, Cambridge Landmarks datasets, and three combined scenes. Moreover, for large-scale outdoor localization on the Aachen Day-Night dataset, we present a hybrid approach which outperforms existing scene coordinate regression methods, and reduces significantly the performance gap w.r.t. explicit feature matching methods.
Motivation & Objective
- Motivate robust single-image RGB localization in large or ambiguous environments.
- Develop a hierarchical, coarse-to-fine network that predicts discrete location labels and continuous 3D coordinates.
- Introduce element-wise conditioning layers to propagate coarse location information to finer predictions.
- Demonstrate state-of-the-art localization on small/medium datasets and a scalable approach for large outdoor environments.
- Show that a compact model can compete with or surpass regression-only baselines and prior methods.
Proposed method
- Introduce a hierarchical scene coordinate network that predicts discrete location labels at multiple levels and continuous 3D coordinates for pixels.
- Use conditioning layers before each output layer that modulate features based on predicted coarse location labels (FiLM-like, but per-spatial-position).
- Train with a joint loss combining classification at each level and regression of 3D coordinates: L = w1 Lc^1 + w2 Lc^2 + w3 Lr.
- Adopt a global-to-local design with progressively larger receptive fields at coarser levels and smaller, localized effects at finer levels.
- Enable a classification-only variant by using sufficiently fine location labels without a final regression step.
- Validate on 7-Scenes, 12-Scenes, Cambridge Landmarks, and large-scale i7-/i12-/i19-Scenes, plus Aachen Day-Night with a hybrid approach.
Experimental results
Research questions
- RQ1Can hierarchical coarse-to-fine location labeling improve disambiguation in large or ambiguous scenes compared to regression-only models?
- RQ2How does the proposed conditioning mechanism affect accuracy, robustness to scale, and model size relative to regression-based baselines and prior methods?
- RQ3What is the impact of hierarchical depth/width and receptive field choices on localization performance across datasets and combined scenes?
- RQ4How can the method be adapted for outdoor/large-scale localization (Aachen Day-Night) using sparse features and image retrieval?
- RQ5Does the joint classification-regression formulation with conditioning yield state-of-the-art single-image RGB localization?
Key findings
- The hierarchical conditioned network achieves state-of-the-art single-image RGB localization on 7-Scenes, 12-Scenes, and Cambridge Landmarks.
- The method scales more robustly to large environments (i7-/i12-/i19-Scenes) than a regression-only baseline, especially on combined scenes.
- The model remains compact, with substantial reductions in size compared to some prior ensemble approaches (e.g., ESAC) while delivering competitive accuracy.
- On Aachen Day-Night, a hybrid approach using the hierarchical network with sparse features and image retrieval significantly outperforms ESAC and approaches feature-based methods without storing a large descriptor database.
- The conditioning mechanism is crucial: removing conditioning degrades performance substantially, especially on larger environments.
- Data augmentation generally helps the proposed method, though effects vary by dataset; the method maintains strong performance without augmentation on some large-scale settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.