mlsanityData to 7 Oct 2026

Activating Self-Attention for Multi-Scene Absolute Pose Regression

arXiv 2411.01443 ↗First posted 3 Nov 2024cs.CVcited by 2

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  8. 2020NeRF in the Wild: Neural Radiance Fields for Unconstrained Photo Collectionscited by 1,230
  9. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
  10. 2019Revealing the Dark Secrets of BERTcited by 300
  11. 2017Geometric Loss Functions for Camera Pose Regression with Deep Learningcited by 224
  12. 2019Pix2Pose: Pixel-Wise Coordinate Regression of Objects for 6D Pose Estimationcited by 218
22 more
  1. 2021Back to the Feature: Learning Robust Camera Localization from Pixels to Posecited by 199
  2. 2019Understanding the Limitations of CNN-based Absolute Camera Pose Regressioncited by 177
  3. 2020Visual Camera Re-Localization from RGB and RGB-D Images Using DSACcited by 176
  4. 2020The Lipschitz Constant of Self-Attentioncited by 171
  5. 2017Geometry-Aware Learning of Maps for Camera Localizationcited by 161
  6. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
  7. 2017Learning Less is More - 6D Camera Localization via 3D Surface Regressioncited by 146
  8. 2016Image-based localization using LSTMs for structured feature correlationcited by 136
  9. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
  10. 2015Modelling Uncertainty in Deep Learning for Camera Relocalizationcited by 133
  11. 2021LENS: Localization enhanced by NeRF synthesiscited by 116
  12. 2021ViTGAN: Training GANs with Vision Transformerscited by 110
  13. 2021Learning Multi-Scene Absolute Pose Regression with Transformerscited by 108
  14. 2019Hierarchical Scene Coordinate Classification and Regression for Visual Localizationcited by 93
  15. 2022DFNet: Enhance Absolute Pose Regression with Direct Feature Matchingcited by 82
  16. 2021Direct-PoseNet: Absolute Pose Regression with Photometric Consistencycited by 61
  17. 2022Camera Pose Auto-Encoders for Improving Pose Regressioncited by 28
  18. 2023Self-Feedback DETR for Temporal Action Detectioncited by 22
  19. 2022Leveraging Equivariant Features for Absolute Pose Regressioncited by 17
  20. 2022SC-wLS: Towards Interpretable Feed-forward Camera Re-localizationcited by 14
  21. 2023Coarse-to-Fine Multi-Scene Pose Regression with Transformerscited by 11
  22. 2020Do We Really Need Scene-specific Pose Encoders?cited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.