Who Handles Orientation? Investigating Invariance in Feature Matching

David Nordström, Johan Edstedt, Fredrik Kahl, Georg BökmanarXiv 2026

TL;DR

This paper investigates where to best inject rotation invariance within a modern sparse image matching pipeline—specifically comparing whether it should be handled by the local feature descriptor, the GNN-based matcher, or both. The authors discover that while both strategies yield similar peak accuracy, teaching the descriptor rotation invariance allows the matcher to converge much earlier, enabling faster inference via early stopping without sacrificing performance on upright images.

What Problem Does This Paper Address?

Image feature matching is a cornerstone of 3D computer vision tasks like Structure-from-Motion (SfM) and visual SLAM. While modern deep-learning-based sparse matchers (such as LightGlue) excel at matching images with viewpoint and illumination changes, they fail dramatically when faced with large in-plane rotations. This is a massive issue for domains lacking a canonical "upright" orientation, such as aerial mapping, satellite imaging, and astrophotography.

While data augmentation (randomly rotating training images) is a straightforward fix, it has remained an open question where this invariance should be introduced. Should the local descriptor handle it, or should it be delegated entirely to the downstream graph neural network (GNN) matcher?

Methods

The authors build their study on top of the state-of-the-art LoMa-B pipeline, which combines a DeDoDe descriptor with a LightGlue matcher. To evaluate where rotation invariance belongs, they introduce independent random in-plane rotations ($0^\circ, 90^\circ, 180^\circ, 270^\circ$) during training and compare three distinct configurations:

  1. NoRot: The baseline model, trained entirely on standard upright images.
  2. RotMatch: The descriptor is kept upright, but the GNN matcher is trained with rotation augmentation.
  3. RotDesc&Match: Both the descriptor and the GNN matcher are trained using rotation augmentation.

The experimental setup is systematically structured to isolate how rotation handling at one stage affects the behavior of the next, as illustrated below:

Figure 2. Experimental setup. We train descriptors and matchers with and without rotation augmentation, resulting in the three different models used for our main experiments. NoRot corresponds to the LoMa-B baseline.

Datasets

  • Training: The models were trained on a massive, diverse data mixture consisting of 17 different 3D datasets (including ScanNet++, BlendedMVS, MegaDepth, AerialMD, and TartanAir), combining both real-world multi-view stereo data and synthetic graphics.
  • Evaluation: The architectures were benchmarked across several challenging datasets:
  • MegaDepth-1500 & ScanNet-1500: Evaluated in both standard upright configurations and artificially rotated variants.
  • WxBS (Wide Baseline Stereo): A multi-modal dataset featuring extreme changes in sensor type and lighting.
  • SatAst: A highly rotated dataset matching astronaut photography from the ISS to satellite imagery.
  • HardMatch: A recently introduced, diverse benchmark containing 1,000 difficult image pairs.

Key Insights and Ideas

  • Invariance in the Descriptor Saves Compute: While RotMatch and RotDesc&Match achieve nearly identical final accuracy, RotDesc&Match achieves rotation invariance in much earlier layers of the GNN matcher. As shown in Figure 1, the model utilizing a rotation-invariant descriptor reaches peak performance by layer 3 or 5, allowing for aggressive early-stopping and faster inference.
Figure 1. Who Handles the Orientation? We compare incorporating rotation invariance in (a) the matcher and (b) both the matcher and descriptor, by reporting the AUC@20 on MegaDepth-1500 [27, 41] (rotated and upright) for different stopping layers using N “ 2048 keypoints. We average over 5 runs and include a 95% confidence interval.
  • Data Diversity Breeds Natural Robustness: One of the most surprising findings was that scaling up training data diversity naturally induces rotation robustness, even without explicit rotation augmentation. The NoRot model trained on the full 17-dataset mix saw its rotated MegaDepth AUC@20 jump by 52 points compared to being trained on MegaDepth alone.
  • No "Upright Penalty": A common fear with invariant models is that they sacrifice performance on standard upright datasets. However, when trained at scale, the rotation-augmented models maintained competitive performance on standard benchmarks and actually improved generalization on out-of-distribution upright tasks (like WxBS).

Key Results

  • Rotated Benchmarks: On the rotated ScanNet-1500 evaluation, both RotMatch and RotDesc&Match achieved an AUC@20° of ~68%, drastically outperforming the baseline NoRot (44.3%) and traditional pipelines like SuperPoint+SuperGlue (~15%).
  • Real-World Rotations (SatAst): On the naturally rotated SatAst dataset, RotDesc&Match achieved a state-of-the-art 47.7% AUC@10px, compared to just 18.8% for the NoRot baseline.
  • HardMatch Breakdown: The rotation-invariant models provided a massive performance boost in categories lacking canonical orientations. As shown in the radar chart breakdown, the models achieved significant gains in the Celestial subgroup (star constellations and planets) while maintaining baseline performance elsewhere.
HardMatch subgroup breakdown highlighting massive gains in celestial matching.

Limitations and Future Work

  • Not Fully Equivariant: The pipeline relies on discrete data augmentation ($90^\circ$ steps) rather than strict rotation-equivariant network architectures. Consequently, performance slightly fluctuates when facing arbitrary, non-orthogonal rotation angles.
  • Detector Stage Omitted: The study focused exclusively on the descriptor and matcher stages; the keypoint detector stage was kept frozen throughout the experiments (though the DaD keypoints used were inherently robust).
  • Simple Steerers: The authors note they did not experiment with complex, non-trivial learnable "steerers" to align descriptors, leaving open the question of whether advanced alignment mechanisms could yield even higher distinctiveness.

Summary updated

Abstract

Finding matching keypoints between images is a core problem in 3D computer vision. However, modern matchers struggle with large in-plane rotations. A straightforward mitigation is to learn rotation invariance via data augmentation. However, it remains unclear at which stage rotation invariance should be incorporated. In this paper, we study this in the context of a modern sparse matching pipeline. We perform extensive experiments by training on a large collection of 3D vision datasets and evaluating on popular image matching benchmarks. Surprisingly, we find that incorporating rotation invariance already in the descriptor yields similar performance to handling it in the matcher. However, rotation invariance is achieved earlier in the matcher when it is learned in the descriptor, allowing for a faster rotation-invariant matcher. Further, we find that enforcing rotation invariance does not hurt upright performance when trained at scale. Finally, we study the emergence of rotation invariance through scale and find that increasing the training data size substantially improves generalization to rotated images. We release two matchers robust to in-plane rotations that achieve state-of-the-art performance on e.g. multi-modal (WxBS), extreme (HardMatch), and satellite image matching (SatAst). Code is available at https://github.com/davnords/loma.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
WxBSRotMatchmAA@10px62.8rotation=independently sampled from 0°, 90°, 180°, 270° · max-keypoints=4096
Source quote
L178: {RotMatch} │ \bfseries 71.2 │ \bfseries 62.8 │ 42.4
WxBSRotDesc&MatchmAA@10px62.7rotation=independently sampled from 0°, 90°, 180°, 270° · max-keypoints=4096
Source quote
L179: {RotDesc\ │ Match} │ 65.5 │ 62.7 │ \bfseries 47.7
WxBSRotMatchmAA@10px71.2+2.5 vs baselinerotation=non-rotated · max-keypoints=4096
Source quote
L178: {RotMatch} │ \bfseries 71.2 │ \bfseries 62.8 │ 42.4
SatAstRotDesc&MatchAUC@10°47.7rotation=arbitrary rotations by default · max-keypoints=4096
Source quote
L179: {RotDesc\ │ Match} │ 65.5 │ 62.7 │ \bfseries 47.7
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
WxBSNoRot baselinemAA@10px68.7rotation=non-rotated · max-keypoints=4096
Source quote
L177: {NoRot} │ 68.7 │ 50.0 │ 18.8
BibTeX
@misc{nordstrom2026who,
  author = {David Nordström and Johan Edstedt and Fredrik Kahl and Georg Bökman},
  title = {{Who Handles Orientation? Investigating Invariance in Feature Matching}},
  year = {2026},
  eprint = {2604.11809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.11809},
}

Loading related content...

Figure