Random Forests versus Neural Networks - What's Best for Camera Localization?
Not on the map. Why?
Abstract (arXiv)
This work addresses the task of camera localization in a known 3D scene given a single input RGB image. State-of-the-art approaches accomplish this in two steps: firstly, regressing for every pixel in the image its 3D scene coordinate and subsequently, using these coordinates to estimate the final 6D camera pose via RANSAC. To solve the first step, Random Forests (RFs) are typically used. On the other hand, Neural Networks (NNs) reign in many dense regression tasks, but are not test-time efficient. We ask the question: which of the two is best for camera localization? To address this, we make two method contributions: (1) a test-time efficient NN architecture which we term a ForestNet that is derived and initialized from a RF, and (2) a new fully-differentiable robust averaging technique for regression ensembles which can be trained end-to-end with a NN. Our experimental findings show that for scene coordinate regression, traditional NN architectures are superior to test-time efficient RFs and ForestNets, however, this does not translate to final 6D camera pose accuracy where RFs and ForestNets perform slightly better. To summarize, our best method, a ForestNet with a robust average, which has an equivalent fast and lightweight RF, improves over the state-of-the-art for camera localization on the 7-Scenes dataset. While this work focuses on scene coordinate regression for camera localization, our innovations may also be applied to other continuous regression tasks.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Sep 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 4; 2023: 4; 2024: 0; 2025: 1.
15 papers.
Sort:
- 2022LaMAR: Benchmarking Localization and Mapping for Augmented Realitycited by 98
- 2022MeshLoc: Mesh-Based Visual Localizationcited by 62
- 2021P2-Net: Joint Description and Detection of Local Features for Pixel and Point Matchingcited by 42
- 2021Visual Camera Re-Localization Using Graph Neural Networks and Relative Pose Supervisioncited by 37
- 2021Large-scale Localization Datasets in Crowded Indoor Spacescited by 28
- 2022Investigating the Role of Image Retrieval for Visual Localization -- An exhaustive benchmarkcited by 27
- 20232D3D-MATR: 2D-3D Matching Transformer for Detection-free Registration between Images and Point Cloudscited by 27
- 2023HSCNet++: Hierarchical Scene Coordinate Classification and Regression for Visual Localization with Transformercited by 26
- 2021How Privacy-Preserving are Line Clouds? Recovering Scene Details from 3D Linescited by 19
- 2021Continual Learning for Image-Based Camera Localizationcited by 18
- 2023Deep Learning for Visual Localization and Mapping: A Surveycited by 14
- 2025A Guide to Structureless Visual Localizationcited by 9
3 more
- 2022ImPosing: Implicit Pose Encoding for Efficient Visual Localizationcited by 3
- 2021Deep Weakly Supervised Positioningcited by 0
- 2023SGL: Structure Guidance Learning for Camera Localizationcited by 0
- 2025A Guide to Structureless Visual Localization24 Apr 2025
- 2023Deep Learning for Visual Localization and Mapping: A Survey27 Aug 2023
- 20232D3D-MATR: 2D-3D Matching Transformer for Detection-free Registration between Images and Point Clouds10 Aug 2023
- 2023HSCNet++: Hierarchical Scene Coordinate Classification and Regression for Visual Localization with Transformer5 May 2023
- 2023SGL: Structure Guidance Learning for Camera Localization12 Apr 2023
- 2022LaMAR: Benchmarking Localization and Mapping for Augmented Reality19 Oct 2022
- 2022MeshLoc: Mesh-Based Visual Localization21 Jul 2022
- 2022Investigating the Role of Image Retrieval for Visual Localization -- An exhaustive benchmark31 May 2022
- 2022ImPosing: Implicit Pose Encoding for Efficient Visual Localization5 May 2022
- 2021Continual Learning for Image-Based Camera Localization20 Aug 2021
- 2021Large-scale Localization Datasets in Crowded Indoor Spaces19 May 2021
- 2021Deep Weakly Supervised Positioning10 Apr 2021
- 2022LaMAR: Benchmarking Localization and Mapping for Augmented Realitycited by 98
- 2022MeshLoc: Mesh-Based Visual Localizationcited by 62
- 2021P2-Net: Joint Description and Detection of Local Features for Pixel and Point Matchingcited by 42
- 2021Visual Camera Re-Localization Using Graph Neural Networks and Relative Pose Supervisioncited by 37
- 2021Large-scale Localization Datasets in Crowded Indoor Spacescited by 28
- 2022Investigating the Role of Image Retrieval for Visual Localization -- An exhaustive benchmarkcited by 27
- 20232D3D-MATR: 2D-3D Matching Transformer for Detection-free Registration between Images and Point Cloudscited by 27
- 2023HSCNet++: Hierarchical Scene Coordinate Classification and Regression for Visual Localization with Transformercited by 26
- 2021How Privacy-Preserving are Line Clouds? Recovering Scene Details from 3D Linescited by 19
- 2021Continual Learning for Image-Based Camera Localizationcited by 18
- 2023Deep Learning for Visual Localization and Mapping: A Surveycited by 14
- 2025A Guide to Structureless Visual Localizationcited by 9
12 most cited of 15 All 15 (JSON)
- 2025A Guide to Structureless Visual Localization24 Apr 2025
- 2023Deep Learning for Visual Localization and Mapping: A Survey27 Aug 2023
- 20232D3D-MATR: 2D-3D Matching Transformer for Detection-free Registration between Images and Point Clouds10 Aug 2023
- 2023HSCNet++: Hierarchical Scene Coordinate Classification and Regression for Visual Localization with Transformer5 May 2023
- 2023SGL: Structure Guidance Learning for Camera Localization12 Apr 2023
- 2022LaMAR: Benchmarking Localization and Mapping for Augmented Reality19 Oct 2022
- 2022MeshLoc: Mesh-Based Visual Localization21 Jul 2022
- 2022Investigating the Role of Image Retrieval for Visual Localization -- An exhaustive benchmark31 May 2022
- 2022ImPosing: Implicit Pose Encoding for Efficient Visual Localization5 May 2022
- 2021Continual Learning for Image-Based Camera Localization20 Aug 2021
- 2021Large-scale Localization Datasets in Crowded Indoor Spaces19 May 2021
- 2021Deep Weakly Supervised Positioning10 Apr 2021
12 newest of 15 All 15 (JSON)