cvg / LightGlue

LightGlue: Local Feature Matching at Light Speed (ICCV 2023)
Apache License 2.0
3.32k stars 321 forks source link

Why is Lightglue performing better both in the aspects of inferencing time and accuracy than sp+sg? #62

Closed Moreland-cas closed 11 months ago

Moreland-cas commented 1 year ago

Great work! Do you have an idea why the accuracy is becoming better? Is it because you exclude the irrelevant points so that the remained ones won't be affected? Any other potential reasons?

sarlinpe commented 1 year ago

The gain of accuracy mostly comes from fact that LightGlue's training is much more stable than SuperGlue's thanks to improvements in the architecture: softmax+matchability head replacing Sinkhorn+dustbin, relative positional encoding, bi-directional cross attention. Point pruning has negligible effects on the accuracy.

Moreland-cas commented 1 year ago

The gain of accuracy mostly comes from fact that LightGlue's training is much more stable than SuperGlue's thanks to improvements in the architecture: softmax+matchability head replacing Sinkhorn+dustbin, relative positional encoding, bi-directional cross attention. Point pruning has negligible effects on the accuracy.

Thanks for your detailed answer. It is unbelievable that there is so much room for improvement in the optimization matching algorithm without changing the position of the feature points. Do you think the consistency issue of feature points is still an important issue for keypoints-based matching methods?

sarlinpe commented 11 months ago

Do you think the consistency issue of feature points is still an important issue for keypoints-based matching methods?

Yes, even DISK is not that good, there is a lot more work to do in this direction.

Moreland-cas commented 11 months ago

Do you think the consistency issue of feature points is still an important issue for keypoints-based matching methods?

Yes, even DISK is not that good, there is a lot more work to do in this direction.

Got it :)