Improving Local Feature Matching by Entropy-inspired Scale Adaptability and Flow-endowed Local Consistency
Organizations: State Key Laboratory of Industrial Control Technology, Zhejiang University.
Abstract
Recent semi-dense image matching methods have achieved remarkable success, but two long-standing issues still impair their performance. At the coarse stage, the over-exclusion issue of their mutual nearest neighbor (MNN) matching layer makes them struggle to handle cases with scale difference between images. To this end, we comprehensively revisit the matching mechanism and make a key observation that the hint concealed in the score matrix can be exploited to indicate the scale ratio. Based on this, we propose a scale-aware matching module which is exceptionally effective but introduces negligible overhead. At the fine stage, we point out that existing methods neglect the local consistency of final matches, which undermines their robustness. To this end, rather than independently predicting the correspondence for each source pixel, we reformulate the fine stage as a cascaded flow refinement problem and introduce a novel gradient loss to encourage local consistency of the flow field. Extensive experiments demonstrate that our novel matching pipeline, with these proposed modifications, achieves robust and accurate matching performance on downstream tasks.
Figures & tables
| Definition | Number of Matches | |
|---|---|---|
| Sacre Coeur | St. Peter’s Square | |
| Based on MNN | 1357.96 | 1301.22 |
| Ours | 2086.15 | 2137.15 |
| Category | Method | MegaDepth Dataset | ScanNet Dataset | Time (ms) | ||||
| AUC@5 | AUC@10 | AUC@20 | AUC@5 | AUC@10 | AUC@20 | |||
| Sparse | SP [ 35 ] + NN | 31.7 | 46.8 | 60.1 | 7.5 | 18.6 | 32.1 | 10.8 |
| SP + SG [ 18 ] | 49.7 | 67.1 | 80.6 | 16.2 | 32.8 | 49.7 | 48.3 | |
| SP + LG [ 19 ] | 49.9 | 67.0 | 80.1 | 14.8 | 30.8 | 47.5 | 31.9 | |
| Mast3R [ 48 ] | 42.4 | 61.5 | 76.9 | 28.0 | 50.2 | 68.8 | 294.0 | |
| Dense | DKM [ 20 ] | 60.4 | 74.9 | 85.1 | 26.64 | 47.07 | 64.17 | 210.8 |
| Method | Homography est. AUC | ||
|---|---|---|---|
| @3px | @5px | @10px | |
| SP + SG [ 18 ] | 53.9 | 68.3 | 81.7 |
| Sparse-NCNet [ 57 ] | 48.9 | 54.2 | 67.1 |
| DRC-Net [ 49 ] | 50.6 | 56.2 | 68.3 |
| LoFTR [ 9 ] | 65.9 | 75.6 | 84.6 |
| AspanFormer [ 11 ] | 67.4 | 76.9 | 85.4 |
| Method | DUC1 | DUC2 | ||||
|---|---|---|---|---|---|---|
| (0.25m,2 )/(0.5m,5 )/(1.0m,10 ) | ||||||
| SP+SG [ 18 ] | 49.0 | 68.7 | 80.8 | 53.4 | 77.1 | 82.4 |
| DRC-Net [ 49 ] | 40.6 | 65.6 | 70.1 | 52.8 | 76.0 | 74.3 |
| LoFTR [ 9 ] | 47.5 | 72.2 | 84.8 | 54.2 | 74.8 | 85.5 |
| TopicFM [ 14 ] | 52.0 | 74.7 | 87.4 | 53.4 | 74.8 | 83.2 |
| PATS [ 22 ] | 55.6 | 71.2 | 81.0 | 58.8 | 80.9 | 85.5 |
| Method | Day | Night | ||||
|---|---|---|---|---|---|---|
| (0.25m,2 )/(0.5m,5 )/(1.0m,10 ) | ||||||
| SP+SG [ 18 ] | 89.8 | 96.1 | 99.4 | 77.0 | 90.6 | 100.0 |
| LoFTR [ 9 ] | 88.7 | 95.6 | 99.0 | 78.5 | 90.6 | 99.0 |
| TopicFM [ 14 ] | 90.2 | 95.9 | 98.9 | 77.5 | 91.1 | 99.5 |
| PATS [ 22 ] | 89.6 | 95.8 | 99.3 | 73.8 | 92.1 | 99.5 |
| AspanFormer [ 11 ] | 89.4 | 95.6 | 99.0 | 77.5 | 91.6 | 99.5 |
| Method | Pose Estimation AUC | ||
|---|---|---|---|
| @5° | @10° | @20° | |
| Ours Full | 59.6 | 74.3 | 84.7 |
| (1) w/o scale-aware coarse matching | 56.1 | 71.9 | 83.3 |
| (2) Replace our refine. with vanilla refine. | 57.4 | 72.9 | 83.5 |
| (3) w/o flow gradient loss | 58.9 | 73.8 | 84.0 |
| Method | Pose Estimation AUC@5 | ||||
|---|---|---|---|---|---|
| AspanFormer [ 11 ] | 58.7 | 59.0 | 54.7 | 51.6 | 46.3 |
| AdaMatcher [ 23 ] | 58.1 | 58.8 | 56.0 | 54.8 | 52.5 |
| PATS [ 22 ] | 61.6 | 62.5 | 59.9 | 58.0 | 54.8 |
| EfficientLoFTR [ 15 ] | 61.2 | 60.2 | 55.1 | 52.4 | 46.7 |
| Ours | 62.3 | 63.7 | 60.3 | 58.0 | 55.1 |
| Process | Time(ms) |
|---|---|
| Total | 56.1 |
| Feature Backbone | 9.1 |
| Coarse Feature Transformation | 11.7 |
| Coarse Matching | 8.7 |
| Cascaded Flow Refinement | 26.6 |
| Outdoor | Indoor | |||
|---|---|---|---|---|
| / AUC@5 | ||||
| / | / | 51.0 | / | 20.5 |
| 1 | 0.38 | 51.4 | 0.42 | 20.0 |
| 2 | 0.23 | 53.3 | 0.30 | 20.9 |
| 3 | 0.09 | 55.1 | 0.21 | 21.4 |
| 4 | 0.13 | 55.0 | 0.14 | 21.8 |
Image Matching
Image matching finds corresponding points, regions, or objects across images despite changes in viewpoint, scale, lighting, or sensor.
See all 87 papers