Manuscript Offprint

arXiv:2610.12421

Beyond Spatio-Temporal Priors: A Generalizable Approach for Dense Correspondence Matching

Luping Liu, Bingyi Kang, Yifan Wang, Dong Xu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Dense correspondence matching has historically been bounded by simplifying spatio-temporal priors, such as smooth motion and rigid geometry. While effective for classical tasks, these assumptions break down in image editing and reference-guided generation (IEG), where transformations can preserve visual identity while breaking physical continuity. To establish identity-preserving correspondence across such transformations, we introduce FreeMatching, a generalizable framework combining generative and semantic foundation representations with heterogeneous supervision from classical datasets, tracked videos, and synthetic scenes. Teacher-guided iterative refinement further improves correspondence in IEG without dense correspondence annotations. Experimentally, a single FreeMatching model substantially improves correspondence quality on challenging IEG image pairs while retaining competitive performance on classical benchmarks. Furthermore, we demonstrate its utility as a quantitative metric for evaluating identity preservation, with scores that correlate with human judgment. The code is available at https://github.com/luping-liu/FreeMatching.

1 Introduction

Dense correspondence matching has historically been fractured into distinct paradigms: optical flow [1–3] for temporal motion and dense matching [4, 5] for geometric views. While unified frameworks like UniMatch [6] and UFM [7] have bridged these tasks, they remain constrained by simplifying spatio-temporal priors. As illustrated in Figure 1, correspondence exists on a continuous spectrum. While existing methods excel at the left end governed by smooth motion and rigid geometry, they falter at the frontier of image editing and reference-guided generation (IEG) [8–10]. For example, Figure 1 shows a horse in a grassy landscape and a snowy scene, with substantial changes in pose and appearance while its identity remains recognizable. Such transformations can preserve visual identity while breaking physical continuity. Classical spatio-temporal assumptions no longer suffice, and existing methods can produce omissions or distortions, as shown in Figure 4.

To move beyond restrictive spatio-temporal priors, we draw inspiration from human cognition [11]. Human perception can recognize the same instance despite substantial changes in appearance and configuration. Motivated by this principle, we aim to learn identity-preserving [12] correspondence across the diverse tasks shown in Figure 1.

To achieve this goal, we introduce FreeMatching, which combines foundation-model representations, heterogeneous correspondence supervision, and teacher-guided iterative refinement. Specifically,

*Work done while Luping Liu and Yifan Wang were interns at ByteDance Seed.

†^{\dagger}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Extending Dense Correspondence to IEG. FreeMatching matches across optical flow, geometric matching, and IEG. Each block shows input pairs above and our bidirectional warps below. The classical examples vary in temporal separation (top) and geometric complexity (bottom).

we utilize FLUX2-4B [13] and DINOv3 [14] to inherit rich generative and semantic knowledge, respectively. We develop this capability through two stages of training: (1) supervised learning on new large-scale tracked video [15, 16] and synthetic datasets, combined with classical datasets [17, 18], where Huber loss [19] is employed to mitigate annotation noise; and (2) teacher-guided iterative refinement on IEG datasets without dense correspondence annotations. This stage refines local correspondences and provides supervision for covisibility. Together, these components extend correspondence learning beyond classical geometric and motion settings.

Our experiments demonstrate the power of FreeMatching’s generalized approach. A single model achieves performance competitive with SOTA methods on classical optical flow and dense matching benchmarks, while substantially improving correspondence quality on the challenging IEG task. This success enables an application: using FreeMatching as a perceptual metric for quantifying identity preservation [20], providing objective scores that correlate with human judgment.

Our contributions are threefold:

  1. We introduce FreeMatching, a generalizable framework that extends dense correspondence from classical geometric and motion settings to identity-preserving matching in IEG.

  2. We combine foundation-model representations, heterogeneous correspondence supervision, and teacher-guided iterative refinement through a two-stage training paradigm, supported by new large-scale video and synthetic datasets.

  3. We demonstrate competitive performance on classical tasks and substantial gains on IEG, enabling spatially resolved assessment of identity preservation with scores that correlate with human judgment.

References (46)