Abstract
Detecting robust keypoints from an image is an integral part of many computer vision problems, and the characteristic orientation and scale of keypoints play an important role for keypoint description and matching. Existing learning-based methods for keypoint detection rely on standard translation-equivariant CNNs but often fail to detect reliable keypoints against geometric variations. To learn to detect robust oriented keypoints, we introduce a self-supervised learning framework using rotation-equivariant CNNs. We propose a dense orientation alignment loss by an image pair generated by synthetic transformations for training a histogram-based orientation map. Our method outperforms the previous methods on an image matching benchmark and a camera pose estimation benchmark.
Introduction
Keypoint detection—the identification of stable, repeatable points in an image—is fundamental to computer vision tasks such as SLAM, 3D reconstruction, and image matching. For these points to be effective, they must be robust, meaning they should be detected at the same physical location despite changes in camera viewpoint, lighting, or image rotation.
While standard Convolutional Neural Networks (CNNs) are inherently translation-equivariant, they struggle to maintain consistency under rotation. Most existing deep learning methods attempt to mitigate this through extensive data augmentation, showing the network millions of rotated images in the hope it learns invariance. However, this "brute-force" approach is computationally expensive and often lacks the precision required for high-quality geometric matching.
Methodology: The REKD Framework
This paper introduces REKD (Rotation-Equivariant Keypoint Detector), a self-supervised framework that embeds geometric constraints directly into the network architecture. The approach is built on three core innovations:
- Rotation-Equivariant Layers: Instead of standard CNN layers, REKD utilizes $E(2)$-equivariant layers. These layers share weights across discrete rotations (e.g., 36 different angles), ensuring that if an input image rotates, the internal feature maps rotate in a predictable, structured manner.
- Dual-Branch Architecture: The model splits into two specialized branches after the initial equivariant layers:
- Detection Branch: Employs "group pooling" to collapse orientation information into a single rotation-invariant score map, ensuring keypoint scores remain stable regardless of image orientation.
- Orientation Branch: Uses "channel pooling" to create a histogram-based orientation map. Rather than regressing a single angle, which is mathematically difficult due to the $0^\circ/360^\circ$ wrap-around, the network predicts a probability distribution over discrete orientation bins.
- Dense Orientation Alignment Loss: This self-supervised loss function is applied to pairs of images where one is a synthetically transformed version of the other. It forces the network to ensure that predicted orientation histograms for the same point in both images are consistent once the known transformation is accounted for.
Experimental Results
The model was trained on a synthetic dataset derived from ImageNet (ILSVRC2012) and evaluated against several benchmarks, including HPatches for repeatability and the Image Matching Challenge (IMC2021) for camera pose estimation.
Performance and Robustness
REKD demonstrates significant improvements in repeatability and matching accuracy, particularly under extreme rotations. On the HPatches dataset, REKD achieved a repeatability score of 57.6, outperforming established methods like Key.Net (55.9) and SIFT (41.9). In the IMC2021 challenge, the method achieved a Mean Average Accuracy (mAA) at $10^\circ$ of 0.549, compared to Key.Net's 0.512.
Efficiency and Parameter Count
A key insight from this research is that embedding geometric knowledge into the architecture is more powerful than simply increasing data. Because the network shares weights across rotations, it is remarkably efficient. One version of the model ($G_{36}$) uses only 3.3K parameters, yet it outperforms a standard CNN baseline that utilizes 116K parameters. This suggests that equivariant networks are not only more accurate but also significantly more hardware-efficient.
Conclusion
REKD proves that rotation-equivariant CNNs can significantly enhance the robustness of keypoint detection without the need for massive parameter counts or exhaustive data augmentation. While the current model uses discrete rotation steps, future work may explore continuous equivariant representations to further improve precision. Additionally, extending this framework to handle more complex affine transformations or non-rigid deformations could lead to a more universal geometric feature detector.
Summary updated