UniCorrn: Unified Correspondence Transformer Across 2D and 3D

Prajnan Goswami, Tianye Ding, Feng Liu, Huaizu Jiang

TL;DR

UniCorrn is the first unified correspondence model with shared weights capable of finding geometric keypoint matches across 2D-2D (image-to-image), 2D-3D (image-to-point cloud), and 3D-3D (point cloud-to-point cloud) modalities. By introducing a novel dual-stream Transformer decoder that decouples appearance and positional features, it enables stacked, end-to-end iterative refinement, boosting registration recall by 8% on 2D-3D tasks and 10% on 3D-3D tasks over previous state-of-the-art methods.

What Problem Does This Paper Address?

Finding visual correspondences—matching the same physical point across different views of a scene—is the bedrock of 3D computer vision tasks like SLAM, Structure-from-Motion (SfM), and point cloud registration. Depending on the sensors used, this matching happens in three flavors: 2D-2D, 2D-3D, or 3D-3D.

Historically, these three tasks have been treated as separate problems requiring distinct, specialized architectures. Unifying them into a single model with shared weights has proven difficult due to fundamental architectural mismatches:

  1. Cost volume-based methods struggle with the sparse, irregular nature of 3D point clouds.
  2. Nearest-neighbor (NN) search methods cannot be stacked into deep neural networks for end-to-end iterative refinement.
  3. Direct regression approaches tend to fail when explicit geometric reasoning about 3D structures is required.

UniCorrn bridges this gap, presenting a single unified model that handles all three modality combinations seamlessly.

UniCorrn finds correspondences across 2D and 3D modalities using a unified architecture.

Methods

UniCorrn's architecture consists of four primary stages:

  1. Modality-Specific Backbones: The model uses a standard Vision Transformer (ViT) for 2D images and a Point Transformer v3 (PTv3) for 3D point clouds to extract initial features.
  2. Feature Fusion Encoder: A modality-agnostic encoder that uses alternating self-attention and cross-attention layers to let the source and target features exchange information.
  3. Dual-Stream Matching Decoder: The core innovation of the paper. Standard Transformer decoders output updated features where positional and appearance information are entangled, making it impossible to stack layers for iterative coordinate refinement. UniCorrn maintains two separate residual streams: one for appearance features ($F_k$) and one for positional embeddings ($P_k$). They are combined to compute a shared attention matrix but updated independently.
  4. Modality-Specific Prediction Heads: Linear layers map the final positional embeddings to target 2D or 3D coordinates, while a shared MLP predicts match confidence scores.

Additionally, instead of standard dot-product attention, the authors implement a Gaussian attention variant based on pairwise $L_2$ distances, which better captures non-linear complex correlations between heterogeneous modalities.

Figure 2. Illustration of the overall architecture design. Our model consists of four main modules: (1) modality-specific backbone, (2) feature fusion encoder, (3) matching decoder, and (4) modality-specific prediction heads. Details of each module can be found in Sec. 3.1.

Datasets

To train a general-purpose model, the authors compiled a massive, diverse dataset across all modalities:

  • 2D-2D: ARKitScenes, BlendedMVS, CO3D-v2, MegaDepth, StaticThings3D, ScanNet++, and Waymo.
  • 2D-3D: 7Scenes and RGB-D Scenes v2.
  • 3D-3D: 3DMatch and ModelNet.
  • Data Augmentation: To combat the scarcity of high-quality 3D correspondence data, the authors generated pseudo-point clouds from the dense depth maps of ScanNet++ and ARKitScenes.

Key Insights and Ideas

  • Attention as a Matching Cost: The fundamental insight is that the attention matrix in a Transformer naturally acts as a normalized matching cost volume. If the model learns perfect similarity, each row of the attention matrix becomes a one-hot vector pointing directly to the matching keypoint.
  • The Power of Decoupling: By splitting appearance and position into two streams, the decoder can be stacked deeply. Each layer uses the refined position from the previous layer to calculate a more accurate attention map, enabling true iterative geometric refinement.
  • Single-Head Attention is Better for Matching: While multi-head attention is standard for representation learning, the authors found that single-head attention performs better for correspondence because it closely approximates a strict nearest-neighbor assignment.
Figure 3. Dual-stream attention with a single attention matrix (matching cost). The appearance and position features are con- catenated along the channel dimension to process them in parallel. After applying attention, the output is split to update the corre- sponding appearance Fk and positional Pk residual streams.

Key Results

UniCorrn achieves remarkable performance gains, particularly in cross-modal and 3D domains:

  • 2D-3D Matching (7Scenes): Achieved a 91.0% Registration Recall (RR), outperforming the previous best specialist model (Diff-Reg at 83.8%) by 8%.
  • 3D-3D Matching (3DLoMatch): Reached an 83.2% RR in low-overlap scenarios, outperforming the prior state-of-the-art (PEAL-3D at 79.0%) by 10% (relative improvement).
  • 2D-2D Matching (MegaDepth & ScanNet): Maintained highly competitive performance against top-tier 2D-only specialist models like MASt3R and LoFTR, proving that unification does not require sacrificing 2D accuracy.

Limitations and Future Work

The authors observed an interesting phenomenon during joint training: while training on all three tasks simultaneously (Stage 2) drastically improved 2D-3D performance, it slightly degraded 2D-2D and 3D-3D performance compared to training them separately (Stage 1).

An analysis of gradient conflicts revealed that normalization layers struggle to accommodate the vastly different statistical properties of 2D images and 3D point clouds simultaneously. The authors note that developing more sophisticated normalization strategies or better cross-modality alignment designs remains an open and promising direction for future research.

Summary updated

BibTeX
@inproceedings{goswami2026unicorrn,
  author = {Prajnan Goswami and Tianye Ding and Feng Liu and Huaizu Jiang},
  title = {{UniCorrn: Unified Correspondence Transformer Across 2D and 3D}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=fMqG0FKs3a},
}
Figure