Abstract
Keypoint matching is a cornerstone of computer vision tasks like SLAM and 3D reconstruction. While deep learning models have improved performance, they often ignore available motion priors from sensors like IMUs. This paper introduces a Spatial Distribution Prior Module (SDPM) that guides an attentional Graph Neural Network (GNN) using motion information. This approach allows for a shallower, faster network (2 layers vs. 18 in SuperGlue) while maintaining or exceeding state-of-the-art accuracy, achieving a 15ms inference time suitable for real-time robotics.
Introduction
Keypoint matching—finding corresponding points between two images—is a fundamental task for visual SLAM, 3D reconstruction, and image stitching. While recent deep learning models like SuperGlue have set new benchmarks, they typically rely solely on visual features and geometric consistency learned from scratch for every image pair.
This "blind" search is computationally expensive because the network must consider all possible matches across the entire image. However, in many real-world scenarios (like a robot moving through a room), we have extra information from sensors like an Inertial Measurement Unit (IMU). These sensors provide a "hint" about how the camera moved, yet most existing matching algorithms ignore this data. The authors aim to bridge this gap by using motion priors to narrow down the search space.
Methodology
The core innovation is the Spatial Distribution Prior Module (SDPM). It uses motion estimation from an IMU to project keypoints from the first image into the second. This creates a "spatial distribution prior"—essentially a heat map of where a specific keypoint is most likely to reappear.
This prior is integrated into an Attentional Graph Neural Network (GNN). Unlike standard attention, which only looks at feature similarity, this "Prior Assisted" attention treats matching as a probabilistic inference. By modeling attention as a Gaussian distribution centered on the predicted location, the network focuses its computational effort on the most relevant regions.
Because the spatial prior does so much of the heavy lifting, the authors were able to streamline the network. While the original SuperGlue uses 18 attentional layers, this model achieves comparable or better results with just 2 layers, drastically reducing latency. Finally, they introduce a Projection Loss that uses continuous reprojection errors instead of hard binary thresholds, leading to better convergence during training.
Experimental Evaluation
The model was evaluated on several indoor SLAM and homography datasets, including InteriorNet (synthetic), TUM-RGBD (real-world Kinect), and ETH3D (high-quality IMU-aligned).
Key Results
- Real-Time Performance: The proposed network runs in approximately 15ms, making it suitable for high-frame-rate SLAM systems.
- Superior Accuracy: On the ETH3D dataset, the 2-layer proposed model achieved an F1 score of 81.37%, significantly outperforming a 2-layer version of SuperGlue (77.39%) and rivaling much heavier models.
- Robust Pose Estimation: The method improved pose estimation accuracy (AUC@20°) across all SLAM datasets, outperforming standard baselines by several percentage points.
Conclusion
By imitating human efficiency—looking where we expect a point to be based on motion—this paper shows that a good spatial prior allows for trading network depth for speed. A 2-layer GNN with a prior can outperform an 18-layer GNN without one. While dependent on reasonably accurate motion priors, this "prior-assisted" philosophy offers a promising path for real-time autonomous systems.
Summary updated