Manuscript Offprint
arXiv:2610.01034Posterior sampling by source-space MCMC via prior-based few-step transport maps
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Bayesian inference increasingly uses informative but implicit priors represented only by samples, such as historical ensembles, simulator outputs, and pretrained generative models. The same computational problem appears in the test-time guidance task (generalized Bayes), where an explicit positive weight, e.g., an exponentiated reward, tilts an implicit prior. We develop a framework for source-space generalized Bayesian inference that combines inexpensive few-step prior transports with posterior stability guarantees. Specifically, we represent the prior using a one- or few-step improved MeanFlow (iMF) map and perform posterior sampling in its Gaussian source space. We establish Wasserstein error bounds between the exact and learned posteriors in terms of the joint population iMF and auxiliary-velocity loss, decomposed into training suboptimality and model-class approximation error. In the iMF source space, we adopt parallel tempering with preconditioned Crank–Nicolson updates and introduce a hybrid variant that incorporates split Hamiltonian Monte Carlo to improve sampling efficiency. Synthetic experiments show that the proposed framework can approximate posterior distributions accurately and efficiently, while CLIP-guided ImageNet experiments demonstrate its ability to steer a pretrained iMF image prior toward text-specified preferences.
1 Introduction
Bayesian inference combines prior knowledge with observations to characterize uncertainty about unknown quantities (Stuart, 2010). In many applications, however, prior information is available through samples, e.g., historical ensembles, simulator outputs, or pretrained generative models rather than an explicit density (Patel & Oberai, 2019; Chung et al., 2023; Lunz et al., 2018). Such prior samples can represent complex structures that are difficult to encode analytically, but their densities and scores are not directly available for posterior Markov chain Monte-Carlo (MCMC).
Formally, let be an unknown with prior available only through i.i.d. samples, and let denote observations or a task specification. We encompass Bayesian and generalized Bayesian inference through the generalized posterior
where is an analytically given nonnegative weight and . Standard Bayesian inference takes , while generalized Bayes (Bissiri et al., 2016) uses
*Division of Mathematical Sciences, School of Physical and Mathematical Sciences, Nanyang Technological University, Singapore. hoangph.luu@ntu.edu.sg
Department of Computer Science, Faculty of Science, University of Helsinki, Finland. marcelo.hartmann@helsinki.fi
Division of Mathematical Sciences, School of Physical and Mathematical Sciences, Nanyang Technological University, Singapore. zhongjian.wang@ntu.edu.sg (Corresponding)
for a task loss and . Reward guidance (Korbak et al., 2022) fits the same formulation with , favoring samples with larger reward . For example, may be a text prompt, with measuring the cosine similarity between the CLIP embeddings of image and prompt (Radford et al., 2021). Henceforth, we use for either a likelihood or a general weight and refer to simply as the posterior.
An approach is to learn the data-space prior score by denoising score matching (DSM) (Vincent, 2011) and combine it with the gradient of an analytic log-likelihood or reward to construct Langevin or Hamiltonian dynamics. These samplers are typically unadjusted because a learned score alone does not provide the density ratios needed for Metropolis correction. Moreover, sharp variation in the score near complex data manifolds can produce stiff dynamics, requiring small integration steps.
Another approach is to first learn a deterministic generator satisfying , where denotes the source distribution, is called the source space and denotes the pushforward. Under the learned model , the complex data-space prior is represented by the simple Gaussian reference measure . The corresponding learned posterior in the source space is
We sample from using MCMC and map the resulting samples to data space through . In contrast to the conventional data-space approach, is available up to normalization, enabling Metropolis correction and thus an MCMC kernel that leaves invariant. Furthermore, the source-space posterior is expected to have more favorable geometry for MCMC: its prior is Gaussian, while has already absorbed much of the curvature and anisotropy of . Nevertheless, the likelihood/weight may reintroduce curvature, stiffness, anisotropy, or multimodality, particularly when the observation model is highly informative or nonlinear. Early work by Patel et al. (2022) used a Wasserstein GAN to construct and applied Hamiltonian Monte Carlo (HMC) with the No-U-Turn Sampler (Hoffman et al., 2014) to the resulting low-dimensional latent posterior. However, learning with a WGAN requires solving an adversarial min-max optimization problem, which can be challenging to stabilize. Flow-based models (Chen et al., 2018) offer an attractive alternative: flow matching learns a time-dependent vector field through a standard regression objective (Lipman et al., 2023; Tong et al., 2024). This provides a scalable approach to learning expressive transport maps for complex and multimodal priors. Under suitable regularity conditions on the vector field, the resulting ODE flow also defines a diffeomorphism between source and data spaces (Papamakarios et al., 2021). Source-space guidance for flow-matching models has been explored through both optimization and sampling. D-Flow (Ben-Hamu et al., 2024) optimizes the source variable, while Source-Guided Flow Matching (SGFM) (Wang et al., 2026b) samples from the source posterior distribution (2). Source Parallel Tempering (SPT) (Wang et al., 2026a) combines local preconditioned Crank-Nicolson (pCN) (Beskos et al., 2008) updates with replica exchanges (Earl & Deem, 2005) across tempered source distributions to address multimodality. These source-space methods are instances of test-time guidance, incorporating user-specified likelihoods or weights during inference.
For methods that represent the prior through a learned transport (Wang et al., 2026b,a), a central theoretical question is how prior-learning error controls the discrepancy between the learned posterior and the true posterior in (1). We refer to this as posterior stability. Existing works have tried to address this question, but a gap remains. Wang et al. (2026b) assume a uniform vector-field approximation bound, where is the true velocity field and is the learned velocity field. However, the flow-matching objective controls an average squared error rather than a uniform error. Wang et al. (2026a) address this mismatch by establishing posterior stability in terms of the transport-map error, i.e., , where is the exact transport map induced by . Their connection to the flow matching objective takes to be the map induced by the exactly integrated learned flow, via Grönwall's inequality. In practice, however, numerical ODE solvers are employed, introducing an additional discretization error. Under standard regularity and stability assumptions, a numerical ODE solver of order k has global error (Hairer et al., 1993). The training objective alone does not control this error. Reducing h requires more integration steps, increasing the cost of source-space MCMC. Minibatch optimal-transport coupling (Tong et al., 2024), as used by Wang et al. (2026b), can encourage straighter trajectories and facilitate few-step integration, but does not by itself provide a bound on this numerical error; their theoretical bound likewise concerns the exactly integrated learned flow. Thus, guarantees for the exactly integrated learned flow do not by themselves establish posterior stability for a fixed few-step implementation. Likewise, Purohit et al. (2025) use few-step consistency models but do not establish how the consistency-distillation training objective controls the resulting posterior error.
In this work, we pursue two complementary objectives: making source-space inference computationally efficient through few-step transports and establishing posterior stability guarantees for the implemented maps via the true population training objective. To this end, we use improved MeanFlow (iMF) (Geng et al., 2026b), which learns interval-average velocities without distillation and natively enables one-step or few-step generation without numerical ODE integration. We further explain why the original MeanFlow objective (Geng et al., 2026a) does not directly yield the same guarantee, highlighting that native few-step generation alone can fall short of establishing such stability results. Practically, the iMF maps make source-space gradients inexpensive to evaluate when available, allowing MCMC kernels to optionally exploit them to improve mixing.
Contributions We use iMF transport mappings to represent complex priors available only through samples in generalized Bayesian inference settings. Under stated regularity assumptions, we connect population training suboptimality and model-class approximation error for the joint iMF and auxiliary-velocity objective to posterior stability for the implemented one-step or few-step maps. Building on these transports, we adopt SPT with pCN updates (Wang et al., 2026a) to facilitate exploration across modes while exploiting the Gaussian reference structure of the high-dimensional source space. When likelihood or reward gradients are available, we additionally introduce Gaussian-reference split HMC (Beskos et al., 2011) at the coldest temperature of SPT to exploit local posterior geometry and potentially improve mixing. Both local kernels preserve the Gaussian reference measure in their reference dynamics, making them natural choices for inference in high-dimensional source spaces. We evaluate the proposed framework on synthetic posterior sampling and CLIP-guided ImageNet generation, demonstrating accurate and efficient posterior approximation in the synthetic settings and the ability to steer a pretrained image prior toward text-specified preferences.
Score-based and diffusion inverse solvers Diffusion-based inverse solvers offer another way to combine a learned sample-only prior with observations, typically by incorporating likelihood information into the reverse generative process. Diffusion posterior sampling (DPS) (Chung et al., 2023) is a prominent example, enabling posterior-oriented sampling. Its approximate guidance, however, does not generally preserve the desired posterior and can introduce systematic bias beyond that arising from prior learning and numerical discretization. Denoising-score MCMC (Ramzi et al., 2020) learns the prior score from samples using denoising score matching (Vincent, 2011) and combines it with an analytically available likelihood score to perform MCMC directly in data space.
Training-time posterior learning. Complementary to test-time guidance, amortized posterior learning trains observation-conditional generators to directly approximate posterior distributions. Neural posterior estimation and related methods learn from simulated parameter-observation pairs, enabling rapid inference for new observations (Greenberg et al., 2019; Radev et al., 2023; Cheng et al., 2026). The training cost is shared across subsequent inference tasks, but changes to the observation model beyond those covered during training may require retraining or adaptation.
2 Background
2.1 Flow matching
Flow matching (FM) (Lipman et al., 2023) learns a velocity field approximating the marginal ODE , which transports a simple source distribution , typically Gaussian, to a target distribution available through samples. Let and be independent target and source samples, and define and the samplewise interpolation velocity . FM approximates the marginal instantaneous velocity with a learned field , whose approximation error is measured by the marginal FM risk
where independent of X, Z and the above expectation is taken over T, X, Z. Since v is intractable, we replace v by V, resulting in the population training loss
Minimizing is equivalent to minimizing since where does not depend on (Lipman et al., 2023). Once trained, generation integrates from to , using a numerical ODE solver.
2.2 MeanFlow and improved MeanFlow
MeanFlow (Geng et al., 2026a) instead parameterizes the average velocity
Fundamental calculus yields the so-called MeanFlow identity
Based on this identity, the original MeanFlow objective regresses an average velocity to the right hand side of (5), and since and are unknown, it replaces those by and to get
where the expectation is taken over (recall ). We omit the stop-gradient operator when defining population risks, since they leave objective values unchanged. Replacing by gives a tractable training loss,
Unlike flow matching, the gap generally depends on , making them inequivalent as scalar objectives . Moreover, the training objective (7) is not standard since its effective target depends on the network itself. To address this, improved MeanFlow (iMF) (Geng et al., 2026b) replaces the interpolation velocity in in by a learnable marginal velocity , defining
The corresponding marginal iMF risk is then
Importantly, is independent of (Appendix A.1), recovering the equivalence between these objectives. can be represented by the boundary value or an auxiliary velocity head. In this work, we consider the latter, and the auxiliary head is explicitly supervised through FM loss (4), , yielding the joint training loss
We also denote the joint risk
The auxiliary velocity field is used only during training; sampling relies solely on , with the one-step map given by
More generally, a fixed schedule defines a few-step map through
3 Source-space sampling via improved MeanFlow
3.1 Bayesian inference through a learned prior transport
Let be a prior accessed through samples and a nonnegative likelihood or weight associated with observations or a task . We aim to sample from the posterior . The idea of source-space sampling (Purohit et al., 2025; Wang et al., 2026b) is to learn a transport map where and perform posterior sampling in the source space of , targeting the pull-back posterior then transport these source samples to the data space via . In case the transport map is exact, i.e., , an exact posterior source sample will give an exact sample, , from (Wang et al., 2026b, Thm. 1). It is then critical to learn a good prior transport and perform efficient sampling in the source space of .
When is not perfect, we seek to quantify the resulting posterior error. Let denote the exact transport, i.e., , associated with the generative construction, assumed to exist under suitable regularity conditions. Define the ideal source posterior by . Our goal is to control the source-space discrepancy and the data-space discrepancy in terms of the training error associated with learning (for iMF, it links to , see next section). Here denotes the Wasserstein distance (Villani et al., 2009).
The stop-gradient makes the two objectives share expected gradients (Lu & Wang, 2026), but this is an optimization device; our theory concerns objective values, not training dynamics.
3.2 Improved MeanFlow source and its posterior stability
We parameterize using improved MeanFlow (12) and (13), trained with the joint training loss in (10). iMF enables few-step generation and ensures that differs from the marginal risk (11) only by an additive constant independent of . Consequently, for a fixed model class ,
See App. A.2 for proof. The decomposition (14) shows that the marginal risk is controlled by population suboptimality of the training objective used in practice and model-class approximation error. By the MeanFlow identity (5), the exact instantaneous and interval-average velocity fields jointly achieve zero marginal risk (Geng et al., 2026b), so a sufficiently expressive model class can in principle make small. We therefore seek to bound posterior error in terms of .
We also note that, for original MeanFlow (Geng et al., 2026a), the parameter-dependent gap prevents the decomposition (14) in general. Small training suboptimality and approximation error therefore need not imply small marginal risk.
We establish posterior stability by first controlling the error of the implemented iMF transport, building on the flow-map error analysis of (Boffi et al., 2024). For the analysis, we use independent coupling and time . Also, let , , , and . Thus, and .
Assumption 3.1 (Prior and marginal flow). The prior . For each and -a.e. , the ODE , , admits absolutely continuous solutions on whose solution maps form a measurable flow satisfying .
Under Assumption 3.1, the map is an exact prior transport: .
Assumption 3.2 (Regularity of the learned average velocity). The field is continuously differentiable on , and both and its first derivatives extend continuously to .
For , define the marginal iMF regression residual
Thus, the iMF risk in (9) is rewritten as . We impose the following.
Assumption 3.3 (Regularity across starting times). is -Lipschitz, i.e.,
Remark 3.4. Assumption 3.3 holds if is continuously differentiable in and both and are uniformly bounded in over . Under the finite-second-moment assumption above, these conditions hold for finite affine-SiLU networks with direct spatial and time inputs; the resulting constants may depend on the network parameters. See App. A.3 for details and proof.
A more general schedule is possible, but we use a simpler one for clarity of presentation.
Fix a generation schedule , put .
Assumption 3.5.
where is the marginal flow-matching risk (3) of the auxiliary velocity head.
Remark 3.6. A sufficient condition for (15) is . In particular, if is -Lipschitz in , uniformly over (e.g., affine-SiLU networks), then this condition holds with , since . The weighted bound in Assumption 3.5 is weaker: it only controls the Jacobian acting on in the sense. See Appendix A.4 for more details.
Theorem 3.7. Let be -Lipschitz, and let be the few-step iMF map (13). Define , , , . Under Assumptions 3.1, 3.2, 3.3 and 3.5, if ,
If is uniformly -Lipschitz in space, then , and . Proof of Theorem 3.7 is given in Appendix A.5. The bound in (16) links transport error to population training suboptimality and model-class approximation error through in (14). The bound vanishes when , without requiring the step sizes to tend to zero. This shows the few-step nature of the result. In particular, gives and a transport guarantee for the one-step map (12), with no Lipschitz condition on needed in (16). We support Theorem 3.7 with an experiment in Appendix B.1, showing that decreasing is accompanied by decreasing transport-map error for both one- and six-step generation. Define terms in Theorem 3.7:
We now connect the posterior error to the transport error. Fix y, we make the following assumption.
Assumption 3.8 (Weight regularity). There exist finite constants and such that
Moreover, .
With the notation of Section 3.1, the normalized source posteriors are
where is defined whenever . Here . When , write .
Theorem 3.9. Under Assumption 3.8, if , then and
If, additionally, is -Lipschitz, then .
Proof is in Appendix A.6. Combining these results, we derive the following.
Corollary 3.10. Suppose the hypotheses of Theorem 3.7 and Assumption 3.8 hold. Let be a Lipschitz constant of , and let be as in Theorem 3.9. If , , then and
3.3 Source parallel tempering with improved MeanFlow
Given the learned iMF, we aim to sample from . Although the source reference is Gaussian, the pulled-back likelihood can induce multimodality, and the source retains the data dimension. We use source parallel tempering (Wang et al., 2026a) to improve mixing between modes, together with local kernels like pCN and Gaussian-reference split HMC to address high dimensionality. Both admit formulations directly on infinite-dimensional Hilbert spaces, motivating their use for high-dimensional Gaussian-reference targets (Beskos et al., 2008; Cotter et al., 2013; Beskos et al., 2011).
Parallel tempering (Geyer, 1991) runs replicas at inverse temperatures , targeting . Local MCMC kernels explore each target, while Metropolis swaps between adjacent replicas promote transitions between modes. Each sampling sweep locally updates every replica once, then attempts one Metropolis swap per adjacent temperature pair. The coldest replica ( ) targets . The two variants below differ in their local MCMC kernels.
iMF+SPT+pCN. We use pCN at every replica as in (Wang et al., 2026a). Writing and , the proposal is , where and , with acceptance probability . At , every proposal is accepted; and choosing gives an independent Gaussian draw .
iMF+SPT+hybrid. When is differentiable, we replace the coldest pCN update ( ) with split HMC (Beskos et al., 2011) to exploit local posterior geometry, while retaining pCN at hotter replicas to limit computational cost. Refresh and define the Hamiltonian . Starting from , apply steps of Strang's splitting:
Accept with probability ; otherwise retain .
Sampler geometric convergence. Wang et al. (2026a) establish geometric convergence to the learned posterior for SPT with all pCN updates. We extend this guarantee to SPT+hybrid. Let , where is the coldest replica's state after sampling sweeps. Under the conditions in Appendix A.7, including a source weight bounded above and away from zero, the cold marginal of either sampler satisfies for some and . Together with posterior stability (Theorem 3.9, Corollary 3.10), this yields an end-to-end error bound with a geometrically decaying sampling term and a transport term that vanishes with ; see Corollary A.3.
4 Experiments
We evaluate the proposed samplers on synthetic inference problems and CLIP-guided ImageNet generation. Experiments were conducted on LUMI using one Slurm-allocated GPU device per run, with AMD Instinct MI250X hardware, eight CPU cores, and 64 GB of host memory. Our code will be made available soon.
4.1 Synthetic experiments
Problem setting. We consider two priors on , each formed from 16 independent two-dimensional blocks. For , the priors are
Both problems use linear observations with independent Gaussian noise, giving the likelihood
We condition on the fixed observations and for .
Prior learning and sampling. We evaluate iMF+SPT+pCN and iMF+SPT+hybrid against two baselines: FM+SPT+pCN and diffusion posterior sampling (DPS) (Chung et al., 2023). The two iMF methods share a six-step transport. The FM baseline uses a 100-step RK4 transport. For each problem, the iMF, FM, and diffusion prior models are trained on the same fixed dataset of 20,000 prior samples. Each method returns 6,000 samples. Figure 4 compares samples from the learned priors with those from the true banana and sine priors. See Appendix B.2 for more details.
Results. The blockwise structure of the problems enables accurate numerical posterior references for assessing approximation quality. Table 1 summarizes the results, and Figures 5 and 6 compare posterior sample histograms from each method with numerical references for the true banana and sine. Using the same learned iMF transport, the hybrid sampler increases mean coordinate ESS (effective sample size) by on banana and on sine, and coordinate ESS per second by and , respectively, compared with iMF+SPT+pCN. It also achieves the lowest mean sliced Wasserstein and binned TV errors, although the differences in sliced Wasserstein error are small relative to the variability across seeds. With its configured 100-step RK4 transport, FM+SPT+pCN requires and the sampling time of the iMF hybrid on banana and sine, respectively. DPS exhibits substantially larger distributional errors, with systematic deviations from the reference posterior visible in the histograms.
4.2 CLIP-guided ImageNet generation
We evaluate CLIP-guided class-conditional ImageNet generation: for a fixed ImageNet class (e.g., bald eagle) and text prompt, the goal is to sample images from that class that favor high image-text alignment. We use the cosine similarity from a frozen pretrained CLIP model (Radford et al., 2021) as the guidance reward. Let and let denote a frozen pretrained transport from the Gaussian source distribution to images in class . For a text prompt , the learned source posterior is with .
https://lumi-supercomputer.eu/
Table 1: Synthetic posterior sampling. See Appendix B.2 for more details.
| Method | Bin TV | Coord. ESS | Coord. ESS/s | Time (s) | |
|---|---|---|---|---|---|
| Banana | |||||
| DPS | — | — | |||
| FM+SPT+pCN | |||||
| iMF+SPT+pCN | |||||
| iMF+SPT+hybrid | |||||
| Sine | |||||
| DPS | — | — | |||
| FM+SPT+pCN | |||||
| iMF+SPT+pCN | |||||
| iMF+SPT+hybrid | |||||
Comparison We use the pretrained iMF for class-conditional ImageNet generation (Geng et al., 2026b). We compare iMF+SPT+pCN and iMF+SPT+hybrid against their multi-step counterpart SiT+SPT+pCN, where SiT (Ma et al., 2024) is a pretrained class-conditional flow-matching prior integrated using 125 Heun steps. These methods use eight temperature replicas and eight independent ladders. For iMF-based methods, we run 250 adaptation sweeps, 250 burn-in sweeps, and retain 1,000 post-burn-in samples per ladder, yielding 8,000 retained samples per method. SiT+SPT+pCN is extremely slow in this experiment, we evaluate it under a matched per-prompt sampling-time budget equal to the measured hybrid sampling time (more than 10 hours), with an additional one-hour allowance for initialization, scoring, and image export. We also include best-of-K (Karthik et al., 2023), , as a reward-based selection baseline, retaining the image with the highest CLIP reward among learned-prior independent samples. We produce 8,000 best-of-K images.
Results. Table 2 reports CLIP rewards and sampling costs for two class-prompt pairs, while Figures 1 and 2 show samples ( is the reward) from two ladders per method. JPEG compression is for display only and does not affect reported rewards. The two iMF methods achieve comparable rewards and both outperform SiT+SPT+pCN. Their samples more faithfully depict a running golden retriever amid fallen autumn leaves, whereas SiT+SPT+pCN often misses the autumn setting within its sampling budget of 10-11 hours. For the bald eagle prompt, all three methods depict eagles with outstretched wings, but the iMF methods more consistently include snow-capped mountains whereas SiT+SPT+pCN depicts the eagle against the plain blue sky. In these examples, the hybrid sampler offers no clear improvement in reward or sample quality over iMF+SPT+pCN. Finally, best-of- achieves the lowest rewards, suggesting guidance is more effective than independent prior draws. The full results are given in Appendix B.3.2.
5 Conclusion
We develop few-step iMF source-space inference, linking population training suboptimality and approximation error to posterior stability and end-to-end error bounds under stated assumptions. Hybrid SPT improves efficiency on synthetic benchmarks, while one-step iMF reduces CLIP-guided ImageNet sampling costs relative to multi-step SiT. Quantifying how model-class approximation error decreases with capacity while controlling the regularity constants remains open.
Table 2: CLIP reward and measured sampling cost.
| Method | Mean CLIP reward ↑ | Sampling time (h) | Mean sweep time (s) |
|---|---|---|---|
| Golden retriever: “A photograph of a golden retriever running through fallen autumn leaves.” | |||
| Best-of-K | 0.2864 | 2.49 | - |
| SiT+SPT+pCN | 0.3122 | 10.51 | 370.89 |
| iMF+SPT+pCN | 0.3809 | 2.40 | 5.75 |
| iMF+SPT+hybrid | 0.3824 | 10.95 | 26.28 |
| Bald eagle: “A photograph of a bald eagle soaring above snow-capped mountains, wings spread wide.” | |||
| Best-of-K | 0.3278 | 2.49 | - |
| SiT+SPT+pCN | 0.3481 | 10.70 | 370.27 |
| iMF+SPT+pCN | 0.3936 | 2.44 | 5.85 |
| iMF+SPT+hybrid | 0.3914 | 11.15 | 26.76 |

(a) SiT + SPT + pCN.

(b) iMF + SPT + pCN.

(c) iMF + SPT + hybrid.
Figure 1: Class: golden retriever, prompt: "A photograph of a golden retriever running through fallen autumn leaves."

(a) SiT + SPT + pCN.

(b) iMF + SPT + pCN.

(c) iMF + SPT + hybrid.
Figure 2: Class: bald eagle, prompt: “A photograph of a bald eagle soaring above snow-capped mountains, wings spread wide.”
AI use statement
We used generative AI tools (GPT6-Astra, Claude Opus 5, Codex, Copilot Pro+) to assist with language editing; literature search and paper summarization; algorithm implementation, comparative experiments, and code testing; preliminary (unusable) drafts and templates; and developing and checking mathematical arguments; and reviewing the manuscript. We did not use generative AI to generate synthetic datasets. The authors reviewed the AI-assisted material, including text, code, and mathematical arguments. We take full responsibility for the final manuscript, its claims, and all accompanying artifacts, including those produced with generative AI assistance.
Acknowledgement
This work is supported by NTU-SUG and Singapore Ministry of Education (MOE) AcRF Tier 1 RG17/24 and the Research Council of Finland grant number 369502. We acknowledge computational resources on LUMI supercomputer, owned by the EuroHPC Joint Undertaking and hosted by CSC (Finland) and the LUMI consortium.
References
Heli Ben-Hamu, Omri Puny, Itai Gat, Brian Karrer, Uriel Singer, and Yaron Lipman. D-flow: Differentiating through flows for controlled generation. arXiv preprint arXiv:2402.14017, 2024.
Alexandros Beskos, Gareth Roberts, Andrew Stuart, and Jochen Voss. MCMC methods for diffusion bridges. Stochastics and Dynamics, 8(03):319–350, 2008.
Alexandros Beskos, Frank J Pinski, Jesús Maria Sanz-Serna, and Andrew M Stuart. Hybrid Monte Carlo on Hilbert spaces. Stochastic Processes and their Applications, 121(10):2201–2230, 2011.
MJ Betancourt, Simon Byrne, and Mark Girolami. Optimizing the integrator step size for Hamiltonian Monte Carlo. arXiv preprint arXiv:1411.6669, 2014.
Pier Giovanni Bissiri, Chris C Holmes, and Stephen G Walker. A general framework for updating belief distributions. Journal of the Royal Statistical Society Series B: Statistical Methodology, 78(5):1103–1130, 2016.
Nicholas M Boffi, Michael S Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models. arXiv preprint arXiv:2406.07507, 2024.
Ricky TQ Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. Advances in neural information processing systems, 31, 2018.
Yuxin Chen, David Keyes, Kody JH Law, and Hatem Ltaief. Accelerated dimension-independent adaptive metropolis. SIAM Journal on Scientific Computing, 38(5):S539–S565, 2016.
Zilan Cheng, Li-Lian Wang, and Zhongjian Wang. Preconditioned one-step generative modeling for Bayesian inverse problems in function spaces. arXiv preprint arXiv:2603.14798, 2026.
Hyungjin Chung, Jeongsol Kim, Michael Thompson Mccann, Marc Louis Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In The Eleventh International Conference on Learning Representations, 2023.
Simon L Cotter, Gareth O Roberts, Andrew M Stuart, and David White. MCMC methods for functions: modifying old algorithms to make them faster. Statistical Science, pp. 424–446, 2013.
David J Earl and Michael W Deem. Parallel tempering: Theory, applications, and new perspectives. Physical Chemistry Chemical Physics, 7(23):3910–3916, 2005.
Zhengyang Geng, Mingyang Deng, Xingjian Bai, Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. Advances in Neural Information Processing Systems, 38:75460–75482, 2026a.
Zhengyang Geng, Yiyang Lu, Zongze Wu, Eli Shechtman, J Zico Kolter, and Kaiming He. Improved mean flows: On the challenges of fastforward generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 30467–30476, 2026b.
Charles J Geyer. Markov chain Monte Carlo maximum likelihood. 1991.
David Greenberg, Marcel Nonnenmacher, and Jakob Macke. Automatic posterior transformation for likelihood-free inference. In International conference on machine learning, pp. 2404–2414. PMLR, 2019.
Ernst Hairer, Gerhard Wanner, and Syvert P Nørsett. Solving ordinary differential equations I: Nonstiff problems. Springer, 1993.
Matthew Hoffman, Pavel Sountsov, Joshua V Dillon, Ian Langmore, Dustin Tran, and Srinivas Vasudevan. Neutra-lizing bad geometry in hamiltonian monte carlo using neural transport. arXiv preprint arXiv:1903.03704, 2019.
Matthew D Hoffman, Andrew Gelman, et al. The No-U-Turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo. Journal of Machine Learning Research, 15(1):1593–1623, 2014.
Shyamgopal Karthik, Karsten Roth, Massimiliano Mancini, and Zeynep Akata. If at first you don’t succeed, try, try again: Faithful diffusion-based text-to-image generation by selection. arXiv preprint arXiv:2305.13308, 2023.
Tomasz Korbak, Ethan Perez, and Christopher Buckley. RL with KL penalties is better viewed as Bayesian inference. In Findings of the Association for Computational Linguistics: EMNLP 2022, pp. 1083–1091, 2022.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023.
Juanwu Lu and Ziran Wang. On variance reduction in learning mean flows. arXiv preprint arXiv:2605.09235, 2026.
Sebastian Lunz, Ozan Öktem, and Carola-Bibiane Schönlieb. Adversarial regularizers in inverse problems. Advances in neural information processing systems, 31, 2018.
Nanye Ma, Mark Goldstein, Michael S Albergo, Nicholas M Boffi, Eric Vanden-Eijnden, and Saining Xie. Sit: Exploring flow and diffusion-based generative models with scalable interpolant transformers. In European Conference on Computer Vision, pp. 23–40. Springer, 2024.
Felix Otto and Cédric Villani. Generalization of an inequality by Talagrand and links with the logarithmic Sobolev inequality. Journal of Functional Analysis, 173(2):361–400, 2000.
George Papamakarios, Eric Nalisnick, Danilo Jimenez Rezende, Shakir Mohamed, and Balaji Lakshminarayanan. Normalizing flows for probabilistic modeling and inference. Journal of Machine Learning Research, 22(57):1–64, 2021.
Matthew D Parno and Youssef M Marzouk. Transport map accelerated markov chain monte carlo. SIAM/ASA Journal on Uncertainty Quantification, 6(2):645–682, 2018.
Dhruv Patel and Assad A Oberai. Bayesian inference with generative adversarial network priors. arXiv preprint arXiv:1907.09987, 2019.
Dhruv V Patel, Deep Ray, and Assad A Oberai. Solution of physics-based bayesian inverse problems with deep generative priors. Computer Methods in Applied Mechanics and Engineering, 400:115428, 2022.
Vishal Purohit, Matthew Repasky, Jianfeng Lu, Qiang Qiu, Yao Xie, and Xiuyuan Cheng. Consistency posterior sampling for diverse image synthesis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 28327–28336, June 2025.
Stefan T Radev, Marvin Schmitt, Lukas Schumacher, Lasse Elsemüller, Valentin Pratz, Yannik Schälte, Ullrich Köthe, and Paul-Christian Bürkner. Bayesflow: Amortized bayesian workflows with neural networks. arXiv preprint arXiv:2306.16015, 2023.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748–8763. PmLR, 2021.
Zaccharie Ramzi, Benjamin Remy, Francois Lanusse, Jean-Luc Starck, and Philippe Ciuciu. Denoising score-matching for uncertainty quantification in inverse problems. arXiv preprint arXiv:2011.08698, 2020.
Andrew M Stuart. Inverse problems: a Bayesian perspective. Acta numerica, 19:451–559, 2010.
Alexander Tong, Kilian Fatras, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Guy Wolf, and Yoshua Bengio. Improving and generalizing flow-based generative models with minibatch optimal transport. Transactions on Machine Learning Research, 2024.
Cédric Villani et al. Optimal transport: old and new, volume 338. Springer, 2009.
Pascal Vincent. A connection between score matching and denoising autoencoders. Neural computation, 23(7):1661–1674, 2011.
Shih-Hsin Wang, Joel Keller, Taos Transue, Drake Benjamin Brown, Thomas Strohmer, and Bao Wang. Test-time guidance for flow-based generative models via parallel tempering on source distributions. In International Conference on Machine Learning, 2026a.
Zifan Wang, Alice Harting, Matthieu Barreau, Michael Zavlanos, and Karl H Johansson. Source-guided flow matching. In International Conference on Learning Representations, volume 2026, pp. 106484–106514, 2026b.
Benjamin J. Zhang, Youssef M. Marzouk, and Konstantinos Spiliopoulos. Transport map unadjusted Langevin algorithms: Learning and discretizing perturbed samplers. Foundations of Data Science, 7(3):705–736, 2025.
A Proofs and clarifications
A.1 Equivalence between and
Write , where the predictor
is measurable with respect to . Since is independent of ,
Hence
Expanding the squared norm therefore gives
where C is independent of .
A.2 Proof of relation (14)
Since , it holds . Therefore, .
A.3 Details on Remark 3.4
Set
By hypothesis, . For , the fundamental theorem of calculus and Minkowski's inequality give
Consequently,
Splitting the integrals defining and therefore yields
Now suppose that both and are finite compositions of affine maps and coordinatewise SiLU activations, with direct spatial and time inputs. The SiLU activation is smooth and has bounded first and second derivatives. By the chain rule, these networks have bounded first and second input derivatives and at most linear growth. Since the time inputs lie in , there is a finite constant such that
and the first and second input derivatives of are uniformly bounded.
Because v and do not depend on r,
The preceding network bounds imply, after enlarging if necessary,
uniformly over .
Let where (Assumption 3.1). Independence of and gives
Moreover, since , conditional Jensen's inequality gives
These estimates establish , proving the network claim. The resulting constants may depend on the network parameters.
A.4 Details on Remark 3.6
Write . The operator-norm bound implies, for ,
Squaring, integrating against , and summing over the schedule intervals gives
where the last equality uses and the fact that the schedule intervals partition .
If is uniformly -Lipschitz in , then . Since , the sufficient condition follows with .
Finally, (15) controls only the Jacobian acting on , averaged over space and time; it does not require a uniform operator-norm bound. For example, when , its left-hand side vanishes.
For finite affine-SiLU networks with direct spatial and time inputs, the spatial Jacobian is uniformly bounded (similar to the argument in Appendix A.3):
A.5 Proof of Theorem 3.7
Population risk control:
By (14) and the definition of the joint marginal risk,
Therefore, and .
Recovering fixed-time slices:
Independent uniform time sampling on implies
Fix and . Choose an interval such that and . By Assumption 3.3,
Averaging this inequality over I gives
The first term is at most , since and . For the second term, note that
Consequently,
If , choosing to minimize the bound in (22), we get
If , the same bound follows by letting in (22).
Local transport error:
Define
Fix and, for -almost every , set (see Assumption 3.1 for the flow definition)
Assumptions 3.1 and 3.2 ensure that is absolutely continuous. The chain rule gives for almost every . Since and , integration gives
For the fixed generation schedule, let be the exact step map, and define
Equation (24) gives
Using , Minkowski's inequality, and Cauchy-Schwarz in time, we obtain
(25)
Composing the step maps:
The flow property gives . Define the intermediate compositions
where empty compositions are the identity. Thus , , and
The maps and differ only at the th step. Their common inner composition is the exact flow , while their common outer composition has Lipschitz constant at most . Hence
Since , taking norms and applying the triangle inequality yields
Consequently,
The third line uses Cauchy–Schwarz over for the terms. Squaring proves (16). For , we have , so the same argument gives the one-step transport bound. In this case there is no outer learned map in the composition estimate, and no Lipschitz condition on is needed.
Finally, if is uniformly -Lipschitz in space, then
Since , Cauchy–Schwarz yields and . Also , as used in the data-space posterior bounds. All estimates concern the fixed generation schedule.
A.6 Proof of Theorem 3.9
Write , and . The weight assumptions give
Hence ensures . Let and use the weighted-variation convention
For each such f, decompose the normalized densities as
Since and , Cauchy-Schwarz gives
For completeness, couple the common part of two measures identically and couple their remaining positive parts. The inequality then gives
This proves (18). All source second moments are finite because the normalized weights are bounded relative to .
For the data-space statement, first note that implies by the definition of a pushforward. Insert the intermediate measure . Lipschitz propagation and the triangle inequality give
The common-input coupling bounds the second term by
which proves the data-space stability. Substituting (17) yields (19)–(20).
A.7 Geometric convergence of the source samplers
Fix and y, and write
Thus and . Let be the joint law after production sweeps and its cold marginal. We use .
Assumption A.1 (Source weight and production sampler). The source weight is measurable and satisfies for every , where . The ladder , , and all local-kernel parameters are fixed during production. Each sweep independently applies the local kernels to all replicas, then attempts each adjacent Metropolis swap once in a prescribed order; this order may vary with the sweep index. Every pCN angle satisfies . For the hybrid sampler, is continuously differentiable, and the cold update is the Metropolis-corrected split HMC kernel of Section 3.3, with fresh independent Gaussian momentum at each update. The initial joint law satisfies .
The positive lower bound is an additional condition for the convergence result. It holds, for example, for exponentiated bounded rewards. Geometric convergence of SPT+pCN is established by Wang et al. (2026a). The following statement gives explicit bounds for both local-kernel choices and extends the guarantee to the hybrid sampler.
Theorem A.2 (Geometric convergence of SPT+pCN and SPT+hybrid). Under Assumption A.1, set . For iMF+SPT+pCN, define
Then, for every integer ,
For iMF+SPT+hybrid, define
Then
(27)
The hybrid bounds remain valid if the cold update is replaced by any fixed -invariant Markov kernel. In particular, no separate spectral-gap assumption on split HMC is required. If , then .
Proof. All operator norms below are on the centered space , unless another measure is specified. Each local kernel and each Metropolis swap preserves , so each is an contraction. Their composition therefore preserves the joint target, whose cold marginal is .
Contraction of a pCN update. Let be the Gaussian pCN proposal kernel and its Metropolis correction for . The Gaussian kernel is self-adjoint and positive on , with centered norm . Writing , its accepted transition measure is
Hence comparison of Dirichlet forms and variances gives
The corrected kernel is also positive. Indeed, the identity
expresses the accepted part of its quadratic form as an integral of nonnegative quadratic forms of ; the rejection part is nonnegative as well. Reversibility and positivity therefore imply
All-pCN sweeps. When every replica uses pCN, tensorization of (28) bounds the centered norm of the joint local update by . The subsequent swap sweep is a contraction, so the centered norm after sweeps is at most . Applying the adjoint operator to proves the first bound in (26).
Hybrid sweeps. Let H be the cold invariant kernel and write for the local update. Let E be the orthogonal projection onto functions of the cold coordinate, obtained by integrating all hot coordinates against . The operators L and E commute, and (28) gives
For a complete swap sweep S, every swap involving only hot replicas satisfies . Since the edge is attempted once, . On functions of the cold coordinate this is an independence Metropolis kernel with target and proposal . Moreover,
Its transition kernel thus minorizes , yielding on .
Set . For , the operator is a contraction and satisfies . For the same factorization holds with . Consequently,
Here we expanded and used that S, ES, and SE are contractions. Each production sweep acts on functions as , so every two consecutive sweeps contract the centered norm by at most , regardless of their prescribed swap orders. Applying the adjoint product to the initial density difference proves the bound in (27). This argument only uses invariance of H, which proves the assertion for general cold kernels.
Cold-marginal Wasserstein bounds. The density of relative to has upper-to-lower ratio at most . The Gaussian logarithmic Sobolev inequality, bounded perturbation, and the implication from logarithmic Sobolev to transport inequalities give (Otto & Villani, 2000)
see also Wang et al. (2026a, Lemma A.10). Conditional Jensen's inequality gives . Combining these inequalities with the joint bounds proves (26) and (27). In particular, the latter has the form with and .
Finally, for independent Gaussian initialization,
Corollary A.3 (End-to-end convergence). Suppose the assumptions of Theorem 3.7, Proposition 3.9, and Theorem A.2 hold. Assume also that is -Lipschitz, , and . Define
Then the data-space output law satisfies
(29)
B Additional experiments
B.1 Empirical loss-to-map-error relationship
We examine the relationship between the marginal joint risk and transport-map error in Theorem 3.7 using the two-dimensional banana prior
For independent and , we use the interpolation and marginal velocity . The reference map is the transport induced by this marginal velocity, rather than the explicit triangular map used to generate banana samples.
Numerical reference. Conditioning on the first coordinate of gives a Gaussian conditional distribution for . Integrating out analytically reduces evaluation of to one-dimensional Gaussian quadrature, with weights determined by the second coordinate of . We use 128-point Gauss–Hermite quadrature and integrate the marginal ODE from to using DOP853 in double precision, with relative and absolute tolerances and . Doubling the quadrature order changes the reference velocities by RMS over the risk-evaluation inputs. On 128 source samples, doubling the quadrature order and tightening both ODE tolerances tenfold change the reference maps by and RMS, respectively. These sensitivity checks indicate that numerical reference error is negligible at the observed map-error scale.

Figure 3: Marginal joint risk versus squared transport-map error on the two-dimensional banana prior for one- and six-step iMF generation. Points represent training checkpoints, connected in training order; stars mark the final checkpoint. Error bars show one Monte Carlo standard error, conditional on the fitted model and numerical reference, and do not represent variability across training runs.
Training and evaluation. We train an iMF model with three hidden SiLU layers of width 128 and separate average-velocity and auxiliary-velocity heads on 20,000 fixed prior samples. Training uses Adam with learning rate , weight decay , batch size 512, and 16,000 updates. We use independent data-noise coupling, independent unsorted uniform times , and auxiliary-loss weight . The figure reports a single training run with seed 0. At initialization and every 500 updates, we estimate
directly from the marginal residuals using 8,192 held-out interpolation samples and the numerical reference velocity. Thus, estimates the marginal risk appearing in Theorem 3.7, rather than the raw training loss containing irreducible regression noise. We also estimate the squared map error
for uniformly spaced generation steps. The evaluation draws are independent of the training dataset and fixed across checkpoints.
Results. Figure 3 shows that decreasing marginal risk is generally accompanied by decreasing map error for both generation schedules. Over training, decreases from 2.743 to 0.0653, while the squared map error decreases from 0.554 to 0.0198 for one-step generation and from 0.554 to 0.00732 for six-step generation. The relationship is not strictly monotonic across checkpoints. These results provide empirical support for the loss-to-map-error connection in Theorem 3.7, but do not establish its asymptotic rate or uniform control of the regularity constants, which may change during training.
B.2 Synthetic experiments
Prior training. For each scenario, all models are trained on the same fixed dataset of 20,000 prior samples using four-hidden-layer SiLU networks of width 512, with 16,000 optimizer updates at learning rate . The iMF model uses raw time inputs and separate average-velocity

(a) Banana prior.
(b) Sine prior.
Figure 4: Learning the priors by iMF, FM, and diffusion model.
and auxiliary-velocity heads; FM and diffusion use four Fourier time harmonics. Both iMF and FM use independent data-noise coupling. For iMF, we sample independently from Unif[0,1], and set the auxiliary-loss weight to . We use Adam for iMF with weight decay and AdamW for FM and diffusion with zero weight decay, both with . Gradient clipping at norm 5 is applied only to FM and diffusion. Figure 4 shows that all three models capture the main geometric structure of the banana and sine priors.
Posterior sampling. The two iMF samplers share a six-step transport with uniformly spaced times, while FM+SPT+pCN uses 100 RK4 steps (400 network evaluations per transport). All SPT methods use ten parallel ladders with 24 inverse temperatures , , initialized from . The pCN variants update every replica with pCN; the hybrid replaces the coldest update with split HMC using six integration steps and initial step size 0.05. During 500 adaptation sweeps, proposal parameters are shared across ladders and updated separately at each temperature using the observed acceptance fraction across the ten ladders. We apply additive updates to the logit pCN noise scale and log HMC step size, proportional to the difference between observed and target acceptance, with respective gains and at sweep . We target acceptance rates of 0.30 for pCN and 0.75 for split HMC. These are practical choices consistent with the pCN tuning range 0.3–0.5 used by Chen et al. (2016) and the general (leapfrog) HMC range 0.6-0.9 discussed by Betancourt et al. (2014). The hottest pCN noise scale remains fixed at 0.999. Each sweep includes odd and even adjacent-swap passes, with their order alternating across sweeps. After adaptation, all proposal parameters are frozen, 500 additional burn-in sweeps are discarded, and 600 consecutive cold states per ladder are retained without thinning, yielding 6,000 samples per method and seed. DPS generates the same number of samples using 1,000 DDPM steps with a linear noise schedule from to . Scaling DPS guidance by caused numerical instability in our experiments. Following the residual-dependent step-size scheme of Chung et al. (2023, Appendix D.1) and its official implementation, we use guidance , without explicit noise-variance scaling. Sampling is repeated with seeds 0, 1, 2, 3; full implementation settings are provided with the released code. Figures 5 and 6 compare sample histograms with numerical posterior references. Both iMF- and FM-based SPT recover the main posterior well, while DPS exhibits systematic deviations from the reference distributions.

Figure 5: Posterior sample histograms on the banana prior.

Figure 6: Posterior sample histograms on the sine prior.
Evaluation metrics. Let be the dimension, the number of ladders, and the number of retained samples per ladder. Writing for the lag- autocorrelation of coordinate in ladder , the mean coordinate ESS is
For distributions on , the sliced Wasserstein distance is
where is the uniform probability measure on the unit sphere. For two-dimensional blocks and a common partition of each block's first-coordinate marginal, define and . Then
B.3 CLIP-guided ImageNet experiments
B.3.1 Experiment details
We use the pretrained iMF-XL/ with one transport step, , and guidance interval [0.4, 0.65], and frozen SiT-XL/ with 125 Heun steps (250 velocity evaluations) and classifier-free guidance scale 4.
For each class-prompt pair, we use eight independent ladders of eight replicas with linear inverse temperatures , initialized from . The iMF methods run 250 adaptation sweeps, 250 burn-in sweeps, and 1,000 retained sweeps per ladder, yielding 8,000 retained cold states. At each adaptation sweep, we average the local proposal acceptance rates over all eight ladders. We then make progressively smaller updates to the pCN proposal scale to target 0.30 acceptance and, for iMF+SPT+hybrid, to the split-HMC step size at the coldest replica to target 0.75 acceptance. The resulting proposal parameters are fixed before burn-in. iMF+SPT+hybrid uses six-step split HMC at the coldest replica and pCN at all remaining replicas. SiT+SPT+pCN is run after the two iMF methods under a prompt-specific budget: its sampling budget equals the measured iMF+SPT+hybrid sampling time, with an additional one-hour allowance for loading, preflight, scoring, and export. Its available sampling time is allocated as 1/6, 1/6, and 2/3 to adaptation, burn-in, and retained sampling; only complete sweeps are performed.
B.3.2 Full results
Table 3 reports the complete results, and Figures 7-18 display samples from the first two ladders for each method.
Table 3: CLIP reward over retained samples and sampling cost.
| Method | Mean CLIP reward | Sampling time (h) | Mean sweep time (s) |
|---|---|---|---|
| Golden retriever: “A photograph of a golden retriever running through fallen autumn leaves.” | |||
| Best-of-K | 0.2864 | 2.49 | - |
| SiT+SPT+pCN | 0.3122 | 10.51 | 370.89 |
| iMF+SPT+pCN | 0.3809 | 2.40 | 5.75 |
| iMF+SPT+hybrid | 0.3824 | 10.95 | 26.28 |
| Golden retriever: “A beautiful professional photograph of a golden retriever in a sunlit meadow, sharp focus, natural colors.” | |||
| Best-of-K | 0.3073 | 2.48 | - |
| SiT+SPT+pCN | 0.3368 | 10.79 | 373.28 |
| iMF+SPT+pCN | 0.3741 | 2.43 | 5.83 |
| iMF+SPT+hybrid | 0.3754 | 11.26 | 27.02 |
| Golden retriever: “A colorful painting of a golden retriever standing in falling snow.” | |||
| Best-of-K | 0.2885 | 2.45 | - |
| SiT+SPT+pCN | 0.3355 | 10.96 | 372.17 |
| iMF+SPT+pCN | 0.3945 | 2.50 | 6.01 |
| iMF+SPT+hybrid | 0.4011 | 11.50 | 27.58 |
| Golden retriever: “A photograph of a golden retriever swimming in a clear blue lake.” | |||
| Best-of-K | 0.3064 | 2.45 | - |
| SiT+SPT+pCN | 0.3675 | 10.69 | 369.97 |
| iMF+SPT+pCN | 0.3847 | 2.45 | 5.88 |
| iMF+SPT+hybrid | 0.3845 | 11.16 | 26.69 |
Continued on next page
https://github.com/Lyy-iiis/imeanflow/tree/torch
Table 3 (continued)
| Method | Mean CLIP reward ↑ | Sampling time (h) | Mean sweep time (s) |
|---|---|---|---|
| Bald eagle: “A photograph of a bald eagle perched on a branch surrounded by red and golden autumn leaves.” | |||
| Best-of-K | 0.3086 | 2.50 | - |
| SiT+SPT+pCN | 0.3156 | 10.73 | 371.46 |
| iMF+SPT+pCN | 0.3743 | 2.46 | 5.90 |
| iMF+SPT+hybrid | 0.3781 | 11.20 | 26.87 |
| Bald eagle: “A photograph of a bald eagle catching a fish from a lake, with splashing water.” | |||
| Best-of-K | 0.3247 | 2.59 | - |
| SiT+SPT+pCN | 0.3407 | 10.78 | 376.60 |
| iMF+SPT+pCN | 0.3625 | 2.46 | 5.90 |
| iMF+SPT+hybrid | 0.3596 | 11.17 | 26.81 |
| Bald eagle: “A photograph of a bald eagle soaring above snow-capped mountains, wings spread wide.” | |||
| Best-of-K | 0.3278 | 2.49 | - |
| SiT+SPT+pCN | 0.3481 | 10.70 | 370.27 |
| iMF+SPT+pCN | 0.3936 | 2.44 | 5.85 |
| iMF+SPT+hybrid | 0.3914 | 11.15 | 26.76 |
| Bald eagle: “A colorful painting of a bald eagle perched on a pine branch in falling snow.” | |||
| Best-of-K | 0.2984 | 2.58 | - |
| SiT+SPT+pCN | 0.3139 | 10.74 | 371.58 |
| iMF+SPT+pCN | 0.3727 | 2.41 | 5.77 |
| iMF+SPT+hybrid | 0.3713 | 11.16 | 26.78 |
| Mink: “A photograph of a mink beside a clear forest stream, surrounded by green moss.” | |||
| Best-of-K | 0.3629 | 2.75 | - |
| SiT+SPT+pCN | 0.3946 | 10.72 | 371.04 |
| iMF+SPT+pCN | 0.4190 | 2.45 | 5.89 |
| iMF+SPT+hybrid | 0.4112 | 11.12 | 26.70 |
| Mink: “A colorful painting of a mink standing in falling snow.” | |||
| Best-of-K | 0.3160 | 2.49 | - |
| SiT+SPT+pCN | 0.3487 | 10.47 | 369.64 |
| iMF+SPT+pCN | 0.4186 | 2.36 | 5.66 |
| iMF+SPT+hybrid | 0.4162 | 10.99 | 26.37 |
| Castle: “A colorful painting of a medieval castle covered in snow.” | |||
| Best-of-K | 0.2489 | 2.48 | - |
| SiT+SPT+pCN | 0.2797 | 10.53 | 371.82 |
| iMF+SPT+pCN | 0.3618 | 2.42 | 5.79 |
| iMF+SPT+hybrid | 0.3569 | 10.92 | 26.21 |
| Castle: “A photograph of a medieval castle on a hill at sunrise, surrounded by green countryside.” | |||
| Best-of-K | 0.3023 | 2.46 | - |
| SiT+SPT+pCN | 0.3476 | 10.96 | 372.13 |
| iMF+SPT+pCN | 0.3820 | 2.52 | 6.05 |
| iMF+SPT+hybrid | 0.3849 | 11.40 | 27.35 |
| Aircraft carrier: “A photograph of an aircraft carrier sailing across the ocean at sunset.” | |||
| Best-of-K | 0.2879 | 2.49 | - |
| SiT+SPT+pCN | 0.3286 | 10.38 | 373.72 |
| iMF+SPT+pCN | 0.3667 | 2.42 | 5.80 |
| iMF+SPT+hybrid | 0.3659 | 10.90 | 26.16 |
Continued on next page
Table 3 (continued)
| Method | Mean CLIP reward ↑ | Sampling time (h) | Mean sweep time (s) |
|---|---|---|---|
| Aircraft carrier: *A watercolor painting of an aircraft carrier on a calm blue sea.* | |||
| Best-of-K | 0.2956 | 2.52 | - |
| SiT+SPT+pCN | 0.3055 | 10.63 | 367.95 |
| iMF+SPT+pCN | 0.3736 | 2.49 | 5.97 |
| iMF+SPT+hybrid | 0.3774 | 11.07 | 26.55 |
R=0.2914
Draw 1142
R=0.3238
Draw 2285
R=0.2879
Draw 3428
R=0.3288

Draw 4570
R=0.2825
Draw 5713
R=0.3264
Draw 6856
R=0.3554
Draw 7999
R=0.3017
Draw 7999
R=0.3017
(a) best-of-K.
draw 0, chain 0
R=0.322
draw 22, chain 0
R=0.337
draw 44, chain 0
R=0.350
draw 67, chain 0
R=0.348

draw 0, chain 1
R=0.369
draw 22, chain 1
R=0.377
draw 44, chain 1
R=0.356
draw 67, chain 1
R=0.341
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.362
draw 333, chain 0
R=0.367
draw 666, chain 0
R=0.376
draw 999, chain 0
R=0.376

draw 0, chain 1
R=0.349
draw 333, chain 1
R=0.378
draw 666, chain 1
R=0.382
draw 999, chain 1
R=0.348
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.367
draw 333, chain 0
R=0.368
draw 666, chain 0
R=0.375
draw 999, chain 0
R=0.367

draw 0, chain 1
R=0.376
draw 333, chain 1
R=0.372
draw 666, chain 1
R=0.364
draw 999, chain 1
R=0.382
(d) iMF + SPT + hybrid.
Figure 7: Class: golden retriever, prompt: “A beautiful professional photograph of a golden retriever in a sunlit meadow, sharp focus, natural colors.”
Draw 0
R=0.3106
Draw 1142
R=0.3018
Draw 2285
R=0.2997
Draw 3428
R=0.3141

Draw 4570
R=0.3124
Draw 5713
R=0.3352
Draw 6856
R=0.3066
Draw 7999
R=0.3157
(a) best-of-K.
draw 0, chain 0
R=0.302
draw 22, chain 0
R=0.319
draw 44, chain 0
R=0.322
draw 67, chain 0
R=0.299

draw 0, chain 1
R=0.318
draw 22, chain 1
R=0.326
draw 44, chain 1
R=0.332
draw 67, chain 1
R=0.302
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.377
draw 333, chain 0
R=0.377
draw 666, chain 0
R=0.385
draw 999, chain 0
R=0.357

draw 0, chain 1
R=0.350
draw 333, chain 1
R=0.396
draw 666, chain 1
R=0.376
draw 999, chain 1
R=0.392
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.371
draw 333, chain 0
R=0.384
draw 666, chain 0
R=0.370
draw 999, chain 0
R=0.382

draw 0, chain 1
R=0.375
draw 333, chain 1
R=0.405
draw 666, chain 1
R=0.376
draw 999, chain 1
R=0.379
(d) iMF + SPT + hybrid.
Figure 8: Class: bald eagle, prompt: “A photograph of a bald eagle perched on a branch surrounded by red and golden autumn leaves.”
R=0.2869
Draw 1142
R=0.2802
Draw 2285
R=0.2487
Draw 3428
R=0.3050

Draw 4570
R=0.3140
Draw 5713
R=0.2760
Draw 6856
R=0.2870
Draw 7999
R=0.2685
(a) best-of-K.
draw 0, chain 0
R=0.320
draw 22, chain 0
R=0.303
draw 45, chain 0
R=0.329
draw 68, chain 0
R=0.356

draw 0, chain 1
R=0.321
draw 22, chain 1
R=0.340
draw 45, chain 1
R=0.350
draw 68, chain 1
R=0.349
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.371
draw 333, chain 0
R=0.424
draw 666, chain 0
R=0.401
draw 999, chain 0
R=0.394

draw 0, chain 1
R=0.388
draw 333, chain 1
R=0.397
draw 666, chain 1
R=0.396
draw 999, chain 1
R=0.403
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.389
draw 333, chain 0
R=0.410
draw 666, chain 0
R=0.398
draw 999, chain 0
R=0.376

draw 0, chain 1
R=0.406
draw 333, chain 1
R=0.410
draw 666, chain 1
R=0.397
draw 999, chain 1
R=0.413

(d) iMF + SPT + hybrid.
Figure 9: Class: golden retriever, prompt: “A colorful painting of a golden retriever standing in falling snow.”
Draw 0
R=0.2897
Draw 1142
R=0.2946
Draw 2285
R=0.3147
Draw 3428
R=0.3286

Draw 4570
R=0.2953
Draw 5713
R=0.2995
Draw 6856
R=0.3147
Draw 7999
R=0.2896
(a) best-of-K.
draw 0, chain 0
R=0.287
draw 22, chain 0
R=0.303
draw 44, chain 0
R=0.300
draw 67, chain 0
R=0.292

draw 0, chain 1
R=0.311
draw 22, chain 1
R=0.340
draw 44, chain 1
R=0.340
draw 67, chain 1
R=0.312
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.336
draw 333, chain 0
R=0.396
draw 666, chain 0
R=0.377
draw 999, chain 0
R=0.342

draw 0, chain 1
R=0.371
draw 333, chain 1
R=0.355
draw 666, chain 1
R=0.364
draw 999, chain 1
R=0.373
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.342
draw 333, chain 0
R=0.372
draw 666, chain 0
R=0.366

draw 0, chain 1
R=0.342
draw 333, chain 1
R=0.334
draw 666, chain 1
R=0.355
draw 999, chain 0
R=0.385
draw 999, chain 1
R=0.366

(d) iMF + SPT + hybrid.
Figure 10: Class: bald eagle, prompt: “A colorful painting of a bald eagle perched on a pine branch in falling snow.”
R=0.3295
Draw 1142
R=0.2631
Draw 2285
R=0.3030
Draw 3428
R=0.3534

Draw 4570
R=0.3488
Draw 5713
R=0.2827
Draw 6856
R=0.2746
Draw 7999
R=0.3318
(a) best-of-K.
draw 0, chain 0
R=0.354
draw 22, chain 0
R=0.356
draw 44, chain 0
R=0.375
draw 67, chain 0
R=0.362

draw 0, chain 1
R=0.354
draw 22, chain 1
R=0.368
draw 44, chain 1
R=0.380
draw 67, chain 1
R=0.364
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.385
draw 333, chain 0
R=0.387
draw 666, chain 0
R=0.398
draw 999, chain 0
R=0.388

draw 0, chain 1
R=0.374
draw 333, chain 1
R=0.392
draw 666, chain 1
R=0.407
draw 999, chain 1
R=0.416
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.360
draw 333, chain 0
R=0.381
draw 666, chain 0
R=0.368
draw 999, chain 0
R=0.382

draw 0, chain 1
R=0.395
draw 333, chain 1
R=0.381
draw 666, chain 1
R=0.371
draw 999, chain 1
R=0.405
(d) iMF + SPT + hybrid.
Figure 11: Class: golden retriever, prompt: "A photograph of a golden retriever swimming in a clear blue lake."
Draw 0
R=0.3318
Draw 1142
R=0.3120
Draw 2285
R=0.3237
Draw 3428
R=0.3155

Draw 4570
R=0.3280
Draw 5713
R=0.3360
Draw 6856
R=0.3181
Draw 7999
R=0.3233
(a) best-of-K.
draw 0, chain 0
R=0.299
draw 22, chain 0
R=0.342
draw 44, chain 0
R=0.350
draw 66, chain 0
R=0.329

draw 0, chain 1
R=0.363
draw 22, chain 1
R=0.367
draw 44, chain 1
R=0.353
draw 66, chain 1
R=0.367
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.362
draw 333, chain 0
R=0.358
draw 666, chain 0
R=0.385
draw 999, chain 0
R=0.362

draw 0, chain 1
R=0.369
draw 333, chain 1
R=0.370
draw 666, chain 1
R=0.344
draw 999, chain 1
R=0.363
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.344
draw 333, chain 0
R=0.365
draw 666, chain 0
R=0.363
draw 999, chain 0
R=0.362

draw 0, chain 1
R=0.372
draw 333, chain 1
R=0.362
draw 666, chain 1
R=0.358
draw 999, chain 1
R=0.349
(d) iMF + SPT + hybrid.
Figure 12: Class: bald eagle, prompt: “A photograph of a bald eagle catching a fish from a lake, with splashing water.”
R=0.3909
Draw 1142
R=0.3624
Draw 2285
R=0.3632
Draw 3428
R=0.3842

Draw 4570
R=0.3641
Draw 5713
R=0.3620
Draw 6856
R=0.3692
Draw 7999
R=0.3508
(a) best-of-K.
draw 0, chain 0
R=0.349
draw 22, chain 0
R=0.382
draw 44, chain 0
R=0.382
draw 67, chain 0
R=0.397

draw 0, chain 1
R=0.399
draw 22, chain 1
R=0.396
draw 44, chain 1
R=0.403
draw 67, chain 1
R=0.393
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.380
draw 333, chain 0
R=0.427
draw 666, chain 0
R=0.432
draw 999, chain 0
R=0.415

draw 0, chain 1
R=0.440
draw 333, chain 1
R=0.430
draw 666, chain 1
R=0.440
draw 999, chain 1
R=0.449
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.381
draw 333, chain 0
R=0.417
draw 666, chain 0
R=0.421
draw 999, chain 0
R=0.422

draw 0, chain 1
R=0.425
draw 333, chain 1
R=0.427
draw 666, chain 1
R=0.402
draw 999, chain 1
R=0.422
(d) iMF + SPT + hybrid.
Figure 13: Class: mink, prompt: “A photograph of a mink beside a clear forest stream, surrounded by green moss.”
Draw 0
R=0.2936
Draw 1142
R=0.3033
Draw 2285
R=0.3240
Draw 3428
R=0.3085

Draw 4570
R=0.2948
Draw 5713
R=0.3031
Draw 6856
R=0.3044
Draw 7999
R=0.3381
(a) best-of-K.
draw 0, chain 0
R=0.332
draw 21, chain 0
R=0.360
draw 43, chain 0
R=0.344
draw 65, chain 0
R=0.354

draw 0, chain 1
R=0.350
draw 21, chain 1
R=0.360
draw 43, chain 1
R=0.346
draw 65, chain 1
R=0.326
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.401
draw 333, chain 0
R=0.421
draw 666, chain 0
R=0.414
draw 999, chain 0
R=0.385

draw 0, chain 1
R=0.399
draw 333, chain 1
R=0.407
draw 666, chain 1
R=0.396
draw 999, chain 1
R=0.419
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.399
draw 333, chain 0
R=0.440
draw 666, chain 0
R=0.420
draw 999, chain 0
R=0.418

draw 0, chain 1
R=0.417
draw 333, chain 1
R=0.439
draw 666, chain 1
R=0.434
draw 999, chain 1
R=0.439
(d) iMF + SPT + hybrid.
Figure 14: Class: mink, prompt: “A colorful painting of a mink standing in falling snow.”
R=0.3225
Draw 1142
R=0.3067
Draw 2285
R=0.2949
Draw 3428
R=0.2598

Draw 4570
R=0.3056
Draw 5713
R=0.3328
Draw 6856
R=0.2926
Draw 7999
R=0.2863
(a) best-of-K.
draw 0, chain 0
R=0.320
draw 22, chain 0
R=0.327
draw 45, chain 0
R=0.360
draw 68, chain 0
R=0.341

draw 0, chain 1
R=0.318
draw 22, chain 1
R=0.327
draw 45, chain 1
R=0.364
draw 68, chain 1
R=0.356
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.363
draw 333, chain 0
R=0.398
draw 666, chain 0
R=0.367
draw 999, chain 0
R=0.378

draw 0, chain 1
R=0.349
draw 333, chain 1
R=0.369
draw 666, chain 1
R=0.365
draw 999, chain 1
R=0.393
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.378
draw 333, chain 0
R=0.389
draw 666, chain 0
R=0.413
draw 999, chain 0
R=0.392

draw 0, chain 1
R=0.381
draw 333, chain 1
R=0.398
draw 666, chain 1
R=0.379
draw 999, chain 1
R=0.351
(d) iMF + SPT + hybrid.
Figure 15: Class: castle, prompt: “A photograph of a medieval castle on a hill at sunrise, surrounded by green countryside.”
Draw 0
R=0.2372
Draw 1142
R=0.2466
Draw 2285
R=0.2459
Draw 3428
R=0.2837

Draw 4570
R=0.2957
Draw 5713
R=0.2659
Draw 6856
R=0.2789
Draw 7999
R=0.2563
(a) best-of-K.
draw 0, chain 0
R=0.295
draw 22, chain 0
R=0.295
draw 44, chain 0
R=0.292
draw 66, chain 0
R=0.294

draw 0, chain 1
R=0.306
draw 22, chain 1
R=0.308
draw 44, chain 1
R=0.323
draw 66, chain 1
R=0.289
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.335
draw 333, chain 0
R=0.385
draw 666, chain 0
R=0.362
draw 999, chain 0
R=0.369

draw 0, chain 1
R=0.370
draw 333, chain 1
R=0.371
draw 666, chain 1
R=0.381
draw 999, chain 1
R=0.381
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.336
draw 333, chain 0
R=0.353
draw 666, chain 0
R=0.369
draw 999, chain 0
R=0.339

draw 0, chain 1
R=0.361
draw 333, chain 1
R=0.376
draw 666, chain 1
R=0.350
draw 999, chain 1
R=0.349
(d) iMF + SPT + hybrid.
Figure 16: Class: castle, prompt: “A colorful painting of a medieval castle covered in snow.”
R=0.2722
Draw 1142
R=0.2794
Draw 2285
R=0.2821
Draw 3428
R=0.2817

Draw 4570
R=0.2730
Draw 5713
R=0.2946
Draw 6856
R=0.2995
Draw 7999
R=0.3017
(a) best-of-K.
draw 0, chain 0
R=0.352
draw 21, chain 0
R=0.352
draw 42, chain 0
R=0.365
draw 64, chain 0
R=0.372

draw 0, chain 1
R=0.276
draw 21, chain 1
R=0.315
draw 42, chain 1
R=0.367
draw 64, chain 1
R=0.295
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.346
draw 333, chain 0
R=0.362
draw 666, chain 0
R=0.363
draw 999, chain 0
R=0.390

draw 0, chain 1
R=0.371
draw 333, chain 1
R=0.378
draw 666, chain 1
R=0.384
draw 999, chain 1
R=0.376
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.343
draw 333, chain 0
R=0.367
draw 666, chain 0
R=0.382
draw 999, chain 0
R=0.374

draw 0, chain 1
R=0.372
draw 333, chain 1
R=0.368
draw 666, chain 1
R=0.373
draw 999, chain 1
R=0.382
(d) iMF + SPT + hybrid.
Figure 17: Class: aircraft carrier, prompt: “A photograph of an aircraft carrier sailing across the ocean at sunset.”
Draw 0
R=0.2965
Draw 1142
R=0.3022
Draw 2285
R=0.3008
Draw 3428
R=0.3062

Draw 4570
R=0.2901
Draw 5713
R=0.2970
Draw 6856
R=0.2955
Draw 7999
R=0.2847
(a) best-of-K.
draw 0, chain 0
R=0.288
draw 22, chain 0
R=0.304
draw 44, chain 0
R=0.305
draw 67, chain 0
R=0.311

draw 0, chain 1
R=0.283
draw 22, chain 1
R=0.303
draw 44, chain 1
R=0.302
draw 67, chain 1
R=0.286
(b) SiT + SPT + pCN.
draw 0, chain 0
R=0.343
draw 333, chain 0
R=0.371
draw 666, chain 0
R=0.371
draw 999, chain 0
R=0.382

draw 0, chain 1
R=0.367
draw 333, chain 1
R=0.403
draw 666, chain 1
R=0.345
draw 999, chain 1
R=0.368
(c) iMF + SPT + pCN.
draw 0, chain 0
R=0.347
draw 333, chain 0
R=0.363
draw 666, chain 0
R=0.368
draw 999, chain 0
R=0.400

draw 0, chain 1
R=0.411
draw 333, chain 1
R=0.401
draw 666, chain 1
R=0.367
draw 999, chain 1
R=0.390
(d) iMF + SPT + hybrid.
Figure 18: Class: aircraft carrier, prompt: “A watercolor painting of an aircraft carrier on a calm blue sea.”