arXiv:2611.09863cs.AINov 2026

Manuscript Offprint

arXiv:2611.09863

Flow-Guided Target-Space Alignment via Path Consistency

Ruizhi Yuan, Zeqiu Yu, Wei Gao, Wei Chen, Xiwei Tang, Lu Tang

Abstract

Many multimodal alignment problems require mapping a source modality into a fixed space defined by a target modality, where the target space is not merely an intermediate embedding but is used directly for downstream analysis. In this setting, successful alignment should preserve both the global structure of the target distribution and the instance-level correspondence observed in paired source–target training data. Existing objectives typically address only part of this goal: contrastive losses encourage relative similarity, distribution-matching losses improve marginal agreement, and pointwise regression fits each source sample to its paired target without explicitly modeling target-space path geometry. We propose FlowAlign, a flow-guided target-space alignment method that repurposes conditional flow matching as a training-time alignment signal rather than an inference-time transport model. FlowAlign uses the learned flow field to guide the alignment of source-side representations with the fixed target space, encouraging them to preserve paired correspondence while remaining compatible with the global target-space structure. We further provide theoretical analysis showing how FlowAlign helps improve paired correspondence by controlling endpoint accuracy and capturing local target-space geometry. Experiments on synthetic data, paired single-cell multiome benchmarks, and image-text alignment demonstrate that FlowAlign improves instance level correspondence while preserving target-space structure across different modality settings. Code and instructions for reproducing our experiments are available at https://github.com/yrzzz/FlowAlign.

1 Introduction

Many multimodal alignment problems are solved by learning a shared representation space. This strategy is natural when neither modality has a privileged analysis space. However, recent work also shows the value of keeping one representation system fixed and adapting another modality to it. In vision-language learning, locked or frozen-model approaches train one modality to become compatible with a strong pretrained tower or language-model interface [48, 44, 30, 20, 28]. Similar source-to-target adaptation appears in brain decoding, where fMRI activity is mapped into frozen CLIP or diffusion latent spaces for retrieval and reconstruction [36, 27, 33], and in generative personalization, where user-provided visual concepts are represented as new tokens or textual embeddings in frozen text-to-image models [11, 46].

∗^{*}Equal contribution.

†^{\dagger}Equal supervision.

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

In some scientific domains, the target representation space is not merely an interface for prediction or generation, but the output analysis space itself. Mapped source samples should therefore preserve the geometry that makes the target space useful, including neighborhoods, clusters, annotations, and, when paired target observations are meaningful, sample-level correspondence. Paired single-cell multiome analysis provides a representative example. Here, scATAC-seq and scRNA-seq are two modalities measured from the same cells, and a common goal is to map ATAC profiles into an RNA-defined representation space for downstream analysis [38, 16]. Because the two profiles are paired at the cell level, this task is not only about matching the overall RNA distribution or recovering broad cell-type neighborhoods; it also requires preserving RNA-space geometry and paired-cell correspondence [7, 17, 47]. This exposes a broader limitation of existing alignment objectives: contrastive, distribution-matching, and pointwise regression losses emphasize relative similarity, marginal coverage, and paired fitting, respectively, but do not jointly preserve target-space structure and sample-level correspondence.

We revisit flow matching [22, 41] from this perspective. Flow matching is typically used to learn a velocity field for transport or generation. Here, we use the learned field differently: not as an inference-time generator, but as a training-time guide for aligning source-side representations with the fixed target space. The intuition is that conditional flow matching defines paths between paired samples and learns velocity fields along them. In target-space alignment, an aligned representation may lie in the target space but still fail to match the correct paired target. Such a mismatch connects the source representation to an incorrect target-space location, so the resulting path requires velocities that are inconsistent with those learned from true paired examples. This motivates a path-consistency criterion that uses velocity agreement as a training signal for alignment.

We therefore introduce FlowAlign, a flow-guided target-space alignment method based on this criterion. FlowAlign learns a source-conditioned velocity field from paired source and target samples and uses the resulting path-consistency loss to guide the alignment of source-side representations toward the fixed target space.

We analyze this path-consistency criterion from both pairwise and geometric perspectives. At the pair level, the analysis connects the criterion to endpoint accuracy; at the geometric level, it shows how accurate target-space alignment can support neighborhood stability. Together, these results suggest that path consistency can support both paired correspondence and target-space structural stability. We then validate these implications across three experimental settings. In a controlled synthetic task, FlowAlign maintains correct source-to-target matching while recovering target distributional structure. On paired single-cell multiome datasets, FlowAlign maps ATAC-derived representations into fixed RNA target spaces, improving paired-cell matching and preserving RNA-defined biological structure. We further evaluate FlowAlign on a paired image-text alignment task, demonstrating that its benefits extend beyond single-cell modalities.

In summary, FlowAlign makes three contributions:

  • We study a latent space alignment setting in which one modality is aligned into the fixed representation space of a target modality, requiring both global target-space structure and paired instance-level correspondence to be preserved.

  • We propose FlowAlign, a flow-guided path-consistency criterion that repurposes conditional flow matching as a training-time alignment guide and can be used either as a standalone objective or as a plug-in regularizer for existing task-specific models.

  • We provide theoretical analysis of endpoint control and local target-space geometry, and validate FlowAlign on synthetic, paired single-cell multiome, and image-text alignment tasks, demonstrating improved correspondence while preserving target-space structure.

References (45)