MEKAWIRE
ExpertarXiv

CoReMatch: Recurrent Continuous Coordinate Refinement for Real-Time Robotic Feature Matching

Robert J. Wang, Charles Ling, Boyu Wang
From the abstract

Feature matching underpins many robotic perception tasks, including visual localization, mapping, SLAM, and autonomous navigation. Existing semi-dense matchers predict confidence on fixed grids, limiting correspondences to predefined locations and requiring costly high-resolution grids for precise localization.

From the abstract. Our summary is in progress.

Full paper

CoReMatch: Recurrent Continuous Coordinate Refinement for Real-Time Robotic Feature Matching

Robert J. Wang, Charles Ling, Boyu Wang

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.03932 (PDF).

Abstract

Feature matching underpins many robotic perception tasks, including visual localization, mapping, SLAM, and autonomous navigation. Existing semi-dense matchers predict confidence on fixed grids, limiting correspondences to predefined locations and requiring costly high-resolution grids for precise localization. We present CoReMatch (Coordinate Refinement Match), a recurrent framework that refines correspondences directly in continuous coordinate space rather than predicting discrete confidence maps. CoReMatch progressively improves correspondence estimates by propagating information across iterations. At the coarse stage, a Deep Aggregated Transformer captures global context and iteratively updates correspondence coordinates, while a lightweight regression head further sharpens their localization. Experiments on indoor and outdoor benchmarks show that CoReMatch strikes a strong balance between accuracy and efficiency, outperforming Efficient LoFTR in accuracy while running more than 10\times faster on embedded edge hardware. These results demonstrate that recurrent coordinate refinement offers an efficient and scalable approach to real-time feature matching for robotic perception. Code is available at edge-cv/CoReMatch.

Keywords: Feature Matching, Robotic Perception, Iterative Refinement

1 Introduction

Image feature matching establishes pixel-level correspondences between images and is a core component of robotic perception. It supports visual localization, mapping, pose estimation, and navigation in systems such as SLAM, VIO, and autonomous aerial robots. In real-time applications, matches must be computed under tight latency, memory, and power constraints, as unreliable correspondences can directly degrade trajectory estimation, map consistency, and control stability. Classical matching pipelines rely on keypoint detection and descriptor matching, but often struggle with large viewpoint changes, motion blur, illumination variations, and low-texture regions. Learning-based methods improve robustness by combining dense visual features with global context. In particular, semi-dense matchers [24, 35, 4, 11, 18, 25, 29, 33] replace explicit keypoint detection with coarse dense matching, followed by local refinement of high-confidence correspondences.

Despite their effectiveness, existing semi-dense matchers typically predict discrete confidence maps over spatial grids. Precise localization is therefore constrained by the resolution of the prediction grid, often requiring higher-resolution inputs to achieve accurate correspondences. However, the computational and memory costs of Transformer-based architectures increase substantially with input resolution. Although recent methods reduce theoretical FLOPs through linear or aggregated attention, practical runtime on embedded platforms can still be dominated by memory movement and feature aggregation. Consequently, modest increases in image resolution can lead to disproportionate latency growth. For example, as shown in Tab. 7, Efficient LoFTR [33] requires 311 ms to process a 640\times 640 image pair, while increasing the resolution to 960\times 960 results in a 4.5\times runtime increase for only a 1.5\times increase in input resolution. At 1152\times 1152, it requires more than two seconds to process an image pair on an NVIDIA AGX Orin. This scaling behavior presents a significant challenge for real-time and on-device robotic perception, motivating more resolution-efficient approaches to correspondence estimation.

Recent dense matching methods [8, 9] obtain subpixel correspondences through continuous regression and iterative refinement. However, they commonly rely on correlation volumes and multi-scale warping, which introduce substantial computational and memory overhead. These limitations motivate a central question: Can semi-dense matching produce accurate subpixel correspondences without high-resolution prediction grids or costly correlation-volume refinement?

Figure 1: Memory–Speed–Accuracy Trade-off of State-of-the-Art Matchers on MegaDepth. Memory usage and runtime are measured on NVIDIA AGX Orin and RTX 3090 GPUs using batch size 1 and FP16 precision. Higher values on the y-axis indicate better performance, while lower values on the x-axis indicate higher efficiency. Across both equal-resolution and equal-accuracy comparisons, CoReMatch consistently outperforms prior state-of-the-art methods. Additional quantitative results are provided in Table 1 and Table 7.

In this work, we answer this question with CoReMatch (Coordinate Refinement Match), an efficient semi-dense feature matching framework designed for real-time robotic perception. Unlike existing semi-dense methods that formulate matching as discrete confidence prediction over feature grids, CoReMatch reformulates correspondence estimation as a recurrent continuous coordinate refinement problem. CoReMatch directly refines correspondences in coordinate space through persistent hidden-state updates, significantly reducing computational and memory overhead while preserving accurate sub-pixel localization. Specifically, CoReMatch adopts a two-stage recurrent refinement framework. At the coarse level, a Deep Aggregated Transformer (DAT) iteratively predicts and refines correspondences through direct coordinate updates while maintaining a persistent hidden state across iterations. This design enables efficient global geometric reasoning without explicit dense correlation-volume construction. The recurrent refinement process shares parameters across iterations, allowing the number of refinement steps to be dynamically adjusted at runtime based on hardware constraints or convergence behavior. At the fine level, a lightweight convolutional network performs local dense regression within small full-resolution windows for efficient sub-pixel refinement. By combining recurrent coordinate-space refinement with sparse computation, CoReMatch bridges the gap between efficient semi-dense matching and accurate dense correspondence estimation. Our contributions are summarized as follows:

A recurrent continuous refinement framework for efficient semi-dense feature matching. We formulate semi-dense matching as a recurrent continuous coordinate refinement problem, enabling accurate sub-pixel correspondence estimation without constructing a dense correlation volume. CoReMatch enables efficient geometric reasoning while reducing reliance on high-resolution feature maps. As a result, CoReMatch achieves higher accuracy at a lower input resolution (448\times448) than Efficient LoFTR at substantially higher resolutions.

State-of-the-art accuracy–efficiency trade-offs with strong robotic generalization. We evaluate CoReMatch on multiple indoor and outdoor correspondence benchmarks, including MegaDepth [14], ScanNet [5], and HPatches [1]. CoReMatch consistently outperforms state-of-the-art semi-dense methods while achieving over 10\times faster inference on embedded edge devices. Beyond benchmarks, CoReMatch improves robustness in downstream SLAM and VIO systems and demonstrates strong generalization to unseen environments and cross-modality RGB–infrared matching.

2 Method

Figure 2: Overview of CoReMatch. We propose a recurrent continuous coordinate refinement framework for semi-dense feature matching. Given an image pair, CoReMatch first predicts initial correspondences using low-resolution 1/16 feature maps. A recurrent coordinate refinement module then progressively updates the correspondences through iterative coordinate-space optimization using a Deep Aggregated Transformer (DAT) for global geometric reasoning. The resulting correspondences are further refined by a lightweight CNN that performs sub-pixel regression within compact local feature windows. This coarse-to-fine coordinate refinement design enables efficient and accurate matching for real-time robotic perception.

2.1 Overview

CoReMatch formulates feature matching as a recurrent continuous coordinate refinement problem for efficient semi-dense correspondence estimation. As shown in Fig. 2, the framework follows a coarse-to-fine pipeline. DAT handles global semantic correspondence reasoning, while the fine-level module focuses solely on local geometric and confidence refinement. Overall, this recurrent coordinate refinement design combines the efficiency of semi-dense matching with accurate sub-pixel localization, making it suitable for real-time deployment on embedded robotic platforms.

2.2 Coarse-Level Recurrent Coordinate Refinement

2.2.1 Correspondence Representation

Given an image pair (I_{A},I_{B}), CoReMatch first extracts low-resolution feature maps F_{A}\in\mathbb{R}^{H\times W\times C} and F_{B}\in\mathbb{R}^{H\times W\times C} using a shared feature encoder. Unlike existing semi-dense methods that formulate matching as discrete confidence prediction over spatial grids, we represent correspondences directly in continuous coordinate space. Specifically, each query location is associated with a continuous correspondence coordinate \mathbf{x}_{i}=(u_{i},v_{i}) in the target image together with a latent hidden state \mathbf{h}_{i} that stores iterative geometric context during refinement.

We initialize a set of coarse query locations \mathcal{Q}=\{\mathbf{q}_{i}\}_{i=1}^{N} on the source feature map using a regular low-resolution grid. Initial correspondences are obtained through global feature similarity matching on the low-resolution features, producing continuous target coordinates \mathcal{X}^{0}=\{\mathbf{x}_{i}^{0}\}_{i=1}^{N}. Rather than discretizing matches onto feature cells, CoReMatch maintains continuous coordinate estimates throughout the entire refinement process. This representation enables sub-pixel correspondence estimation even from low-resolution feature maps while avoiding the discretization artifacts commonly observed in grid-based semi-dense matching methods.

Each correspondence hypothesis is iteratively refined through recurrent coordinate updates:

\mathbf{x}_{i}^{t+1}=\mathbf{x}_{i}^{t}+\Delta\mathbf{x}_{i}^{t},

where \Delta\mathbf{x}_{i}^{t} denotes the coordinate update predicted at iteration t.

2.2.2 Recurrent Coordinate Update

Starting from the initial dense correspondence field \mathcal{X}^{0}={\mathbf{x}*i^{0}}*{i=1}^{N}, CoReMatch performs iterative refinement directly in continuous coordinate space. Unlike existing dense correspondence methods that rely on local correlation volumes and multi-scale warping, our refinement uses recurrent hidden-state propagation without explicit correlation-volume search, substantially reducing computational and memory overhead while retaining iterative geometric refinement.

At iteration t, each correspondence hypothesis consists of a source location \mathbf{q}_{i}, a target coordinate estimate \mathbf{x}_{i}^{t}, and a latent hidden state \mathbf{h}_{i}^{t}. Given the current coordinate estimate, target features are sampled from the feature map F_{B} using differentiable bilinear interpolation:

\mathbf{f}_{i}^{t}=\phi(F_{B},\mathbf{x}_{i}^{t}),

where \phi(\cdot) denotes continuous feature sampling.

The sampled target feature, source feature, and previous hidden state are then processed by a recurrent Transformer update module:

\mathbf{h}_{i}^{t+1}=\mathcal{T}\left(\mathbf{f}_{A,i},\mathbf{f}_{i}^{t},\mathbf{h}_{i}^{t}\right),

where \mathcal{T}(\cdot) shares parameters across refinement iterations. The updated hidden representation is used to predict a continuous coordinate offset:

\Delta\mathbf{x}_{i}^{t}=g(\mathbf{h}_{i}^{t+1}),

followed by coordinate refinement:

\mathbf{x}_{i}^{t+1}=\mathbf{x}_{i}^{t}+\Delta\mathbf{x}_{i}^{t}.

The hidden state \mathbf{h}_{i}^{t} is recurrently updated and propagated across iterations, enabling the model to accumulate geometric reasoning over time without constructing dense correlation volumes or performing multi-scale warping. As shown in Fig. 4, three recurrent iterations at the 1/8 feature scale are over 5\times faster than RoMa-style multi-scale refinement at 1/16, 1/8, and 1/4 scales for 512\times 512 inputs, and over 8\times faster for 1024\times 1024 inputs.

Figure 3: Runtime breakdown of refinement mechanisms. Compared with RoMa-style multi-scale correlation-volume refinement at 1/16, 1/8, and 1/4 resolutions, CoReMatch performs three recurrent refinement iterations entirely at 1/8 resolution, achieving over 5\times faster runtime at 512\times 512 and over 8\times faster runtime at 1024\times 1024.
2.2.3 Deep Aggregated Transformer

Attention plays a central role in Transformer-based feature matching by enabling global geometric reasoning. However, standard attention has quadratic complexity with respect to the number of tokens, making it prohibitively expensive for dense correspondence estimation at high resolutions. To improve efficiency, LoFTR adopts linear attention, while Efficient LoFTR introduces an Aggregated Attention Module (AAM), which computes attention over a compact set of aggregated tokens. Although AAM significantly reduces theoretical FLOPs, its practical efficiency on embedded platforms remains limited by repeated token aggregation and feature reconstruction operations across attention layers. These operations introduce substantial memory movement and kernel-launch overhead, which increasingly dominate runtime at high resolutions. As shown in Fig. 4, the inference time of AAM grows rapidly for resolutions larger than 640\times 640, limiting its scalability for real-time robotic perception.

To address this limitation, we propose a Deep Aggregated Transformer (DAT), a memory-efficient architecture designed for recurrent coordinate refinement. Unlike Efficient LoFTR, DAT performs token aggregation only once at the Transformer input. The aggregated tokens are then processed by a deep Transformer operating entirely at the compact resolution, followed by a lightweight feature fusion block that combines intermediate and final Transformer features to recover spatial representations. This deep-and-narrow design substantially reduces intermediate memory traffic while preserving strong global reasoning capability. By avoiding repeated aggregation and reconstruction operations across attention layers, DAT achieves significantly better scalability on embedded platforms. As shown in Fig. 4, DAT achieves over 4\times lower inference time than AAM at 1024\times 1024 resolution.

2.3 Fine-Level Refinement

Existing semi-dense matching methods such as LoFTR and Efficient LoFTR perform fine-level refinement by computing local correlations within cropped feature patches around coarse correspondences. However, refinement is typically formulated as discrete confidence prediction over local feature grids, which inherently limits sub-pixel localization accuracy.

To address this limitation, we reformulate fine-level refinement as a local continuous regression problem. Specifically, we select the top-N coarse correspondences according to matching confidence for fine-level refinement. For each selected correspondence, an 8\times 8 local window is extracted from the fine-level feature maps, and the network directly predicts continuous coordinate offsets within the window. This formulation enables sub-pixel refinement directly in coordinate space without relying on discretized local matching grids. Since semantic correspondence estimation is largely resolved at the coarse stage, the fine-level module focuses mainly on local geometric refinement. As illustrated in Fig. 2, the refinement network consists of three depthwise separable convolutional layers followed by a lightweight 1\times 1 prediction head. The lightweight design introduces minimal computational overhead while preserving accurate sub-pixel localization, making it well suited for real-time robotic perception on embedded platforms.

2.4 Feature Representation

CoReMatch is backbone-agnostic and does not depend on a specific feature encoder. For real-time deployment, we use a lightweight PeleeNet-based backbone [12, 30], providing a strong speed–accuracy trade-off on embedded platforms. To evaluate generalization, we also integrate frozen DINOv2 [7, 19] features into the same refinement framework. The DINOv2-based variants achieve stronger performance than the lightweight CNN backbone on MegaDepth while substantially improving robustness across unseen domains and sensing modalities without fine-tuning, including indoor scenes, autonomous driving, UAV imagery, and RGB–infrared matching.

We further provide scalable variants under the same recurrent refinement framework. CoReMatch-S employs a lightweight CNN backbone with a single refinement iteration for maximum efficiency on embedded platforms. CoReMatch-M adopts a frozen DINOv2 ViT-S backbone with two refinement iterations for improved robustness and cross-domain generalization. CoReMatch-L further scales the framework using a DINOv2 ViT-L backbone with three refinement iterations for higher matching accuracy in challenging large-scale environments. All variants share the same recurrent coordinate refinement formulation, demonstrating that CoReMatch scales effectively from lightweight embedded deployment to high-capacity foundation-model-based robotic perception systems.

2.5 Training Objectives

CoReMatch is trained in a two-stage strategy. We first train the coarse-level matcher, after which its weights are frozen and the fine-level refiner is trained. Since both the coarse matcher and the fine-level refiner predict dense correspondence fields along with confidence scores, they share the same loss formulation.

The overall loss consists of a regression term and a confidence term:

\mathcal{L}=\mathcal{L}_{\mathrm{warp}}\left(\hat{W}_{l}^{\mathcal{A}\rightarrow\mathcal{B}}\right)+\lambda\mathcal{L}_{\mathrm{conf}}\left(\hat{p}_{l}^{\mathcal{A}\rightarrow\mathcal{B}}\right),
(1)

where \lambda=0.01 balances the two terms, following DKM and RoMa.

The confidence loss \mathcal{L}_{\mathrm{conf}} is implemented using binary cross-entropy. For the regression loss \mathcal{L}_{\mathrm{warp}}, we adopt the generalized Charbonnier loss [2]:

\mathcal{L}_{\mathrm{warp}}(y,p)=\sum_{i=1}^{N}\left[\left(\frac{y_{i}-p_{i}}{c}\right)^{2}+1\right]^{\frac{1}{2}},
(2)

where c=0.001 controls the width of the quadratic region near zero.

3 Experiments

We evaluate CoReMatch on homography and relative pose estimation across diverse indoor and outdoor benchmarks. To assess downstream performance, we further evaluate visual odometry on four datasets. All evaluations use a single model trained exclusively on MegaDepth, enabling a direct assessment of zero-shot generalization. Finally, we conduct extensive ablation studies to analyze key architectural and training configurations.

3.1 Training Details

All models are trained on MegaDepth using the standard split [24, 9]. Training is performed on three NVIDIA A6000 GPUs with a batch size of 24 using AdamW [16]. The learning rate is set to 1\times 10^{-4} for the backbone and 3\times 10^{-4} for the matcher and refiner. Training uses a fixed resolution of 512\times 512. Ablation models are trained for 30 epochs, while final models are trained for 100 epochs.

3.2 Relative Pose Estimation

Dataset and Evaluation Protocol. We evaluate relative pose estimation on MegaDepth [14] and ScanNet [5]. Predicted correspondences are rescaled to the original image resolution following DKM and RoMa. Relative poses are estimated from matches and evaluated using the maximum angular error between rotation and translation. We report AUC at 5°, 10°, and 20°. For LightGlue, runtime includes SuperPoint extraction (2048 keypoints).

Table 1: Relative Pose Estimation Results. All methods are trained on MegaDepth and evaluated on both the MegaDepth and ScanNet datasets. We report the AUC of relative pose error at multiple thresholds and average inference time (ms). Inference time is measured on an AGX Orin with batch size 1 and FP16 precision. CoReMatch-S outperforms ELoFTR by a large margin while being more than 11\times faster on MegaDepth.
  • AUC@5^{\circ}/10^{\circ} /20^{\circ}
    Method
    Time
    MegaDepth
    AUC@5^{\circ}/10^{\circ} /20^{\circ}
    Time
  • Sparse
    Method
    SP [6] + SG [22]
    MegaDepth
    49.7 / 67.1 / 80.6
    -
    ScanNet
    16.2 / 32.8 / 49.7
    -
  • SP [6] + LG [15]
    Method
    49.9 / 67.0 / 80.1
    MegaDepth
    548
    14.8 / 30.8 / 47.5
    ScanNet
    461
  • Dense
    Method
    DKM [8]
    MegaDepth
    60.4 / 74.9 / 85.1
    7110
    ScanNet
    26.6 / 47.1 / 64.2
    1418
  • ROMA [9]
    Method
    60.9 / 75.6 / 85.6
    MegaDepth
    4964
    28.9 / 50.4 / 68.3
    ScanNet
    4964
  • Semi-Dense
    Method
    LoFTR [24]
    MegaDepth
    52.8 / 69.2 / 81.2
    2465
    ScanNet
    16.9 / 33.6 / 50.6
    437
  • QuadTree [25]
    Method
    54.6 / 70.5 / 82.2
    MegaDepth
    -
    19.0 / 37.3 / 53.5
    ScanNet
    -
  • ASpanFormer [4]
    Method
    55.3 / 71.5 / 83.1
    MegaDepth
    3501
    19.6 / 37.7 / 54.4
    ScanNet
    1078
  • TopicFM [11]
    Method
    54.1 / 70.1 / 81.6
    MegaDepth
    1639
    17.3 / 35.5 / 50.9
    ScanNet
    260
  • EfficientLoFTR [33]
    Method
    56.4 / 72.2 / 83.5
    MegaDepth
    2067
    19.2 / 37.0 / 53.6
    ScanNet
    311
  • EDM [13]
    Method
    57.5 / 73.2 / 84.2
    MegaDepth
    752
    19.8 / 37.5 / 54.4
    ScanNet
    104
  • CoReMatch-S(Ours)
    Method
    57.4 / 72.8 / 83.7
    MegaDepth
    177
    22.8 / 42.7 / 60.6
    ScanNet
    95
  • No data
    Method
    CoReMatch-M(Ours)
    MegaDepth
    58.2 / 73.3 / 84.0
    335
    ScanNet
    24.4 / 44.2 / 61.7
    161
  • No data
    Method
    CoReMatch-L(Ours)
    MegaDepth
    59.5 / 74.4 / 84.8
    639
    ScanNet
    27.9 / 49.1 / 66.6
    366

3.3 Homography Estimation

We evaluate homography estimation on the HPatches dataset [1], which consists of planar image sequences captured under varying viewpoints and illumination conditions. Predicted correspondences are used to estimate homographies via RANSAC, and accuracy is measured by the mean reprojection error of corner points. We report the Area Under the Curve (AUC) at 3, 5, and 10 pixel thresholds. For fair comparison, all methods share the same RANSAC settings, and for semi-dense approaches only the top 1000 predicted matches are retained, following LoFTR. As shown in Tab. 3, our method demonstrates strong performance, significantly outperforming existing semi-dense approaches.

Table 2: Homography Estimation on HPatches. All methods are evaluated with models trained on MegaDepth to assess cross-dataset generalization. CoReMatch outperforms both sparse and semi-dense methods, and surpasses the state-of-the-art dense method RoMa.
  • @3px
    AUC
    @5px
    @10px
  • SuperGlue
    AUC
    53.9
    68.3
    81.7
  • LoFTR
    AUC
    65.9
    75.6
    84.6
  • DRC-Net
    AUC
    50.6
    56.2
    68.3
  • ELoFTR
    AUC
    66.5
    76.4
    85.5
  • EDM
    AUC
    68.5
    78.1
    86.6
  • CoReMatch-S
    AUC
    69.5
    79.1
    87.7
  • CoReMatch-M
    AUC
    70.3
    79.7
    88.0
  • CoReMatch-L
    AUC
    71.2
    80.6
    88.8
  • DKM
    AUC
    71.2
    80.4
    88.4
  • RoMa
    AUC
    70.6
    79.9
    88.2

3.4 Visual Odometry Evaluation

We integrate CoReMatch as the feature-matching frontend within PySLAM and evaluate its performance against LoFTR, EfficientLoFTR (ELoFTR), and CoReMatch-S using a unified backend pipeline. With identical system configurations across all methods, we report unaligned Absolute Trajectory Error (ATE RMSE, in meters) on challenging sequences from four diverse datasets:TUM [23] (fr1/desk), EuRoC [3] (V1_03_difficult), KITTI [10] (06), and TartanAir [32] (abandonedfactory/P001). As presented in Tab. 4. CoReMatch achieves the lowest ATE on three of the four sequences while remaining highly competitive on TUM. These results demonstrate that CoReMatch translates effectively to downstream visual odometry while maintaining strong trajectory accuracy.

Table 4: Visual Odometry Evaluation. We report unaligned ATE RMSE (\downarrow) on selected sequences. Best results are in bold. CoReMatch achieves the lowest ATE on 3/4 evaluated sequences and remains comparable to both baselines on TUM.
  • TUM [23]
    LoFTR
    0.5931
    ELoFTR
    0.5932
    CoReMatch
    0.5934
    \Delta vs. ELoFTR
    -0.03%
  • EuRoC [3]
    LoFTR
    2.3859
    ELoFTR
    2.2769
    CoReMatch
    2.0673
    \Delta vs. ELoFTR
    +9.2%
  • KITTI [10]
    LoFTR
    10.5482
    ELoFTR
    10.1711
    CoReMatch
    6.9788
    \Delta vs. ELoFTR
    +31.4%
  • TartanAir [32]
    LoFTR
    35.0914
    ELoFTR
    35.4660
    CoReMatch
    33.7973
    \Delta vs. ELoFTR
    +4.7%
Table 5: Comparison with Alternative Attention Mechanisms. SCT denotes Simple Compact Transformer, while PTA denotes Proxy-Token Attention. Inference time is measured on an RTX 3090 with batch size 1 and FP16 precision.
  • Reprojection AUC@3px (%) \uparrow
    DAT
    95.5
    WAFT [34]
    67.7
    SCT
    89.1
    PTA [28]
    92.2
  • Inference Time (ms) \downarrow
    DAT
    4.6
    WAFT [34]
    19.3
    SCT
    4.1
    PTA [28]
    4.7

3.5 Ablation Studies

3.5.1 Contribution of Each Component

We conduct ablation studies to evaluate the contribution of each component in CoReMatch. The results are summarized in Tab. 3. Replacing ELoFTR’s discrete coarse matcher with a RoMa-style regression-based matcher substantially improves matching accuracy, but at a significant cost in inference efficiency. In contrast, our proposed coarse matcher further improves accuracy while maintaining efficient inference, and the fine-level refiner provides an additional improvement in accuracy with only a modest computational overhead.

3.5.2 Comparison with Alternative Attention Mechanisms

In Tab. 5, we evaluate DAT against a WAFT-style [34] structure and two token-reduction techniques: Simple Compact Transformer (SCT) and Proxy-Token Attention [28] (PTA). DAT achieves the highest reprojection AUC@3px of 95.5%, substantially outperforming SCT (89.1%) and PTA (92.2%). Meanwhile, DAT maintains competitive efficiency, with an inference time of 4.6 ms, compared with 4.1 ms for SCT and 4.7 ms for PTA.

3.5.3 Ablation of Refinement Iterations and Top-Confidence Ratio

As shown in Tab. 6, the first two refinement iterations yield substantial performance gains, while the third iteration provides only a marginal improvement. Regarding the top-K ratio, performance remains relatively stable once the ratio exceeds 20%.

Table 6: Refinement Ablation. Results on the MegaDepth dataset with different refinement iterations and top-confidence ratios. All results use the same model without retraining. Inference time is measured on an AGX Orin with batch size 1 and FP16 precision.
  • No data
    Iteration
    0
    1
    2
    3
    Top-K Ratio (%)
    10
    20
    35
    50
  • Reprojection AUC@3px (%) \uparrow
    Iteration
    29.2
    92.8
    95.5
    95.9
    Top-K Ratio (%)
    –
    –
    –
    –
  • Relative Pose AUC@10 (%) \uparrow
    Iteration
    –
    71.0
    71.6
    71.7
    Top-K Ratio (%)
    67.4
    70.5
    71.6
    71.6
  • Inference Time (ms) \downarrow
    Iteration
    –
    72.9
    86.5
    98.1
    Top-K Ratio (%)
    83.4
    84.2
    86.5
    87.5

4 Limitations and Future Work

While CoReMatch achieves a strong accuracy–efficiency trade-off for real-time feature matching, several limitations remain and suggest promising directions for future work.

Hardware optimization. CoReMatch is primarily optimized for GPU-based platforms. Although its design reduces memory movement and refinement overhead, further optimization is needed for deployment on mobile and ultra-low-power platforms.

Training data and generalization. Although CoReMatch generalizes well across indoor, driving, UAV, and RGB–IR scenarios, its training still relies primarily on MegaDepth supervision. Larger-scale and more diverse training data could further improve robustness in challenging real-world conditions. Exploring more diverse correspondence supervision and self-supervised training could further reduce the dependence on curated geometric datasets.

Geometry-aware refinement. CoReMatch performs correspondence refinement through learned coordinate updates without explicitly incorporating geometric constraints. Integrating geometric priors, pose constraints, or temporal consistency could further improve performance in SLAM and visual odometry, particularly in challenging sequences with ambiguous or repetitive visual structures, where geometric consistency across frames becomes especially important.

5 Conclusion

We introduced CoReMatch, a semi-dense feature matching framework that replaces discrete grid-based confidence prediction with continuous coordinate-space refinement. CoReMatch combines a Deep Aggregated Transformer for global correspondence reasoning with a lightweight local regression module for precise refinement, achieving sub-pixel accuracy with substantially lower computational and memory costs than prior semi-dense methods.

Across standard benchmarks, CoReMatch achieves a strong accuracy–efficiency trade-off, consistently outperforming prior semi-dense methods while running over 10\times faster on embedded hardware. Its integration with frozen foundation-model features further improves robustness across unseen indoor, driving, UAV, and visible–thermal scenarios without fine-tuning. These results demonstrate that accurate geometric correspondence can be achieved without high-resolution prediction grids or explicit correlation-volume construction, providing an efficient alternative to prevailing designs for semi-dense matching.

Acknowledgments

This work was supported by the Natural Sciences and Engineering Research Council of Canada (NSERC), Discovery Grants program.

References

  1. [1] V. Balntas, K. Lenc, A. Vedaldi, and K. Mikolajczyk (2017) HPatches: a benchmark and evaluation of handcrafted and learned local descriptors. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5173–5182.
  2. [2] J. T. Barron (2019) A general and adaptive robust loss function. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 4331–4339.
  3. [3] M. Burri, J. Nikolic, P. Gohl, T. Schneider, J. Rehder, S. Omari, M. W. Achtelik, and R. Siegwart (2016) The euroc micro aerial vehicle datasets. The International Journal of Robotics Research. External Links: Document, Link, http://ijr.sagepub.com/content/early/2016/01/21/0278364915620033.full.pdf+html
  4. [4] H. Chen, Z. Luo, L. Zhou, Y. Tian, M. Zhen, T. Fang, D. Mckinnon, Y. Tsin, and L. Quan (2022) Aspanformer: detector-free image matching with adaptive span transformer. In European conference on computer vision, pp. 20–36.
  5. [5] A. Dai, A. X. Chang, M. Savva, M. Halber, T. Funkhouser, and M. Nießner (2017) Scannet: richly-annotated 3d reconstructions of indoor scenes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5828–5839.
  6. [6] D. DeTone, T. Malisiewicz, and A. Rabinovich (2018) Superpoint: self-supervised interest point detection and description. In Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp. 224–236.
  7. [7] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. (2020) An image is worth 16x16 words: transformers for image recognition at scale. arXiv preprint arXiv:2010.11929.
  8. [8] J. Edstedt, I. Athanasiadis, M. Wadenbäck, and M. Felsberg (2023) DKM: dense kernelized feature matching for geometry estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 17765–17775.
  9. [9] J. Edstedt, Q. Sun, G. Bökman, M. Wadenbäck, and M. Felsberg (2024) RoMa: robust dense feature matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 19790–19800.
  10. [10] A. Geiger, P. Lenz, C. Stiller, and R. Urtasun (2013) Vision meets robotics: the kitti dataset. The International Journal of Robotics Research 32 (11), pp. 1231–1237.
  11. [11] K. T. Giang, S. Song, and S. Jo (2023) TopicFM: robust and interpretable topic-assisted feature matching. In Proceedings of the AAAI conference on artificial intelligence, Vol. 37, pp. 2447–2455.
  12. [12] G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger (2017) Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4700–4708.
  13. [13] X. Li, T. Rao, and C. Pan (2025) EDM: efficient deep feature matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 26198–26208.
  14. [14] Z. Li and N. Snavely (2018) Megadepth: learning single-view depth prediction from internet photos. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2041–2050.
  15. [15] P. Lindenberger, P. Sarlin, and M. Pollefeys (2023) Lightglue: local feature matching at light speed. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 17627–17638.
  16. [16] I. Loshchilov and F. Hutter (2017) Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101.
  17. [17] D. G. Lowe (2004) Distinctive image features from scale-invariant keypoints. International journal of computer vision 60, pp. 91–110.
  18. [18] J. Ni, Y. Li, Z. Huang, H. Li, H. Bao, Z. Cui, and G. Zhang (2023) Pats: patch area transportation with subdivision for local feature matching. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 17776–17786.
  19. [19] M. Oquab, T. Darcet, T. Moutakanni, H. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, et al. (2023) Dinov2: learning robust visual features without supervision. arXiv preprint arXiv:2304.07193.
  20. [20] R. Ranftl, A. Bochkovskiy, and V. Koltun (2021) Vision transformers for dense prediction. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 12179–12188.
  21. [21] E. Rublee, V. Rabaud, K. Konolige, and G. Bradski (2011) ORB: an efficient alternative to sift or surf. In 2011 International conference on computer vision, pp. 2564–2571.
  22. [22] P. Sarlin, D. DeTone, T. Malisiewicz, and A. Rabinovich (2020) Superglue: learning feature matching with graph neural networks. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 4938–4947.
  23. [23] J. Sturm, N. Engelhard, F. Endres, W. Burgard, and D. Cremers (2012) A benchmark for the evaluation of rgb-d slam systems. In Proc. of the International Conference on Intelligent Robot Systems (IROS),
  24. [24] J. Sun, Z. Shen, Y. Wang, H. Bao, and X. Zhou (2021) LoFTR: detector-free local feature matching with transformers. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 8922–8931.
  25. [25] S. Tang, J. Zhang, S. Zhu, and P. Tan (2022) Quadtree attention for vision transformers. arXiv preprint arXiv:2201.02767.
  26. [26] Z. Teed and J. Deng (2020) Raft: recurrent all-pairs field transforms for optical flow. In European conference on computer vision, pp. 402–419.
  27. [27] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin (2017) Attention is all you need. Advances in neural information processing systems 30.
  28. [28] J. Wang, A. Ma, J. Feng, D. Leng, Y. Yin, and X. Liang (2025) PT-t2i/v: an efficient proxy-tokenized diffusion transformer for text-to-any-task. In International Conference on Learning Representations (ICLR),
  29. [29] Q. Wang, J. Zhang, K. Yang, K. Peng, and R. Stiefelhagen (2022) Matchformer: interleaving attention in transformers for feature matching. In Proceedings of the Asian conference on computer vision, pp. 2746–2762.
  30. [30] R. J. Wang, X. Li, and C. X. Ling (2018) Pelee: a real-time object detection system on mobile devices. Advances in neural information processing systems 31.
  31. [31] R. J. Wang and C. X. Ling (2026) SWIFT: efficient warping-only optical flow via scale-specialized refinement. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3674–3682.
  32. [32] W. Wang, D. Zhu, X. Wang, Y. Hu, Y. Qiu, C. Wang, Y. Hu, A. Kapoor, and S. Scherer (2020) Tartanair: a dataset to push the limits of visual slam. In 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 4909–4916.
  33. [33] Y. Wang, X. He, S. Peng, D. Tan, and X. Zhou (2024) Efficient LoFTR: semi-dense local feature matching with sparse-like speed. In CVPR,
  34. [34] Y. Wang and J. Deng (2026) Waft: warping-alone field transforms for optical flow. In International Conference on Learning Representations, Vol. 2026, pp. 157389–157402.
  35. [35] J. Yu, J. Chang, J. He, T. Zhang, J. Yu, and F. Wu (2023) Adaptive spot-guided transformer for consistent local feature matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 21898–21908.

Appendix A Appendix: Additional Quantitative Results

Tab. 7 compares CoReMatch with ELoFTR and EDM across input resolutions in terms of relative pose estimation accuracy (AUC), inference time, and GPU memory consumption. At comparable accuracy levels, CoReMatch achieves substantially higher efficiency, running 2.2\times faster than EDM and over 11\times faster than ELoFTR, while reducing GPU memory consumption by more than 13\times compared with ELoFTR.

CoReMatch is particularly effective at low-resolution inference, achieving comparable AUC at 448\times 448 to ELoFTR at 800\times 800. At the same 640\times 640 input resolution, CoReMatch substantially outperforms both ELoFTR and EDM in accuracy (56.7 vs. 51.0 AUC) while requiring less inference time and GPU memory. These results demonstrate a substantially improved accuracy–efficiency trade-off, making CoReMatch well suited for real-time robotic perception on resource-constrained platforms.

Table 7: Efficiency Comparison Across Input Resolutions. We compare ELoFTR, EDM, and CoReMatch in relative pose estimation accuracy (AUC), GPU memory usage, and inference time on the NVIDIA AGX Orin and RTX 3090. CoReMatch achieves a favorable trade-off between accuracy and efficiency across input resolutions.
  • @5^{\circ}/@10^{\circ}/@20^{\circ}
    Resolution
    Orin
    Pose Est. AUC
    3090
  • ELoFTR
    Resolution
    512\times512
    Pose Est. AUC
    45.7/62.9/76.1
    Runtime (ms)
    191.4
    11.7
    Memory (MB)
    822
  • 640\times640
    Resolution
    51.0/67.4/79.8
    Pose Est. AUC
    310.6
    Runtime (ms)
    18.2
    932
  • 800\times800
    Resolution
    53.4/70.0/81.9
    Pose Est. AUC
    668.1
    Runtime (ms)
    42.2
    2652
  • 960\times960
    Resolution
    54.7/70.7/82.4
    Pose Est. AUC
    1394.9
    Runtime (ms)
    48.7
    3046
  • 1152\times1152
    Resolution
    56.4/72.2/83.5
    Pose Est. AUC
    2066.7
    Runtime (ms)
    66.7
    3574
  • EDM
    Resolution
    512\times512
    Pose Est. AUC
    47.6/64.7/77.8
    Runtime (ms)
    61.5
    5.7
    Memory (MB)
    176
  • 640\times640
    Resolution
    52.2/68.9/80.9
    Pose Est. AUC
    104.1
    Runtime (ms)
    6.7
    284
  • 800\times800
    Resolution
    54.3/70.8/82.4
    Pose Est. AUC
    237.3
    Runtime (ms)
    14.7
    486
  • 960\times960
    Resolution
    55.6/71.4/82.8
    Pose Est. AUC
    513.2
    Runtime (ms)
    17.1
    676
  • 1152\times1152
    Resolution
    57.5/73.2/84.2
    Pose Est. AUC
    752.3
    Runtime (ms)
    23.5
    1060
  • CoReMatch-S
    Resolution
    448\times448
    Pose Est. AUC
    53.4/69.8/81.6
    Runtime (ms)
    54.2
    4.5
    Memory (MB)
    128
  • 512\times512
    Resolution
    55.8/71.6/83.0
    Pose Est. AUC
    72.9
    Runtime (ms)
    4.6
    132
  • 640\times640
    Resolution
    56.7/72.3/83.4
    Pose Est. AUC
    95.8
    Runtime (ms)
    6.4
    156
  • 1024\times1024
    Resolution
    57.4 / 72.8 / 83.7
    Pose Est. AUC
    177.1
    Runtime (ms)
    7.1
    266
  • 1152\times1152
    Resolution
    57.3 / 72.6 / 83.6
    Pose Est. AUC
    243.4
    Runtime (ms)
    12.2
    322

Appendix B Appendix: Qualitative Results

We qualitatively compare Efficient LoFTR (ELoFTR), EDM, and CoReMatch-M under challenging robotic perception scenarios, including motion blur, large viewpoint changes, repetitive structures, low-texture regions, and visible–thermal cross-modal matching. As shown in Fig. 5 and Fig. 6, CoReMatch produces more consistent and reliable correspondences across wide-baseline geometric scenes and substantial appearance and modality variations. On MegaDepth and ScanNet, CoReMatch maintains reliable correspondences under changes in illumination and scene content, whereas ELoFTR and EDM can produce accurate matches in one view but fail under such variations. On the challenging TartanAir scenarios, CoReMatch consistently produces more reliable correspondences than both baselines. These results demonstrate the robustness of CoReMatch-M to challenging appearance variations and cross-modal matching.

Figure 5: Qualitative comparison under wide-baseline geometric scenes and challenging robotic perception scenarios. Red indicates an epipolar error greater than 5\times 10^{-4} in normalized image coordinates. CoReMatch produces more consistent correspondences across challenging appearance and scene variations than ELoFTR and EDM.
Figure 6: Qualitative comparison on visible–thermal cross-modal matching. CoReMatch demonstrates stronger robustness and produces more reliable correspondences across severe modality differences. In contrast, ELoFTR and EDM generate substantially more incorrect matches, highlighting the effectiveness of recurrent coordinate refinement and robust feature representations for cross-modal matching.

Failure Cases. As shown in Fig. 7, CoReMatch’s failure cases typically occur under large viewpoint changes combined with textureless regions or repetitive and visually similar structures, where reliable correspondence becomes inherently ambiguous.

Figure 7: Failure cases on indoor and outdoor data. Red denotes correspondences with an epipolar error greater than 5\times 10^{-4} in normalized image coordinates.

Appendix C Related Work

C.1 Learning-Based Feature Matching

Classical feature matching pipelines typically consist of keypoint detection, descriptor extraction, and descriptor matching using handcrafted representations such as SIFT [17] and ORB [21]. While computationally efficient, these methods often struggle under large viewpoint changes, weak texture, and significant illumination variations. Learning-based approaches have substantially improved robustness by learning discriminative visual representations and leveraging global contextual reasoning. Early deep matching methods primarily focused on learning local descriptors or improving keypoint repeatability. SuperPoint [6] introduced self-supervised keypoint detection and description, while SuperGlue [22] incorporated graph neural networks and attention-based context aggregation for robust feature matching. LightGlue [15] further improved efficiency through adaptive Transformer inference.

More recently, semi-dense feature matching methods have gained popularity by eliminating explicit keypoint detection and directly establishing correspondences from dense feature maps. LoFTR [24] introduced Transformer [27]-based coarse matching followed by local fine refinement, achieving strong performance in low-texture regions. Subsequent works have improved efficiency and robustness through adaptive sparse attention and hierarchical refinement. QuadTree [25] hierarchically restricts attention to spatially relevant regions, while TopicFM [11] limits attention by grouping semantically similar features. ASpanFormer [4] introduced adaptive span attention for efficient long-range reasoning, while Efficient LoFTR [33] introduced Aggregated Attention Modules (AAM) to reduce Transformer complexity on high-resolution inputs. EDM [13] further improves efficiency using a lightweight CNN with correlation injection for multi-scale feature fusion.

C.2 Dense Correspondence Estimation

Dense correspondence estimation has been extensively studied in optical flow and dense image matching [8, 9, 34, 26, 31, 20]. RAFT [26] introduced recurrent all-pairs field transforms, iteratively refining dense flow fields through correlation volumes and recurrent updates. Subsequent methods have extended this paradigm toward higher-resolution and more memory-efficient correspondence estimation. More recently, RoMa [9] combined global Transformer-based matching with local correlation refinement and multi-scale warping, achieving strong dense matching performance. Several recent methods [34, 31] have sought to reduce reliance on explicit correlation volumes. In particular, WAFT [34] introduced Warping-Alone Field Transforms, demonstrating that iterative optical-flow refinement can achieve competitive performance using warping-based updates alone. Although WAFT reduces memory consumption, it relies on large pretrained foundation models and performs iterative updates on high-resolution feature maps, resulting in substantial runtime overhead.