Abstract
As a core step in structure-from-motion and SLAM, robust feature detection and description under challenging scenarios such as significant viewpoint changes remain unresolved despite their ubiquity. While recent works have identified the importance of local features in modeling geometric transformations, these methods fail to learn the visual cues present in long-range relationships. We present RDD, a novel and robust keypoint detector/descriptor leveraging the deformable transformer, which captures global context and geometric invariance through deformable self-attention mechanisms. Specifically, we observed that deformable attention focuses on key locations, effectively reducing the search space complexity and modeling the geometric invariance. Furthermore, we introduce a novel refinement module for semi-dense matching, which does not rely on fine-level features. Our proposed methods outperform all state-of-the-art keypoint detection/description methods in feature matching, pose estimation, and visual localization tasks. To ensure comprehensive evaluation, we introduce two challenging benchmarks: one emphasizing large viewpoint and scale variations, and the other being a novel Air-to-Ground benchmark.
Introduction
In computer vision tasks like 3D reconstruction (SfM) and robot navigation (SLAM), identifying and matching "interest points" across images is fundamental. Despite the success of deep learning, two major hurdles persist: the trade-off between local and global context, and achieving geometric invariance. Standard Convolutional Neural Networks (CNNs) excel at local sub-pixel precision but often miss long-range cues like vanishing lines. Conversely, while Transformers can capture global relationships, they are often computationally prohibitive at high resolutions. RDD (Robust Deformable Detector) addresses these challenges by combining the strengths of CNNs and Deformable Transformers.
The RDD Framework
The core of RDD is a decoupled two-branch architecture that separates the requirements of feature detection and description.
Descriptor Branch (Transformer-based)
This branch utilizes a ResNet backbone to extract multi-scale features, which are then processed by a Deformable Transformer. Unlike standard Transformers that attend to every pixel, Deformable Attention learns to sample a small set of key points across the image. This mechanism allows the model to capture global context and naturally model geometric distortions, effectively "undoing" perspective shifts caused by varying camera angles.
Keypoint Branch (CNN-based)
A lightweight CNN produces a score map, using Differentiable Keypoint Detection (DKD) to find points with sub-pixel accuracy. The authors found that decoupling these branches—specifically freezing the descriptor branch while training the detector—prevents a "tug-of-war" between the two tasks, leading to superior convergence.
Semi-Dense Matching
RDD includes a refinement module for semi-dense matching. It uses the eight-point method to estimate a fundamental matrix and then adjusts candidate matches to satisfy epipolar constraints, ensuring geometric consistency without relying on computationally expensive fine-level features.
Experimental Evaluation
RDD was evaluated against state-of-the-art methods like ALIKED, DISK, and DeDoDe across several benchmarks, including two new datasets introduced by the authors: MegaDepth-View (extreme viewpoint shifts) and Air-to-Ground (cross-view matching between drones and street-level photos).
Key Results
- Air-to-Ground Matching: RDD achieved a significant lead, scoring 41.4 on the 5° AUC metric for pose error, compared to 31.5 for the next best method (DeDoDe-V2-G).
- MegaDepth-View: RDD consistently outperformed competitors in sparse matching, particularly when integrated with the LightGlue matcher.
- Visual Localization: On the Aachen Day-Night benchmark, RDD reached a top-tier result of 86.7 / 92.9 / 99.0 at various thresholds, demonstrating its robustness in low-light, real-world conditions.
Conclusion
RDD demonstrates that leveraging deformable attention within a decoupled architecture provides a powerful solution for robust feature matching. By efficiently capturing global context and modeling geometric invariance, RDD sets a new state-of-the-art for challenging scenarios like large scale changes and cross-view matching. Future work may involve incorporating visual feature similarity into the epipolar refinement step and exploring advanced data augmentation to further enhance robustness.
Summary updated