Abstract
Extracting discriminative local features that are invariant to imaging variations is an integral part of establishing correspondences between images. In this work, we introduce a self-supervised learning framework to extract discriminative rotation-invariant descriptors using group-equivariant CNNs. Thanks to employing group-equivariant CNNs, our method effectively learns to obtain rotation-equivariant features and their orientations explicitly, without having to perform sophisticated data augmentations. The resultant features and their orientations are further processed by group aligning, a novel invariant mapping technique that shifts the group-equivariant features by their orientations along the group dimension. Our group aligning technique achieves rotation-invariance without any collapse of the group dimension and thus eschews loss of discriminability. The proposed method is trained end-to-end in a self-supervised manner, where we use an orientation alignment loss for the orientation estimation and a contrastive descriptor loss for robust local descriptors to geometric/photometric variations. Our method demonstrates state-of-the-art matching accuracy among existing rotation-invariant descriptors under varying rotation and also shows competitive results when transferred to the task of keypoint matching and camera pose estimation.
Introduction
Establishing visual correspondence—identifying the same physical point across different images—is fundamental to computer vision tasks such as 3D reconstruction and SLAM. A significant challenge in this domain is rotation. While standard Convolutional Neural Networks (CNNs) are translation-invariant, they lack inherent rotation-invariance; rotating an input image leads to unpredictable changes in the resulting feature maps.
Existing approaches typically rely on extensive data augmentation or group pooling. Data augmentation is computationally intensive and often fails to achieve perfect invariance. Group pooling, while providing invariance by max-pooling or average-pooling across a "group dimension" (representing rotations), "collapses" the data, discarding the rich, discriminative information stored within the group structure. This paper introduces RELF (Rotation-Equivariant Local Features), a framework designed to achieve perfect rotation invariance while retaining full descriptive power.
Methodology
The RELF pipeline leverages group-equivariant CNNs to produce features that respond predictably to rotation.
Rotation-Equivariant Architecture
The backbone of RELF is a rotation-equivariant ResNet (ReResNet-18) based on steerable CNNs. This architecture ensures that when an input image is rotated, the features in the group dimension undergo a simple cyclic shift. This mathematical property allows the network to handle rotations efficiently without needing to see every possible orientation during training.
Group Aligning
The core innovation of RELF is the "group aligning" technique. Instead of squashing the group dimension through pooling, the system estimates the dominant orientation of a keypoint and performs a cyclic shift along the group dimension. This aligns the dominant orientation to a fixed "zero" index, effectively normalizing the rotation while preserving the entire high-dimensional feature vector.
Self-Supervised Training
The model is trained end-to-end using two primary loss functions:
- Orientation Alignment Loss: Ensures the network predicts consistent relative orientations for different rotations of the same image patch.
- Contrastive Descriptor Loss: Employs an InfoNCE loss to maximize the similarity between descriptors of the same point while pushing apart descriptors of different points.
To handle symmetric structures, the system can extract multiple descriptors per keypoint by identifying the top-$k$ peaks in the orientation histogram, enhancing matching robustness.
Experimental Results
RELF was evaluated across several benchmarks, demonstrating superior performance and efficiency.
- Rotation Robustness: On the Roto-360 dataset, which tests in-plane rotations from 0° to 350°, RELF achieved a Mean Matching Accuracy (MMA) of 94.35% at a 10px threshold. This significantly outperforms standard methods like SuperPoint (22.85%) and specialized rotation-invariant methods like GIFT (42.35%).
- Generalization: Despite its focus on rotation, RELF remains competitive on the HPatches benchmark, outperforming SIFT and several deep-learning baselines under viewpoint and illumination changes.
- Efficiency: The base model is highly lightweight, containing only 0.62M parameters. This efficiency stems from the equivariant design, which requires fewer parameters to learn robust features compared to standard CNNs.
Conclusion and Future Work
RELF demonstrates that preserving the group dimension through alignment, rather than collapsing it through pooling, is key to creating highly discriminative and rotation-invariant descriptors. While the current method relies on accurate orientation estimation and discrete rotation groups, it sets a new standard for rotation-invariant matching. Future work may extend this alignment logic to other geometric transformations, such as scale or affine warps, aiming for a more universal invariant descriptor.
Summary updated