SoYShape-of-You: Fused Gromov-Wasserstein Optimal Transport for Semantic Correspondence in-the-Wild

CVPR 2026

1Dept. Electronic Engineering, Hanyang University, 2Dept. Artificial Intelligence, Hanyang University
Corresponding Author
Shape-of-You teaser

Existing 2D-foundation-model pseudo-labels (e.g., DINOv2 + SD) struggle with geometric ambiguities from symmetries and repetitive parts. Shape-of-You resolves this by injecting 3D structural consistency through a Fused Gromov-Wasserstein formulation.

Abstract

Semantic correspondence is essential for handling diverse in-the-wild images lacking explicit correspondence annotations. While recent 2D foundation models offer powerful features, adapting them for unsupervised learning via nearest-neighbor pseudo-labels has key limitations: it operates locally, ignoring structural relationships, and consequently its reliance on 2D appearance fails to resolve geometric ambiguities arising from symmetries or repetitive features.

In this work, we address this by reformulating pseudo-label generation as a Fused Gromov-Wasserstein (FGW) problem, which jointly optimizes inter-feature similarity and intra-structural consistency. Our framework, Shape-of-You (SoY), leverages a 3D foundation model to define this intra-structure in the geometric space, resolving the abovementioned ambiguity. However, since FGW is a computationally prohibitive quadratic problem, we approximate it through anchor-based linearization. The resulting probabilistic transport plan provides a structurally consistent but noisy supervisory signal. Thus, we introduce a soft-target loss dynamically blending guidance from this plan with network predictions to build a learning framework robust to this noise.

SoY achieves state-of-the-art performance on SPair-71k and AP-10k datasets, establishing a new benchmark in semantic correspondence without explicit geometric annotations.

Method

Pipeline overview

Overview of our pseudo-label generation pipeline. High-confidence anchors from an initial semantic match enable a tractable linear approximation of the otherwise quadratic Gromov-Wasserstein geometric cost. Fusing this geometric cost with the semantic cost yields a final cost matrix, solved via unbalanced optimal transport to produce a transport plan that serves as a structurally consistent pseudo-label.

Per-Category PCK@0.1 on SPair-71k

Shape-of-You achieves the best average PCK@0.1 (67.9%), outperforming the previous state of the art (DINOv2 + SD, 63.5%) by +4.4%p, with consistent gains across nearly all 18 categories. Best and second-best per column are color-coded.

Method cow plant sheep avg
ASIC 57.925.268.124.735.428.430.954.821.645.047.239.926.248.814.524.549.024.636.9
DINOv2 72.762.485.241.440.352.551.571.336.167.265.067.661.168.530.661.954.324.355.7
DIFT 63.554.580.834.546.252.748.377.739.076.054.961.353.346.057.857.171.163.457.7
DistillDIFT† 70.355.485.936.851.951.750.578.040.573.865.365.254.566.047.859.455.654.459.8
DINOv2 + SD† 72.963.486.440.552.655.453.378.445.277.164.769.462.968.556.867.065.951.863.5
Shape-of-You (Ours) 73.566.789.940.858.055.451.184.852.181.071.075.364.171.862.170.270.264.467.9

† denotes results re-evaluated under identical standard evaluation settings.

Qualitative Results on SPair-71k

Comparison on challenging cases (viewpoint change, occlusion, pose variation). Shape-of-You produces accurate matches where 2D-only baselines confuse symmetric or repetitive parts.

Source
DistillDIFT
SD-DINO
Ours
source 1
distilldift 1
sddino 1
ours 1
source 2
distilldift 2
sddino 2
ours 2
source 3
distilldift 3
sddino 3
ours 3
source 4
distilldift 4
sddino 4
ours 4

BibTeX

@inproceedings{im2026shapeofyou,
  title={Shape-of-You: Fused Gromov-Wasserstein Optimal Transport for Semantic Correspondence in-the-Wild},
  author={Im, Jiin and Liu, Sisung and Hong, Je Hyeong},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2026}
}