[Paper Review] Efficient Neighbourhood Consensus Networks via Submanifold Sparse Convolutions
This paper proposes Sparse-NCNet, a memory- and computation-efficient variant of Neighbourhood Consensus Networks (NCNet) for image correspondence estimation. By sparsifying the correlation tensor and applying submanifold sparse 4D convolutions, the method reduces memory usage and inference time by over 10× while maintaining state-of-the-art performance on HPatches, InLoc, and Aachen Day-Night benchmarks, with improved localization accuracy via a two-stage relocalization module.
In this work we target the problem of estimating accurately localised correspondences between a pair of images. We adopt the recent Neighbourhood Consensus Networks that have demonstrated promising performance for difficult correspondence problems and propose modifications to overcome their main limitations: large memory consumption, large inference time and poorly localised correspondences. Our proposed modifications can reduce the memory footprint and execution time more than $10 imes$, with equivalent results. This is achieved by sparsifying the correlation tensor containing tentative matches, and its subsequent processing with a 4D CNN using submanifold sparse convolutions. Localisation accuracy is significantly improved by processing the input images in higher resolution, which is possible due to the reduced memory footprint, and by a novel two-stage correspondence relocalisation module. The proposed Sparse-NCNet method obtains state-of-the-art results on the HPatches Sequences and InLoc visual localisation benchmarks, and competitive results in the Aachen Day-Night benchmark.
Motivation & Objective
- To address the high memory consumption and slow inference speed of Neighbourhood Consensus Networks (NCNet), which limit their practical deployment.
- To improve the localization accuracy of correspondences in NCNet by refining spatial precision through a novel relocalization module.
- To enable high-resolution input processing in NCNet by drastically reducing memory footprint, thereby improving feature localization.
- To achieve state-of-the-art performance on challenging benchmarks such as HPatches Sequences, InLoc, and Aachen Day-Night under extreme illumination and viewpoint changes.
- To make end-to-end trainable, joint feature extraction, matching, and filtering practical for real-world applications like 3D reconstruction and visual localization.
Proposed method
- The method replaces the dense correlation tensor in NCNet with a sparse representation, storing only the most promising tentative matches to reduce memory and computation.
- It applies 4D convolutional neural networks using submanifold sparse convolutions to process the sparse correlation tensor efficiently, preserving spatial structure while minimizing computation.
- A two-stage correspondence relocalization module is introduced: first refining matches using a coarse-to-fine strategy, then refining their spatial positions with a differentiable regression head.
- High-resolution input images are processed by leveraging the reduced memory footprint, enabling finer localization without increasing computational cost.
- The entire pipeline is end-to-end differentiable, allowing joint optimization of feature extraction, matching, and filtering.
- The model is trained using standard contrastive loss and supervised supervision on ground-truth correspondences, with inference performed via greedy matching on the final sparse output.
Experimental results
Research questions
- RQ1Can the memory and computational cost of NCNet be reduced without sacrificing matching accuracy?
- RQ2Can submanifold sparse convolutions effectively process sparse 4D correlation tensors to accelerate inference and reduce memory usage?
- RQ3Does high-resolution input processing, made feasible by sparsity, improve the localization accuracy of correspondences?
- RQ4Can a two-stage relocalization module significantly enhance spatial precision of predicted matches?
- RQ5Does the proposed Sparse-NCNet achieve state-of-the-art performance on benchmarks with extreme illumination and viewpoint variations?
Key findings
- Sparse-NCNet reduces memory consumption by up to 20× and inference time by over 10× compared to the original NCNet, with equivalent matching performance.
- The method achieves state-of-the-art performance on the HPatches Sequences benchmark, outperforming prior methods in challenging viewpoint and illumination conditions.
- On the InLoc benchmark, Sparse-NCNet with two-stage relocalization at 200×150 resolution sets a new SOTA result, outperforming both NCNet and prior methods.
- On the Aachen Day-Night benchmark, Sparse-NCNet localizes 68.4% of queries within 1m and 5°, achieving SOTA performance for the 1m/5° threshold.
- The model successfully localizes 67 out of 98 night-time queries on Aachen Day-Night, matching or exceeding the performance of R2D2 and D2-Net with fewer parameters and lower memory usage.
- Qualitative results show that the method produces spatially coherent match groups, with high-confidence matches forming distinct clusters, indicating improved robustness and localization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.