Activating Self-Attention for Multi-Scene Absolute Pose Regression
Not on the map. Why?
Abstract (arXiv)
Multi-scene absolute pose regression addresses the demand for fast and memory-efficient camera pose estimation across various real-world environments. Nowadays, transformer-based model has been devised to regress the camera pose directly in multi-scenes. Despite its potential, transformer encoders are underutilized due to the collapsed self-attention map, having low representation capacity. This work highlights the problem and investigates it from a new perspective: distortion of query-key embedding space. Based on the statistical analysis, we reveal that queries and keys are mapped in completely different spaces while only a few keys are blended into the query region. This leads to the collapse of the self-attention map as all queries are considered similar to those few keys. Therefore, we propose simple but effective solutions to activate self-attention. Concretely, we present an auxiliary loss that aligns queries and keys, preventing the distortion of query-key space and encouraging the model to find global relations by self-attention. In addition, the fixed sinusoidal positional encoding is adopted instead of undertrained learnable one to reflect appropriate positional clues into the inputs of self-attention. As a result, our approach resolves the aforementioned problem effectively, thus outperforming existing methods in both outdoor and indoor scenes.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 34 of its 43 references that are in the map. First posted on arXiv 3 Nov 2024.
Builds on
34 of 43 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020NeRF in the Wild: Neural Radiance Fields for Unconstrained Photo Collectionscited by 1,230
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019Revealing the Dark Secrets of BERTcited by 300
- 2017Geometric Loss Functions for Camera Pose Regression with Deep Learningcited by 224
- 2019Pix2Pose: Pixel-Wise Coordinate Regression of Objects for 6D Pose Estimationcited by 218
22 more
- 2021Back to the Feature: Learning Robust Camera Localization from Pixels to Posecited by 199
- 2019Understanding the Limitations of CNN-based Absolute Camera Pose Regressioncited by 177
- 2020Visual Camera Re-Localization from RGB and RGB-D Images Using DSACcited by 176
- 2020The Lipschitz Constant of Self-Attentioncited by 171
- 2017Geometry-Aware Learning of Maps for Camera Localizationcited by 161
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2017Learning Less is More - 6D Camera Localization via 3D Surface Regressioncited by 146
- 2016Image-based localization using LSTMs for structured feature correlationcited by 136
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2015Modelling Uncertainty in Deep Learning for Camera Relocalizationcited by 133
- 2021LENS: Localization enhanced by NeRF synthesiscited by 116
- 2021ViTGAN: Training GANs with Vision Transformerscited by 110
- 2021Learning Multi-Scene Absolute Pose Regression with Transformerscited by 108
- 2019Hierarchical Scene Coordinate Classification and Regression for Visual Localizationcited by 93
- 2022DFNet: Enhance Absolute Pose Regression with Direct Feature Matchingcited by 82
- 2021Direct-PoseNet: Absolute Pose Regression with Photometric Consistencycited by 61
- 2022Camera Pose Auto-Encoders for Improving Pose Regressioncited by 28
- 2023Self-Feedback DETR for Temporal Action Detectioncited by 22
- 2022Leveraging Equivariant Features for Absolute Pose Regressioncited by 17
- 2022SC-wLS: Towards Interpretable Feed-forward Camera Re-localizationcited by 14
- 2023Coarse-to-Fine Multi-Scene Pose Regression with Transformerscited by 11
- 2020Do We Really Need Scene-specific Pose Encoders?cited by 10
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.