LeCoT: revisiting network architecture for two-view correspondence pruning

Luanyuan Dai, Xiaoyu Du, Jinhui Tang · DOI

Correspondence pruning is a critical step in computer vision tasks like 3D reconstruction and visual localization, aimed at removing outliers from initial image matches. Traditional methods rely on Multi-Layer Perceptrons (MLPs) or Convolutional Neural Networks (CNNs), which often fail to capture global context or require lossy data regularization. This paper introduces LeCoT (Learning Correspondence Transformer), a novel framework that utilizes a specialized Transformer backbone. By incorporating spatial and channel-level global context through the SACATransformer block and employing a progressive prediction strategy, LeCoT achieves state-of-the-art performance across multiple benchmarks while remaining highly efficient.

The Challenge of Correspondence Pruning

High-level computer vision applications, including SLAM, autonomous driving, and 3D reconstruction, rely heavily on establishing accurate correspondences between different views of a scene. While algorithms like SIFT or SuperPoint generate initial putative matches, these sets are frequently contaminated with outliers due to environmental factors like lighting changes or repetitive textures.

Existing deep learning approaches to pruning generally fall into two categories:

  • MLP-based methods: Inspired by PointNet, these process matches independently. While efficient, they lack the ability to capture the global geometric relationships between matches.
  • CNN-based methods: These attempt to introduce context but face a structural hurdle: correspondences are unordered sets of points. To apply convolutions, these points must be forced into a 2D grid (regularization), which disrupts the natural data structure and leads to information loss.

The LeCoT Framework

LeCoT addresses these limitations by adopting a Transformer-based architecture, which is inherently suited for processing unordered, sparse data.

Comparison of correspondence pruning architectures: (a) MLP-based, (b) CNN-based, and (c) the proposed LeCoT framework using self-attention.

The core of LeCoT is the Spatial-Channel Fusion Transformer (SACATransformer). Unlike standard Transformers that focus primarily on spatial attention, SACATransformer integrates Channel Multi-Head Self-Attention (C-MSA). This dual-attention mechanism allows the network to learn robust representations by capturing global context across both the spatial distribution of matches and their feature dimensions.

Furthermore, LeCoT introduces a Progressive Prediction Block. Instead of immediately collapsing high-dimensional features into a single probability score, the model gradually reduces dimensionality (e.g., 128 → 64 → 16 → 4 → 1). This "soft landing" preserves critical geometric information that might otherwise be lost. The pipeline is further refined through an Iterative Pruning strategy, where a sequence of modules progressively filters the correspondence set.

Experimental Results

LeCoT was evaluated on several standard benchmarks, including YFCC100M (outdoor), SUN3D (indoor), and Aachen Day-Night (localization), consistently outperforming existing state-of-the-art (SOTA) methods.

  • State-of-the-Art Accuracy: On the YFCC100M dataset, LeCoT achieved a 65.34% mAP5°, surpassing previous leading methods like GCT. Its performance on the indoor SUN3D dataset was even more pronounced, outperforming MS²DG-Net by a staggering 24.89% in mAP5°.
  • Efficiency and Robustness: LeCoT proved significantly faster than the traditional RANSAC estimator (74.32ms vs. 353.10ms) while providing much higher accuracy.
  • Real-World Application: In 3D reconstruction tests on the "Alamo" dataset, LeCoT successfully registered 996 images, compared to 921 by the standard baseline, resulting in a more complete and dense 3D model.

Conclusion

LeCoT demonstrates that Transformers are a more "natural" backbone for correspondence pruning than MLPs or CNNs. By leveraging global spatial and channel context and employing a progressive prediction scheme, it sets a new standard for accuracy and efficiency in the field. Future work may involve exploring more advanced Transformer variants and integrating pruning directly into the initial feature extraction stage for a fully end-to-end pipeline.

Summary updated

BibTeX
@article{dai2026lecot,
  author = {Luanyuan Dai and Xiaoyu Du and Jinhui Tang},
  title = {{LeCoT: revisiting network architecture for two-view correspondence pruning}},
  journal = {Science China Information Sciences},
  year = {2026},
  doi = {10.1007/s11432-024-4555-x},
}
Figure