Beyond Straightness: Non-Crossing Flow Matching via Quantile AlignTree Coupling
Abstract
The performance of Flow Matching largely depends on the quality of the coupling between the source and target distributions. However, independent coupling often leads to path crossings and local velocity ambiguity, while OT-based couplings typically incur high construction costs. To address this challenge, we propose Quantile AlignTree Flow Matching (QAT-FM), an efficient structured coupling strategy that constructs a hierarchical coupling between a Gaussian prior and the target data distribution via a quantile-aligned tree structure. QAT-FM constructs the coupling in time and supports per-pair source sampling with complexity, enabling scalable training for large-scale high-dimensional generative tasks. Theoretically, we prove that the QAT coupling satisfies marginal consistency, induces non-crossing linear interpolation paths, and consistently improves path separation at intermediate times compared with independent coupling, thereby alleviating local velocity ambiguity. QAT-FM further extends naturally to conditional generation, enabling structured conditional coupling while preserving global Gaussian alignment. Experiments across diverse benchmark datasets demonstrate that QAT-FM achieves competitive generative performance while substantially reducing coupling construction cost.
1 Introduction
In recent years, continuous-time flow-based generative models have become increasingly prominent in generative modeling (Chen et al., 2018; Grathwohl et al., 2019; Lipman et al., 2023; Liu et al., 2023). A representative class is continuous normalizing flows (CNFs), which define continuous transformations as the solution flows of ordinary differential equations (ODEs) whose time-dependent velocity fields are parameterized by neural networks. During sampling, new data are generated by numerically integrating the learned ODE dynamics. To improve training efficiency, Flow Matching (Lipman et al., 2023) directly supervises the velocity field with targets derived from pre-specified conditional probability paths, avoiding the repeated numerical ODE integration required by conventional CNF training, enabling scalable training of generative models. Flow Matching has achieved competitive performance across diverse domains, including image generation (Ma et al., 2024; Esser et al., 2024), speech synthesis (Le et al., 2023; Liu et al., 2024), and text generation (Hu et al., 2024; Hu et al., 2026).
Although Flow Matching improves the scalability of training continuous-time generative models, its performance remains sensitive to the conditional probability paths and source–target couplings constructed during training (Lipman et al., 2023; Tong et al., 2024; Pooladian et al., 2023). In common linear-path formulations, Flow Matching trains the velocity field by regressing target velocities along linear interpolation paths between noise and data samples; different coupling choices therefore directly alter the structure of the supervision signal. When training paths cross, or pass too closely through the same intermediate region with substantially different target velocities, velocity ambiguity arises locally; under mean-squared-error training, these inconsistent velocity directions are averaged, increasing the difficulty of fitting the velocity field (Guo and Schwing, 2025). By contrast, training paths with the non-crossing property or good path separation reduce this local ambiguity, yielding a more deterministic mapping from intermediate states to target velocities and thereby improving training stability. In conditional generation, coupling strategies must also preserve the alignment between samples and conditions, since couplings that ignore the conditioning information may produce geometrically favorable but conditionally inconsistent supervision signals (Chemseddine et al., 2025; Cheng and Schwing, 2025).
Several existing approaches seek to alleviate path crossing and velocity ambiguity by improving coupling quality. The reflow procedure in Rectified Flow (Liu et al., 2023) reconstructs pairings between noise and data using a learned model, yielding more deterministic and straighter generation trajectories; however, this requires additional sampling and re-training steps, imposing substantial computational overhead. OT-based methods (Villani and others, 2009) construct geometrically optimal pairings by minimizing transport cost; under a quadratic cost, the induced displacement interpolation exhibits a favorable non-crossing structure that alleviates velocity ambiguity. Nonetheless, exact empirical OT is computationally expensive and difficult to scale to large datasets; in conditional generation, maintaining conditioning consistency typically requires condition-aware constraints or condition-wise couplings, further increasing algorithmic complexity. Mini-batch OT (Pooladian et al., 2023; Tong et al., 2024) substantially reduces this cost by solving OT within each mini-batch, but the resulting coupling is primarily local and cannot strictly preserve the non-crossing structure at the full-dataset level. Most of the above methods construct couplings only over finite Gaussian samples; SD-FM (Mousavi-Hosseini et al., 2026) further improves the alignment of continuous Gaussian information via gradient-based optimization, but its iterative optimization incurs substantial sampling or optimization cost and does not yield an explicit low-cost global coupling construction.
| Method | Build Cost1 | Sample Cost | Non-Cross | Path Sep. | Gaussian Align. |
|---|---|---|---|---|---|
| FM | — | ✗ | ✗ | ✓✓ | |
| RecFlow | ✓ | ✗ | ✗ | ||
| OT-FM | ✓ | ✓ | ✗ | ||
| OT-FM | ✗ | ✗ | ✗ | ||
| SD-FM | ✓ | ✓ | ✓ | ||
| QAT-FM | ✓ | ✓✓2 | ✓✓ |
- 1
Notation. : dataset size; : mini-batch size; : data dimension; : SD optimization steps; : reflow rounds; : one network forward pass. Complexities are reported up to constant factors.
- 2
✓✓indicates that the property is also preserved in conditional generation.
Table 1 compares representative Flow Matching coupling strategies along five axes: coupling construction cost (Build Cost), sampling cost (Sample Cost), whether the coupling induces non-crossing paths at the full-dataset level (Non-Cross), whether it improves path separation (Path Sep.), and whether the source marginal is aligned with a continuous Gaussian prior (Gaussian Align.). As shown, prior methods generally trade off computational efficiency, path geometry, and Gaussian-prior alignment. To address these limitations, we propose Quantile AlignTree Flow Matching (QAT-FM), a low-cost structured coupling strategy that achieves non-crossing paths, improved path separation, and continuous Gaussian-prior alignment, with several of these properties naturally extending to conditional generation.
Contributions. Our main contributions are as follows:
- 1)
We propose Quantile AlignTree (QAT), an efficient semi-discrete transport construction based on binary tree-structured quantile alignment. QAT induces an exact coupling between an empirical data distribution and a continuous Gaussian prior. With construction complexity and per-pair sampling complexity , QAT scales to large-scale, high-dimensional generative modeling tasks.
- 2)
The QAT coupling supports multiple tree-splitting strategies and can naturally incorporate conditioning information into both tree construction and coupling.
- 3)
We prove that QAT induces favorable path structure: the resulting linear interpolation paths satisfy the non-crossing property, and path separation at intermediate times is uniformly greater than that of standard independent-coupling flow matching, alleviating local velocity ambiguity.
- 4)
We conduct systematic experiments on low-dimensional synthetic data, unconditional generation, discrete class-conditional generation, continuous text-conditional generation, and large-scale image synthesis. Results show that QAT-FM achieves competitive generation quality with substantially lower coupling construction complexity than OT-based methods.
2 Preliminaries
Notation.
Let denote the set of Borel probability measures on . For and , a joint distribution is called a coupling of and if its marginals are and ; we write for the collection of all such couplings. For a vector , let denote its -th coordinate. For , let denote its -th marginal distribution, the cumulative distribution function (CDF) of , and its generalized inverse. For a measurable map , we write for the pushforward of under .
Flow-based Generative Modeling.
Given a time-dependent velocity field , write . The flow map induced by is defined as the solution to the ODE
Setting , where denotes the source distribution, the pair satisfies the continuity equation
| (1) |
with . When , the flow transports the source to the target distribution . The goal of flow-based generative modeling is therefore to learn a parameterized velocity field whose induced flow map satisfies .
Flow Matching (Lipman et al., 2023) provides a tractable training procedure for this velocity field. It specifies a probability path connecting to together with a compatible target velocity field . The parameterized velocity field is then learned via the regression objective
| (2) |
This formulation avoids backpropagating through numerical ODE solvers during training.
Conditional Flow Matching.
In practice, the marginal velocity field is often intractable to construct directly. Conditional Flow Matching11 1 Here, “conditional” refers to conditioning on paired endpoints. To avoid ambiguity with conditional generation, we refer to this formulation simply as Flow Matching (FM) throughout the remainder of the paper unless otherwise specified. (CFM) (Lipman et al., 2023; Tong et al., 2024) addresses this by conditioning on paired endpoints: given , draw , specify a conditional path and its compatible velocity , and train to match , where . A canonical and widely used choice is the linear interpolation path
under which the training objective reduces to
| (3) |
This reveals that the endpoint pairing is governed by the coupling . The simplest choice is the independent coupling . A more principled alternative is the OT coupling
| (4) |
which under the linear path tends to produce shorter, geometrically natural paired trajectories (Pooladian et al., 2023; Tong et al., 2024). However, computing the exact global OT coupling is expensive at large scale; in practice, mini-batch OT is used as an approximation, reducing computational cost at the expense of coupling exactness and cross-batch consistency. For the special case , Mousavi-Hosseini et al. (2026) proposes solving a semi-discrete OT problem in (4) to better align the continuous Gaussian source with the empirical target distribution.
Data Partitioning by Trees.
The preceding discussion shows that the choice of coupling directly governs the geometry of particle trajectories in FM, while exact global OT coupling is prohibitively expensive at large scale (Zhang et al., 2025; Mousavi-Hosseini et al., 2026). This motivates binary tree-based space partitioning, which provides a simple way to organize data hierarchically and will serve as the foundation of our coupling construction. Given a data space and a dataset , let denote its empirical distribution. A binary partition tree consists of an internal node set and a leaf node set . Each node is associated with a region and data subset , where the root satisfies .
For each internal node , let denote the conditional empirical measure on . A split strategy selects a split coordinate and threshold based on , partitioning into
and correspondingly partitioning into and . After recursive splitting, the leaf regions form a partition of , denoted .
3 Quantile AlignTree Flow Matching
3.1 Quantile AlignTree Coupling
The preceding analysis shows that in the linear FM objective, the coupling governs how source samples are paired with target samples, directly shaping the geometry of flow paths. The key idea of QAT is to build a binary partition tree over the empirical data distribution and transfer its topology to the source distribution by matching the split mass ratios at each internal node. Figure 1 summarizes the resulting coupling and sampling procedure.
Let denote the empirical measure of dataset , and let be the source distribution, e.g., . Following the binary partition tree construction of Section 2, we build a data tree on . For each internal node , let denote its split coordinate and threshold, and let be the conditional empirical measure at that node. Based on the data tree, we define the Quantile AlignTree as follows.
Definition 1 (Quantile AlignTree (QAT))
Given the data tree and source distribution , the Quantile AlignTree of with respect to the data tree, denoted , is constructed recursively with the same topology as . At each internal node , the split coordinate is inherited from the data tree, but the data-side threshold is replaced by the source-side aligned threshold
| (5) |
where denotes the conditional distribution of on the current source-side region . The source-side region is then partitioned as
and the left and right child nodes are constructed recursively.
The quantile-based aligned threshold (5) guarantees that the source side and the data side carry equal mass ratios at every split. Specifically, when the source-side conditional marginal is continuous,
Consequently, the data tree and the aligned source tree carry equal mass at corresponding leaf nodes, naturally inducing a coupling from to .
Definition 2 (QAT Coupling)
Let be the nonempty leaf node set of data tree . For each leaf , let and . Let denote the conditional empirical measure on , and let denote the conditional source measure associated with leaf in the Quantile AlignTree. Define the QAT coupling as
| (6) |
Then .
Intuitively, the QAT coupling matches each data leaf with an aligned source region. To draw a training pair , one samples a leaf with probability , draws from the corresponding conditional source distribution, and draws from the conditional empirical distribution on that leaf.
Remark 1 (Gaussian Sampling)
When , sampling from is especially convenient. Since all splits are axis-aligned, every leaf source region is an axis-aligned hyperrectangle. If leaf corresponds to source region , sampling from reduces to drawing each coordinate independently from a truncated standard normal:
The interval endpoints are determined by all split constraints along the root-to-leaf path, and the sampling is fully parallelizable across coordinates.
3.2 QAT Flow Matching
Substituting the QAT coupling into the linear FM objective (3) yields the QAT-FM training objective. Let be the empirical data distribution, the source distribution, and the QAT coupling of Definition 2. QAT-FM learns the velocity field via
| (7) |
Compared to standard FM, QAT-FM differs only in the sample pairing: replaces the independent coupling, while the linear interpolation path and velocity regression target remain unchanged. This structured pairing yields the following geometric properties.
Theorem 1 (Non-Crossing Property)
Let be the QAT coupling. Consider two paired samples . If and belong to two distinct leaf nodes of the data tree, then the corresponding linear interpolation paths
do not intersect, i.e., for all , almost surely.
Theorem 1 establishes that paths associated with distinct target leaves are strictly non-crossing. This property alleviates the velocity ambiguity that can arise from overlapping training paths: since the FM objective fits pointwise at each , two training paths satisfying but impose conflicting supervision signals at the same spatial location, increasing the difficulty of fitting . Paths that remain well-separated at intermediate times are therefore desirable. Beyond preventing cross-leaf path crossings, the QAT coupling also consistently improves the expected inter-path distance, as the following theorem quantifies.
Theorem 2 (Improved Path Separation)
Let , let be the QAT coupling, and let be the independent coupling. For any coupling , let denote expectation over two independent pairs , and define and . Then for every ,
where is the node-level path-separation gain induced by the QAT tree:
| (8) |
Here is the data mass at node , is the conditional left-child mass fraction at split coordinate , and , denote the conditional source and empirical distributions on the left and right child regions of . Under non-degenerate splits, , so the QAT coupling strictly dominates the independent coupling in expected inter-path separation.
3.3 Conditional QAT Strategy
In conditional generation tasks, data samples carry conditioning variables. Let be the joint dataset, the joint empirical distribution, and the marginal over condition space. A standard OT coupling based only on data-space distances can ignore the alignment between samples and their conditioning variables. Alternatively, solving OT directly between the joint source and the joint empirical distribution increases the optimization dimension and computational cost (Cheng and Schwing, 2025; Mousavi-Hosseini et al., 2026). We therefore propose the following Conditional QAT strategy.
Definition 3 (Conditional QAT)
Let be conditioning variables. Conditional QAT constructs a data tree on the joint samples . For each internal node , let denote its split coordinate. When building the source-side AlignTree, if (a data coordinate), the source side is partitioned using the standard QAT aligned threshold in (5); if (a condition coordinate), no split is applied to the source and both child nodes inherit the parent source region, the split is used only to refine the target-side grouping: .
The Conditional QAT coupling takes the same form as Definition 2, with the target empirical distribution replaced by the joint distribution :
where is the set of nonempty leaves of the joint data tree, and is the conditional joint empirical distribution at leaf . A sample from can be written as , where the linear FM path is applied only in the data space between and , while is provided as conditioning input to the velocity model. By encoding conditional structure through leaf-level matching in the joint tree, this construction avoids explicitly solving the product-space OT problem between and , while retaining the efficient sampling form of unconditional QAT.
Remark 2 (Theoretical extensions)
Conditional QAT inherits the theoretical properties of QAT under appropriate conditions. Specifically, if the root-to- and root-to- paths first diverge at a data-coordinate split node (i.e., ), then the linear interpolation paths drawn from the corresponding leaf couplings satisfy the non-crossing property of Theorem 1. Under the same non-degeneracy conditions, Conditional QAT also inherits the path-separation bound of Theorem 2. Proofs and further details are given in Appendix A.3.
3.4 Efficient QAT Construction and Sampling
When , each source-side leaf region is fully characterized by its coordinate-wise bounds (Remark 1). Regardless of whether the data tree is built from unconditional or conditional samples, each leaf stores only the data index set and the source-side bounds , which fully specify the leaf-wise product coupling . Training pairs are drawn by sampling a leaf proportionally to its mass, then independently drawing a source point from the corresponding truncated Gaussian region and a target point from . The full construction, sampling algorithm, and complexity analysis are given in Appendix B.
Split Strategy.
QAT is compatible with a variety of split strategies. Throughout this work we adopt a maximum-variance rule: for each node , the split coordinate is the dimension of highest empirical variance and the split threshold is the empirical mean along that coordinate,
where in the unconditional case and in the conditional case. For discrete empirical data, we recurse until each leaf contains at most one sample; in the conditional setting, the terminal splitting phase prioritizes data coordinates over condition coordinates, maximizing the number of source-side splits and thereby increasing the path-separation gain of Theorem 2.
High-Dimensional Data Handling.
For high-dimensional data, axis-aligned partitioning in the raw data space may fail to capture the principal directions of variation. We therefore first rotate the data via an orthogonal transform , setting and constructing the QAT coupling on the top- subspace . By the rotational invariance of the standard Gaussian, for any orthogonal . Training then proceeds by sampling , independently drawing , and setting
The marginal distribution of remains , while the QAT tree operates entirely within the low-dimensional subspace. In practice, is composed of a Patch-Hadamard transform and a PCA rotation at the mean-pooling scale, concentrating the principal data variation into a small number of coordinates. Details are given in Appendix B.3.
4 Experiments
We evaluate QAT-FM through a series of experiments: we begin with path visualizations on two-dimensional synthetic data, then proceed to high-dimensional image generation benchmarks covering unconditional generation (CIFAR-10), class-conditional generation (ImageNet-32), text-conditional generation (CelebA-64), and large-scale latent-space generation (ImageNet-256). Additional implementation details are provided in Appendix C; extended experimental results appear in Appendix D.
4.1 2D Synthetic Experiments
Following Lipman et al. (2023); Pooladian et al. (2023), we compare different coupling methods on two-dimensional checkerboard data. Four methods are evaluated: I-FM, OT-FM (Tong et al., 2024), SD-FM (Mousavi-Hosseini et al., 2026), and the proposed QAT-FM. All methods share the same network architecture and training configuration.
Figure 2 (left) shows sample evolution from to . OT-FM and SD-FM capture the global structure of the target distribution earlier than I-FM, while QAT-FM yields better local separation and more organized intermediate transport. Figure 2 (right) shows generated samples with varying NFE. QAT-FM recovers a clear checkerboard structure at small NFE, indicating that its structured coupling improves few-step sample quality.
4.2 Unconditional Generation on CIFAR-10
We evaluate QAT-FM on unconditional generation using CIFAR-10 (Krizhevsky et al., 2009), which contains RGB training images of size across categories. The velocity-field network follows the architecture of Tong et al. (2024); training details are provided in Appendix C. We generate samples using several numerical solvers and compute FID (Heusel et al., 2017). Results are averaged over random seeds and reported with standard deviations.
| Method | Euler-2 | Euler-100 | Dopri5 | NFE |
|---|---|---|---|---|
| I-FM | 164.18 | 3.79 | 3.38 | 137.30 |
| OT-FM | 77.26 | 3.96 | 3.49 | 129.52 |
| SD-FM | 162.66 | 4.03 | 3.61 | 135.78 |
| QAT-FM | 98.68 | 3.91 | 3.26 | 145.55 |
Table 2 reports CIFAR-10 results at k training steps. Under few-step Euler sampling, OT-FM performs best, while QAT-FM substantially improves over I-FM and SD-FM, indicating that structured coupling can improve generation quality under coarse numerical integration. Under the adaptive Dopri5 solver, QAT-FM achieves the lowest FID, showing competitive final generation quality in the unconditional setting. Figure 3 further shows that QAT-FM maintains strong performance during late-stage training.
Ablation Studies.
Our main experiments use patch size , PCA dimension , and mean-based tree splitting. To assess the sensitivity of these choices, we conduct three ablation studies: (1) varying the PCA dimension ; (2) varying the patch size ; and (3) comparing three split strategies—mean split, median split, and random split with ratio . Results are summarized in Table 3.
| PCA Dim. | FID | NFE |
|---|---|---|
| 3.26 | 145.48 | |
| 3.27 | 143.50 | |
| 3.24 | 143.76 |
| Patch Size | FID | NFE |
|---|---|---|
| 3.24 | 145.36 | |
| 3.24 | 145.55 | |
| 3.26 | 145.48 |
| Split Rule | FID | NFE |
|---|---|---|
| Mean | 3.26 | 145.48 |
| Median | 3.22 | 143.89 |
| Random | 3.24 | 144.87 |
As shown in Table 3, QAT-FM is insensitive to the choice of PCA dimension, patch size, and tree splitting strategy; FID and NFE vary only slightly across all configurations. These results suggest that the performance gains of QAT-FM do not rely on carefully tuned tree construction hyperparameters, but stem primarily from the global tree-structured quantile alignment mechanism.
4.3 Conditional Generation Experiments
Class-conditional generation.
We evaluate QAT-FM on class-conditional generation using ImageNet-1k (Deng et al., 2009), which contains categories and over M training images. All images are resized to , with random horizontal flipping used for augmentation. We build the Conditional QAT coupling using both original and horizontally flipped training images. At evaluation, we generate K samples and compute FID against the training set. Results are averaged over random seeds and reported with standard deviations.
| Method | Euler-2 | Euler-5 | Euler-10 | Euler-20 | Euler-50 | Euler-100 | Dopri5 | NFE |
|---|---|---|---|---|---|---|---|---|
| I-FM | 122.40 | 23.04 | 10.12 | 6.48 | 4.77 | 4.25 | 3.82 | 140.27 |
| OT-FM | 115.63 | 31.82 | 15.79 | 10.59 | 8.14 | 7.37 | 6.65 | 142.51 |
| C2OT | 100.41 | 20.94 | 10.10 | 6.80 | 5.15 | 4.62 | 4.16 | 143.97 |
| QAT-FM | 105.16 | 22.88 | 10.30 | 6.40 | 4.54 | 3.99 | 3.56 | 143.35 |
Table 4 reports FID on class-conditional ImageNet- generation. Both C2OT and QAT-FM improve few-step generation over I-FM, demonstrating the effectiveness of condition-aware coupling. While C2OT performs best under small Euler step counts, its advantage reverses as the solver becomes more accurate. By contrast, QAT-FM remains competitive in few-step sampling and achieves the best performance under larger-step Euler solvers and Dopri5. This indicates that Conditional QAT provides more stable supervision for high-quality conditional FM training.
Text-conditional generation.
We further evaluate QAT-FM on text-conditional CelebA- generation. CelebA (Liu et al., 2015) contains over K celebrity face images with attribute annotations, and CelebA-Dialog (Jiang et al., 2021) provides fine-grained natural-language descriptions for these images. We use the text captions as conditioning inputs. Following C2OT (Cheng and Schwing, 2025), each caption is encoded by a CLIP (Radford et al., 2021)-like DFN text encoder (Fang et al., 2024), and the resulting embedding is used as the condition variable. We compare QAT-FM with I-FM, OT-FM, and C2OT under the same text-conditioning setting. At evaluation, we generate K samples and report FID for image fidelity and SigLIP-2 (Tschannen et al., 2025) CLIP score for text-image alignment.
| Method | Euler-2 | Euler-100 | Dopri5 | NFE | |
|---|---|---|---|---|---|
| FID | I-FM | 82.40 | 3.60 | 3.13 | 149.97 |
| OT-FM | 70.24 | 3.42 | 2.98 | 146.53 | |
| C2OT | 81.39 | 3.50 | 3.08 | 148.75 | |
| QAT-FM | 61.84 | 3.17 | 2.68 | 144.08 | |
| CLIP | I-FM | 0.11 | 0.10 | 0.10 | 149.97 |
| OT-FM | 0.09 | 0.08 | 0.08 | 146.53 | |
| C2OT | 0.11 | 0.10 | 0.10 | 148.75 | |
| QAT-FM | 0.11 | 0.10 | 0.10 | 144.08 |
(a) Quantitative results.
(b) Qualitative samples.
Figure 4 shows that QAT-FM consistently outperforms I-FM, OT-FM, and C2OT in FID across different solvers, while also requiring the lowest average NFE. Meanwhile, QAT-FM attains the same CLIP scores as I-FM and C2OT, and higher CLIP scores than OT-FM, indicating that the improvement in image fidelity does not come at the cost of weaker text-image alignment. The qualitative samples further show that QAT-FM produces more coherent faces under Euler-2 and sharper details under Euler-100, consistent with the quantitative results.
| Method | Steps | IS | FID | sFID | Pre. | Rec. |
|---|---|---|---|---|---|---|
| I-FM | 10 | 152.19 | 11.83 | 20.73 | 0.64 | 0.49 |
| QAT-FM | 10 | 162.15 | 10.67 | 20.74 | 0.66 | 0.48 |
| I-FM | 50 | 242.65 | 2.57 | 5.62 | 0.80 | 0.57 |
| QAT-FM | 50 | 250.36 | 2.46 | 5.69 | 0.80 | 0.58 |
| I-FM | 250 | 248.94 | 2.08 | 4.29 | 0.81 | 0.59 |
| QAT-FM | 250 | 256.96 | 1.99 | 4.25 | 0.80 | 0.60 |
Large-scale latent generation.
To assess scalability, we further evaluate QAT-FM on class-conditional ImageNet- latent generation (Rombach et al., 2022; Ma et al., 2024). Following Yao et al. (2025), images are encoded into VA-VAE latents, and the flow model is trained in the latent space. We construct the Conditional QAT directly over the VAE latents, while following the network architecture, training hyperparameters, and evaluation protocol of Yao et al. (2025). Due to computational constraints, we train for epochs using the official recommended setting. The implementation and evaluation details are provided in Appendix C.
Table 5 shows that QAT-FM consistently improves FID and Inception Score over I-FM across all solver step counts, while maintaining competitive sFID, precision, and recall. The improvements hold in both few-step and high-accuracy sampling regimes, indicating that the QAT coupling benefits latent-space flow training beyond a particular solver choice. Figure 5 provides qualitative examples under Euler-250 sampling. These results suggest that QAT-FM can be integrated into modern latent-space flow backbones with minimal architectural changes while improving generation quality.
5 Conclusion
We study the prior-data coupling problem in Flow Matching and propose QAT-FM, a simple yet effective coupling strategy based on tree-structured quantile alignment. QAT-FM avoids the high cost of OT-based coupling while preserving favorable path geometry, including non-crossing paths and improved path separation. It also extends naturally to conditional generation through condition-aware tree construction. Extensive experiments verify the effectiveness and scalability of our method across synthetic data, image generation, and large-scale latent-space generation. Overall, QAT-FM provides an efficient and structured coupling mechanism for improving Flow Matching training.
References
- Conditional wasserstein distances with applications in bayesian ot flow matching. Journal of Machine Learning Research 26 (141), pp. 1–47. External Links: Link Cited by: §1.
- Neural ordinary differential equations. In Advances in Neural Information Processing Systems, Vol. 31, pp. . External Links: Link Cited by: §1.
- The curse of conditions: analyzing and improving optimal transport for conditional flow-based generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 15875–15884. Cited by: §B.2, §C.3, §C.4, §C.4, §1, §3.3, §4.3.
- ImageNet: a large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, Vol. , pp. 248–255. External Links: Document Cited by: §C.3, §C.5, §4.3.
- Diffusion models beat gans on image synthesis. In Advances in Neural Information Processing Systems, Vol. 34, pp. 8780–8794. External Links: Link Cited by: §C.3, §C.5.
- Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first International Conference on Machine Learning, External Links: Link Cited by: §1.
- Data filtering networks. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §C.4, §4.3.
- POT: python optimal transport. Journal of Machine Learning Research 22 (78), pp. 1–8. External Links: Link Cited by: §C.1, §D.1.
- Stochastic optimization for large-scale optimal transport. In Advances in Neural Information Processing Systems, Vol. 29, pp. . External Links: Link Cited by: §C.1.
- FFJORD: free-form continuous dynamics for scalable reversible generative models. In International Conference on Learning Representations, External Links: Link Cited by: §1.
- Variational rectified flow matching. In Forty-second International Conference on Machine Learning, External Links: Link Cited by: §1.
- GANs trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, Vol. 30, pp. . External Links: Link Cited by: §4.2.
- Hadamard matrices and their applications. Princeton university press. Cited by: §B.3, §B.3.
- ELF: embedded language flows. External Links: 2605.10938, Link Cited by: §1.
- Flow matching for conditional text generation in a few sampling steps. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 2: Short Papers), St. Julian’s, Malta, pp. 380–392. External Links: Link, Document Cited by: §1.
- Talk-to-edit: fine-grained facial editing via dialog. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 13799–13808. Cited by: §C.4, §4.3.
- Adam: a method for stochastic optimization. In International Conference on Learning Representations, Cited by: §C.1.
- Learning multiple layers of features from tiny images. Cited by: §C.2, §4.2.
- Voicebox: text-guided multilingual universal speech generation at scale. In Thirty-seventh Conference on Neural Information Processing Systems, External Links: Link Cited by: §1.
- Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, External Links: Link Cited by: §C.1, §1, §1, §2, §2, §4.1.
- Flow matching guide and code. External Links: 2412.06264, Link Cited by: §C.1.
- Generative pre-training for speech with flow matching. In The Twelfth International Conference on Learning Representations, External Links: Link Cited by: §1.
- Flow straight and fast: learning to generate and transfer data with rectified flow. In The Eleventh International Conference on Learning Representations, External Links: Link Cited by: §1, §1.
- Deep learning face attributes in the wild. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Cited by: §C.4, §4.3.
- SiT: exploring flow and diffusion-based generative models with scalable interpolant transformers. In European Conference on Computer Vision, Cham, pp. 23–40. External Links: ISBN 978-3-031-72980-5 Cited by: §C.3, §1, §4.3.
- Flow matching with semidiscrete couplings. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §C.1, §D.1, §1, §2, §2, §3.3, §4.1.
- Input perturbation reduces exposure bias in diffusion models. In Proceedings of the 40th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 202, pp. 26245–26265. External Links: Link Cited by: §C.4.
- On aliased resizing and surprising subtleties in gan evaluation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11410–11420. Cited by: §C.2.
- Multisample flow matching: straightening flows with minibatch couplings. In Proceedings of the 40th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 202, pp. 28100–28127. External Links: Link Cited by: §C.1, §1, §1, §2, §4.1.
- Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 139, pp. 8748–8763. External Links: Link Cited by: §4.3.
- Searching for activation functions. External Links: 1710.05941, Link Cited by: §C.1.
- High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 10684–10695. Cited by: §4.3.
- Improving and generalizing flow-based generative models with minibatch optimal transport. Transactions on Machine Learning Research. Note: Expert Certification External Links: ISSN 2835-8856, Link Cited by: §C.2, §C.2, §C.3, §1, §1, §2, §2, §4.1, §4.2.
- SigLIP 2: multilingual vision-language encoders with improved semantic understanding, localization, and dense features. External Links: 2502.14786, Link Cited by: §C.4, §4.3.
- Optimal transport: old and new. Vol. 338, Springer. Cited by: §1.
- Patch diffusion: faster and more data-efficient training of diffusion models. In Thirty-seventh Conference on Neural Information Processing Systems, External Links: Link Cited by: §C.4.
- Reconstruction vs. generation: taming optimization dilemma in latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 15703–15712. Cited by: §C.5, §C.5, §4.3.
- On fitting flow models with large sinkhorn couplings. External Links: 2506.05526, Link Cited by: §2.
Appendix A Proofs
A.1 Proof of Theorem 1
Proof. By the binary tree structure, for any two distinct data leaves , there exists a unique first internal node at which the root-to- and root-to- paths diverge. Without loss of generality, assume lies in the left subtree of and lies in the right subtree.
By the construction of the data tree, node is split along coordinate with threshold , so its left and right child regions are
Since and ,
| (9) |
On the source side, QAT reuses the same split coordinate and replaces the data-side threshold by the aligned threshold . The corresponding source-side child regions are
Since QAT matches each data leaf with the corresponding source leaf region, the source samples paired with leaves and satisfy and . Hence
| (10) |
A.2 Proof of Theorem 2
Proof. For any coupling , let and be two independent pairs drawn from . By the linear interpolation ,
| (11) | ||||
The first two terms depend only on the marginal distributions and , and are therefore identical under and . The difference between the two couplings arises entirely from the cross term. Under the independent coupling , and are mutually independent with zero mean, giving
| (12) |
Recursive analysis of the QAT cross term. For each node , let denote the normalized QAT coupling conditioned on node ’s region, and let denote expectation when both pairs are drawn independently from . Define
If is a leaf, the QAT coupling within that leaf is , so and are independent with zero mean, giving .
For any internal node with left and right children and , let
indicate whether the first and second pairs fall into the left child. Write and . By the law of total expectation,
| (13) | ||||
When both pairs fall into the same child, they contribute and respectively. For the cross-subtree terms, write and . Taking the case , (first pair in right child, second in left), the cross-subtree contribution is
Since , the above simplifies to
The case , contributes the same amount. Substituting into (13),
| (14) |
Reduction to split-coordinate mean differences. Since the source distribution is and all QAT splits are axis-aligned, the source regions and differ only in the -th coordinate interval. By Gaussian coordinate independence, for any ,
so for all . Writing
equation (14) becomes
| (15) |
Telescoping from the root. Let , , . Since and , multiplying (15) by gives
| (16) |
Telescoping from the root (where ) and using at all leaves,
| (17) |
Setting , so that ,
| (18) |
A.3 Properties of CQAT
Let be the conditional dataset with joint empirical distribution . Denote the Conditional QAT coupling by , where . Throughout, refers to the data-coordinate component of a joint sample .
Proposition 1 (Non-crossing property of CQAT)
Let be two leaf nodes of the Conditional QAT tree, and let be the first internal node at which the root-to- and root-to- paths diverge. If is a data-coordinate split node, i.e., , then the linear interpolation paths drawn from the two leaf couplings do not intersect.
Proof. Without loss of generality, assume lies in the left subtree and in the right subtree . Since , the CQAT tree performs a data-coordinate split at . By the tree construction, for any and ,
Moreover, since is a data-coordinate split node, the source-side region is simultaneously partitioned: for any and ,
Hence, for all ,
which implies for all .
Proposition 2 (Path separation property of CQAT)
Let and , where denote the data-coordinate components of joint samples. For any ,
where is the node-level separation induced by the Conditional QAT tree structure:
| (20) | ||||
Here is the set of internal nodes of the Conditional QAT tree; is the joint data mass at node ; and is the conditional mass of the left child.
Proof. The telescoping recursion (17) in the proof of Theorem 2 relies only on the left-right child decomposition at each internal node and the product structure of the leaf couplings. Replacing the QAT tree with the Conditional QAT tree and with the joint empirical distribution , the same argument gives
where and is the local cross-term contribution at node .
It remains to show that condition-coordinate split nodes contribute zero. If , the CQAT tree does not partition the source-side region at , so both child nodes inherit the same source region: . Consequently,
and the source-side mean difference vanishes, giving . Therefore, only data-coordinate split nodes () contribute, and the sum reduces to
Combining with the linear interpolation expansion (11) and the fact that the cross-term vanishes under the independent coupling , we obtain
Under non-degenerate splits, if at least one data-coordinate split node contributes positively, then . This completes the proof.
Appendix B Algorithms
B.1 QAT Coupling Construction and Sampling
This section presents pseudocode for QAT coupling construction and training-pair sampling. QAT uses as the source distribution and maintains source-side coordinate bounds at each leaf node. Throughout, and denote the standard-normal CDF and its inverse, respectively.
Because the construction terminates when , each non-empty leaf holds exactly one training sample. Every leaf therefore carries mass , and sampling a leaf is equivalent to drawing a data index uniformly at random.
In flow matching training, the sampled pair serves as .
Complexity analysis.
Assuming the tree is approximately balanced, it has levels. At each level, computing coordinate means and variances over all samples costs , giving a total construction cost of . Sampling a single training pair requires generating independent truncated-Gaussian variates via the inverse-CDF method, each in , for a per-sample cost of . Epoch-level sampling therefore costs , matching standard Gaussian sampling in asymptotic complexity.
Vectorized implementation.
In practice, the source-side bounds for each sample’s corresponding leaf are precomputed and stacked into two matrices indexed by data order. Given a batch of indices , one retrieves and directly and draws in parallel, then sets . The entire batch sampling step is therefore fully vectorizable.
B.2 CQAT Coupling Construction and Sampling
In CQAT, the condition variable is embedded as a Euclidean vector and concatenated with the data feature to form ; the algorithm then builds a tree directly on the joint sample set . To prevent late-stage splits driven purely by condition coordinates — which partition the data index set without updating the source-side bounds — we restrict the candidate split coordinates to whenever the node sample count falls below a threshold . Algorithm 3 gives the full construction.
Scale balancing.
Since CQAT builds on data and condition coordinates jointly, scale imbalance between and may bias split selection toward high-variance condition dimensions. We therefore build the tree on . For discrete class labels, we set , which is formally equivalent to first partitioning all samples by class and then constructing an independent QAT within each class subtree — matching the approach of C2OT (Cheng and Schwing, 2025). For continuous conditions, we adopt the variance-normalized weight
| (21) |
so that the rescaled condition variable has aggregate variance comparable to that of the data features.
Complexity analysis.
Building the tree over coordinates gives a construction cost of under a balanced-tree assumption. Condition-coordinate splits () partition the data index set without touching the source-side bounds; data-coordinate splits () perform quantile alignment exactly as in QAT. At training time, Algorithm 2 applies directly: one returns the data sample together with its paired condition variable . Since source sampling remains confined to -dimensional Gaussian space, the per-sample cost is , unchanged from QAT.
B.3 High-Dimensional Image Data Processing
For high-dimensional image data, we do not build the QAT directly in raw pixel space. Instead, we first apply an orthogonal transform to concentrate the principal variation into the leading coordinates. Crucially, only a pure rotation is applied — no mean subtraction — so that if the source is , it remains standard Gaussian under both the forward and inverse transforms.
Patch-Hadamard transform.
Let the input image have spatial resolution with channels, flattened to (). For patch size , the image is divided into non-overlapping patches, each of spatial dimension . A normalized Hadamard matrix (Horadam, 2012) is applied independently to each patch. Because the normalized Hadamard matrix is orthogonal with constant direction , extracting the coefficient along this direction is equivalent to patch-level mean pooling. We denote the resulting mean-pooled representation as .
Let denote the global patch-wise Hadamard transform induced by patch size . Since each per-patch transform is orthogonal, is itself orthogonal. We order the output coordinates so that the first entries of correspond to the constant-direction coefficients across all patches. In practice, if only the low-dimensional tree representation is needed, can be obtained directly by patch-level mean pooling, with PCA directions estimated on this -dimensional representation.
PCA rotation and low-dimensional QAT.
Patch-Hadamard pooling avoids the cost of PCA in the full -dimensional pixel space. We estimate the PCA rotation matrix from without mean shift. Setting , we use only the leading coordinates to construct the QAT coupling. Algorithm 4 summarizes the full construction pipeline.
Inverse-transform sampling.
The low-dimensional QAT constructs a coupling over the leading PCA-pooled coordinates, whose source marginal is . To recover a source sample in the original -dimensional pixel space, we fill the remaining coordinates with independent standard Gaussian noise: first the residual PCA-pooled coordinates, then the high-frequency Hadamard coefficients for each patch (all per-patch dimensions except the constant direction). Since and are both orthogonal and all unfilled coordinates are drawn as independent standard Gaussians, the resulting source sample has marginal exactly .
Complexity analysis.
Let , , and . Computing patch-level mean pooling costs ; the full patch-wise Hadamard transform can be applied via the Fast Walsh-Hadamard Transform (Horadam, 2012) in . PCA is estimated on the -dimensional pooled representation, and the low-dimensional QAT is built in -dimensional space, giving tree construction cost . At sampling time, the inverse PCA rotation costs per sample and the inverse patch-wise Hadamard transform costs , giving a total per-sample cost of ; batch sampling is fully vectorizable.
Appendix C Implementation Details
This section details the per-experiment training configurations. Unless stated otherwise, all methods share the same network architecture, training configuration, and sampling protocol, differing only in the coupling strategy used to form training pairs: I-FM uses independent coupling, OT-FM uses mini-batch OT coupling, and QAT-FM uses the QAT or Conditional QAT coupling proposed in this work.
C.1 Two-Dimensional Experiment
Data.
Following Lipman et al. (2023); Pooladian et al. (2023), we consider transport from a two-dimensional standard Gaussian source distribution to a checkerboard target distribution. Training samples are drawn independently from the source and target; the flow paths learned by I-FM, OT-FM, SD-FM, and QAT-FM are then compared under the same network architecture and optimization configuration.
Network and training.
Following Lipman et al. (2024), the velocity field is parameterized by a five-layer MLP with hidden width and Swish activations (Ramachandran et al., 2017). All methods are trained for K iterations with batch size and Adam (Kingma and Ba, 2015) at learning rate . For QAT-FM, K samples are drawn from the checkerboard target to build the QAT tree, and training pairs are sampled from the induced coupling. For OT-FM, exact EMD is solved within each mini-batch using POT (Flamary et al., 2021). For SD-FM, a discrete reference measure is built from K target samples and the corresponding regularized problem is solved with entropy parameter ; we optimize with Adam, as the SGD-based strategy of Genevay et al. (2016); Mousavi-Hosseini et al. (2026) proved unstable and slow to converge in this setting.
| CIFAR-10 | ImageNet- | CelebA- | |
| Channels | 192 | 256 | 192 |
| Depth | 2 | 3 | 3 |
| Channel multiplier | 1,2,2,2 | 1,2,2,2 | 1,2,3,4 |
| Heads | 4 | 4 | 4 |
| Head channels | 64 | 64 | 64 |
| Attention resolution | 16 | 4 | 8 |
| Dropout | 0.0 | 0.0 | 0.0 |
| Batch size / GPU | 256 | 128 | 64 |
| GPUs | 1 | 4 | 4 |
| Effective batch size | 256 | 512 | 256 |
| Iterations | k | k | k |
| Learning rate | 2e-4 | 1e-4 | 1e-4 |
| LR scheduler | Constant | Linear decay | Constant |
| Warmup steps | 5k | 20k | 10k |
C.2 CIFAR-10
We conduct unconditional image generation on CIFAR-10 (Krizhevsky et al., 2009), using the U-Net architecture of Tong et al. (2024). Main network and training hyperparameters are listed in Table 6. We train with Adam, a linear warmup to over k steps (constant thereafter), gradient norm clipping at , and an EMA decay of .
For QAT-FM, the QAT coupling is built from the CIFAR-10 training images together with their horizontally flipped augmentations, giving tree samples. Images are first processed by patch-level mean pooling with patch size ; PCA rotation is then estimated on the pooled representation, and the leading coordinates are retained for tree construction. The tree splits on the maximum-variance coordinate at the empirical mean threshold and recurses until each leaf contains at most one sample. At evaluation, K images are generated, and FID is computed using clean-fid (Parmar et al., 2022), following the protocol of Tong et al. (2024).
C.3 ImageNet-32
We evaluate class-conditional generation on ImageNet-1k (Deng et al., 2009) at resolution. All images are resized to with random horizontal flipping, and class labels are provided as condition inputs to the velocity-field network. We follow the class-conditional U-Net architecture of Tong et al. (2024); main hyperparameters are listed in Table 6. Optimizer, gradient clipping, and EMA settings match the CIFAR-10 setup. The learning rate warms up linearly to over k steps and then decays linearly to .
For QAT-FM, the Conditional QAT coupling is built from ImageNet-1k training images and their horizontal-flip augmentations, yielding over M tree samples. Patch-level mean pooling () and PCA rotation are applied as in the CIFAR-10 setup, retaining the leading coordinates. Since the condition is a discrete class label, training samples are first partitioned by class and an independent QAT coupling is constructed within each class subset. For C2OT (Cheng and Schwing, 2025), we follow its oversampling strategy with ratio , yielding a local OT batch size of per GPU. Following the C2OT setting for class-conditional generation, we use its conditional weighting scheme and set the condition weight to .
At evaluation, K image samples are generated to estimate Inception feature statistics of the generated distribution; reference statistics are computed from all M ImageNet-1k training images, following Dhariwal and Nichol (2021); Ma et al. (2024).
C.4 CelebA-64
Data.
We evaluate text-conditional generation on CelebA (Liu et al., 2015) at resolution. Since CelebA does not provide text annotations by default, we use the natural-language descriptions from CelebA-Dialog (Jiang et al., 2021) as text conditions.
Network and Training.
We use the U-Net architecture with main hyperparameters in Table 6. Following Cheng and Schwing (2025), scale-shift normalization is applied in the U-Net residual blocks, and text embeddings are projected to the conditioning dimension via a linear layer before being fed to the network. Optimizer, gradient clipping, and EMA settings match the CIFAR-10 experiment; the learning rate warms up linearly to over k steps and remains constant thereafter.
For QAT-FM, a Conditional QAT coupling is constructed in the joint space of low-dimensional image representations and text embeddings. The image-side representation is obtained via patch-level mean pooling () and PCA rotation, retaining the leading coordinates. Text conditions are encoded by a DFN5B-CLIP-ViT-H-14 text encoder (Fang et al., 2024); the resulting embeddings are projected to dimensions via PCA and used as condition-side features in the joint tree. To prevent late-stage splits driven purely by condition coordinates, candidate split dimensions are restricted to data coordinates when a node’s sample count falls below . For C2OT (Cheng and Schwing, 2025), we follow its oversampling strategy with ratio , a local OT batch size of per GPU, which substantially increases the coupling cost; see Appendix D.1. For a fair conditional comparison, we use the Euclidean distance between text embeddings as the conditional distance and apply the weighting scheme in (21).
Evaluation.
At evaluation, K images are generated and assessed along two axes: image fidelity via FID against training-set reference statistics (Ning et al., 2023; Wang et al., 2023), and text-image alignment via CLIP score computed with the siglip2-base-patch16-224 checkpoint of SigLIP-2 (Tschannen et al., 2025).
C.5 ImageNet-256
We conduct class-conditional latent-space generation on ImageNet- (Deng et al., 2009). Images are encoded by VA-VAE (Yao et al., 2025) into latent representations, and a flow-based LightningDiT (Yao et al., 2025) is trained in the resulting latent space with class labels as condition inputs. All network architecture, optimizer, learning-rate schedule, EMA, precision, and sampling configurations follow the official implementation of Yao et al. (2025); due to computational constraints, we adopt the recommended lightweight training setting of epochs.
For QAT-FM, the Conditional QAT coupling is built directly over VA-VAE latent representations. PCA projection is applied, retaining the leading coordinates for tree construction; patch-level mean pooling is omitted since VA-VAE already maps images to a compact latent space. The tree splits on the maximum-variance coordinate at the empirical mean and recurses until each leaf contains at most one sample. Classifier-free guidance is applied during inference with a scale of .
At evaluation, we follow the protocol of Yao et al. (2025) and compute FID against the ImageNet- reference statistics from guided-diffusion (Dhariwal and Nichol, 2021). We additionally report IS, sFID, Precision, and Recall.
Appendix D Extended Experimental Results
This section provides supplementary results comprising a runtime comparison of coupling strategies and additional visualization of generated samples. Appendix D.1 benchmarks the wall-clock time of each coupling approach at both construction and sampling phases; the subsequent four subsections present additional generated samples from CIFAR-10, ImageNet-, CelebA-, and ImageNet-.
D.1 Runtime Comparison
We compare the wall-clock time of different coupling strategies at both construction and sampling phases. All experiments fix the feature dimension at and vary the dataset size . To reflect the repeated pairing demand of FM training, we report cumulative times over training epochs. For OT-based methods, source points are resampled from a standard Gaussian and the coupling is recomputed from scratch at every epoch; by contrast, the QAT and SD-FM couplings are constructed once offline and reused throughout training. Full OT is solved with the EMD solver from POT (Flamary et al., 2021); mini-batch OT (OTBatch) uses ot.dist_batch to compute batch pairwise distances, fully exploiting GPU parallelism. Entropy regularization with is applied for both SD-FM and batch OT. SD-FM optimizes a semi-discrete coupling with SGD (Mousavi-Hosseini et al., 2026), running until convergence or optimization epochs.
Figure 6 reports cumulative construction and sampling times over epochs. Full OT becomes rapidly infeasible as grows; batch OT reduces the per-epoch cost but must recompute the coupling every epoch, keeping its total time high. SD-FM requires only a single construction pass, but the semi-discrete optimization itself is expensive. By contrast, QAT constructs the tree and records the Gaussian bounds at each leaf in a single offline pass, achieving substantially lower construction time at all scales. At sampling time, QAT draws source points by querying leaf bounds and sampling from truncated Gaussians, placing its per-sample cost close to that of independent (random) sampling. OT-based methods must sample from the coupling’s joint distribution, and SD-FM requires a nearest-neighbor lookup over all training points at each draw—both become prohibitive at large . Overall, QAT achieves structured coupling at a sampling efficiency comparable to independent coupling.
D.2 CIFAR-10
D.3 ImageNet-32
D.4 CelebA-64
D.5 ImageNet-256