1. Introduction
Local feature matching constitutes a fundamental block for 3D computer vision applications such as Structure from Motion (SFM) [
1], Simultaneous Localization and Mapping (SLAM) [
2,
3], and visual localization [
4]. Current learning-based methodologies for this task are generally divided into two categories. One is the sparse matching approaches [
5,
6] which employ explicit feature detectors and perform image matching based on them. The other one is the dense matching technique [
7] which directly predicts matches without localizing local keypoints.
The dense matching approaches accept a pair of images as input and output their matches in a forward pass. They often employ stacked transformer blocks with self-attention and cross-attention mechanisms to learn mutual information between the matching images, leading to substantial computational overhead. In contrast, the sparse matching methods are more efficient and preferred for real-time applications. Generally, the sparse matching paradigm [
8] usually follows a three-stage workflow. Firstly, the feature detection stage predicts a score map and identifies keypoints through non-maximum suppression. The subsequent feature description stage then extracts keypoint-wise descriptors by sampling from learned high-dimensional feature maps. Finally, the matching stage establishes correspondences by computing similarities between different descriptors and generates matches according to the nearest-neighbor principle.
Prevailing sparse matching researches [
5,
9,
10] predominantly learn only one descriptor for each keypoint by minimizing the distances between matched features while maximizing the distances between negative pairs. Such a strategy may limit their capabilities in complex scenarios because a single descriptor might not fully capture the diverse characteristics required to handle intricate situations. In this paper, a comparative experiment is conducted by using SuperPoint [
5] as the same keypoint detector and leveraging different feature descriptors for image matching. It turns out that there is minor performance gap between different feature descriptors, as shown in Table 1. The experimental results have driven us to learn and leverage multiple descriptors simultaneously for robust image matching.
Furthermore, the real-time applications have thrown a new challenge to image matching algorithms. To reduce computational complexity, most methods predict low-resolution feature maps and output pixel-wise keypoint descriptors by bilinear interpolation from them. Since the interpolation process takes into account neighboring feature descriptors, the discriminative power of each keypoint descriptor can be compromised. In this paper, we learn two feature descriptors for each keypoint to alleviate this problem.
Though researchers have tried to ensemble different matching methods to improve image matching performance [
11], to the best of our knowledge there is no prior work that combines different feature descriptors for keypoint appearance representation. As we will demonstrate in
Section 4.5, simply ensembling descriptors from different models can hardly improve matching performance due to the lack of a cooperation mechanism. Therefore, we propose to learn cooperative feature descriptors in a single model by using different losses for supervision. We also propose an orthogonal loss that forces the learned descriptors to be in complementary feature subspaces, to maximize the overall performance.
Unlike naive ensemble strategies that simply combine off-the-shelf descriptors from different models without coordination, our method jointly learns two descriptors within a single network with explicit orthogonal constraint, ensuring complementarity while maintaining efficiency. The choice of two branches is motivated by the observation that a single descriptor space often fails to capture both global and local discriminative cues simultaneously, while more than two branches would introduce diminishing returns with increased computational cost.
Figure 1 presents a performance overview of the proposed method with benchmark results against leading sparse matching algorithms with respect to four evaluation protocols on five large public datasets: (1) relative pose estimation on ScanNet [
12] (indoor), MegaDepth [
13] (outdoor) and GL3D [
14] (unmanned aerial vehicle, UAV), (2) visual localization on Aachen Day-Night [
15], (3) direct matching accuracy test and (4) homography estimation on HPatches [
16]. The proposed method consistently outperforms the state-of-the-art sparse matching algorithms across all scenarios, demonstrating superior performance and strong generalization capabilities. More results can be found in
Section 4.
The contributions of this paper are as follows:
A novel complementary local feature description paradigm. Unlike existing sparse methods that learn only a single descriptor per keypoint, we propose to simultaneously learn two cooperative descriptors within a single lightweight CNN. Using two complementary subspaces captures diverse visual characteristics for robust matching, providing a simple yet effective trade-off between model complexity and representational capacity.
An orthogonal loss for enforcing descriptor complementarity. To prevent redundancy and maximize combined performance, we introduce a novel orthogonal loss. To the best of our knowledge, this is the first work to introduce explicit subspace separation for local feature descriptors, enabling robust matching by jointly reasoning over two similarity matrices.
State-of-the-art performance and strong generalization. The proposed method achieves leading results on five large-scale benchmarks, consistently outperforming existing sparse matchers (e.g., SuperPoint, XFeat, Alike) and achieves comparable results with global matchers like LoFTR and SuperGlue in several settings.
2. Related Work
Learning-based sparse local feature matching methods [
5,
6,
8,
9,
10] typically involve three steps, namely feature detection, feature description, and feature matching. Early studies [
11,
17,
18,
19] only focused on either feature detection or feature description. In terms of feature detection, TILDE [
19] uses SIFT [
20] to extract repeatable points as labels for learning from the same scene under different illumination conditions and performs better than SIFT on the evaluation dataset. Quad-Network [
21] adopts a ranking loss to rank points in a transformation-invariant manner. Then, keypoints are extracted from the top/bottom quantiles of this ranking for unsupervised training. KeyNet [
17] combines handcrafted and convolutional neural network features simultaneously to detect keypoints at multiple scales.
In the aspect of feature description, early feature description methods [
22,
23] are based on image patch learning. Corresponding local descriptors are extracted from the input image patches and similarities are calculated. MatchNet [
22] uses cross-entropy loss to train descriptors. L2-Net [
23] proposes a progressive sampling strategy for triplet sampling. RF-Net [
24] proposes a neighborhood mask to enhance the stability of descriptor training. LIFT [
25] imitates SIFT by detecting keypoints, estimating their orientations and employing different neural networks to extract descriptors. HardNet [
26] and SOSNet [
27] introduce the hardest negative triplets and the second-order similarity of descriptors.
Nevertheless, the receptive field of image-patch-based descriptors is usually limited to specific image regions. In contrast, dense descriptors incorporate a more abundant and comprehensive image context, thereby potentially capturing a broader range of visual information and characteristics. Therefore, in subsequent research, many methods [
11,
18,
28] extract dense descriptors of the entire image through fully convolutional neural networks and integrate the detector into the same network.
SuperPoint [
5] designs a self-supervised paradigm and adopts a bootstrapping training strategy to train the model to detect keypoints and jointly train its descriptors using the hinge loss. R2D2 [
10] deploys effective loss functions to consider the repeatability and reliability of keypoint detection. D2Net [
9] and ASLFeat [
29] adopt a similar description and detection paradigm; they first extract dense descriptors and then detect keypoints from the dense descriptors through specific rules. HDD-Net [
30] weights the features with the softargmax scores in the grid to train the detector and descriptors simultaneously. In addition, DISK [
31] and Reinforced SP [
32] relax the keypoint detection and descriptor matching into a probabilistic process and train the network through reinforcement learning. CNDesc [
11] adopts a special cross-normalization instead of L2 normalization, and CAPS [
18] proposes to learn descriptors from the weak supervision of camera pose. The subsequent PosFeat [
33], following the weak supervision approach of CAPS, proposes a line-to-window search strategy. Since weak supervision cannot distinguish the losses caused by the detection and description steps, it decouples the training of the descriptors and the detector. Alike [
6] puts forward a partially differentiable keypoint detection module. Building upon this, Aliked [
34] incorporates deformable convolutions and derives deformable descriptors. SFD2 [
28] implicitly incorporates semantics into the detection and description processes during training. SILK [
35] re-evaluates the elements of learning feature extraction and proposes an effective and simple keypoint and descriptor learning strategy. XFeat [
8] introduces a lightweight and accurate architecture and provides both sparse and dense matching options.
As far as we know, most existing sparse local feature matching methods often only learn a single low-resolution descriptor map, which greatly limits their applications in complex scenarios. In order to alleviate this problem, we propose a Siamese Orthogonal Descriptor network. It simultaneously learns two complementary descriptor maps within a single CNN and establishes local feature matchings between image pairs in different descriptor sub-spaces respectively. By jointly considering the similarity matrices of the two complementary descriptor maps, more robust matching results are obtained. Meanwhile, following the approach of sparse local feature matching, we design a detector network and train it through distillation.
3. Method
Learning-based image matching algorithms are highly dependent on the discriminative power of feature descriptors. While conventional sparse local features achieve high computational efficiency, their matching performance is limited by insufficient discriminative capability. This limitation stems partly from the fact that the matching criterion is encapsulated solely in a single floating-point vector, which struggles to adapt to infinitely complex real-world scenes. In this paper, we propose learning a pair of complementary feature descriptors to address the aforementioned challenges. While following the sparse feature learning pipeline to preserve overall efficiency, we augment each keypoint with multiple descriptors that are jointly learned in a Siamese CNN architecture. To effectively coordinate these descriptors and maximize their collective performance, we introduce an orthogonal loss. Finally, robust matching results between input images can be obtained by jointly considering the feature similarities with respect to the two sets of descriptors.
The remainder of this section is organized as follows.
Section 3.1 details the network architecture. Next,
Section 3.2 presents the supervision strategies for learning different local features, followed by the complementary feature learning method introduced in
Section 3.3. For the completeness of the algorithm, a feature detection module is also learned, as described in
Section 3.4. Finally,
Section 3.5 outlines the inference logic.
3.1. Overall Framework
The overall architecture of the proposed model is illustrated in
Figure 2. The network consists of three branches: one for keypoint localization and two for descriptor learning. Each descriptor branch consists of an encoder and a decoder. The encoder is composed of five residual modules, where the feature resolution of the
n-th module is
of the input size, and the number of feature channels is
. The decoder employs two upsampling layers to restore the feature resolution to
of the original input.
The model takes a single image of size as input and outputs two descriptor maps, and , each of shape . The output descriptors and will be L2-normalized before being used. In addition, a score map of shape is learned for keypoint detection.
During inference, we apply non-maximum suppression (NMS) to S to detect pixel-level keypoints . The corresponding sparse feature descriptors and are then retrieved from and via bilinear interpolation.
3.2. Descriptor Learning
The model is trained using different losses as shown in
Figure 2. The two descriptors predicted by the model are designed to be complementary while being different. Thus they are supervised with different losses in model learning. Specifically, we use the negative log-likelihood (NLL) loss [
8] to train the first descriptor branch because it encourages soft assignment of correspondences through bidirectional softmax normalization, which tends to produce more globally consistent matching distributions. The hardest negative triplet (HNT) loss [
26,
36] is chosen to train the second descriptor branch as it focuses on local discrimination by explicitly pushing apart the most confusing negative pairs. This combination allows one descriptor to excel at global matching context while the other specializes in fine-grained local discrimination.
We supervise and train our descriptor maps and with pixel correspondences. Given a pair of training images with a set of point matches , we firstly sample sparse point descriptors in to get . Then the cosine similarities are computed as and .
For the first branch, the NLL loss is applied to the forward and backward matching probabilities of every ground-truth point correspondence respectively. For each pair
, the forward matching probability is the similarity distribution of matching
with every point in
B, which is computed by a row-wise
operation to
. The backward matching probability is analogously defined as the distribution of matching
with every point in
A, and can be computed via a column-wise
to
. Then the loss is defined as the sum of them:
where
is the
i-th diagonal element of the row
result of
, and
is the
j-th diagonal element of the column
result of
.
For the second descriptor branch, the HNT loss is employed for training supervision. The distance between a pair of descriptors is defined as:
It can be easily seen that . Thus the pair-wise descriptor distance can be retrieved from the similarity matrix .
We then define the loss of the second descriptor branch as:
where
m is the margin parameter. The loss is
only when the distance between the positive pair is smaller than that of the hardest negative pair by a certain margin.
3.3. Cooperative Descriptor Learning
For the learned two descriptors, we expect to maximize their combined performance. Therefore, we introduce an orthogonal loss to make them mutually decoupled but complementary to each other. The core idea is to constrain the embedding spaces of different descriptors to be orthogonal to each other.
We introduce the orthogonal loss to learn cooperative descriptors. The two descriptor branches are designed to be symmetric, and any image position will correspond to two structurally identical feature description vectors. We thus define the loss as the including angle between the vectors. Then the cooperative loss of the network is defined as the mean angles of all the keypoints.
The cooperative learning loss
is defined as:
3.4. Keypoint Localization
A keypoint detector is simultaneously learned to identify repetitive and reliable local regions in images. However, due to the ambiguity in the definition of keypoints, few datasets come with keypoint labels. Consequently, the training of keypoints is rather challenging. Currently, most methods for training local feature detectors either leverage epipolar geometry or homography transformation to establish point correspondences and then train the detectors by optimizing the scores of the corresponding keypoints. Nevertheless, this approach typically depends on large datasets and is difficult to train. Therefore, in this work, to simplify the training of keypoints and to obtain good generalization, we train the keypoint detector through distillation of a known keypoint detector.
In the knowledge distillation paradigm, a teacher model guides the training of the keypoint detector, which is called the student model. Both models predict a score map for the input image, from which keypoints are localized by detecting peaks and applying a threshold. Here the standard binary cross-entropy (BCE) loss is employed to guide the training of the keypoint detector.
where
S and
are the predicted score maps of the proposed model and the teacher model respectively. They are passed to the Sigmoid activation to limit the range in
.
The final loss
is then a linear combination of all losses:
where
are hyperparameters to adjust the magnitude of the different losses.
3.5. Inference
The orthogonal training method pushes the two descriptors to be learned in different subspaces. In order to effectively utilize these two complementary descriptor maps, we set different weights to combine their similarity matrices, thereby effectively filtering out unreliable matches while retaining correct matches and further establishing robust correspondences.
Final matches between images will be determined by the weighted sum of the similarities with respect to two sets of local descriptors. The overall detection score is defined as:
where
and
are the cross products between the two descriptor sets.
and
are constant coefficients.
4. Experiments
The proposed method generates a pair of complementary descriptors for each keypoint, enabling robust feature matching under various challenging conditions. A preliminary performance overview is provided in
Figure 3, where raw matches from our method and three state-of-the-art approaches are visualized on representative image pairs from the HPatches [
16] (planar scenes), ScanNet [
12] (indoor), MegaDepth [
13] (outdoor), and GL3D [
14] (aerial) datasets. For evaluation, matches are color-coded based on reprojection error: green for correct matches (error < 5 pixels), yellow for inaccurate matches (error between 5–10 pixels), and red for incorrect matches (error > 10 pixels). As shown, our method consistently produces more correct matches across diverse scenarios. The remainder of this section presents detailed evaluations on multiple downstream tasks including homography estimation, pose estimation, and visual localization across multiple datasets.
4.1. Implementation Details
The proposed method is implemented in PyTorch 2.8 on a RTX 4090 GPU. Adhering to the experimental setup of XFeat [
8], we perform a mixed training on the Megadepth [
13] and COCO datasets [
37] with a sample ratio of 5:2. Input images are resized to
and the batch size is set to 7. We optimize the model using the Adam optimizer with a learning rate of
. Our keypoint detector is trained under the guidance of XFeat as the teacher network. The loss coefficients are set as
,
,
and
. Following [
9], the margin param
m is set to 1. In the reference stage, we assign
and
to the corresponding similarity scores.
4.2. Homography Estimation
We evaluate our method on the widely adopted HPatches dataset [
16] for homography estimation. HPatches is designed to benchmark local image descriptors under varying viewpoint and illumination conditions. It comprises 108 sequences, each containing one reference image and five images transformed by ground-truth homographies.
Evaluation protocol. We adopt two established metrics for evaluation on HPatches. The first is homography estimation accuracy, which measures the alignment error between the estimated homography and the ground-truth transformation from the reference to each target image. Accuracy is reported as the percentage of correctly reprojected image corners under error thresholds of 1, 3 and 5 pixels. The second metric is the mean matching accuracy (MMA), defined as the proportion of correctly matched points among all predicted correspondences.
Baselines. We compare our approach with a range of feature matching algorithms, including sparse local feature matchers such as SuperPoint (SP) [
5], Alike [
6], R2D2 [
10], D2-Net [
9], SILK [
35], DISK [
31], XFeat [
8], ASLFeat [
29], CAPS [
18], and ISRF [
38]. We also include global matching methods that necessitate two images as network input to predict feature correspondences, like Patch2Pix [
39], LoFTR [
40], and SuperGlue [
41]. SuperGlue is a learnable middle-end matcher that augments matching with an attentional graph neural network. Here, we pair it with SuperPoint as the front-end feature extractor. For all baseline methods, we use the pretrained models provided by their authors. Specifically, for XFeat, we evaluate only its sparse matching variant, and for Alike, we assess the Alike-N model.
Results. The comparison results are presented in
Table 1. With the exception of Patch2Pix, which takes two frames as input and directly predicts matches by complex multi-scale matching refinement, all other competing methods follow the sparse local feature matching paradigm. For a fair comparison, we apply the mutual nearest neighbor (MNN) criterion to establish matches and use the same RANSAC procedure for homography estimation.
Table 1.
Homography estimation accuracy on HPatches (corner error thresholds: 1, 3, 5 pixels). MNN is used for sparse matching except for Patch2Pix. Bottom rows show results when replacing the detector with SuperPoint (SP). Best results are in bold.
Table 1.
Homography estimation accuracy on HPatches (corner error thresholds: 1, 3, 5 pixels). MNN is used for sparse matching except for Patch2Pix. Bottom rows show results when replacing the detector with SuperPoint (SP). Best results are in bold.
| Method | Overall | Illumination | Viewpoint | Matches |
|---|
| | Accuracy (%, px) | |
| SuperPoint [5]+MNN | 0.50/0.82/0.89 | 0.63/0.95/0.99 | 0.39/0.71/0.81 | 1.1 K |
| D2Net [9]+MNN | 0.40/0.75/0.85 | 0.65/0.95/0.99 | 0.16/0.56/0.71 | 2.2 K |
| R2D2 [10]+MNN | 0.45/0.72/0.82 | 0.72/0.95/0.99 | 0.20/0.50/0.65 | 1.1 K |
| XFeat [8]+MNN | 0.50/0.81/0.90 | 0.69/0.95/0.98 | 0.33/0.68/0.82 | 2.0 K |
| Alike [6]+MNN | 0.51/0.81/0.89 | 0.65/0.94/0.98 | 0.39/0.69/0.81 | 1.2 K |
| DISK [31]+MNN | 0.54/0.82/0.89 | 0.66/0.94/0.99 | 0.43/0.71/0.80 | 2.3 K |
| Patch2Pix [39] | 0.58/0.85/0.91 | 0.75/0.97/0.99 | 0.41/0.74/0.84 | 1.3 K |
| Ours+MNN | 0.53/0.87/0.92 | 0.70/0.98/0.99 | 0.37/0.77/0.85 | 2.7 K |
| SP+CAPS [18]+MNN | 0.53/0.83/0.90 | 0.68/0.96/0.99 | 0.40/0.72/0.82 | 1.1 K |
| SP+XFeat+MNN | 0.51/0.82/0.90 | 0.64/0.95/0.99 | 0.39/0.70/0.82 | 1.1 K |
| SP+Alike+MNN | 0.54/0.84/0.90 | 0.65/0.96/0.99 | 0.44/0.73/0.82 | 1.1 K |
| SP+Ours+MNN | 0.59/0.87/0.93 | 0.67/0.98/1.00 | 0.50/0.77/0.86 | 1.1 K |
As shown in the table, our method achieves the best performance under both illumination and viewpoint changes among all sparse matching approaches. Although DISK operates on full-resolution feature maps for descriptor learning, it is consistently outperformed by our method in most settings. Although we learn feature descriptors at a resolution, our descriptors demonstrate a stronger discrimination power.
Furthermore, an additional experiment in which we replace our keypoint detector with SuperPoint is shown in the last row of the table. The results indicate that our distilled lightweight detector attains performance on par with state-of-the-art detectors while predicting a significantly larger number of keypoints.
Evaluation results of mean matching accuracy on HPatches dataset are plotted in
Figure 4 where a higher curve means better performance. We report the mean matching accuracy (MMA) of different methods under the pixel threshold ranging from 1 to 10. In the legend we report the average number of the detected keypoints and of the final matches. As shown, the proposed method is able to detect a larger number of keypoints while consistently establishing more reliable correspondences under varying challenges.
4.3. Relative Pose Estimation
Vision-based relative pose estimation is typically performed by estimating the rotational and translational parameters between a reference image and a novel view. Here the accuracy of relative pose estimation is estimated on the MegaDepth [
13], ScanNet [
12] and GL3D [
14] datasets. We utilize sparse local feature matchers to generate point correspondences between two images and adopt a same RANSAC-based PnP method for relative pose estimation.
Datasets. Three datasets are used here. The first is the MegaDepth dataset which comprises 196 outdoor scenes with depth maps and sparse 3D reconstruction results. Following the evaluation protocol in LoFTR [
40], we extract 1500 image pairs and resize them to a maximum dimension of 1200 pixels for a fair comparison. The second is the ScanNet dataset which consists of 1613 indoor sequences with wide baselines and extensive textureless regions. Following LOFTR, we resize all images and depth maps to
. The third one is the GL3D dataset which contains 125,623 high-resolution drone-view images covering 543 different scenes. For our experiments, 6722 image pairs with an overlap ratio between 0.5 and 0.6 are selected and resized to
pixels for evaluation.
Evaluation protocol. We adopt the widely used pose AUC metric [
40] to measure the pose estimation accuracy. For a given image pair, the pose error is defined as the maximum angular error between the estimated rotation and translation matrices and the groundtruths. The overall performance is then reported as the AUC (Area Under the Curve) of the pose error under thresholds
.
Results. We compare the proposed method with state-of-the-art approaches on relative pose estimation across three datasets. The results are shown in
Table 2. For each method, a single pretrained model is used for evaluation without any fine-tuning. Local image matchers predict sparse keypoints and descriptors from a single image, making them more efficient but generally lag behind global matchers in accuracy, as the latter leverage two images and global context for reasoning. Our method consistently outperforms all traditional local matching methods and achieves competitive results with global approaches. Notably, despite being trained solely on ground-view images, it generalizes effectively to the aerial GL3D dataset, demonstrating strong cross-domain robustness. Despite its superiority among local matchers, our method still struggles in textureless scenarios. Quantitatively, the performance gap between our method and LoFTR (a semi-dense global matcher) varies across datasets: 34.8% on ScanNet (indoor, textureless), 26.6% on MegaDepth (outdoor, medium texture), and only 0.7% on GL3D (drone view, rich texture), confirming that texture deficiency is the primary failure mode of local feature matching.
4.4. Visual Localization
We evaluate the visual localization accuracy on the Aachen Day-Night dataset [
15]. A positional error threshold and a directional error threshold are simultaneously applied to define a successful recall. In accordance with the official evaluation pipeline, three sets of thresholds are adopted, namely (0.5 m,
, (1 m,
and (5 m,
.
Results.Table 3 reports the visual localization accuracy on the Aachen Day-Night dataset, comparing seven local and three global matching methods. Notably, only R2D2 and ISRF among these baselines have been trained on the Aachen dataset. Our method achieves superior or comparable results to state-of-the-art local and global matchers (e.g., SuperGlue, LoFTR) in most settings, demonstrating strong generalization capability.
4.5. Ablation Study
Directly combining descriptors from different models. Here, we conduct an ablation study to investigate whether directly combining descriptors from different models can improve matching performance. The results are shown in
Table 4. Three local image matching models are evaluated: SuperPoint, XFeat, and Alike. We report pose estimation accuracy on the ScanNet dataset. No apparent performance gain is observed when combining descriptors from SuperPoint and XFeat. Only Alike shows improvement after combining with XFeat, but the resulting performance is merely on par with using XFeat alone. The experiment indicates that directly combining different descriptors without a comprehensive learning mechanism can hardly improve image matching performance.
Effects of different descriptor learning strategies. Recent feature matching researches generally adopt either the Negative Log-Likelihood (NLL) loss [
8] or the Hardest Negative Triplet (HNT) loss [
36] for descriptor learning. The NLL loss encourages soft, globally consistent matching distributions through bidirectional softmax normalization, making it suitable for capturing global context. The HNT loss focuses on local discrimination by explicitly pushing apart the most confusing negative pairs, making it suitable for fine-grained feature discrimination. Here, we evaluate different loss configurations for descriptor learning on the MegaDepth pose estimation task, with results reported in
Table 5. Using two complementary descriptors significantly improves matching accuracy over a single descriptor. Furthermore, employing different losses for the two branches (NLL for one, HNT for the other) yields the best overall performance.
Visualization of descriptor complementarity using PCA is shown in
Figure 5. For each input image, we project the 128-dimensional descriptor vectors onto the first three principal components and map them to RGB channels. It can be seen that Descriptor 1 responds strongly to contours and edges, while Descriptor 2 shows more uniform activation over textured regions, confirming the complementary behavior enforced by the orthogonal loss.
Effectiveness of the complementary descriptors. Though the proposed method learns a keypoint detector through distillation, effectiveness of the proposed complementary descriptors can be separately analyzed by replacing the description module of existing sparse local feature matchers. Refer to
Table 6 for details. We replace the descriptors of SuperPoint [
5], Alike [
6] and SILK [
35] while retaining their keypoint detectors to test the matching accuracy on the MegaDepth dataset. Significant performance gains are observed in the experiments, verifying the effectiveness of our learned descriptors.
4.6. Running Efficiency
Feature matching serves as a fundamental building block in many real-time visual computing systems, making model inference efficiency a critical evaluation metric. We compare the mean inference time (MIT) and computational complexity (in GFLOPs) of different image matching algorithms by performing a forward pass of the pretrained models using randomly sampled images of size . All experiments are conducted on the same computer equipped with an AMD Ryzen 9 5950X CPU (16 cores, 3.4 GHz), 64 GB RAM and an NVIDIA RTX 4090 GPU, with both data and parameters in float32 format.
Results. The computational complexity and inference time of each model are reported in
Table 7. For Patch2Pix, a batch size of 8 is used instead of 16 to avoid GPU out-of-memory errors. For SuperGlue, the number of keypoints is fixed to 1024. Certain local matching methods, such as R2D2, PoSFeat, SILK, and DISK, operate at full image scale and consequently incur substantial computational overhead. In contrast, other local feature matchers are significantly more efficient than global ones in terms of both model size and inference speed. The proposed algorithm achieves a high inference speed for both batch-1 and batch-16 tests.
5. Conclusions
In this work, we design a cooperative descriptor learning model that enhances image matching performance with minimal computational overhead. An orthogonal loss is introduced to enforce complementary subspace learning for feature descriptors. Extensive experiments demonstrate superior performance over existing approaches in both matching accuracy and model generalization, while maintaining leading runtime efficiency.
Limitations and future work. Despite its effectiveness, our method has several limitations. First, the orthogonal loss enforces complementarity globally across the entire image, which may not be optimal for local regions where both descriptors struggle (e.g., highly textureless areas). Second, our keypoint detector is distilled from XFeat, inheriting its potential biases. Third, as shown in
Table 2, the method remains vulnerable to textureless scenes (e.g., ScanNet) where repeatable keypoints are inherently difficult to extract. Future work will focus on region-adaptive complementarity and integration with semi-dense or dense matching paradigms to address these limitations.