新窗口全屏 PDF ↗ 英文原版 ↗

Michael S. Albergo、Nicholas M. Boffi、Eric Vanden-Eijnden。arXiv:2303.08797v4(2025-10-09);JMLR 26(209):1–80,2025。

许可:PDF 首页 CC BY 4.0,https://creativecommons.org/licenses/by/4.0/ 。本文为全文逐段翻译,改编包括中文译文、排版及显式译注。原作者享有原作版权。

源页号按英文段落前缀或相邻段定位;HTML源锚点可精确回查。

SOURCE PDF p.1 · p1.1
EN
Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden
中
Michael S. Albergo、Nicholas M. Boffi、Eric Vanden-Eijnden。

Stochastic Interpolants: A Unifying Framework for Flows and Diffusions 随机插值:统一流与扩散的框架

Abstract 摘要

SOURCE PDF p.1 · abstract1.1
EN
A class of generative models that unifies flow-based and diffusion-based methods is introduced. These models extend the framework proposed in Albergo and Vanden-Eijnden (2023) , enabling the use of a broad class of continuous-time stochastic processes called ‘stochastic interpolants’ to bridge any two probability density functions exactly in finite time. These interpolants are built by combining data from the two prescribed densities with an additional latent variable that shapes the bridge in a flexible way. The time-dependent probability density function of the stochastic interpolant is shown to satisfy a first-order transport equation as well as a family of forward and backward Fokker-Planck equations with tunable diffusion coefficient. Upon consideration of the time evolution of an individual sample, this viewpoint immediately leads to both deterministic and stochastic generative models based on probability flow equations or stochastic differential equations with an adjustable level of noise. The drift coefficients entering these models are time-dependent velocity fields characterized as the unique minimizers of simple quadratic objective functions, one of which is a new objective for the score of the interpolant density. We show that minimization of these quadratic objectives leads to control of the likelihood for generative models built upon stochastic dynamics, while likelihood control for deterministic dynamics is more stringent. We also construct estimators for the likelihood and the cross-entropy of interpolant-based generative models, and we discuss connections with other methods such as score-based diffusion models, stochastic localization processes, probabilistic denoising techniques, and rectifying flows. In addition, we demonstrate that stochastic interpolants recover the Schrödinger bridge between the two target densities when explicitly optimizing over the interpolant. Finally, algorithmic aspects are discussed and the approach is illustrated on numerical examples.
中
本文提出一类统一流模型与扩散模型的生成模型,扩展了 Albergo 与 Vanden-Eijnden(2023)的框架。称为“随机插值”的广泛连续时间随机过程,可以在有限时间内精确连接任意两个概率密度。构造时,把来自两个指定密度的数据与一个额外潜变量结合,使桥接具有灵活形状。随机插值的时变密度满足一阶输运方程,以及具有可调扩散系数的一族前向、后向 Fokker–Planck 方程。考察单样本演化后,立即得到基于概率流方程的确定性生成模型,以及噪声水平可调的随机微分方程生成模型。这些模型中的漂移是时变速度场,可刻画为简单二次目标的唯一极小化解,其中包含一个新的插值密度得分目标。最小化这些目标能控制随机动力学生成模型的似然;确定性动力学的似然控制要求更强。本文还构造似然与交叉熵估计量,讨论与得分扩散、随机局部化、概率去噪、矫正流的联系,并证明显式优化插值可以恢复两目标密度之间的 Schrödinger 桥。最后讨论算法,并用数值例子演示。

1 Introduction 1 引言

1.1 Background and motivation 1.1 背景与动机

SOURCE PDF p.3 · S1.SS1.p1.1
EN
Dynamical approaches for deterministic and stochastic transport have become a central theme in contemporary generative modeling research. At the heart of progress is the idea to use ordinary or stochastic differential equations (ODEs/SDEs) to continuously transform samples from a base probability density function (PDF) ρ0\rho_{0} into samples from a target PDF ρ1\rho_{1} (or vice-versa), and the realization that inference over the velocity field in these equations can be formulated as an empirical risk minimization problem over a parametric class of functions ( Grathwohl et al., 2019 ; Song and Ermon, 2019 ; Ho et al., 2020 ; Song et al., 2021b ; Ben-Hamu et al., 2022 ; Albergo and Vanden-Eijnden, 2023 ; Liu et al., 2023b ; Lipman et al., 2023 ) .
中
确定性与随机输运的动力学方法已成为当代生成建模的核心方向。其关键思想是使用常微分方程或随机微分方程(ODE/SDE),把基分布 ρ₀ 的样本连续变换为目标分布 ρ₁ 的样本,或反向变换;同时认识到,对这些方程速度场的推断可写成参数化函数类上的经验风险最小化问题(Grathwohl 等,2019;Song 与 Ermon,2019;Ho 等,2020;Song 等,2021b;Ben-Hamu 等,2022;Albergo 与 Vanden-Eijnden,2023;Liu 等,2023b;Lipman 等,2023)。

SOURCE PDF p.3 · S1.SS1.p2.1
EN
A major milestone was the introduction of score-based diffusion methods (SBDM) ( Song et al., 2021b ) , which map an arbitrary density into a standard Gaussian by passing samples through an Ornstein-Uhlenbeck (OU) process. The key insight of SBDM is that this process can be reversed by introducing a backwards SDE whose drift coefficient depends on the score of the time-dependent density of the process. By learning this score – which can be done by minimization of a quadratic objective function known as the denoising loss ( Vincent, 2011 ) – the backwards SDE can be used as a generative model that maps Gaussian noise into data from the target. Though theoretically exact, the mapping takes infinite time in both directions, and hence must be truncated in practice.
中
重要里程碑是基于得分的扩散方法 SBDM(Song 等,2021b):把样本输入 Ornstein–Uhlenbeck(OU)过程,将任意密度映射到标准高斯。关键在于可引入一个后向 SDE 逆转该过程,其漂移依赖过程时变密度的得分。该得分可通过最小化称为去噪损失的二次目标来学习(Vincent,2011);学得后,后向 SDE 便能把高斯噪声映射为目标数据。此映射在理论上精确,但双向都需要无限时间,所以实践中必须截断。

SOURCE PDF p.3 · S1.SS1.p3.1
EN
While diffusion-based methods have become state-of-the-art for tasks such as image generation, there remains considerable interest in developing methods that bridge two arbitrary densities (rather than requiring one to be Gaussian), that accomplish the transport exactly , and that do so on a finite time interval. Moreover, while the highest quality results from score-based diffusion were originally obtained using SDEs ( Song et al., 2021b ) , this has been challenged by recent works that find equivalent or better performance with ODE-based methods if the score is learned sufficiently well ( Karras et al., 2022 ) . If made to match the performance of their stochastic counterparts, ODE-based methods exhibit a number of desirable characteristics, such as an exact, computationally tractable formula for the likelihood and the easy application of well-developed adaptive integration schemes for sampling. It is an open question of significant practical importance to understand if there exists a separation in sample quality between generative models based on deterministic dynamics and those based on stochastic dynamics.
中
扩散方法虽已在图像生成等任务达到先进水平,人们仍希望连接任意两个密度,而非要求其中一个为高斯;并且要求输运精确、在有限时间内完成。得分扩散最初用 SDE 得到最高质量结果(Song 等,2021b),但近期工作发现,只要得分学得足够准确,ODE 方法也能达到相同甚至更好性能(Karras 等,2022)。若质量与随机方法相当,ODE 有多项优点:似然有精确且计算可行的公式,采样可方便使用成熟的自适应积分器。确定性与随机动力学生成模型的样本质量是否存在本质差距,是一个具有重要实践意义的开放问题。

SOURCE PDF p.4 · S1.SS1.p4.1
EN
In order to satisfy the desirable characteristics outlined in the previous paragraph, we develop a framework for generative modeling based on the method proposed in Albergo and Vanden-Eijnden (2023) , which is built on the notion of a stochastic interpolant xtx_{t} used to bridge two arbitrary densities ρ0\rho_{0} and ρ1\rho_{1} . We will consider more general designs below, but as one example the reader can keep in mind:
中
为满足上述要求,我们基于 Albergo 与 Vanden-Eijnden(2023)的方法建立生成框架,核心是连接任意密度 ρ₀、ρ₁ 的随机插值 xₜ。后文会考虑更一般设计,这里先给出一个可供读者把握的例子。
xt=(1−t)x0+tx1+2t(1−t)z,t∈[0,1],x_{t}=(1-t)x_{0}+tx_{1}+\sqrt{2t(1-t)}z,\quad t\in[0,1],

SOURCE PDF p.4 · S1.SS1.p4.2
EN
where x0x_{0} , x1x_{1} , and zz are random variables drawn independently from ρ0\rho_{0} , ρ1\rho_{1} , and the standard Gaussian density N(0,Id)\mathsf{N}(0,\text{\it Id}) , respectively. The stochastic interpolant xtx_{t} defined in ( 1.1 ) is a continuous-time stochastic process that, by construction, satisfies xt=0=x0∼ρ0x_{t=0}=x_{0}\sim\rho_{0} and xt=1=x1∼ρ1x_{t=1}=x_{1}\sim\rho_{1} . Its paths therefore exactly bridge between samples from ρ0\rho_{0} at t=0t=0 and from ρ1\rho_{1} at t=1t=1 . A key observation is that:
中
其中 x₀、x₁、z 分别独立取自 ρ₀、ρ₁ 和标准高斯 N(0,Id)。式(1.1)的 xₜ 是连续时间随机过程,按构造满足 xₜ₌₀=x₀∼ρ₀、xₜ₌₁=x₁∼ρ₁,因此其路径精确连接了两个端点分布的样本。关键观察如下。

SOURCE PDF p.4 · S1.SS1.p4.3.1
EN
The law of the interpolant xtx_{t} at any time t∈[0,1]t\in[0,1] can be realized by many different processes, including an ODE and forward and backward SDEs whose drifts can be learned from data.
中
对任意 t∈[0,1],插值 xₜ 的分布可由许多不同过程实现,包括漂移能从数据学习的 ODE、前向 SDE 和后向 SDE。

SOURCE PDF p.4 · S1.SS1.p4.4
EN
To see why this is the case, one must consider the probability distribution of the interpolant xtx_{t} . As shown below, for a large class of densities ρ0\rho_{0} and ρ1\rho_{1} supported on Rd{\mathbb{R}}^{d} , this distribution is absolutely continuous with respect to the Lebesgue measure. Moreover, its time-dependent density ρ(t)\rho(t) satisfies a first-order transport equation and a family of forward and backward Fokker-Planck equations in which the diffusion coefficient can be varied at will. Out of these equations, we can readily derive generative models that satisfy ODEs and SDEs, respectively, and whose densities at time tt are given by ρ(t)\rho(t) .
中
要理解这一点,需要考察 xₜ 的概率分布。下文证明,对支撑在 Rᵈ 上的一大类 ρ₀、ρ₁,该分布关于 Lebesgue 测度绝对连续,其时变密度 ρ(t) 满足一阶输运方程,以及扩散系数可任意调节的一族前后向 Fokker–Planck 方程。由这些方程可直接导出分别满足 ODE、SDE 的生成模型,且 t 时刻密度都为 ρ(t)。

原图 F001

Original caption: Figure 1 : The stochastic interpolant paradigm. Example generative models based on the proposed framework, which connects two densities ρ0\rho_{0} and ρ1\rho_{1} using samples from both. The design of the time-dependent probability density ρ(t)\rho(t) that bridges between ρ0\rho_{0} and ρ1\rho_{1} is separated from the choice of how to sample it, which can be accomplished with deterministic or stochastic generative models. Left panel: Sampling with a deterministic (ODE) generative model known as the probability flow equation. Right panel: Sampling with a stochastic generative model given by an SDE with a tunable diffusion coefficient. The probability flow equation and the SDE have different paths, but their time-dependent density ρ(t)\rho(t) is the same. Moreover, the two equations rely on the same estimates for the velocity and the score.

中
图 1:随机插值范式。利用两个端点密度的样本构造生成模型;连接 ρ₀、ρ₁ 的时变密度 ρ(t) 的设计,与用什么过程采样相分离。左图是概率流 ODE,右图是扩散系数可调的 SDE。二者样本路径不同,但单时刻密度相同,并依赖相同的速度、得分估计。

SOURCE PDF p.4 · S1.SS1.p5.1
EN
Interestingly, the drift coefficients entering these ODEs/SDEs are the unique minimizers of quadratic objective functions that can be estimated empirically using data from ρ0\rho_{0} , ρ1\rho_{1} , and N(0,Id)\mathsf{N}(0,\text{\it Id}) . The resulting least-squares regression problem allows us to estimate the drift coefficients of the ODE/SDEs, which can then be used to push samples from ρ0\rho_{0} onto new samples from ρ1\rho_{1} and vice-versa.
中
这些 ODE/SDE 的漂移系数是二次目标的唯一极小化解,而目标可用来自 ρ₀、ρ₁、N(0,Id) 的数据做经验估计。因此通过最小二乘回归可估计漂移,再将 ρ₀ 样本推至新的 ρ₁ 样本,反向亦然。

1.2 Main contributions and organization 1.2 主要贡献与组织

SOURCE PDF p.4 · S1.SS2.p1.1
EN
The approach introduced here is a versatile way to build generative models that unifies and extends many existing algorithms. In Sec. 2 , we develop the framework in full generality, where we emphasize the following key contributions:
中
本文提供一种灵活的生成模型构造方式,统一并扩展许多已有算法。第 2 节给出一般框架,关键贡献如下。

SOURCE PDF p.4 · S1.I1.i1.p1.1
EN
We prove that the stochastic interpolant defined in Section 2.1 has a distribution that is absolutely continuous with respect to the Lebesgue measure on Rd{\mathbb{R}}^{d} , and that its density ρ(t)\rho(t) satisfies a first-order transport equation (TE) as well as a family of forward and backward Fokker-Planck equations (FPEs) with tunable diffusion coefficients.
中
证明第 2.1 节定义的随机插值在 Rᵈ 上的分布关于 Lebesgue 测度绝对连续,且其密度 ρ(t) 同时满足一阶输运方程 TE 和扩散系数可调的一族前后向 Fokker–Planck 方程 FPE。

SOURCE PDF p.4 · S1.I1.i2.p1.1
EN
We show how the stochastic interpolant can be used to learn the drift coefficients that enter the TE and the FPEs. We characterize these coefficients as the minimizers of simple quadratic objective functions given in Section 2.2 . We introduce a new objective for the score ∇log⁡ρ(t)\nabla\log\rho(t) of the interpolant density, as well as an objective function for learning a denoiser ηz\eta_{z} , which we relate to the score.
中
说明如何利用随机插值学习 TE、FPE 的漂移,并在第 2.2 节将其刻画为简单二次目标的极小化解。提出新的插值密度得分 ∇logρ(t) 目标,以及学习去噪器 ηz 的目标,并建立去噪器与得分的联系。

SOURCE PDF p.5 · S1.I1.i3.p1.1
EN
In Section 2.3 , we derive ordinary and stochastic differential equations associated with the TE and FPEs that lead to deterministic and stochastic generative models. In Section 2.4 , we show that regressing the drift for SDE-based models controls the likelihood, but that regressing the drift alone is not sufficient for ODE-based models, which must also minimize a Fisher divergence. We show how to optimally tune the diffusion coefficient to maximize the likelihood for SDEs.
中
第 2.3 节从 TE、FPE 导出确定性和随机生成模型的 ODE、SDE。第 2.4 节说明,对 SDE 回归漂移能够控制似然;对 ODE,仅回归漂移不够,还须最小化 Fisher 散度。我们还说明如何最优调节扩散系数,以最大化 SDE 的似然。

SOURCE PDF p.5 · S1.I1.i4.p1.1
EN
In Section 2.5 , we develop a general formula to evaluate the likelihood of SDE-based generative models that serves as a natural counterpart to the continuous change-of-variables formula commonly used to compute the likelihood of ODE-based models. In addition, we give formulas to estimate the cross-entropy.
中
第 2.5 节给出计算 SDE 生成模型似然的一般公式,它自然对应于 ODE 模型常用的连续变量替换公式;同时给出交叉熵估计公式。

SOURCE PDF p.5 · S1.SS2.p2.1
EN
In Section 3 , we discuss instantiations of the stochastic interpolant method. In Section 3.4 we first show that interpolants are equivalent to a class of stochastic bridges, but that they avoid the need for Doob’s hh -transform, which is generically unknown; we show that this simplifies the construction of a broad class of generative models. In Section 3.2 , we define the one-sided interpolant , which corresponds to the conventional setting in which the base ρ0\rho_{0} is taken to be a Gaussian. With a Gaussian base, several aspects of the interpolant simplify, and we detail the corresponding objective functions. In Section 3.3 , we introduce a mirror interpolant in which the base ρ0\rho_{0} and the target ρ1\rho_{1} are identical. Finally, in Section 3.4 , we show how the interpolant framework leads to a natural formulation of the Schrödinger bridge problem between two densities.
中
第 3 节讨论随机插值的不同实例。原文先指第 3.4 节说明插值等价于一类随机桥,但不需要通常未知的 Doob h 变换,因此简化了一大类生成模型的构造。第 3.2 节定义单侧插值,即基分布 ρ₀ 为高斯的常规设置;高斯基分布可简化多方面结构,我们给出相应目标。第 3.3 节引入基分布、目标相同的镜像插值。最后第 3.4 节说明,插值框架自然导出两密度间 Schrödinger 桥的表述。译注:关于随机桥的一般讨论亦见第 3.1 节,保留原文此处交叉引用。

SOURCE PDF p.5 · S1.SS2.p3.1
EN
In Section 4 , we discuss a special case in which the interpolant is spatially linear in x0x_{0} and x1x_{1} . In this case, the velocity field can be factorized, which we show in Section 4.1 leads to a simpler learning problem. We detail specific choices of linear interpolants in Section 4.2 , and in Section 4.3 we illustrate how these choices influence the performance of the resulting generative model, with a particular focus on the role of the latent variable and the diffusion coefficient. For exposition, we focus on Gaussian mixture densities, for which the drift coefficients can be computed analytically. We provide the resulting formula in Appendix A . Finally, in Section 4.4 , we discuss the case of spatially linear one-sided interpolants.
中
第 4 节讨论对 x₀、x₁ 空间线性的特殊插值。第 4.1 节说明速度场可分解,从而简化学习问题。第 4.2 节给出具体线性插值,第 4.3 节分析这些选择如何影响生成模型,特别关注潜变量与扩散系数的作用。为便于解释,重点考察可解析计算漂移的高斯混合密度,公式见附录 A。第 4.4 节讨论空间线性单侧插值。

SOURCE PDF p.6 · S1.SS2.p4.1
EN
In Section 5 , we formalize the connection between stochastic interpolants and related classes of generative models. In Section 5.1 , we show that score-based diffusion models can be re-written as one-sided interpolants after a reparameterization of time; we highlight how this approach eliminates singularities that appear when naively compressing score-based diffusion onto a finite-time interval. In Section 5.2 , we show how interpolants can be used to derive the Bayes-optimal estimator for a denoiser, and we show how this approach can be iterated to create a generative model. In Section 5.3 , we consider the possibility of rectifying the flow map of a learned generative model. We show that the rectification procedure does not change the underlying generative model, though it may change the time-dependent density of the interpolant.
中
第 5 节形式化随机插值与相关生成模型的联系。第 5.1 节在重参数化时间后,把得分扩散改写为单侧插值;强调这种方式消除了直接把得分扩散压缩到有限时间时出现的奇性。第 5.2 节利用插值导出去噪器的 Bayes 最优估计,并说明如何迭代形成生成模型。第 5.3 节考虑对学得生成模型的流映射做矫正,证明该过程不改变底层生成模型,但可能改变插值的时变密度。

SOURCE PDF p.6 · S1.SS2.p5.1
EN
In Section 6 , we provide the details of practical algorithms associated with the mathematical results presented above. In Section 6.1 , we describe how to numerically estimate the objectives given empirical datasets from the base and the target. In Section 6.2 , we complement this discussion on learning with algorithms for sampling with the ODE or an SDE.
中
第 6 节给出对应数学结果的实践算法。第 6.1 节说明用基分布和目标分布经验数据估计目标;第 6.2 节补充 ODE、SDE 采样算法。

SOURCE PDF p.6 · S1.SS2.p6.1
EN
We provide numerical demonstrations in line with these recommendations in Section 7 , and we conclude with some remarks in Section 8 .
中
第 7 节给出遵循这些建议的数值演示,第 8 节作结。

Deterministic Transport and Normalizing Flows. 确定性输运与归一化流

SOURCE PDF p.6 · S1.SS3.SSS0.Px1.p1.1
EN
Transport-based sampling and density estimation has its contemporary roots in Gaussianizing data via maximum entropy methods ( Friedman, 1987 ; Chen and Gopinath, 2000 ; Tabak and Vanden-Eijnden, 2010 ; Tabak and Turner, 2013 ) . The change of measure under such transformation is the backbone of normalizing flow models. The first neural network realizations of these methods arose through imposing clever structure on the transformation to make the change of measure tractable in discrete, sequential steps ( Rezende and Mohamed, 2015 ; Dinh et al., 2017 ; Papamakarios et al., 2017 ; Huang et al., 2018 ; Durkan et al., 2019 ) . A continuous time version of this procedure was made possible by viewing the map T=Xt(x)T=X_{t}(x) as the solution of an ODE ( Chen et al., 2018 ; Grathwohl et al., 2019 ) , whose parametric drift defining the transport is learned via maximum likelihood estimation. Training this way is intractable at scale, as computing the gradient of the objective via the adjoint method requires simulating an ODE. Various methods have introduced regularization on the path taken between the two densities to make the ODE solves more efficient ( Finlay et al., 2020 ; Onken et al., 2021 ; Tong et al., 2020 ) , but the fundamental difficulty remains. We also work in continuous time; however, our approach allows us to learn the drift without simulation of the dynamics, and can be formulated at sample generation time through either deterministic or stochastic transport.
中
基于输运的采样与密度估计,其现代起源是通过最大熵方法将数据高斯化(Friedman,1987;Chen 与 Gopinath,2000;Tabak 与 Vanden-Eijnden,2010;Tabak 与 Turner,2013)。这种变换下的测度变换是归一化流模型的基础。早期神经网络实现通过精心设计变换结构,使离散连续步骤中的测度变换可计算(Rezende 与 Mohamed,2015;Dinh 等,2017;Papamakarios 等,2017;Huang 等,2018;Durkan 等,2019)。将映射 T=Xₜ(x) 看作 ODE 解即可得到连续时间版本(Chen 等,2018;Grathwohl 等,2019),参数化漂移用极大似然学习。但通过伴随法计算目标梯度需要模拟 ODE,难以大规模训练。路径正则可提高积分效率(Finlay 等,2020;Onken 等,2021;Tong 等,2020),却未消除根本困难。本文同样使用连续时间,但学习漂移无需模拟动力学,采样时则可使用确定性或随机输运。

Stochastic Transport and Score-Based Diffusion Models (SBDMs). 随机输运与基于得分的扩散模型

SOURCE PDF p.7 · S1.SS3.SSS0.Px2.p1.1
EN
Complementary to approaches based on deterministic maps, recent works have realized that connecting a data distribution to a Gaussian density can be viewed as the evolution of an Ornstein-Ulhenbeck (OU) process which gradually degrades samples from the distribution of interest to Gaussian noise ( Sohl-Dickstein et al., 2015 ; Ho et al., 2020 ; Song and Ermon, 2019 ; Song et al., 2021b ) . The OU process specifies a path in the space of probability densities; this path is simple to traverse in the forward direction by addition of noise, and can be reversed if access to the score of the time-dependent density ∇log⁡ρ(t)\nabla\log\rho(t) is available. This score can be approximated through solution of a least-squares regression problem ( Hyvärinen, 2005 ; Vincent, 2011 ) , and the target can be sampled by reversing the path once the score has been learned. Interestingly, the resulting forward and backward stochastic processes have an equivalent formulation (at the distribution level) in terms of a deterministic probability flow equation, first noted by Bakry and Émery (1985) ; Otto (2000) ; Kim and Milman (2010) and then applied in Maoutsa et al. (2020) ; Song et al. (2021a) ; Kingma et al. (2021) ; Boffi and Vanden-Eijnden (2023) . The probability flow formulation is useful for density estimation and cross-entropy calculations, but it is worth noting that the probability flow and the reverse-time SDE will have densities that differ when using an approximate score. The SBDM framework, as it has been originally presented, has a number of features which are not a priori well motivated, including the dependence on mapping to a normal density, the complicated tuning of the time parameterization and noise scheduling ( Xiao et al., 2022 ; Hoogeboom et al., 2023 ) , and the choice of the underlying stochastic dynamics ( Dockhorn et al., 2022 ; Karras et al., 2022 ) .
中
与确定性映射互补,近期工作将数据分布连接到高斯视作 OU 过程:样本逐渐退化为高斯噪声(Sohl-Dickstein 等,2015;Ho 等,2020;Song 与 Ermon,2019;Song 等,2021b)。OU 指定密度空间中的路径,前向加噪容易遍历,若有时变得分 ∇logρ(t),便可逆向。得分可通过最小二乘回归近似(Hyvärinen,2005;Vincent,2011),学习后逆路径即可采样目标。前后向随机过程在分布层面还有确定性概率流的等价表述,Bakry 与 Émery(1985)、Otto(2000)、Kim 与 Milman(2010)首先注意,后由 Maoutsa 等(2020)、Song 等(2021a)、Kingma 等(2021)、Boffi 与 Vanden-Eijnden(2023)应用。概率流便于密度估计和交叉熵计算,但用近似得分时,它与逆时间 SDE 的密度会不同。原始 SBDM 的一些设计并无先验充分动机,包括依赖映射到正态密度、复杂时间参数化及噪声调度(Xiao 等,2022;Hoogeboom 等,2023),以及底层随机动力学选择(Dockhorn 等,2022;Karras 等,2022)。

Stochastic bridges. 随机桥

SOURCE PDF p.7 · S1.SS3.SSS0.Px3.p1.1
EN
Starting with ( Peluchetti, 2022 ) there has been some recent effort ( Liu et al., 2022 ; Liu et al., 2023a ; Somnath et al., 2023 ) to remove the dependence of SBDMs on the OU process via stochastic bridges, which can be used to connect two arbitrary densities in finite time. As another step in this direction, we observe here that the key idea behind SBDMs – the bridging of two densities via a time-dependent density whose evolution equation is available – can be generalized to a much wider class of processes in a straightforward and computationally accessible manner. This viewpoint highlights the key property that the construction of the bridge between the two densities is decoupled from the process used to sample it.
中
自 Peluchetti(2022)起,一些研究(Liu 等,2022、2023a;Somnath 等,2023)用有限时间连接任意密度的随机桥,解除 SBDM 对 OU 的依赖。本文进一步指出,SBDM 的核心——借助演化方程已知的时变密度来连接两个密度——可直接且计算可行地推广至更广过程族。此观点突出了“构造桥接”与“采样该桥接所用过程”相互解耦的性质。

Stochastic Interpolants, Rectified Flows, and Flow matching. 随机插值、矫正流与流匹配

SOURCE PDF p.7 · S1.SS3.SSS0.Px4.p1.1
EN
Variants of the stochastic interpolant method presented in Albergo and Vanden-Eijnden (2023) were also presented in Liu et al. (2023b) ; Lipman et al. (2023) . In Liu et al. (2023b) , a linear interpolant was proposed with a focus on straight paths. This was employed as a step toward rectifying the transport paths ( Liu, 2022 ) through a procedure that improves sampling efficiency but introduces a bias. In Lipman et al. (2023) , the interpolant picture was assembled from the perspective of conditional probability paths connecting to a Gaussian, where a noise convolution was used to improve the learning at the cost of biasing the method. Extensions of Lipman et al. (2023) were presented in Tong et al. (2023) that generalize the method beyond the Gaussian base density. In the method proposed here, we introduce an unbiased means to incorporate noise into the process, both via the introduction of a latent variable into the stochastic interpolant and the inclusion of a tunable diffusion coefficient in the associated stochastic generative models. We provide theoretical and practical motivation for the presence of these noise terms.
中
Albergo 与 Vanden-Eijnden(2023)的随机插值方法也有 Liu 等(2023b)、Lipman 等(2023)的变体。前者提出强调直路径的线性插值,进一步通过矫正输运路径(Liu,2022)提高采样效率,但会引入偏差。后者从连接高斯的条件概率路径出发,通过噪声卷积改善学习,代价也是偏差。Tong 等(2023)把其推广至非高斯基分布。本文给出无偏的加噪方式:既在随机插值中加入潜变量,也在相应随机生成模型中加入可调扩散系数,并提供理论和实践动机。

Optimal Transport and Schrödinger Bridges. 最优输运与 Schrödinger 桥

SOURCE PDF p.8 · S1.SS3.SSS0.Px5.p1.1
EN
There is both theoretical and practical interest in minimizing the transport cost of connecting ρ0\rho_{0} and ρ1\rho_{1} . In the case of deterministic maps, this is characterized by the optimal transport problem, and in the case of diffusive maps, by the Schrödinger Bridge problem ( Villani, 2009 ; Chen et al., 2021 ) . Formally, these two problems can be related by viewing the Schrödinger Bridge as an entropy-regularized optimal transport. Optimal transport has primarily been employed as a means to regularize flow-based methods by imposing either a path length penalty ( Zhang et al., 2018 ; Onken et al., 2021 ; Finlay et al., 2020 ; Tong et al., 2020 ) or structure on the parameterization itself ( Huang et al., 2021 ; Yang and Karniadakis, 2022 ) . A variety of recent works have formulated the Schrödinger problem in the context of a learnable diffusion ( Bortoli et al., 2021 ; Su et al., 2023 ; Chen et al., 2022b ) . For the case of Gaussians, recent work has also identified an analytical solution ( Bunne et al., 2022 ) . In the interpolant framework, ( Albergo and Vanden-Eijnden, 2023 ; Liu et al., 2023b ; Lipman et al., 2023 ; Tong et al., 2023 ) all propose optimal transport extensions to the learning procedure. The method proposed in Liu et al. (2023b) ; Liu (2022) allows one to sequentially lower the transport cost through rectification, at the cost of introducing a bias unless the velocity field is perfectly learned. The method proposed in Albergo and Vanden-Eijnden (2023) is an unbiased framework at the cost of solving an additional optimization problem over the interpolant function. The statement of optimal transport in Lipman et al. (2023) only applies to Gaussians, but is shown to be practically useful in experimental demonstrations.
中
理论与实践都关心连接 ρ₀、ρ₁ 的输运成本最小化。确定性映射对应最优输运,扩散映射对应 Schrödinger 桥(Villani,2009;Chen 等,2021);形式上后者可视作熵正则最优输运。最优输运主要用于正则化流模型:惩罚路径长度(Zhang 等,2018;Onken 等,2021;Finlay 等,2020;Tong 等,2020),或约束参数化结构(Huang 等,2021;Yang 与 Karniadakis,2022)。一些研究在可学习扩散中表述 Schrödinger 问题(Bortoli 等,2021;Su 等,2023;Chen 等,2022b);高斯情形还有解析解(Bunne 等,2022)。插值框架中的多项工作均提出最优输运扩展。Liu 等(2023b)与 Liu(2022)通过矫正逐步降低输运成本,但除非速度学得完美,否则引入偏差;Albergo 与 Vanden-Eijnden(2023)无偏,但须额外优化插值函数。Lipman 等(2023)的最优输运论述只适用于高斯,不过实验显示有实践价值。

SOURCE PDF p.8 · S1.SS3.SSS0.Px5.p2.1
EN
In the method proposed below, we provide two approaches for optimizing the transport under a stochastic dynamics. Our primary approach, based on the scheme introduced in Albergo and Vanden-Eijnden (2023) , is presented in Section 3.4 . It offers an alternative route to solve the Schrödinger bridge problem under the Benamou-Brenier hydrodynamic formulation of transport by maximizing over the interpolant ( Benamou and Brenier, 2000 ) . However, we stress that this additional optimization step is not necessary in practice, as our approach leads to bias-free generative models for any fixed interpolant. In addition, Section 5.3 discusses an unbiased variant of the rectification scheme proposed in Liu et al. (2023b) .
中
下文给出两种优化随机动力学输运的方式。主要方法见第 3.4 节,基于 Albergo 与 Vanden-Eijnden(2023):在 Benamou–Brenier 流体动力学表述(Benamou 与 Brenier,2000)下,对插值做最大化,为求 Schrödinger 桥提供另一条路线。但实践中并不需要这项额外优化,因为任意固定插值都可导出无偏生成模型。第 5.3 节还讨论 Liu 等(2023b)矫正方案的无偏变体。

Convergence bounds. 收敛界

SOURCE PDF p.8 · S1.SS3.SSS0.Px6.p1.1
EN
Inspired by the successes of score-based diffusion, significant recent research effort has been expended to understand the control that can be obtained on suitable distances between the distribution of the generative model and the target data distribution, such as KL\mathsf{KL} , W2W_{2} , or TV\mathsf{TV} . Perhaps the first line of work in this direction is Song et al. (2021a) , which showed that standard score-based diffusion training techniques bound the likelihood of the resulting SDE model. Importantly, as we show here, the likelihood of the corresponding probability flow is not bounded in general by this technique, as first highlighted in the context of SBDM by Lu et al. (2022) . Control for SBDM-based techniques was later quantified more rigorously under the assumption of functional inequalities in a discretized setting by Lee et al. (2022) , which were removed by Lee et al. (2023) and Chen et al. (2023) via Girsanov-based techniques. Most relevant to the PDE-based methods considered here is Chen et al. (2022a) , which applies similar techniques to our own in the SBDM context to obtain sharp guarantees with minimal assumptions.
中
得分扩散的成功激发了大量研究,旨在控制生成分布与目标之间的 KL、W₂、TV 等距离。较早的 Song 等(2021a)证明,标准得分扩散训练可以界定相应 SDE 模型的似然。重要的是,此技术通常不能界定对应概率流的似然;Lu 等(2022)在 SBDM 中首先指出,本文也予以说明。Lee 等(2022)在离散化设置和函数不等式假设下作了严格量化,Lee 等(2023)、Chen 等(2023)用 Girsanov 技术移除这些假设。与本文 PDE 方法最相关的是 Chen 等(2022a),他们在 SBDM 中以相似技术、较少假设得到紧保证。

1.4 Notation 1.4 记号

SOURCE PDF p.9 · S1.SS4.p1.1
EN
Throughout, we denote probability density functions as ρ0(x)\rho_{0}(x) , ρ1(x)\rho_{1}(x) , and ρ(t,x)\rho(t,x) , with t∈[0,1]t\in[0,1] and x∈Rdx\in{\mathbb{R}}^{d} , omitting the function arguments when clear from the context. We proceed similarly for other functions of time and space, such as b(t,x)b(t,x) or I(t,x0,x1)I(t,x_{0},x_{1}) . We use the subscript tt to denote the time-dependency of stochastic processes, such as the stochastic interpolant xtx_{t} or the Wiener process WtW_{t} . To specify that the random variable x0x_{0} is drawn from the probability distribution with density ρ0\rho_{0} , say, with a slight abuse of notations we use x0∼ρ0x_{0}\sim\rho_{0} . Similarly, we use N(0,Id){\sf N}(0,\text{\it Id}) to denote both the density and the distribution of the Gaussian random variable with mean zero and covariance identity. We denote expectation by E{\mathbb{E}} , and usually specify the random variables this expectation is taken over. With a slight abuse of terminology, we say that the law of the process xtx_{t} is ρ(t)\rho(t) if ρ(t)\rho(t) is the density of the probability distribution of xtx_{t} at time tt .
中
全文用 ρ₀(x)、ρ₁(x)、ρ(t,x) 表示概率密度,t∈[0,1]、x∈Rᵈ;语境明确时省略自变量。b(t,x)、I(t,x₀,x₁) 等函数也同样处理。随机过程的时间依赖用下标 t 表示,如 xₜ、Wₜ。略微滥用记号,以 x₀∼ρ₀ 表示随机变量取自密度为 ρ₀ 的分布;N(0,Id) 同时表示零均值、单位协方差高斯的密度与分布。E 表示期望,通常注明所平均的随机变量。若 ρ(t) 是 xₜ 在时刻 t 的密度,文中也略宽泛地说过程 xₜ 的“分布”为 ρ(t)。

SOURCE PDF p.9 · S1.SS4.p2.1
EN
We use standard notation for function spaces: for example, C1([0,1])C^{1}([0,1]) is the space of continuously differentiable functions from [0,1][0,1] to R{\mathbb{R}} , (C2(Rd))d(C^{2}({\mathbb{R}}^{d}))^{d} is the space of twice continuously differentiable functions from Rd{\mathbb{R}}^{d} to Rd{\mathbb{R}}^{d} , and C0p(Rd)C^{p}_{0}({\mathbb{R}}^{d}) is the space of compactly supported functions from Rd{\mathbb{R}}^{d} to R{\mathbb{R}} that are continuously differentiable pp times. Given a function b:[0,1]×Rd→Rdb:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} with value b(t,x)b(t,x) at (t,x)(t,x) , we use b∈C1([0,1];(C2(Rd))d)b\in C^{1}([0,1];(C^{2}({\mathbb{R}}^{d}))^{d}) to indicate that bb is continuously differentiable in tt for all (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} and that b(t,⋅)b(t,\cdot) is an element of (C2(Rd))d(C^{2}({\mathbb{R}}^{d}))^{d} for all t∈[0,1]t\in[0,1] .
中
函数空间使用标准记号。例如 C¹([0,1]) 是从 [0,1] 到 R 的连续可微函数空间;(C²(Rᵈ))ᵈ 是从 Rᵈ 到 Rᵈ 的二阶连续可微函数空间;C₀ᵖ(Rᵈ) 是具有紧支撑、p 阶连续可微的实值函数空间。对 b:[0,1]×Rᵈ→Rᵈ,记 b∈C¹([0,1];(C²(Rᵈ))ᵈ),表示 b 关于 t 连续可微,且对每个 t,b(t,·) 关于 x 二阶连续可微。

2 Stochastic interpolant framework 2 随机插值框架

2.1 Definitions and assumptions 2.1 定义与假设

SOURCE PDF p.9 · S2.SS1.p1.1
EN
We begin by defining the stochastic processes that are central to our approach:
中
先定义本方法的核心随机过程。

Definition 1 (Stochastic interpolant) . 定义 1(随机插值)

SOURCE PDF p.9 · Thmtheorem1.p1.1
EN
Given two probability density functions ρ0,ρ1:Rd→R≥0\rho_{0},\rho_{1}:{{\mathbb{R}}^{d}}\rightarrow{\mathbb{R}}_{\geq 0} , a stochastic interpolant between ρ0\rho_{0} and ρ1\rho_{1} is a stochastic process xtx_{t} defined as
中
给定概率密度 ρ₀、ρ₁:Rᵈ→R≥0,二者之间的随机插值,是按下式定义的随机过程 xₜ。
xt=I(t,x0,x1)+γ(t)z,t∈[0,1],x_{t}=I(t,x_{0},x_{1})+\gamma(t)z,\qquad t\in[0,1],

SOURCE PDF p.9 · Thmtheorem1.p1.2
EN
where:
中
其中各项满足下列条件。

SOURCE PDF p.9 · S2.I1.i1.p1.2
EN
I∈C2([0,1],C2(Rd×Rd)d)I\in C^{2}([0,1],C^{2}({\mathbb{R}}^{d}\times{\mathbb{R}}^{d})^{d}) satisfies the boundary conditions I(0,x0,x1)=x0I(0,x_{0},x_{1})=x_{0} and I(1,x0,x1)=x1I(1,x_{0},x_{1})=x_{1} , as well as
中
I∈C²([0,1],C²(Rᵈ×Rᵈ)ᵈ) 满足端点条件 I(0,x₀,x₁)=x₀、I(1,x₀,x₁)=x₁,以及下列增长约束。
∃C1<∞ :∣∂tI(t,x0,x1)∣≤C1∣x0−x1∣∀(t,x0,x1)∈[0,1]×Rd×Rd.\displaystyle\exists C_{1}<\infty\ : \qquad \displaystyle|\partial_{t}I(t,x_{0},x_{1})|\leq C_{1}|x_{0}-x_{1}|\quad \qquad \displaystyle\forall(t,x_{0},x_{1})\in[0,1]\times{\mathbb{R}}^{d}\times{\mathbb{R}}^{d}.

SOURCE PDF p.9 · S2.I1.i2.p1.1
EN
γ:[0,1]→R\gamma:[0,1]\to{\mathbb{R}} satisfies γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0 , γ(t)>0\gamma(t)>0 for all t∈(0,1)t\in(0,1) , and γ2∈C2([0,1])\gamma^{2}\in C^{2}([0,1]) .
中
γ:[0,1]→R 满足 γ(0)=γ(1)=0;对全部内点 t∈(0,1),γ(t)>0;并且 γ²∈C²([0,1])。

SOURCE PDF p.9 · S2.I1.i3.p1.1
EN
The pair (x0,x1)(x_{0},x_{1}) is drawn from a probability measure ν\nu that marginalizes on ρ0\rho_{0} and ρ1\rho_{1} , i.e.
中
端点对 (x₀,x₁) 从概率测度 ν 采样,其两个边缘分别为 ρ₀ 与 ρ₁,即下式。
ν(dx0,Rd)=ρ0(x0)dx0,ν(Rd,dx1)=ρ1(x1)dx1.\nu(dx_{0},{\mathbb{R}}^{d})=\rho_{0}(x_{0})dx_{0},\qquad\nu({\mathbb{R}}^{d},dx_{1})=\rho_{1}(x_{1})dx_{1}.

SOURCE PDF p.9 · S2.I1.i4.p1.1
EN
zz is a Gaussian random variable independent of (x0,x1)(x_{0},x_{1}) , i.e. z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) and z⊥(x0,x1)z\perp(x_{0},x_{1}) .
中
z 是独立于 (x₀,x₁) 的高斯变量,即 z∼N(0,Id)、z⊥(x₀,x₁)。

SOURCE PDF p.10 · S2.SS1.p2.1
EN
Eq. ( 2.2 ) states that I(t,x0,x1)I(t,x_{0},x_{1}) does not move too fast along the way from x0x_{0} at t=0t=0 to x1x_{1} at t=1t=1 , and as a result does not wander too far from either endpoint – this assumption is made for convenience but is not necessary for most arguments below. Later, we will find it useful to consider choices for II that are spatially nonlinear, which we show can recover the solution to the Schrödinger bridge problem. Nevertheless, a simple example that serves as a valid II in the sense of Definition 1 is given in ( 1.1 ). The measure ν\nu allows for a coupling between the two densities ρ0\rho_{0} and ρ1\rho_{1} , which affects the properties of the stochastic interpolant, but a simple choice is to take the product measure ν(dx0,dx1)=ρ0(x0)ρ1(x1)dx0dx1\nu(dx_{0},dx_{1})=\rho_{0}(x_{0})\rho_{1}(x_{1})dx_{0}dx_{1} , in which case x0x_{0} and x1x_{1} are independent. In Section 6 we discuss how to design the stochastic interpolant in ( 2.1 ) and state some properties of the corresponding process xtx_{t} . Examples of stochastic interpolants are also shown in Figure 2 for various choices of II and γ\gamma .
中
式(2.2)说明 I 从 x₀ 走向 x₁ 时不会移动过快,从而不会离两端太远;这个假设为方便而设,下文大部分论证并非必需。后文会使用空间非线性的 I,并证明它可以恢复 Schrödinger 桥解。简单的合法实例已见式(1.1)。测度 ν 容许 ρ₀、ρ₁ 之间耦合,并影响插值性质;最简单是乘积测度 ν(dx₀,dx₁)=ρ₀(x₀)ρ₁(x₁)dx₀dx₁,此时端点独立。第 6 节讨论设计式(2.1)的方式与性质;图 2 展示不同 I、γ 的例子。

Remark 2 (Comparison with Albergo and Vanden-Eijnden (2023) ) . 说明 2(与先前框架比较)

SOURCE PDF p.10 · Thmtheorem2.p1.1
EN
The main difference between the stochastic interpolant defined in ( 2.1 ) and the one originally introduced in Albergo and Vanden-Eijnden (2023) is the inclusion of the latent variable γ(t)z\gamma(t)z . Many of the results below also hold when we set γ(t)z=0\gamma(t)z=0 , but the objective of the present paper is to elucidate the advantages that this additional term provides when neither of the endpoints are Gaussian. We note that we could generalize the construction by making γ(t)\gamma(t) a tensor; here we focus on the scalar case for simplicity. Another difference is the possibility to couple ρ0\rho_{0} and ρ1\rho_{1} via ν\nu . While the latent variable can be drawn from any noise distribution, as we will see, it will be convenient to choose it to be a Gaussian.
中
与 Albergo 与 Vanden-Eijnden(2023)相比,主要不同是加入潜变量 γ(t)z。令它为零时,许多下述结果仍成立,但本文着重阐明两端都非高斯时额外噪声项的好处。γ 可推广为张量,此处为简单取标量。另一差别是可通过 ν 耦合两端。潜变量可来自任意噪声分布,不过高斯选择会使分析更方便。

原图 F002

Original caption: Figure 2 : Design flexibility. An illustration of how stochastic interpolants can be tailored to specific aims. All examples show one realization of xtx_{t} with one x0∼ρ0x_{0}\sim\rho_{0} , one x1∼ρ1x_{1}\sim\rho_{1} (the flowers at the left and right of the figures), and one z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) . Top, Upper middle, and lower middle : various interpolants, ranging from direct interpolation with no latent variable (as in Albergo and Vanden-Eijnden (2023) ) to Gaussian encoding-decoding in which the data transitions to pure noise at the mid-point. Bottom : one-sided interpolant, which connects with score-based diffusion methods.

中
图 2:设计灵活性。各例固定一个 x₀∼ρ₀、一个 x₁∼ρ₁(两端花朵)及一个 z∼N(0,Id),展示一次 xₜ 实现。上面三行从不含潜变量的直接插值,到在中点变成纯噪声的高斯编码—解码。最下一行为与得分扩散相联系的单侧插值。

SOURCE PDF p.10 · S2.SS1.p3.1
EN
The stochastic interpolant xtx_{t} in ( 2.1 ) is a continuous-time stochastic process whose realizations are samples from ρ0\rho_{0} at time t=0t=0 and from ρ1\rho_{1} at time t=1t=1 by construction. As a result, it offers a way to bridge ρ0\rho_{0} and ρ1\rho_{1} – we are interested in characterizing the law of xtx_{t} over the full interval [0,1][0,1] , as it will allow us to design generative models. Mathematically, we want to characterize the properties of the time-dependent probability distribution μ(t,dx)\mu(t,dx) such that
中
按构造,式(2.1)的连续时间过程在 t=0、t=1 分别取样于 ρ₀、ρ₁,因而实现桥接。为构建生成模型,我们关注完整区间内 xₜ 的分布。数学上,希望刻画满足下式的时变概率测度 μ(t,dx)。
∀t∈[0,1]:∫Rdϕ(x)μ(t,dx)=E[ϕ(xt)]for any test functionϕ∈C0∞(Rd),\forall t\in[0,1]\quad:\quad\int_{{\mathbb{R}}^{d}}\phi(x)\mu(t,dx)={\mathbb{E}}[\phi(x_{t})]\quad\text{for any test function}\quad\phi\in C^{\infty}_{0}({\mathbb{R}}^{d}),

SOURCE PDF p.10 · S2.SS1.p3.2
EN
where xtx_{t} is defined in ( 2.1 ) and the expectation is taken independently over (x0,x1)∼ν(x_{0},x_{1})\sim\nu , and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) . To this end, we will need to use conditional expectations over xtx_{t} 1 1 1 Formally, in terms of the Dirac delta distribution, we can write E[f(t,x0,x1,z)∣xt=x]=E[f(t,x0,x1,z)δ(x−xt)]E[δ(x−xt)]{\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}=x\right]=\frac{{\mathbb{E}}\left[f(t,x_{0},x_{1},z)\delta(x-x_{t})\right]}{{\mathbb{E}}[\delta(x-x_{t})]} and in this notation we also have μ(t,x)=E[δ(x−xt)\mu(t,x)={\mathbb{E}}[\delta(x-x_{t}) ]. , as described in the following definition.
中
其中 xₜ 由式(2.1)定义,期望分别对 (x₀,x₁)∼ν 与独立 z∼N(0,Id) 计算。为此需定义给定 xₜ 的条件期望。注 1:形式上可用 Dirac delta 写成 E[f(t,x0,x1,z)∣xt=x]=E[f(t,x0,x1,z)δ(x−xt)]/E[δ(x−xt)]\mathbb E[f(t,x_0,x_1,z)|x_t=x]=\mathbb E[f(t,x_0,x_1,z)\delta(x-x_t)]/\mathbb E[\delta(x-x_t)],且 μ(t,x)=E[δ(x−xₜ)]。
E[f(t,x0,x1,z)∣xt=x]=E[f(t,x0,x1,z)δ(x−xt)]E[δ(x−xt)]{\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}=x\right]=\frac{{\mathbb{E}}\left[f(t,x_{0},x_{1},z)\delta(x-x_{t})\right]}{{\mathbb{E}}[\delta(x-x_{t})]}

Definition 3 . 定义 3

SOURCE PDF p.10 · Thmtheorem3.p1.1
EN
Given any f:[0,1]×Rd×Rd×Rd→Rf:[0,1]\times{\mathbb{R}}^{d}\times{\mathbb{R}}^{d}\times{\mathbb{R}}^{d}\to{\mathbb{R}} , its conditional expectation E[f(t,x0,x1,z)∣xt=x]{\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}=x\right] is the function of xx such that, for any test function ϕ∈C0∞(Rd)\phi\in C^{\infty}_{0}({\mathbb{R}}^{d}) , we have
中
给定任意 f:[0,1]×Rᵈ×Rᵈ×Rᵈ→R,其条件期望 E[f(t,x₀,x₁,z)|xₜ=x] 是关于 x 的函数,对任意测试函数 φ∈C₀∞(Rᵈ) 都满足下式。
∀t∈[0,1]:∫Rdϕ(x)E[f(t,x0,x1,z)∣xt=x]μ(t,dx)=E[ϕ(xt)f(t,x0,x1,z)],\forall t\in[0,1]\quad:\quad\int_{{\mathbb{R}}^{d}}\phi(x){\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}=x\right]\mu(t,dx)={\mathbb{E}}[\phi(x_{t})f(t,x_{0},x_{1},z)],

SOURCE PDF p.11 · Thmtheorem3.p1.2
EN
where μ(t,dx)\mu(t,dx) is the time-dependent distribution of xtx_{t} defined by ( 3 ), and the expectation on the right-hand side is taken independently over (x0,x1)∼ν(x_{0},x_{1})\sim\nu and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) with xtx_{t} given by ( 2.1 ).
中
其中 μ(t,dx) 是定义 3 所用 xₜ 的时变分布;右侧期望分别对 (x₀,x₁)∼ν 与独立 z∼N(0,Id) 计算,xₜ 由式(2.1)给定。

SOURCE PDF p.11 · S2.SS1.p4.1
EN
Vector-valued functions have conditional expectations that are defined analogously. Note that, with our definition, E[f(t,x0,x1,z)∣xt=x]{\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}=x\right] is a deterministic function of (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} , not to be confused with the random variable E[f(t,x0,x1,z)∣xt]{\mathbb{E}}\left[f(t,x_{0},x_{1},z)|x_{t}\right] that can be defined analogously.
中
向量值函数的条件期望类似定义。注意,这里的 E[f|xₜ=x] 是 (t,x) 的确定性函数,不应与可类似定义的随机变量 E[f|xₜ] 混淆。

Remark 4 . 说明 4

SOURCE PDF p.11 · Thmtheorem4.p1.1
EN
Another seemingly more general way to define the stochastic interpolant is via
中
另一种看似更一般的随机插值定义方式如下。
xtd=I(t,x0,x1)+Ntx^{\mathsf{d}}_{t}=I(t,x_{0},x_{1})+N_{t}

SOURCE PDF p.11 · Thmtheorem4.p1.2
EN
where N:[0,1]→RdN:[0,1]\to{\mathbb{R}}^{d} is a zero-mean Gaussian stochastic process constrained to satisfy Nt=0=Nt=1=0N_{t=0}=N_{t=1}=0 . As we will show below, our construction only depends on the single-time properties of NtN_{t} , which are completely specified by E[NtNtT]{\mathbb{E}}[N_{t}N^{\mathsf{T}}_{t}] . That is, if we take γ(t)\gamma(t) in ( 2.1 ) such that E[NtNtT]=γ2(t)Id{\mathbb{E}}[N_{t}N^{\mathsf{T}}_{t}]=\gamma^{2}(t)\text{\it Id} , then the probability distribution of xtx_{t} will coincide with that of xt′x^{\prime}_{t} defined in ( 2.6 ), xt=dxtdx_{t}\stackrel{{\scriptstyle\text{d}}}{{=}}x^{\mathsf{d}}_{t} . For example, taking γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)} in ( 2.1 ) – a choice we will consider below in Sec. 3.4 – is equivalent to choosing NtN_{t} to be a Brownian bridge in ( 2.6 ), i.e. the stochastic process realizable in terms of the Wiener process WtW_{t} as Nt=Wt−tW1N_{t}=W_{t}-tW_{1} . This observation will also help us draw an analogy between our approach and the construction used in score-based diffusion models as well as methods based on stochastic bridges. As we will show in Sec. 3.4 , it is simpler for both analysis and practical implementation to work with the definition ( 2.1 ) for xtx_{t} .
中
其中 N 是零均值高斯过程,受约束 N₀=N₁=0。下文构造只依赖 Nₜ 的单时刻性质,而这些性质完全由 E[NₜNₜᵀ] 指定。因此若选择 γ 使该协方差为 γ²(t)Id,则式(2.1)的 xₜ 与式(2.6)的过程具有相同单时刻分布。例如 γ(t)=√[t(1−t)] 等价于在式(2.6)中采用 Brownian 桥 Nₜ=Wₜ−tW₁。这也帮助建立与得分扩散、随机桥的类比。第 3.4 节将说明,分析及实现时用式(2.1)更简单。

SOURCE PDF p.12 · S2.SS1.p5.1
EN
To proceed, we will make the following assumption on the densities ρ0\rho_{0} , ρ1\rho_{1} , and the interplay between the measure ν\nu to the function II :
中
接下来对密度 ρ₀、ρ₁,以及测度 ν 与函数 I 的配合作如下假设。

Assumption 5 . 假设 5

SOURCE PDF p.12 · Thmtheorem5.p1.1
EN
The densities ρ0\rho_{0} and ρ1\rho_{1} are strictly positive elements of C2(Rd)C^{2}({\mathbb{R}}^{d}) and are such that
中
ρ₀、ρ₁ 是 C²(Rᵈ) 中严格为正的密度,并满足下列 Fisher 信息有限条件。
∫Rd∣∇log⁡ρ0(x)∣2ρ0(x)dx<∞and∫Rd∣∇log⁡ρ1(x)∣2ρ1(x)dx<∞.\int_{{\mathbb{R}}^{d}}|\nabla\log\rho_{0}(x)|^{2}\rho_{0}(x)dx<\infty\quad\text{and}\quad\int_{{\mathbb{R}}^{d}}|\nabla\log\rho_{1}(x)|^{2}\rho_{1}(x)dx<\infty.

SOURCE PDF p.12 · Thmtheorem5.p1.2
EN
The measure ν\nu and the function II are such that
中
测度 ν、函数 I 满足下列统一矩约束。
∃M1,M2<∞  :  E[∣∂tI(t,x0,x1)∣4]≤M1;E[∣∂t2I(t,x0,x1)∣2]≤M2,∀t∈[0,1],\exists M_{1},M_{2}<\infty\ \ :\ \ {\mathbb{E}}\big[|\partial_{t}I(t,x_{0},x_{1})|^{4}\big]\leq M_{1};\quad{\mathbb{E}}\big[|\partial^{2}_{t}I(t,x_{0},x_{1})|^{2}\big]\leq M_{2},\quad\forall t\in[0,1],

SOURCE PDF p.12 · Thmtheorem5.p1.3
EN
where the expectation is taken over (x0,x1)∼ν(x_{0},x_{1})\sim\nu .
中
期望对 (x₀,x₁)∼ν 计算。

SOURCE PDF p.12 · S2.SS1.p6.1
EN
Note that for the interpolant ( 1.1 ), Assumption 5 holds if ρ0\rho_{0} and ρ1\rho_{1} both have finite fourth moments.
中
对式(1.1)的插值,只要 ρ₀、ρ₁ 都有有限四阶矩,假设 5 就成立。

原图 F003

Original caption: Figure 3 : Algorithmic implementation. A simple overview of suggested implementation strategies. For deterministic sampling, a single velocity field bb can be learned by minimizing the empirical loss in the top row. For stochastic sampling, the velocity field bb , along with the denoiser ηz\eta_{z} , can be learned by minimizing the two empirical losses specified in the bottom row. To sample deterministically, off-the-shelf ODE integrators can be used to integrate the probability flow equation. To sample stochastically, the listed SDE can be integrated using standard techniques such as the Euler-Maruyama method or the Heun sampler introduced in Karras et al. (2022) . The time-dependent diffusion coefficient ϵ(t)\epsilon(t) can be specified after learning to maximize sample quality.

中
图 3:算法实现概览。确定性采样只需最小化上行经验损失学习速度 b;随机采样则最小化下行两个损失,学习 b 和去噪器 ηz。前者用现成 ODE 积分器;后者用 Euler–Maruyama 或 Karras 等(2022)的 Heun 采样器。学习之后仍可指定时变扩散系数 ε(t),优化样本质量。

2.2 Transport equations, score, and quadratic objectives 2.2 输运方程、得分与二次目标

SOURCE PDF p.13 · S2.SS2.p1.1
EN
We now state a result that specifies some important properties of the probability distribution of the stochastic interpolant xtx_{t} :
中
现在给出随机插值 xₜ 的概率分布的一些重要性质。

Theorem 6 (Stochastic interpolant properties) . 定理 6(随机插值的性质)

SOURCE PDF p.13 · Thmtheorem6.p1.1
EN
The probability distribution of the stochastic interpolant xtx_{t} defined in ( 2.1 ) is absolutely continuous with respect to the Lebesgue measure at all times t∈[0,1]t\in[0,1] and its time-dependent density ρ(t)\rho(t) satisfies ρ(0)=ρ0\rho(0)=\rho_{0} , ρ(1)=ρ1\rho(1)=\rho_{1} , ρ∈C1([0,1];Cp(Rd))\rho\in C^{1}([0,1];C^{p}({\mathbb{R}}^{d})) for any p∈Np\in{\mathbb{N}} , and ρ(t,x)>0\rho(t,x)>0 for all (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} . In addition, ρ\rho solves the transport equation
中
式(2.1)定义的随机插值在全部 t∈[0,1] 时关于 Lebesgue 测度绝对连续。其时变密度满足 ρ(0)=ρ₀、ρ(1)=ρ₁;对任意自然数 p,ρ∈C¹([0,1];Cᵖ(Rᵈ));且对全部 (t,x)∈[0,1]×Rᵈ,ρ(t,x)>0。此外,ρ 满足下列输运方程。
∂tρ+∇⋅(bρ)=0,\partial_{t}\rho+\nabla\cdot\left(b\rho\right)=0,

SOURCE PDF p.13 · Thmtheorem6.p1.2
EN
where we defined the velocity
中
其中速度定义如下。
b(t,x)=E[x˙t∣xt=x]=E[∂tI(t,x0,x1)+γ˙(t)z∣xt=x].b(t,x)={\mathbb{E}}[\dot{x}_{t}|x_{t}=x]={\mathbb{E}}[\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z|x_{t}=x].

SOURCE PDF p.13 · Thmtheorem6.p1.3
EN
This velocity is in C0([0,1];(Cp(Rd))d)C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) for any p∈Np\in{\mathbb{N}} , and such that
中
对任意自然数 p,此速度属于 C⁰([0,1];(Cᵖ(Rᵈ))ᵈ),并满足下列二阶可积条件。
∀t∈[0,1]:∫Rd∣b(t,x)∣2ρ(t,x)dx<∞.\forall t\in[0,1]\quad:\quad\int_{{\mathbb{R}}^{d}}|b(t,x)|^{2}\rho(t,x)dx<\infty.

SOURCE PDF p.13 · S2.SS2.p2.1
EN
Note that this theorem means that we can write ( 2.4 ) as
中
此定理意味着,可以将式(2.4)写成下式。
∀t∈[0,1]:∫Rdϕ(x)ρ(t,x)dx=Eϕ(xt)for any test functionϕ∈C0∞(Rd).\forall t\in[0,1]\quad:\quad\int_{{\mathbb{R}}^{d}}\phi(x)\rho(t,x)dx={\mathbb{E}}\phi(x_{t})\quad\text{for any test function}\quad\phi\in C^{\infty}_{0}({\mathbb{R}}^{d}).

SOURCE PDF p.13 · S2.SS2.p2.2
EN
The transport equation ( 2.9 ) can be solved either forward in time from the initial condition ρ(0)=ρ0\rho(0)=\rho_{0} , in which case ρ(1)=ρ1\rho(1)=\rho_{1} , or backward in time from the final condition ρ(1)=ρ1\rho(1)=\rho_{1} , in which case ρ(0)=ρ0\rho(0)=\rho_{0} .
中
输运方程(2.9)既可从 ρ(0)=ρ₀ 向前求解、此时得到 ρ(1)=ρ₁,也可从终值 ρ(1)=ρ₁ 向后求解、此时得到 ρ(0)=ρ₀。

SOURCE PDF p.13 · S2.SS2.p3.1
EN
The proof of Theorem 6 is given in Appendix B.1 ; it mostly relies on manipulations involving the characteristic function of the stochastic interpolant xtx_{t} . The transport equation ( 2.9 ) for ρ\rho lead to methods for generative modeling and density estimation, as explained in Secs. 2.3 and 2.5 , provided that we can estimate the velocity bb . This velocity is explicitly available only in special cases, for example when ρ0\rho_{0} and ρ1\rho_{1} are both Gaussian mixture densities: this case is treated in Appendix A . In general bb must be calculated numerically, which can be performed via empirical risk minimization of a quadratic objective function, as characterized by our next result:
中
定理 6 的证明见附录 B.1,主要依赖对随机插值特征函数的操作。只要能估计速度 b,ρ 的输运方程便能导出生成建模、密度估计方法,见第 2.3、2.5 节。b 只有在特殊情形能显式获得,例如两端均为高斯混合密度,见附录 A。一般须数值计算,可通过二次目标的经验风险最小化实现,下一结果对此作出刻画。

Theorem 7 (Objective) . 定理 7(目标)

SOURCE PDF p.13 · Thmtheorem7.p1.1
EN
The velocity bb defined in ( 2.10 ) is the unique minimizer in C0([0,1];(C1(Rd))d)C^{0}([0,1];(C^{1}({\mathbb{R}}^{d}))^{d}) of the quadratic objective
中
式(2.10)的速度 b,是函数空间 C⁰([0,1];(C¹(Rᵈ))ᵈ) 中下列二次目标的唯一极小化解。
Lb[b^]=∫01E(12∣b^(t,xt)∣2−(∂tI(t,x0,x1)+γ˙(t)z)⋅b^(t,xt))dt\mathcal{L}_{b}[\hat{b}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{b}(t,x_{t})|^{2}-\left(\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z\right)\cdot\hat{b}(t,x_{t})\right)dt

SOURCE PDF p.13 · Thmtheorem7.p1.2
EN
where xtx_{t} is defined in ( 2.1 ) and the expectation is taken independently over (x0,x1)∼ν(x_{0},x_{1})\sim\nu and z∼N(0,Id).z\sim{\sf N}(0,\text{\it Id}).
中
其中 xₜ 由式(2.1)定义,期望分别对 (x₀,x₁)∼ν 与独立 z∼N(0,Id) 计算。

SOURCE PDF p.13 · S2.SS2.p4.1
EN
The proof of Theorem 7 is given in Appendix B.1 : it relies on the definitions of bb in ( 2.10 ), as well as the definition of ρ\rho in ( 2.12 ) and some elementary properties of the conditional expectation. We discuss how to estimate the objective function ( 2.13 ) in practice in Section 6 . Interestingly, we also have access to the score of the probability density, as shown by our next result:
中
定理 7 的证明见附录 B.1,使用式(2.10)对 b 的定义、式(2.12)对 ρ 的定义及条件期望的基本性质。第 6 节讨论实际估计目标(2.13)的方式。我们还可获得概率密度的得分,如下所示。

Theorem 8 (Score) . 定理 8(得分)

SOURCE PDF p.14 · Thmtheorem8.p1.1
EN
The score of the probability density ρ\rho specified in Theorem 6 is in C1([0,1];(Cp(Rd))d)C^{1}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) for any p∈Np\in{\mathbb{N}} and given by
中
定理 6 的密度得分对任意自然数 p 属于 C¹([0,1];(Cᵖ(Rᵈ))ᵈ),并由下式给出。
s(t,x)=∇log⁡ρ(t,x)=−γ−1(t)E(z∣xt=x)∀(t,x)∈(0,1)×Rds(t,x)=\nabla\log\rho(t,x)=-\gamma^{-1}(t){\mathbb{E}}(z|x_{t}=x)\quad\forall(t,x)\in(0,1)\times{\mathbb{R}}^{d}

SOURCE PDF p.14 · Thmtheorem8.p1.2
EN
In addition it satisfies
中
此外,它满足下列二阶可积条件。
∀t∈[0,1]:∫Rd∣s(t,x)∣2ρ(t,x)dx<∞,\forall t\in[0,1]\quad:\quad\int_{{\mathbb{R}}^{d}}|s(t,x)|^{2}\rho(t,x)dx<\infty,

SOURCE PDF p.14 · Thmtheorem8.p1.3
EN
and is the unique minimizer in C1([0,1];(C1(Rd))d)C^{1}([0,1];(C^{1}({\mathbb{R}}^{d}))^{d}) of the quadratic objective
中
并且是在 C¹([0,1];(C¹(Rᵈ))ᵈ) 中下列二次目标的唯一极小化解。
Ls[s^]=∫01E(12∣s^(t,xt)∣2+γ−1(t)z⋅s^(t,xt))dt\mathcal{L}_{s}[\hat{s}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{s}(t,x_{t})|^{2}+\gamma^{-1}(t)z\cdot\hat{s}(t,x_{t})\right)dt

SOURCE PDF p.14 · Thmtheorem8.p1.4
EN
where xtx_{t} is defined in ( 2.1 ) and the expectation is taken independently over (x0,x1)∼ν(x_{0},x_{1})\sim\nu and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id})
中
其中 xₜ 由式(2.1)定义,期望分别对 (x₀,x₁)∼ν 与独立 z∼N(0,Id) 计算。

SOURCE PDF p.14 · S2.SS2.p5.1
EN
The proof of Theorem 8 is given in Appendix B.1 . We stress that the objective function is well defined despite the fact that γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0 : see Section 6 for more details about how to evaluate this objective in practice.
中
定理 8 证明见附录 B.1。尽管 γ(0)=γ(1)=0,该目标仍定义良好;第 6 节给出实际计算细节。

Remark 9 (Denoiser) . 说明 9(去噪器)

SOURCE PDF p.14 · Thmtheorem9.p1.1
EN
The quantity
中
以下定义的量:
ηz(t,x)=E(z∣xt=x),\eta_{z}(t,x)={\mathbb{E}}(z|x_{t}=x),

SOURCE PDF p.14 · Thmtheorem9.p1.2
EN
will be referred as the denoiser, for reasons that will be made clear in Section 5.2 . By ( 2.14 ), this quantity gives access to the score on t∈(0,1)t\in(0,1) (where γ(t)>0\gamma(t)>0 ) since, from ( 2.14 ),
中
称为去噪器,理由见第 5.2 节。由式(2.14),在 γ(t)>0 的内点 t∈(0,1),可通过它获得得分,具体如下。
s(t,x)=−γ−1(t)ηz(t,x).s(t,x)=-\gamma^{-1}(t)\eta_{z}(t,x).

SOURCE PDF p.14 · Thmtheorem9.p1.3
EN
This denoiser is the minimizer of an equivalent expression to ( 2.16 ),
中
这个去噪器极小化下列与式(2.16)等价的目标。
Lηz[η^z]=∫01E(12∣η^z(t,xt)∣2−z⋅η^z(t,xt))dt.\mathcal{L}_{\eta_{z}}[\hat{\eta}_{z}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{\eta}_{z}(t,x_{t})|^{2}-z\cdot\hat{\eta}_{z}(t,x_{t})\right)dt.

SOURCE PDF p.14 · Thmtheorem9.p1.4
EN
The denoiser ηz\eta_{z} is useful for numerical realizations. In particular, the objective in ( 2.19 ) is easier to use than the one in ( 2.16 ) because it does not contain the factor γ−1(t)\gamma^{-1}(t) , which needs careful handling as tt approaches 0 and 1.
中
ηz 便于数值实现。尤其是,式(2.19)不含端点附近须谨慎处理的 γ⁻¹(t) 因子,因此比式(2.16)更易使用。

SOURCE PDF p.14 · S2.SS2.p6.1
EN
Having access to the score immediately allows us to rewrite the TE ( 2.9 ) as forward and backward Fokker-Planck equations, which we state as:
中
获得得分后,可立即将输运方程(2.9)改写为前向、后向 Fokker–Planck 方程,表述如下。

Corollary 10 (Fokker-Planck equations) . 推论 10(Fokker–Planck 方程)

SOURCE PDF p.14 · Thmtheorem10.p1.1
EN
For any ϵ∈C0([0,1])\epsilon\in C^{0}([0,1]) with ϵ(t)≥0\epsilon(t)\geq 0 for all t∈[0,1]t\in[0,1] , the probability density ρ\rho specified in Theorem 6 satisfies:
中
对任意 ε∈C⁰([0,1]) 且 ε(t)≥0,定理 6 给定的密度 ρ 满足下列方程。

SOURCE PDF p.14 · S2.I2.i1.p1.1
EN
The forward Fokker-Planck equation
中
前向 Fokker–Planck 方程如下。
∂tρ+∇⋅(bFρ)=ϵ(t)Δρ,ρ(0)=ρ0,\partial_{t}\rho+\nabla\cdot\left(b_{\mathsf{F}}\rho\right)=\epsilon(t)\Delta\rho,\qquad\rho(0)=\rho_{0},

SOURCE PDF p.14 · S2.I2.i1.p1.2
EN
where we defined the forward drift
中
其中前向漂移定义如下。
bF(t,x)=b(t,x)+ϵ(t)s(t,x).b_{\mathsf{F}}(t,x)=b(t,x)+\epsilon(t)s(t,x).

SOURCE PDF p.14 · S2.I2.i1.p1.3
EN
Equation ( 2.20 ) is well-posed when solved forward in time from t=0t=0 to t=1t=1 , and its solution for the initial condition ρ(t=0)=ρ0\rho(t=0)=\rho_{0} satisfies ρ(t=1)=ρ1\rho(t=1)=\rho_{1} .
中
从 t=0 向 t=1 求解式(2.20)是适定的;从初值 ρ(0)=ρ₀ 出发的解满足 ρ(1)=ρ₁。

SOURCE PDF p.14 · S2.I2.i2.p1.1
EN
The backward Fokker-Planck equation
中
后向 Fokker–Planck 方程如下。
∂tρ+∇⋅(bBρ)=−ϵ(t)Δρ,ρ(1)=ρ1,\partial_{t}\rho+\nabla\cdot\left(b_{\mathsf{B}}\rho\right)=-\epsilon(t)\Delta\rho,\qquad\rho(1)=\rho_{1},

SOURCE PDF p.14 · S2.I2.i2.p1.2
EN
where we defined the backward drift
中
其中后向漂移定义如下。
bB(t,x)=b(t,x)−ϵ(t)s(t,x).b_{\mathsf{B}}(t,x)=b(t,x)-\epsilon(t)s(t,x).

SOURCE PDF p.15 · S2.I2.i2.p1.3
EN
Equation ( 2.22 ) is well-posed when solved backward in time from t=1t=1 to t=0t=0 , and its solution for the final condition ρ(1)=ρ1\rho(1)=\rho_{1} satisfies ρ(0)=ρ0\rho(0)=\rho_{0} .
中
从 t=1 向 t=0 求解式(2.22)是适定的;满足终值 ρ(1)=ρ₁ 的解会得到 ρ(0)=ρ₀。

SOURCE PDF p.15 · S2.SS2.p7.1
EN
In Section 2.3 we will use the results of this theorem to design generative models based on forward and backward stochastic differential equations. Note that we can replace the diffusion coefficient ϵ(t)\epsilon(t) by a positive semi-definite tensor; also note that if we define ρB(tB,x)=ρ(1−tB,x)\rho_{\mathsf{B}}(t_{\mathsf{B}},x)=\rho(1-t_{\mathsf{B}},x) , the reversed FPE ( 2.22 ) can be written as
中
第 2.3 节将利用该推论设计前后向 SDE 生成模型。扩散系数 ε(t) 还可换成半正定张量。另若定义 ρB(tB,x)=ρ(1−tB,x),则逆向 FPE(2.22)可改写如下。
∂tBρB(tB,x)−∇⋅(bB(1−tB,x)ρB(tB,x))=ϵ(1−tB)ΔρB(tB,x),ρB(tB=0)=ρ1,\partial_{t_{\mathsf{B}}}\rho_{\mathsf{B}}({t_{\mathsf{B}}},x)-\nabla\cdot\left(b_{\mathsf{B}}(1-{t_{\mathsf{B}}},x)\rho_{\mathsf{B}}({t_{\mathsf{B}}},x)\right)=\epsilon(1-t_{\mathsf{B}})\Delta\rho_{\mathsf{B}}({t_{\mathsf{B}}},x),\qquad\rho_{\mathsf{B}}({t_{\mathsf{B}}}=0)=\rho_{1},

SOURCE PDF p.15 · S2.SS2.p7.2
EN
which is now well-posed forward in (reversed) time tBt_{\mathsf{B}} . So as to have only one definition of time tt , it is more convenient to work with ( 2.22 ).
中
这样,方程在反转时间 tB 下向前求解便是适定的。为统一时间 t 的定义,下文仍用式(2.22)更方便。

SOURCE PDF p.15 · S2.SS2.p8.1
EN
Let us make a few remarks about the statements made so far:
中
对以上结论补充若干说明。

Remark 11 . 说明 11

SOURCE PDF p.15 · Thmtheorem11.p1.1
EN
If we set γ(t)=0\gamma(t)=0 in xtx_{t} (i.e, if we remove the latent variable), the stochastic interpolant ( 2.1 ) reduces to the one originally considered in Albergo and Vanden-Eijnden (2023) . In this setup, the results above formally stand except that we cannot guarantee the spatial regularity of b(t,x)b(t,x) and s(t,x)s(t,x) , since it relies on the presence of the latent variable (as shown in the proof of Theorem 6 ). Hence, we expect the introduction of the latent variable γ(t)z\gamma(t)z to help for generative modeling, where the solution to the corresponding ODEs/SDEs will be better behaved, and for statistical approximation, since the targets bb and ss will be more regular. We will see in Section 6 that it also gives us much greater flexibility in the way we can bridge ρ0\rho_{0} and ρ1\rho_{1} , which will enable us to design generative models with appealing properties.
中
若令 γ(t)=0、即移除潜变量,式(2.1)退化为 Albergo 与 Vanden-Eijnden(2023)的原始插值。此时上述结果形式上仍成立,但无法保证 b(t,x)、s(t,x) 的空间正则性,因为正则性依赖潜变量,见定理 6 证明。因此预计加入 γ(t)z 有助生成建模:ODE/SDE 解更良性,统计近似的目标 b、s 也更光滑。第 6 节还将说明,额外噪声让连接两密度的设计更灵活,从而可构造具有优良性质的生成模型。

Remark 12 . 说明 12

SOURCE PDF p.15 · Thmtheorem12.p1.1
EN
We will see in Section 2.4 that the forward and backward FPE in ( 2.20 ) and ( 2.22 ) are more robust than the TE in ( 2.9 ) against approximation errors in the velocity bb and the score ss , which has practical implications for generative models based on these equations.
中
第 2.4 节将说明,相比输运方程(2.9),前后向 FPE(2.20)、(2.22)对速度 b、得分 s 的近似误差更稳健,这影响相应生成模型的实践表现。

Remark 13 . 说明 13

SOURCE PDF p.15 · Thmtheorem13.p1.1
EN
We could also obtain b(t,⋅)b(t,\cdot) at any t∈[0,1]t\in[0,1] by minimizing
中
也可以对每个固定 t∈[0,1],通过最小化下式求 b(t,·)。
E(12∣b^(t,xt)∣2−(∂tI(t,x0,x1)+γ˙(t)z)⋅b^(t,xt))t∈[0,1]{\mathbb{E}}\left(\tfrac{1}{2}|\hat{b}(t,x_{t})|^{2}-\left(\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z\right)\cdot\hat{b}(t,x_{t})\right)\qquad t\in[0,1]

SOURCE PDF p.15 · Thmtheorem13.p1.2
EN
and s(t,⋅)s(t,\cdot) at any t∈(0,1)t\in(0,1) by minimizing
中
并对每个固定 t∈(0,1),通过最小化下式求 s(t,·)。
E(12∣s^(t,xt)∣2+γ−1(t)z⋅s^(t,xt))t∈(0,1){\mathbb{E}}\left(\tfrac{1}{2}|\hat{s}(t,x_{t})|^{2}+\gamma^{-1}(t)z\cdot\hat{s}(t,x_{t})\right)\qquad t\in(0,1)

SOURCE PDF p.15 · Thmtheorem13.p1.3
EN
Using the time-integrated versions of these objectives given in ( 2.13 ) and ( 2.16 ) is more convenient numerically as it allows one to parameterize b^\hat{b} and s^\hat{s} globally for (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} .
中
数值上,使用式(2.13)、(2.16)的时间积分目标更方便,因为可在整个 (t,x)∈[0,1]×Rᵈ 上统一参数化 b̂、ŝ。

Remark 14 . 说明 14

SOURCE PDF p.15 · Thmtheorem14.p1.1
EN
From ( 2.10 ) we can write
中
由式(2.10)可将 b 写成下式。
b(t,x)=v(t,x)−γ˙(t)γ(t)s(t,x),b(t,x)=v(t,x)-\dot{\gamma}(t)\gamma(t)s(t,x),

SOURCE PDF p.16 · Thmtheorem14.p1.2
EN
where ss is the score given in ( 2.14 ) and we defined the velocity field
中
其中 s 是式(2.14)的得分,速度场 v 定义如下。
v(t,x)=E(∂tI(t,x0,x1)∣xt=x).v(t,x)={\mathbb{E}}(\partial_{t}I(t,x_{0},x_{1})|x_{t}=x).

SOURCE PDF p.16 · Thmtheorem14.p1.3
EN
The velocity field v∈C0([0,1];(Cp(Rd))d)v\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) for any p∈Np\in{\mathbb{N}} and can be characterized as the unique minimizer of
中
对任意自然数 p,v∈C⁰([0,1];(Cᵖ(Rᵈ))ᵈ),并可刻画为下列目标的唯一极小化解。
Lv[v^]=∫01E(12∣v^(t,xt)∣2−∂tI(t,x0,x1)⋅v^(t,xt))dt\mathcal{L}_{v}[\hat{v}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{v}(t,x_{t})|^{2}-\partial_{t}I(t,x_{0},x_{1})\cdot\hat{v}(t,x_{t})\right)dt

SOURCE PDF p.16 · Thmtheorem14.p1.4
EN
Learning this velocity and the score separately may be useful in practice.
中
分别学习这个速度与得分,在实践中可能有益。

Remark 15 . 说明 15

SOURCE PDF p.16 · Thmtheorem15.p1.1
EN
The objectives in ( 2.13 ) and ( 2.16 ) (as well as the ones in( 2.19 ) and ( 2.29 )) are amenable to empirical estimation if we have samples (x0,x1)∼ν(x_{0},x_{1})\sim\nu , since in that case we can generate samples of xt=I(t,x0,x1)+γ(t)zx_{t}=I(t,x_{0},x_{1})+\gamma(t)z at any time t∈[0,1]t\in[0,1] . We will use this feature in the numerical experiments presented below.
中
若能取得 (x₀,x₁)∼ν 样本,就可经验估计式(2.13)、(2.16)、(2.19)、(2.29)的目标:对任意 t∈[0,1] 都能生成 xₜ=I(t,x₀,x₁)+γ(t)z。后文数值实验将利用此性质。

Remark 16 . 说明 16

SOURCE PDF p.16 · Thmtheorem16.p1.1
EN
Since ss is the score of ρ\rho , an alternative objective to estimate it is ( Hyvärinen, 2005 )
中
由于 s 是 ρ 的得分,还可用 Hyvärinen(2005)的下列目标估计。
∫01E(∣s^(t,xt)∣2+2∇⋅s^(t,xt))dt.\int_{0}^{1}{\mathbb{E}}\left(|\hat{s}(t,x_{t})|^{2}+2\nabla\cdot\hat{s}(t,x_{t})\right)dt.

SOURCE PDF p.16 · Thmtheorem16.p1.2
EN
The derivation of ( 2.30 ) is standard: for the reader’s convenience we recall it at the end of Appendix B.1 . The advantage of using ( 2.16 ) over ( 2.30 ) is that it does not require us to take the divergence of s^\hat{s} .
中
式(2.30)的推导是标准结论,为方便读者,附录 B.1 末尾予以回顾。式(2.16)的优势是不需计算 ŝ 的散度。

Remark 17 (Energy-based models) . 说明 17(能量模型)

SOURCE PDF p.16 · Thmtheorem17.p1.1
EN
By definition, the score s(t,x)=∇log⁡ρ(t,x)s(t,x)=\nabla\log\rho(t,x) is a gradient field. As a result, if we model s^(t,x)=−∇E^(t,x)\hat{s}(t,x)=-\nabla\hat{E}(t,x) , we can turn ( 2.16 ) into an objective function for E^(t,x)\hat{E}(t,x)
中
按定义,s(t,x)=∇logρ(t,x) 是梯度场。因此若设 ŝ(t,x)=−∇Ê(t,x),便可将式(2.16)转为下列关于 Ê 的目标。
LE[E^]=∫01E(12∣∇E^(t,xt)∣2+γ−1(t)z⋅∇E^(t,xt))dt\mathcal{L}_{E}[\hat{E}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\nabla\hat{E}(t,x_{t})|^{2}+\gamma^{-1}(t)z\cdot\nabla\hat{E}(t,x_{t})\right)dt

SOURCE PDF p.16 · Thmtheorem17.p1.2
EN
This objective is invariant to constant shifts in E^\hat{E} and should therefore be minimized under some constraint, such as min⁡xE^(t,x)=0\min_{x}\hat{E}(t,x)=0 for all t∈[0,1]t\in[0,1] . The minimizer of ( 2.31 ) provides us with an energy-based model (EBM) ( LeCun et al., 2007 ; Song and Kingma, 2021 ) that can in principle be used to sample the PDF of the stochastic interpolant, ρ(t,x)\rho(t,x) , at any fixed t∈[0,1]t\in[0,1] using e.g. Langevin dynamics. We will not exploit this possibility here, and instead rely on generative models to sample ρ(t,x)\rho(t,x) , as discussed next in Sec. 2.3 .
中
目标对 Ê 加常数不变,因此应在某种约束下极小化,例如对任意 t∈[0,1] 令 minₓÊ(t,x)=0。式(2.31)的极小化解给出能量模型 EBM(LeCun 等,2007;Song 与 Kingma,2021),原则上可在固定 t 用 Langevin 动力学等方法采样插值密度 ρ(t,x)。本文不继续利用此途径,而采用第 2.3 节的生成模型采样。

2.3 Generative models 2.3 生成模型

SOURCE PDF p.16 · S2.SS3.p1.1
EN
Our next result is a direct consequence of Theorem 6 , and it shows how to design generative models using the stochastic processes associated with the TE ( 2.9 ), the forward FPE ( 2.20 ), and the backward FPE ( 2.22 ):
中
下一结论直接来自定理 6,说明如何使用与 TE(2.9)、前向 FPE(2.20)、后向 FPE(2.22)相联系的随机过程来设计生成模型。

Corollary 18 (Generative models) . 推论 18(生成模型)

SOURCE PDF p.17 · Thmtheorem18.p1.1
EN
At any time t∈[0,1]t\in[0,1] , the law of the stochastic interpolant xtx_{t} coincides with the law of the three processes XtX_{t} , XtFX^{\mathsf{F}}_{t} , and XtBX^{\mathsf{B}}_{t} , respectively defined as:
中
在任意 t∈[0,1],随机插值 xₜ 的分布分别与如下三个过程 Xₜ、XₜF、XₜB 的分布相同。

SOURCE PDF p.17 · S2.I3.i1.p1.1
EN
The solutions of the probability flow associated with the transport equation ( 2.9 )
中
与输运方程(2.9)相联系的概率流解如下。
ddtXt=b(t,Xt),\frac{d}{dt}X_{t}=b(t,X_{t}),

SOURCE PDF p.17 · S2.I3.i1.p1.2
EN
solved either forward in time from the initial data Xt=0∼ρ0X_{t=0}\sim\rho_{0} or backward in time from the final data Xt=1=x1∼ρ1X_{t=1}=x_{1}\sim\rho_{1} .
中
它既可从初值 X₀∼ρ₀ 向前求解,也可从终值 X₁=x₁∼ρ₁ 向后求解。

SOURCE PDF p.17 · S2.I3.i2.p1.1
EN
The solutions of the forward SDE associated with the FPE ( 2.20 )
中
与 FPE(2.20)相联系的前向 SDE 解如下。
dXtF=bF(t,XtF)dt+2ϵ(t) dWt,dX^{\mathsf{F}}_{t}=b_{\mathsf{F}}(t,X^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon(t)}\,dW_{t},

SOURCE PDF p.17 · S2.I3.i2.p1.2
EN
solved forward in time from the initial data Xt=0F∼ρ0X^{\mathsf{F}}_{t=0}\sim\rho_{0} independent of WW .
中
从独立于 W 的初值 X₀F∼ρ₀ 向前求解。

SOURCE PDF p.17 · S2.I3.i3.p1.1
EN
The solutions of the backward SDE associated with the backward FPE ( 2.22 )
中
与后向 FPE(2.22)相联系的后向 SDE 解如下。
dXtB=bB(t,XtB)dt+2ϵ(t) dWtB,WtB=−W1−t,dX^{\mathsf{B}}_{t}=b_{\mathsf{B}}(t,X^{\mathsf{B}}_{t})dt+\sqrt{2\epsilon(t)}\,dW^{\mathsf{B}}_{t},\quad W_{t}^{\mathsf{B}}=-W_{1-t},

SOURCE PDF p.17 · S2.I3.i3.p1.2
EN
solved backward in time from the final data Xt=1B∼ρ1X^{\mathsf{B}}_{t=1}\sim\rho_{1} independent of WBW^{\mathsf{B}} ; the solution of ( 2.34 ) is by definition XtB=Z1−tFX^{\mathsf{B}}_{t}=Z^{\mathsf{F}}_{1-t} where ZtFZ^{\mathsf{F}}_{t} satisfies
中
它从独立于 WB 的终值 X₁B∼ρ₁ 向后求解。按定义,式(2.34)的解为 XₜB=Z₁₋ₜF,其中 ZₜF 满足下式。
dZtF=−bB(1−t,ZtF)dt+2ϵ(t) dWt,dZ^{\mathsf{F}}_{t}=-b_{\mathsf{B}}(1-t,Z^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon(t)}\,dW_{t},

SOURCE PDF p.17 · S2.I3.i3.p1.3
EN
solved forward in time from the initial data Zt=0F∼ρ1Z^{\mathsf{F}}_{t=0}\sim\rho_{1} independent of WW .
中
该方程从独立于 W 的初值 Z₀F∼ρ₁ 向前求解。

SOURCE PDF p.17 · S2.SS3.p2.1
EN
To avoid repeated applications of the transformation t↦1−tt\mapsto 1-t , it is convenient to work with ( 2.34 ) directly using the reversed Itô calculus rules stated in the following lemma, which follows from the results in Anderson (1982) and is proven in Appendix B.2 :
中
为避免反复使用 t↦1−t 的变换,可以直接用下列引理的逆向 Itô 规则处理式(2.34)。引理来自 Anderson(1982),证明见附录 B.2。

Lemma 19 (Reverse Itô Calculus) . 引理 19(逆向 Itô 演算)

SOURCE PDF p.17 · Thmtheorem19.p1.1
EN
If XtBX^{\mathsf{B}}_{t} solves the backward SDE ( 2.34 ):
中
若 XₜB 满足后向 SDE(2.34),则有下列性质。

SOURCE PDF p.17 · S2.I4.i1.p1.1
EN
For any f∈C1([0,1];C02(Rd))f\in C^{1}([0,1];C_{0}^{2}({\mathbb{R}}_{d})) and t∈[0,1]t\in[0,1] , the backward Itô formula holds
中
对任意 f∈C¹([0,1];C₀²(Rᵈ))、t∈[0,1],后向 Itô 公式如下。
df(t,XtB)=∂tf(t,XtB)dt+∇f(XtB)⋅dXtB−ϵ(t)Δf(t,XtB)dt.df(t,X^{\mathsf{B}}_{t})=\partial_{t}f(t,X^{\mathsf{B}}_{t})dt+\nabla f(X^{\mathsf{B}}_{t})\cdot dX^{\mathsf{B}}_{t}-\epsilon(t)\Delta f(t,X^{\mathsf{B}}_{t})dt.

SOURCE PDF p.17 · S2.I4.i2.p1.2
EN
For any g∈C0([0,1];(C0(Rd))d)g\in C^{0}([0,1];(C_{0}({\mathbb{R}}_{d}))^{d}) and t∈[0,1]t\in[0,1] , the backward Itô isometries hold:
中
对任意 g∈C⁰([0,1];(C₀(Rᵈ))ᵈ)、t∈[0,1],后向 Itô 等距性质如下。
EBx∫t1g(t,XtB)⋅dWtB=0;EBx∣∫t1g(t,XtB)⋅dWtB∣2=∫t1EBx∣g(t,XtB)∣2dt,\displaystyle{\mathbb{E}}^{x}_{\mathsf{B}}\int_{t}^{1}g(t,X^{\mathsf{B}}_{t})\cdot dW^{\mathsf{B}}_{t}=0;\qquad{\mathbb{E}}^{x}_{\mathsf{B}}\left|\int_{t}^{1}g(t,X^{\mathsf{B}}_{t})\cdot dW^{\mathsf{B}}_{t}\right|^{2} \qquad \displaystyle=\int_{t}^{1}{\mathbb{E}}^{x}_{\mathsf{B}}\left|g(t,X^{\mathsf{B}}_{t})\right|^{2}dt,

SOURCE PDF p.17 · S2.I4.i2.p1.3
EN
where EBx{\mathbb{E}}^{x}_{\mathsf{B}} denotes expectation conditioned on the event Xt=1B=xX_{t=1}^{\mathsf{B}}=x .
中
其中 EBˣ 表示在 X₁B=x 的条件下计算的期望。

SOURCE PDF p.17 · S2.SS3.p3.1
EN
The relevance of Corollary 18 for generative modeling is clear. Assuming, for example, that ρ0\rho_{0} is a simple density that can be sampled easily (e.g. a Gaussian or a Gaussian mixture density), we can use the ODE ( 2.32 ) or the SDE ( 2.33 ) to push these samples forward in time and generate samples from a complex target density ρ1\rho_{1} . In Section 2.5 , we will show how to use the ODE ( 2.32 ) or the reverse SDE ( 2.34 ) to estimate ρ1\rho_{1} at any x∈Rdx\in{\mathbb{R}}^{d} assuming that we can evaluate ρ0\rho_{0} at any x∈Rdx\in{\mathbb{R}}^{d} . We will also show how similar ideas can be used to estimate the cross entropy between ρ0\rho_{0} and ρ1\rho_{1} .
中
推论 18 在生成建模中的意义直接可见。例如,若 ρ₀ 是高斯或高斯混合等容易采样的简单密度,就可用 ODE(2.32)或 SDE(2.33)向前推动这些样本,生成复杂目标 ρ₁ 的样本。第 2.5 节还将说明:只要能在任意 x∈Rᵈ 计算 ρ₀,便可用 ODE(2.32)或逆向 SDE(2.34)估计任意位置的 ρ₁,并可用类似思想估计二者的交叉熵。

Remark 20 . 说明 20

SOURCE PDF p.18 · Thmtheorem20.p1.1
EN
We stress that the stochastic interpolant xtx_{t} , the solution XtX_{t} to the ODE ( 2.32 ), and the solutions XtFX^{\mathsf{F}}_{t} and XtBX^{\mathsf{B}}_{t} of the forward and backward SDEs ( 2.33 ) and ( 2.34 ) are different stochastic processes, but their laws all coincide with ρ(t)\rho(t) at any time t∈[0,1]t\in[0,1] . This is all that matters when applying these processes as generative models. However, the fact that these processes are different has implications for the accuracy of the numerical integration used to sample from them at any tt as well as for the propagation of statistical errors (see also the next remark).
中
强调:插值 xₜ、ODE 解 Xₜ、前后向 SDE 解 XₜF、XₜB 是不同的随机过程,但在每个时刻都具有相同密度 ρ(t)。作为生成模型时,只需这一点。但过程不同会影响任意时刻采样所用数值积分的精度,也影响统计误差传播,见下一说明。

SOURCE PDF p.18 · S2.SS3.p4.1
EN
Generative models based on solutions XtX_{t} to the ODE ( 2.32 ), solutions XtFX^{\mathsf{F}}_{t} to the forward SDE ( 2.33 ), and solutions XtBX^{\mathsf{B}}_{t} to the backward SDE ( 2.34 ) will typically involve drifts bb , bFb_{\mathsf{F}} , and bBb_{\mathsf{B}} that are, in practice, imperfectly estimated via minimization of ( 2.13 ) and ( 2.16 ) over finite datasets. It is important to estimate how this statistical estimation error propagates to errors in sample quality, and how the propagation of error depends on the generative model used, which is the object of our next section.
中
实践中,ODE(2.32)、前向 SDE(2.33)、后向 SDE(2.34)的漂移 b、bF、bB,都通过有限数据上最小化式(2.13)、(2.16)估计,难免不完美。必须研究统计估计误差如何传播为样本质量误差,以及这种传播如何依赖所选生成模型,下一节对此分析。

2.4 Likelihood control 2.4 似然控制

SOURCE PDF p.18 · S2.SS4.p1.1
EN
In this section, we demonstrate that jointly minimizing the objective functions ( 2.29 ) and ( 2.16 ) (or the losses ( 2.13 ) and ( 2.16 )) controls the KL\mathsf{KL} -divergence from the target density ρ1\rho_{1} to the model density ρ^1\hat{\rho}_{1} . We focus on bounds involving the score, but we note that analogous results hold for learning the denoiser ηz(t,x)\eta_{z}(t,x) defined in ( 2.17 ) by the relation ηz(t,x)=−s(t,x)/γ(t)\eta_{z}(t,x)=-s(t,x)/\gamma(t) . The derivation is based on a simple and exact characterization of the KL\mathsf{KL} -divergence between two transport equations or two Fokker-Planck equations with different drifts. Remarkably, we find that the presence of a diffusive term determines whether or not it is sufficient to learn the drift to control KL\mathsf{KL} . This can be seen as a generalization of the result for score-based diffusion models described in Song et al. (2021a) to arbitrary generative models described by ODEs or SDEs. The proofs of the statements in this section are provided in Appendix B.3 . These proofs rely on manipulation of the time derivative of the KL\mathsf{KL} divergence, which is a practice that has proven useful elsewhere in the literature ( Vempala and Wibisono, 2019 ) .
中
本节证明,联合最小化式(2.29)与(2.16),或式(2.13)与(2.16),可控制从目标密度 ρ₁ 到模型密度 ρ̂₁ 的 KL 散度。重点给出涉及得分的界;学习式(2.17)的去噪器 ηz 也有类似结果。原文此处写 ηz=−s/γ;译注:按式(2.18)s=−ηz/γ,应为 ηz=−γs。推导基于对不同漂移的两个输运方程或 FPE 之间 KL 的简单精确刻画。扩散项的存在,决定了仅学习漂移是否足以控制 KL,这将 Song 等(2021a)关于得分扩散的结果推广到一般 ODE/SDE 生成模型。证明见附录 B.3,使用 KL 时间导数的操作;此做法也见 Vempala 与 Wibisono(2019)。

SOURCE PDF p.18 · S2.SS4.p2.1
EN
We first characterize the KL\mathsf{KL} divergence between two densities transported by two different continuity equations but initialized from the same initial condition:
中
先刻画从相同初值出发、由两个不同连续性方程输运的密度之间的 KL 散度。

Lemma 21 . 引理 21

SOURCE PDF p.18 · Thmtheorem21.p1.2
EN
Let ρ0:Rd→R≥0\rho_{0}:{\mathbb{R}}^{d}\rightarrow{\mathbb{R}}_{\geq 0} denote a fixed base probability density function. Given two velocity fields b,b^∈C0([0,1],(C1(Rd))d)b,\hat{b}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) , let the time-dependent densities ρ:[0,1]×Rd→R≥0\rho:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}_{\geq 0} and ρ^:[0,1]×Rd→R≥0\hat{\rho}:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}_{\geq 0} denote the solutions to the transport equations
中
固定基密度 ρ₀:Rᵈ→R≥0。给定 b、b̂∈C⁰([0,1],(C¹(Rᵈ))ᵈ),设时变密度 ρ、ρ̂:[0,1]×Rᵈ→R≥0 分别解下列输运方程。
∂tρ+∇⋅(bρ)=0,ρ(0)=ρ0,∂tρ^+∇⋅(b^ρ^)=0,ρ^(0)=ρ0.\displaystyle\partial_{t}\rho+\nabla\cdot(b\rho)=0,\qquad \qquad \displaystyle\rho(0)=\rho_{0}, \qquad \displaystyle\partial_{t}\hat{\rho}+\nabla\cdot(\hat{b}\hat{\rho})=0,\qquad \qquad \displaystyle\hat{\rho}(0)=\rho_{0}.

SOURCE PDF p.18 · Thmtheorem21.p1.3
EN
Then, the Kullback-Leibler divergence of ρ(1)\rho(1) from ρ^(1)\hat{\rho}(1) is given by
中
则从 ρ(1) 到 ρ̂(1) 的 Kullback–Leibler 散度如下。
KL(ρ(1) ∥ ρ^(1))=∫01∫Rd(∇log⁡ρ^(t,x)−∇log⁡ρ(t,x))⋅(b^(t,x)−b(t,x))ρ(t,x)dxdt.\mathsf{KL}(\rho(1)\>\|\>\hat{\rho}(1))=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\nabla\log\hat{\rho}(t,x)-\nabla\log\rho(t,x)\right)\cdot\big(\hat{b}(t,x)-b(t,x)\big)\rho(t,x)dxdt.

SOURCE PDF p.18 · S2.SS4.p3.1
EN
Lemma 21 shows that it is insufficient in general to match b^\hat{b} with bb to obtain control on the KL\mathsf{KL} divergence. The essence of the problem is that a small error in b^−b\hat{b}-b does not ensure control on the Fisher divergence FI(ρ(t) ∥ ρ^(t))=∫Rd∣∇log⁡ρ(t,x)−∇log⁡ρ^(t,x)∣2ρ(t,x)dx\mathsf{FI}(\rho(t)\>\|\>\hat{\rho}(t))=\int_{{\mathbb{R}}^{d}}\left|\nabla\log\rho(t,x)-\nabla\log\hat{\rho}(t,x)\right|^{2}\rho(t,x)dx , which is necessary due to the presence of (∇log⁡ρ^−∇log⁡ρ)\left(\nabla\log\hat{\rho}-\nabla\log\rho\right) in ( 2.39 ).
中
引理 21 表明,一般仅使 b̂ 接近 b 还不足以控制 KL。根本原因是 b̂−b 小,不保证 Fisher 散度 FI(ρ(t)∥ρ̂(t)) 小;该散度为 ∫∣∇log⁡ρ−∇log⁡ρ^∣2ρ dx\int|\nabla\log\rho-\nabla\log\hat\rho|^2\rho\,dx。式(2.39)包含两密度对数梯度之差,因此需要这种控制。

SOURCE PDF p.19 · S2.SS4.p4.1
EN
In the next lemma, we study the case for two Fokker-Planck equations, and highlight that the situation becomes quite different.
中
下一个引理研究两个 FPE,情形将明显不同。

Lemma 22 . 引理 22

SOURCE PDF p.19 · Thmtheorem22.p1.2
EN
Let ρ0:Rd→R≥0\rho_{0}:{\mathbb{R}}^{d}\rightarrow{\mathbb{R}}_{\geq 0} denote a fixed base probability density function. Given two velocity fields bF,b^F∈C0([0,1],(C1(Rd))d)b_{\mathsf{F}},\hat{b}_{\mathsf{F}}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) , let the time-dependent densities ρ:[0,1]×Rd→R≥0\rho:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}_{\geq 0} and ρ^:[0,1]×Rd→R≥0\hat{\rho}:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}_{\geq 0} denote the solutions to the Fokker-Planck equations
中
固定基密度 ρ₀:Rᵈ→R≥0。给定 bF、b̂F∈C⁰([0,1],(C¹(Rᵈ))ᵈ),设 ρ、ρ̂ 是下列 Fokker–Planck 方程的时变密度解。
∂tρ+∇⋅(bFρ)=ϵΔρ,ρ(0)=ρ0,∂tρ^+∇⋅(b^Fρ^)=ϵΔρ^,ρ^(0)=ρ0.\displaystyle\partial_{t}\rho+\nabla\cdot(b_{\mathsf{F}}\rho)=\epsilon\Delta\rho,\qquad \qquad \displaystyle\rho(0)=\rho_{0}, \qquad \displaystyle\partial_{t}\hat{\rho}+\nabla\cdot(\hat{b}_{\mathsf{F}}\hat{\rho})=\epsilon\Delta\hat{\rho},\qquad \qquad \displaystyle\hat{\rho}(0)=\rho_{0}.

SOURCE PDF p.19 · Thmtheorem22.p1.3
EN
where ϵ>0\epsilon>0 . Then, the Kullback-Leibler divergence from ρ(1)\rho(1) to ρ^(1)\hat{\rho}(1) is given by
中
其中 ε>0,则从 ρ(1) 到 ρ̂(1) 的 KL 散度如下。
KL(ρ(1) ∥ ρ^(1))=∫01∫Rd(∇log⁡ρ^(t,x)−∇log⁡ρ(t,x))⋅(b^F(t,x)−bF(t,x))ρ(t,x)dxdt−ϵ∫01∫Rd∣∇log⁡ρ(t,x)−∇log⁡ρ^(t,x)∣2ρ(t,x)dxdt,\displaystyle\mathsf{KL}(\rho(1)\>\|\>\hat{\rho}(1)) \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\nabla\log\hat{\rho}(t,x)-\nabla\log\rho(t,x)\right)\cdot\left(\hat{b}_{\mathsf{F}}(t,x)-b_{\mathsf{F}}(t,x)\right)\rho(t,x)dxdt \qquad \displaystyle-\epsilon\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\nabla\log\rho(t,x)-\nabla\log\hat{\rho}(t,x)\right|^{2}\rho(t,x)dxdt,

SOURCE PDF p.19 · Thmtheorem22.p1.4
EN
and as a result
中
因此得到下列上界。
KL(ρ(1) ∥ ρ^(1))≤14ϵ∫01∫Rd∣b^F(t,x)−bF(t,x)∣2ρ(t,x)dxdt.\displaystyle\mathsf{KL}(\rho(1)\>\|\>\hat{\rho}(1)) \qquad \displaystyle\leq\frac{1}{4\epsilon}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{b}_{\mathsf{F}}(t,x)-b_{\mathsf{F}}(t,x)\right|^{2}\rho(t,x)dxdt.

SOURCE PDF p.19 · S2.SS4.p5.1
EN
Lemma 22 shows that, unlike for transport equations, the KL\mathsf{KL} -divergence between the solutions of two Fokker-Planck equations is controlled by the error in their drifts. The diffusive term in each Fokker-Planck equation provides an additional negative term in the KL\mathsf{KL} -divergence, which eliminates the need for explicit control on the Fisher divergence.
中
引理 22 表明,与输运方程不同,两个 FPE 解之间的 KL 受漂移误差控制。每个 FPE 的扩散项在 KL 导数中提供一个额外负项,从而无需显式控制 Fisher 散度。

SOURCE PDF p.19 · S2.SS4.p6.1
EN
Putting the above results together, we can state the following result, which demonstrates that the losses ( 2.13 ) and ( 2.16 ) control the likelihood for learned approximations to the FPE ( 2.20 ).
中
综合可得下列结果:损失(2.13)、(2.16)控制 FPE(2.20)学习近似的似然。

Theorem 23 . 定理 23

SOURCE PDF p.19 · Thmtheorem23.p1.1
EN
Let ρ\rho denote the solution of the Fokker-Planck equation ( 2.20 ) with ϵ(t)=ϵ>0\epsilon(t)=\epsilon>0 . Given two velocity fields b^,s^∈C0([0,1],(C1(Rd))d)\hat{b},\hat{s}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) , define
中
设 ρ 是 ε(t)=ε>0 时 FPE(2.20)的解。给定 b̂、ŝ∈C⁰([0,1],(C¹(Rᵈ))ᵈ),定义下式。
b^F(t,x)=b^(t,x)+ϵs^(t,x),v^(t,x)=b^(t,x)+γ(t)γ˙(t)s^(t,x)\hat{b}_{\mathsf{F}}(t,x)=\hat{b}(t,x)+\epsilon\hat{s}(t,x),\qquad\hat{v}(t,x)=\hat{b}(t,x)+\gamma(t)\dot{\gamma}(t)\hat{s}(t,x)

SOURCE PDF p.19 · Thmtheorem23.p1.2
EN
where the function γ\gamma satisfies the properties listed in Definition 1 . Let ρ^\hat{\rho} denote the solution to the Fokker-Planck equation
中
其中 γ 满足定义 1。令 ρ̂ 解下列 FPE。
∂tρ^+∇⋅(b^Fρ^)=ϵΔρ^,ρ^(0)=ρ0.\partial_{t}\hat{\rho}+\nabla\cdot(\hat{b}_{\mathsf{F}}\hat{\rho})=\epsilon\Delta\hat{\rho},\qquad\hat{\rho}(0)=\rho_{0}.

SOURCE PDF p.19 · Thmtheorem23.p1.3
EN
Then,
中
则有下列结论。
KL(ρ1 ∥ ρ^(1))≤12ϵ(Lb[b^]−min⁡b^Lb[b^])+ϵ2(Ls[s^]−min⁡s^Ls[s^]),\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1))\leq\frac{1}{2\epsilon}\left(\mathcal{L}_{b}[\hat{b}]-\min_{\hat{b}}\mathcal{L}_{b}[\hat{b}]\right)+\frac{\epsilon}{2}\left(\mathcal{L}_{s}[\hat{s}]-\min_{\hat{s}}\mathcal{L}_{s}[\hat{s}]\right),

SOURCE PDF p.19 · Thmtheorem23.p1.4
EN
where Lb[b^]\mathcal{L}_{b}[\hat{b}] and Ls[s^]\mathcal{L}_{s}[\hat{s}] are the objective functions defined in ( 2.13 ) and ( 2.16 ), and
中
其中 Lb[b̂]、Ls[ŝ] 分别为式(2.13)、(2.16)的目标,并有下列另一上界。
KL(ρ1 ∥ ρ^(1))≤12ϵ(Lv[v^]−min⁡v^Lv[v^])+sup⁡t∈[0,1](γ(t)γ˙(t)−ϵ)22ϵ(Ls[s^]−min⁡v^Ls[s^]).\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1))\leq\frac{1}{2\epsilon}\left(\mathcal{L}_{v}[\hat{v}]-\min_{\hat{v}}\mathcal{L}_{v}[\hat{v}]\right)+\frac{\sup_{t\in[0,1]}(\gamma(t)\dot{\gamma}(t)-\epsilon)^{2}}{2\epsilon}\left(\mathcal{L}_{s}[\hat{s}]-\min_{\hat{v}}\mathcal{L}_{s}[\hat{s}]\right).

SOURCE PDF p.19 · Thmtheorem23.p1.5
EN
where Lv[v^]\mathcal{L}_{v}[\hat{v}] is the objective function defined in ( 2.29 ).
中
其中 Lv[v̂] 为式(2.29)的目标。

Remark 24 (Generative modeling) . 说明 24(生成建模)

SOURCE PDF p.20 · Thmtheorem24.p1.1
EN
The above results have practical ramifications for generative modeling. In particular, they show that minimizing either the losses ( 2.13 ) and ( 2.16 ) or ( 2.29 ) and ( 2.16 ) maximize the likelihood of the stochastic generative model
中
上述结果对生成建模有直接意义:最小化式(2.13)与(2.16),或式(2.29)与(2.16),能最大化下列随机生成模型的似然。
dX^tF=(b^(t,X^tF)+ϵs^(t,X^tF))dt+2ϵdWt,d\hat{X}_{t}^{\mathsf{F}}=\left(\hat{b}(t,\hat{X}_{t}^{\mathsf{F}})+\epsilon\hat{s}(t,\hat{X}_{t}^{\mathsf{F}})\right)dt+\sqrt{2\epsilon}dW_{t},

SOURCE PDF p.20 · Thmtheorem24.p1.2
EN
but that minimizing the objective ( 2.13 ) is insufficient in general to maximize the likelihood of the deterministic generative model
中
但仅最小化式(2.13),一般不足以最大化下列确定性生成模型的似然。
X^˙t=b^(t,X^t).\dot{\hat{X}}_{t}=\hat{b}(t,\hat{X}_{t}).

SOURCE PDF p.20 · Thmtheorem24.p1.3
EN
Moreover, they show that, when learning b^\hat{b} and s^\hat{s} , the choice of ϵ\epsilon that minimizes the upper bound is given by
中
此外,学习 b̂、ŝ 时,使似然上界最小的 ε 由下式给出。
ϵ∗=(Lb[b^]−min⁡b^Lb[b^]Ls[s^]−min⁡s^Ls[s^])1/2,\epsilon^{*}=\left(\frac{\mathcal{L}_{b}[\hat{b}]-\min_{\hat{b}}\mathcal{L}_{b}[\hat{b}]}{\mathcal{L}_{s}[\hat{s}]-\min_{\hat{s}}\mathcal{L}_{s}[\hat{s}]}\right)^{1/2},

SOURCE PDF p.20 · Thmtheorem24.p1.4
EN
so that ϵ∗>1\epsilon^{*}>1 if the score is learned to higher accuracy than b^\hat{b} and ϵ∗<1\epsilon^{*}<1 in the opposite situation. Note that ( 2.49 ) suggests to take ϵ=0\epsilon=0 if b^\hat{b} is learned perfectly but s^\hat{s} is not, and send ϵ→∞\epsilon\to\infty in the opposite situation. While taking ϵ=0\epsilon=0 is achievable in practice and leads to the ODE ( 2.32 ), taking ϵ→∞\epsilon\to\infty is not, as increasing ϵ\epsilon increases the expense of the numerical integration in ( 2.33 ) and ( 2.34 ).
中
若得分比 b̂ 学得更准,则 ε*>1;反之 ε*<1。式(2.49)意味着,若 b̂ 完美但 ŝ 不完美,应取 ε=0;反过来则应令 ε→∞。取零可在实践中实现,对应 ODE(2.32);趋向无限却不实际,因为增大 ε 会增加式(2.33)、(2.34)的数值积分成本。

2.5 Density estimation and cross-entropy calculation 2.5 密度估计与交叉熵计算

SOURCE PDF p.20 · S2.SS5.p1.1
EN
It is well-known that the solution of the TE ( 2.9 ) can be expressed in terms of the solution to the probability flow ODE ( 2.32 ); for completeness, we now recall this fact:
中
众所周知,TE(2.9)的解可用概率流 ODE(2.32)的解表示。为完整起见,回顾如下。

Lemma 25 . 引理 25

SOURCE PDF p.20 · Thmtheorem25.p1.1
EN
Given the velocity field b^∈C0([0,1],(C1(Rd))d)\hat{b}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) , let ρ^\hat{\rho} satisfy the transport equation
中
给定 b̂∈C⁰([0,1],(C¹(Rᵈ))ᵈ),令 ρ̂ 满足下列输运方程。
∂tρ^+∇⋅(b^ρ^)=0,\partial_{t}\hat{\rho}+\nabla\cdot(\hat{b}\hat{\rho})=0,

SOURCE PDF p.20 · Thmtheorem25.p1.2
EN
and let Xs,t(x)X_{s,t}(x) solve the ODE
中
令 Xs,t(x) 满足下列 ODE。
ddtXs,t(x)=b(t,Xs,t(x)),Xs,s(x)=x,t,s∈[0,1]\frac{d}{dt}X_{s,t}(x)=b(t,X_{s,t}(x)),\qquad X{{}_{s,s}(x)=x,\qquad t,s\in[0,1]}

SOURCE PDF p.20 · Thmtheorem25.p1.3
EN
Then, given the PDFs ρ0\rho_{0} and ρ1\rho_{1} :
中
则对给定概率密度 ρ₀、ρ₁,有下列结果。

SOURCE PDF p.20 · S2.I5.i1.p1.1
EN
The solution to ( 2.50 ) for the initial condition ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0} is given at any time t∈[0,1]t\in[0,1] by
中
对初值 ρ̂(0)=ρ₀,式(2.50)在任意 t∈[0,1] 的解如下。
ρ^(t,x)=exp⁡(−∫0t∇⋅b(τ,Xt,τ(x))dτ)ρ0(Xt,0(x))\hat{\rho}(t,x)=\exp\left(-\int_{0}^{t}\nabla\cdot b(\tau,X_{t,\tau}(x))d\tau\right)\rho_{0}(X_{t,0}(x))

SOURCE PDF p.20 · S2.I5.i2.p1.1
EN
The solution to ( 2.50 ) for the final condition ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1} is given at any time t∈[0,1]t\in[0,1] by
中
对终值 ρ̂(1)=ρ₁,式(2.50)在任意 t∈[0,1] 的解如下。
ρ^(t,x)=exp⁡(∫t1∇⋅b(τ,Xt,τ(x))dτ)ρ1(Xt,1(x))\hat{\rho}(t,x)=\exp\left(\int_{t}^{1}\nabla\cdot b(\tau,X_{t,\tau}(x))d\tau\right)\rho_{1}(X_{t,1}(x))

SOURCE PDF p.21 · S2.SS5.p2.1
EN
The proof of Lemma 25 can be found in Appendix B.4 . Interestingly, we can obtain a similar result for the solution of the forward and backward FPEs in ( 2.20 ) and ( 2.22 ). These results make use of auxiliary forward and backward SDEs in which the roles of the forward and backward drifts are switched:
中
引理 25 证明见附录 B.4。有趣的是,对前后向 FPE(2.20)、(2.22)也能获得类似结果。这里要用辅助前后向 SDE,并交换前后向漂移的角色。

Theorem 26 . 定理 26

SOURCE PDF p.21 · Thmtheorem26.p1.1
EN
Given ϵ>0\epsilon>0 and two velocity fields b^,s^∈C0([0,1],(C1(Rd))d)\hat{b},\hat{s}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) , define
中
给定 ε>0 以及 b̂、ŝ∈C⁰([0,1],(C¹(Rᵈ))ᵈ),定义下式。
b^F(t,x)=b^(t,x)+ϵs^(t,x),b^B(t,x)=b^(t,x)−ϵs^(t,x),\hat{b}_{\mathsf{F}}(t,x)=\hat{b}(t,x)+\epsilon\hat{s}(t,x),\qquad\hat{b}_{\mathsf{B}}(t,x)=\hat{b}(t,x)-\epsilon\hat{s}(t,x),

SOURCE PDF p.21 · Thmtheorem26.p1.2
EN
and let YtFY^{\mathsf{F}}_{t} and YtBY^{\mathsf{B}}_{t} denote solutions of the following forward and backward SDEs:
中
令 YₜF、YₜB 分别为下列前后向 SDE 的解。
dYtF=bB(t,YtF)dt+2ϵdWt,dY^{\mathsf{F}}_{t}=b_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon}dW_{t},

SOURCE PDF p.21 · Thmtheorem26.p1.3
EN
to be solved forward in time from the initial condition Yt=0F=xY^{\mathsf{F}}_{t=0}=x independent of WW ; and
中
前向方程从独立于 W 的初值 Y₀F=x 向前求解;后向方程如下。
dYtB=bF(t,YtB)dt+2ϵdWtB,WtB=−W1−t,dY^{\mathsf{B}}_{t}=b_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt+\sqrt{2\epsilon}dW^{\mathsf{B}}_{t},\quad W_{t}^{\mathsf{B}}=-W_{1-t},

SOURCE PDF p.21 · Thmtheorem26.p1.4
EN
to be solved backwards in time from the final condition Yt=1B=xY^{\mathsf{B}}_{t=1}=x independent of WBW^{\mathsf{B}} . Then, given the densities ρ0\rho_{0} and ρ1\rho_{1} :
中
后向方程从独立于 WB 的终值 Y₁B=x 向后求解。于是,对给定密度 ρ₀、ρ₁,有下列结果。

SOURCE PDF p.21 · S2.I6.i1.p1.1
EN
The solution to the forward FPE
中
下列前向 FPE 的解:
∂tρ^F+∇⋅(b^Fρ^F)=ϵΔρ^F,ρ^F(0)=ρ0,\partial_{t}\hat{\rho}_{\mathsf{F}}+\nabla\cdot(\hat{b}_{\mathsf{F}}\hat{\rho}_{\mathsf{F}})=\epsilon\Delta\hat{\rho}_{\mathsf{F}},\qquad\hat{\rho}_{\mathsf{F}}(0)=\rho_{0},

SOURCE PDF p.21 · S2.I6.i1.p1.2
EN
can be expressed at t=1t=1 as
中
在 t=1 可表示如下。
ρ^F(1,x)=EBx(exp⁡(−∫01∇⋅b^F(t,YtB)dt)ρ0(Yt=0B)),\hat{\rho}_{\mathsf{F}}(1,x)={\mathbb{E}}_{\mathsf{B}}^{x}\left(\exp\left(-\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt\right)\rho_{0}(Y_{t=0}^{\mathsf{B}})\right),

SOURCE PDF p.21 · S2.I6.i1.p1.3
EN
where EBx{\mathbb{E}}_{\mathsf{B}}^{x} denotes expectation on the path of YtBY_{t}^{\mathsf{B}} conditional on the event Yt=1B=xY_{t=1}^{\mathsf{B}}=x .
中
其中 EBˣ 表示给定 Y₁B=x 后,对 YB 路径的期望。

SOURCE PDF p.21 · S2.I6.i2.p1.1
EN
The solution to the backward FPE
中
下列后向 FPE 的解:
∂tρ^B+∇⋅(b^Bρ^B)=−ϵΔρ^B,ρ^B(1)=ρ1,\partial_{t}\hat{\rho}_{\mathsf{B}}+\nabla\cdot(\hat{b}_{\mathsf{B}}\hat{\rho}_{\mathsf{B}})=-\epsilon\Delta\hat{\rho}_{\mathsf{B}},\qquad\hat{\rho}_{\mathsf{B}}(1)=\rho_{1},

SOURCE PDF p.21 · S2.I6.i2.p1.2
EN
can be expressed at any t=0t=0 as
中
在 t=0 可表示如下。
ρ^B(0,x)=EFx(exp⁡(∫01∇⋅b^B(t,YtF)dt)ρ1(Yt=1F)),\hat{\rho}_{\mathsf{B}}(0,x)={\mathbb{E}}_{\mathsf{F}}^{x}\left(\exp\left(\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt\right)\rho_{1}(Y^{\mathsf{F}}_{t=1})\right),

SOURCE PDF p.21 · S2.I6.i2.p1.3
EN
where EFx{\mathbb{E}}_{\mathsf{F}}^{x} denotes expectation on the path of YtFY^{\mathsf{F}}_{t} conditional on Yt=0F=xY^{\mathsf{F}}_{t=0}=x .
中
其中 EFˣ 表示给定 Y₀F=x 后,对 YF 路径的期望。

SOURCE PDF p.21 · S2.SS5.p3.1
EN
The proof of Theorem 26 can be found in Appendix B.4 . Note that to generate data from either ρ^F(1)\hat{\rho}_{\mathsf{F}}(1) or ρ^B(0)\hat{\rho}_{\mathsf{B}}(0) assuming that we can sample exactly the PDF at the other end, i.e. ρ0\rho_{0} and ρ1\rho_{1} respectively, we would still rely on the equivalent of the forward and backward SDE in ( 2.33 ) and ( 2.34 ), now used with the approximate drifts in ( 2.54 ), i.e.
中
定理 26 证明见附录 B.4。若能精确采样另一端的密度,即分别为 ρ₀、ρ₁,则从 ρ̂F(1) 或 ρ̂B(0) 生成数据时,仍使用与前后向 SDE(2.33)、(2.34)对应的方程,但换成式(2.54)的近似漂移,如下。
dX^tF=b^F(t,X^tF)dt+2ϵdWt,d\hat{X}^{\mathsf{F}}_{t}=\hat{b}_{\mathsf{F}}(t,\hat{X}^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon}dW_{t},

SOURCE PDF p.21 · S2.SS5.p4.1
EN
and
中
以及下式。
dX^tB=b^B(t,X^tB)dt+2ϵdWtB,WtB=−W1−t,d\hat{X}^{\mathsf{B}}_{t}=\hat{b}_{\mathsf{B}}(t,\hat{X}^{\mathsf{B}}_{t})dt+\sqrt{2\epsilon}dW^{\mathsf{B}}_{t},\quad W_{t}^{\mathsf{B}}=-W_{1-t},

SOURCE PDF p.22 · S2.SS5.p4.2
EN
If we solve ( 2.61 ) forward in time from initial data X^t=0F∼ρ0\hat{X}^{\mathsf{F}}_{t=0}\sim\rho_{0} , we then have X^t=1F∼ρ^F(1)\hat{X}^{\mathsf{F}}_{t=1}\sim\hat{\rho}_{\mathsf{F}}(1) where ρ^F\hat{\rho}_{\mathsf{F}} is the solution to the forward FPE ( 2.57 ). Similarly If we solve ( 2.62 ) backward in time from final data X^t=1B∼ρ1\hat{X}^{\mathsf{B}}_{t=1}\sim\rho_{1} , we then have X^t=0B∼ρ^B(0)\hat{X}^{\mathsf{B}}_{t=0}\sim\hat{\rho}_{\mathsf{B}}(0) where ρ^B\hat{\rho}_{\mathsf{B}} is the solution to the backward FPE ( 2.59 ).
中
若从初始分布 X^t=0F∼ρ0\hat X^{\mathsf F}_{t=0}\sim\rho_0 出发向前求解式(2.61),则终点满足 X^t=1F∼ρ^F(1)\hat X^{\mathsf F}_{t=1}\sim\hat\rho_{\mathsf F}(1),其中 ρ^F\hat\rho_{\mathsf F} 是前向 Fokker–Planck 方程(2.57)的解。类似地,若从终端分布 X^t=1B∼ρ1\hat X^{\mathsf B}_{t=1}\sim\rho_1 出发向后求解式(2.62),则 X^t=0B∼ρ^B(0)\hat X^{\mathsf B}_{t=0}\sim\hat\rho_{\mathsf B}(0);ρ^B\hat\rho_{\mathsf B} 是后向 Fokker–Planck 方程(2.59)的解。

SOURCE PDF p.22 · S2.SS5.p5.1
EN
The results of Lemma 25 and Theorem 26 can be used to test the quality of samples generated by either the ODE ( 2.32 ) or the forward and backward SDEs ( 2.33 ) and ( 2.34 ). In particular, the following two results are direct consequences of Lemma 25 and Theorem 26 , respectively:
中
引理 25 与定理 26 可用于检验由常微分方程(2.32)或前、后向随机微分方程(2.33)、(2.34)生成的样本质量。具体而言,下面两个结果分别直接来自引理 25 和定理 26:

Corollary 27 . 推论 27

SOURCE PDF p.22 · Thmtheorem27.p1.3
EN
Under the same conditions as Lemma 25 , if ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0} , the cross-entropy of ρ^(1)\hat{\rho}(1) relative to ρ1\rho_{1} is given by
中
在引理 25 的条件下,若 ρ^(0)=ρ0\hat\rho(0)=\rho_0,则 ρ^(1)\hat\rho(1) 相对于 ρ1\rho_1 的交叉熵为
H(ρ1 ∥ ρ^(1))=−∫Rdlog⁡ρ^(1,x)ρ1(x)dx=E1∫01∇⋅b(τ,X1,τ(x1))dτ−E1log⁡ρ0(X1,0(x1))\displaystyle\mathsf{H}(\rho_{1}\>\|\>\hat{\rho}(1)) \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\log\hat{\rho}(1,x)\rho_{1}(x)dx \qquad \displaystyle={\mathbb{E}}_{1}\int_{0}^{1}\nabla\cdot b(\tau,X_{1,\tau}(x_{1}))d\tau-{\mathbb{E}}_{1}\log\rho_{0}(X_{1,0}(x_{1}))

SOURCE PDF p.22 · Thmtheorem27.p1.4
EN
where E1{\mathbb{E}}_{1} denotes an expectation over x1∼ρ1x_{1}\sim\rho_{1} . Similarly, if ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1} , the cross-entropy of ρ^(0)\hat{\rho}(0) relative to ρ0\rho_{0} is given by
中
其中 E1\mathbb E_1 表示对 x1∼ρ1x_1\sim\rho_1 取期望。同理,若 ρ^(1)=ρ1\hat\rho(1)=\rho_1,则 ρ^(0)\hat\rho(0) 相对于 ρ0\rho_0 的交叉熵为
H(ρ0 ∥ ρ^(0))=−∫Rdlog⁡ρ^(0,x)ρ0(x)dx=−E0∫01∇⋅b(τ,X0,τ(x0))dτ−E0log⁡ρ1(X0,1(x0))\displaystyle\mathsf{H}(\rho_{0}\>\|\>\hat{\rho}(0)) \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\log\hat{\rho}(0,x)\rho_{0}(x)dx \qquad \displaystyle=-{\mathbb{E}}_{0}\int_{0}^{1}\nabla\cdot b(\tau,X_{0,\tau}(x_{0}))d\tau-{\mathbb{E}}_{0}\log\rho_{1}(X_{0,1}(x_{0}))

SOURCE PDF p.22 · Thmtheorem27.p1.5
EN
where E0{\mathbb{E}}_{0} denotes an expectation over x0∼ρ0x_{0}\sim\rho_{0} .
中
其中 E0\mathbb E_0 表示对 x0∼ρ0x_0\sim\rho_0 取期望。

Corollary 28 . 推论 28

SOURCE PDF p.22 · Thmtheorem28.p1.3
EN
Under the same conditions as Theorem 26 , the cross-entropy of ρ^F(1)\hat{\rho}_{\mathsf{F}}(1) relative to ρ1\rho_{1} is given by
中
在定理 26 的条件下,ρ^F(1)\hat\rho_{\mathsf F}(1) 相对于 ρ1\rho_1 的交叉熵为
H(ρ1 ∥ ρ^F(1))=−∫Rdlog⁡ρ^F(1,x)ρ1(x)dx=−E1log⁡EBx1(exp⁡(−∫01∇⋅bF(t,YtB)dt)ρ0(Yt=0B)),\displaystyle\mathsf{H}(\rho_{1}\>\|\>\hat{\rho}_{\mathsf{F}}(1)) \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\log\hat{\rho}_{\mathsf{F}}(1,x)\rho_{1}(x)dx \qquad \displaystyle=-{\mathbb{E}}_{1}\log{\mathbb{E}}_{\mathsf{B}}^{x_{1}}\left(\exp\left(-\int_{0}^{1}\nabla\cdot b_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt\right)\rho_{0}(Y_{t=0}^{\mathsf{B}})\right),

SOURCE PDF p.22 · Thmtheorem28.p1.4
EN
where EBx1{\mathbb{E}}_{\mathsf{B}}^{x_{1}} denotes an expectation over YtBY^{\mathsf{B}}_{t} conditioned on the event Yt=1B=x1Y^{\mathsf{B}}_{t=1}=x_{1} , and E1{\mathbb{E}}_{1} denotes an expectation over x1∼ρ1x_{1}\sim\rho_{1} . Similarly, the cross-entropy of ρ^B(0)\hat{\rho}_{\mathsf{B}}(0) relative to ρ0\rho_{0} is given by
中
其中 EBx1\mathbb E_{\mathsf B}^{x_1} 表示在 Yt=1B=x1Y^{\mathsf B}_{t=1}=x_1 的条件下对 YtBY^{\mathsf B}_t 取期望,E1\mathbb E_1 表示对 x1∼ρ1x_1\sim\rho_1 取期望。同理,ρ^B(0)\hat\rho_{\mathsf B}(0) 相对于 ρ0\rho_0 的交叉熵为
H(ρ0 ∥ ρ^B(0))=−∫Rdlog⁡ρ^B(0,x)ρ0(x)dx=−E0log⁡EFx0(exp⁡(∫01∇⋅bB(t,YtF)dt)ρ1(Yt=1F)),\displaystyle\mathsf{H}(\rho_{0}\>\|\>\hat{\rho}_{\mathsf{B}}(0)) \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\log\hat{\rho}_{\mathsf{B}}(0,x)\rho_{0}(x)dx \qquad \displaystyle=-{\mathbb{E}}_{0}\log{\mathbb{E}}_{\mathsf{F}}^{x_{0}}\left(\exp\left(\int_{0}^{1}\nabla\cdot b_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt\right)\rho_{1}(Y^{\mathsf{F}}_{t=1})\right),

SOURCE PDF p.22 · Thmtheorem28.p1.5
EN
where EBx0{\mathbb{E}}_{\mathsf{B}}^{x_{0}} denotes an expectation over YtFY^{\mathsf{F}}_{t} conditioned on the event Yt=0F=x0Y^{\mathsf{F}}_{t=0}=x_{0} , and E0{\mathbb{E}}_{0} denotes an expectation over x0∼ρ0x_{0}\sim\rho_{0} .
中
其中,原文此处写作 EBx0\mathbb E_{\mathsf B}^{x_0},指在 Yt=0F=x0Y^{\mathsf F}_{t=0}=x_0 的条件下对 YtFY^{\mathsf F}_t 取期望;E0\mathbb E_0 表示对 x0∼ρ0x_0\sim\rho_0 取期望。

SOURCE PDF p.23 · S2.SS5.p6.1
EN
If in ( 2.63 ), ( 2.64 ), ( 2.65 ), and ( 2.66 ) we approximate the expectations E0{\mathbb{E}}_{0} and E1{\mathbb{E}}_{1} over ρ0\rho_{0} and ρ1\rho_{1} by empirical expectations over the available data, these equations allow us to cross-validate different approximations of b^\hat{b} and s^\hat{s} , as well as to compare the cross-entropies of densities evolved by the TE ( 2.50 ) with those of the forward and backward FPEs ( 2.57 ) and ( 2.59 ).
中
在式(2.63)至(2.66)中,若以已有数据的经验期望近似分布 ρ0\rho_0、ρ1\rho_1 下的 E0\mathbb E_0、E1\mathbb E_1,便能对 b^\hat b 和 s^\hat s 的不同近似进行交叉验证,也能将输运方程(2.50)演化所得密度的交叉熵,与前、后向 Fokker–Planck 方程(2.57)、(2.59)的结果比较。

Remark 29 . 说明 29

SOURCE PDF p.23 · Thmtheorem29.p1.5
EN
When using ( 2.65 ) and ( 2.66 ) in practice, taking the log⁡\log of the expectations EBx1{\mathbb{E}}_{\mathsf{B}}^{x_{1}} and EFx0{\mathbb{E}}_{\mathsf{F}}^{x_{0}} may create difficulties, such as when using Hutchinson’s trace estimator to compute the divergence of bFb_{\mathsf{F}} or bBb_{\mathsf{B}} , which will introduce a bias. One way to remove this bias is to use Jensen’s inequality, which leads to the upper bounds
中
实际使用式(2.65)、(2.66)时,对期望 EBx1\mathbb E_{\mathsf B}^{x_1} 与 EFx0\mathbb E_{\mathsf F}^{x_0} 取对数可能带来困难。例如,用 Hutchinson 迹估计量计算 bFb_{\mathsf F} 或 bBb_{\mathsf B} 的散度时,这一步会引入偏差。避免这一偏差的一种办法是应用 Jensen 不等式,得到如下上界:
H(ρ1 ∥ ρ^F(1))≤∫01E1EBx1∇⋅bF(t,YtB)dt−E1EBx1log⁡ρ0(Yt=0B),\displaystyle\mathsf{H}(\rho_{1}\>\|\>\hat{\rho}_{\mathsf{F}}(1))\leq\int_{0}^{1}{\mathbb{E}}_{1}{\mathbb{E}}_{\mathsf{B}}^{x_{1}}\nabla\cdot b_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt-{\mathbb{E}}_{1}{\mathbb{E}}_{\mathsf{B}}^{x_{1}}\log\rho_{0}(Y_{t=0}^{\mathsf{B}}),

SOURCE PDF p.23 · Thmtheorem29.p1.6
EN
and
中
以及
H(ρ0 ∥ ρ^B(0))≤−E0EFx0∫01∇⋅bB(t,YtF)dt−E0EFx0log⁡ρ1(Yt=1F).\displaystyle\mathsf{H}(\rho_{0}\>\|\>\hat{\rho}_{\mathsf{B}}(0))\leq-{\mathbb{E}}_{0}{\mathbb{E}}_{\mathsf{F}}^{x_{0}}\int_{0}^{1}\nabla\cdot b_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt-{\mathbb{E}}_{0}{\mathbb{E}}_{\mathsf{F}}^{x_{0}}\log\rho_{1}(Y^{\mathsf{F}}_{t=1}).

SOURCE PDF p.23 · Thmtheorem29.p1.7
EN
However, these bounds are not sharp in general – in fact, using calculations similar to the one presented in the proof of Theorem 28 , we can derive exact expressions that capture precisely what is lost when applying Jensen’s inequality:
中
不过,这些上界一般并不紧。事实上,依照定理 28 证明中的类似计算,可以推得以下精确表达式,恰好说明应用 Jensen 不等式损失了什么:
H(ρ1 ∥ ρ^F(1))=∫01E1EBx1(∇⋅bF(t,YtB)−ϵ∣∇log⁡ρ^F(t,YtB)∣2)dt−E1EBx1log⁡ρ0(Yt=0B),\displaystyle\mathsf{H}(\rho_{1}\>\|\>\hat{\rho}_{\mathsf{F}}(1))=\int_{0}^{1}{\mathbb{E}}_{1}{\mathbb{E}}_{\mathsf{B}}^{x_{1}}\left(\nabla\cdot b_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})-\epsilon|\nabla\log\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})|^{2}\right)dt-{\mathbb{E}}_{1}{\mathbb{E}}_{\mathsf{B}}^{x_{1}}\log\rho_{0}(Y_{t=0}^{\mathsf{B}}),

SOURCE PDF p.23 · Thmtheorem29.p1.8
EN
and
中
以及
H(ρ0 ∥ ρ^B(0))=−E0EFx0∫01(∇⋅bB(t,YtF)+ϵ∣∇log⁡ρ^B(t,YtF)∣2)dt−E0EFx0log⁡ρ1(Yt=1F).\displaystyle\mathsf{H}(\rho_{0}\>\|\>\hat{\rho}_{\mathsf{B}}(0))=-{\mathbb{E}}_{0}{\mathbb{E}}_{\mathsf{F}}^{x_{0}}\int_{0}^{1}\left(\nabla\cdot b_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})+\epsilon|\nabla\log\hat{\rho}_{\mathsf{B}}(t,Y_{t}^{\mathsf{F}})|^{2}\right)dt-{\mathbb{E}}_{0}{\mathbb{E}}_{\mathsf{F}}^{x_{0}}\log\rho_{1}(Y^{\mathsf{F}}_{t=1}).

SOURCE PDF p.23 · Thmtheorem29.p1.9
EN
Unfortunately, since ∇log⁡ρ^F≠s^\nabla\log\hat{\rho}_{\mathsf{F}}\not=\hat{s} and ∇log⁡ρ^B≠s^\nabla\log\hat{\rho}_{\mathsf{B}}\not=\hat{s} in general due to approximation errors, we do not know how to estimate the extra terms on the right-hand side of ( 2.69 ) and ( 2.70 ). One possibility is to use s^\hat{s} as a proxy for ∇log⁡ρ^F\nabla\log\hat{\rho}_{\mathsf{F}} and ∇log⁡ρ^B\nabla\log\hat{\rho}_{\mathsf{B}} , which may be useful in practice, but this approximation is uncontrolled in general.
中
遗憾的是,受近似误差影响,通常有 ∇log⁡ρ^F≠s^\nabla\log\hat\rho_{\mathsf F}\ne\hat s、∇log⁡ρ^B≠s^\nabla\log\hat\rho_{\mathsf B}\ne\hat s,因此还不知道怎样估计式(2.69)、(2.70)右侧的附加项。一种可能是用 s^\hat s 代替这两个对数密度梯度。实践中这或许有用,但一般无法控制其近似误差。

3 Instantiations and extensions 3 实例与扩展

SOURCE PDF p.23 · S3.p1.1
EN
In this section, we instantiate the stochastic interpolant framework discussed in Section 2 .
中
本节给出第 2 节随机插值框架的具体实例。

3.1 Diffusive interpolants 3.1 扩散插值

SOURCE PDF p.23 · S3.SS1.p1.1
EN
Recently, there has been a surge of interest in the construction of generative models through diffusive bridge processes ( Peluchetti, 2022 ; Liu et al., 2022 ; Somnath et al., 2023 ) . In this section, we connect these approaches with our own, highlighting that stochastic interpolants allow us to manipulate certain bridge processes in a simpler and more direct manner. We also show that this perspective leads to a generative process that samples any target density ρ1\rho_{1} by pushing a point mass at any x0∈Rdx_{0}\in{\mathbb{R}}^{d} through an SDE. We begin by introducing a new kind of interpolant:
中
近来,基于扩散桥过程构造生成模型引起了广泛兴趣(Peluchetti,2022;Liu 等,2022;Somnath 等,2023)。本节将这些方法与我们的框架联系起来,说明怎样借助随机插值更直接、更简便地处理某些桥过程。我们还将说明,这一视角给出一种生成过程:从任意 x0∈Rdx_0\in\mathbb R^d 处的点质量出发,按随机微分方程推进即可从任意目标密度 ρ1\rho_1 采样。首先引入一种新的插值过程:

Definition 30 (Diffusive interpolant) . 定义 30(扩散插值)

SOURCE PDF p.24 · Thmtheorem30.p1.1
EN
Given two probability density functions ρ0,ρ1:Rd→R≥0\rho_{0},\rho_{1}:{{\mathbb{R}}^{d}}\rightarrow{\mathbb{R}}_{\geq 0} , a diffusive interpolant between ρ0\rho_{0} and ρ1\rho_{1} is a stochastic process xtdx^{\mathsf{d}}_{t} defined as
中
给定两个概率密度函数 ρ0,ρ1:Rd→R≥0\rho_0,\rho_1:\mathbb R^d\to\mathbb R_{\ge0},称按下式定义的随机过程 xtdx_t^{\mathsf d} 为 ρ0\rho_0 与 ρ1\rho_1 之间的扩散插值:
xtd=I(t,x0,x1)+2a(t)Bt,t∈[0,1],x^{\mathsf{d}}_{t}=I(t,x_{0},x_{1})+\sqrt{2a(t)}B_{t},\qquad t\in[0,1],

SOURCE PDF p.24 · Thmtheorem30.p1.2
EN
where:
中
其中:

SOURCE PDF p.24 · S3.I1.i1.p1.1
EN
I(t,x0,x1)I(t,x_{0},x_{1}) is as in Definition 1 ;
中
I(t,x0,x1)I(t,x_0,x_1) 与定义 1 相同;

SOURCE PDF p.24 · S3.I1.i2.p1.1
EN
(x0,x1)∼ν(x_{0},x_{1})\sim\nu with ν\nu satisfying ( 2.3 ) in Definition 1 ;
中
(x0,x1)∼ν(x_0,x_1)\sim\nu,其中 ν\nu 满足定义 1 中的条件(2.3);

SOURCE PDF p.24 · S3.I1.i3.p1.1
EN
a(t)∈C2([0,1])a(t)\in C^{2}([0,1]) with a(0)>0a(0)>0 and a(t)≥0a(t)\geq 0 for all t∈(0,1]t\in(0,1] , and;
中
a(t)∈C2([0,1])a(t)\in C^2([0,1]),且 a(0)>0a(0)>0,对一切 t∈(0,1]t\in(0,1] 均有 a(t)≥0a(t)\ge0;

SOURCE PDF p.24 · S3.I1.i4.p1.1
EN
BtB_{t} is a standard Brownian bridge process, independent of x0x_{0} and x1x_{1} .
中
BtB_t 为标准布朗桥过程,独立于 x0x_0 和 x1x_1。

SOURCE PDF p.24 · S3.SS1.p2.1
EN
Pathwise, ( 3.1 ) is different from the stochastic interpolant introduced in Definition 1 : in particular, xtdx^{\mathsf{d}}_{t} is continuous but not differentiable in time. At the same time, since BtB_{t} is a Gaussian process with mean zero and variance EBt2=t(1−t){\mathbb{E}}B^{2}_{t}=t(1-t) , ( 3.1 ) has the same single-time statistics and time-dependent density ρ(t,x)\rho(t,x) as the stochastic interpolant ( 2.1 ) if we set γ(t)=2a(t)t(1−t)\gamma(t)=\sqrt{2a(t)t(1-t)} , i.e.
中
从样本路径看,式(3.1)与定义 1 的随机插值不同:特别地,xtdx_t^{\mathsf d} 关于时间连续却不可微。另一方面,BtB_t 是均值为零、方差为 EBt2=t(1−t)\mathbb E B_t^2=t(1-t) 的高斯过程。因此只要取 γ(t)=2a(t)t(1−t)\gamma(t)=\sqrt{2a(t)t(1-t)},式(3.1)便与随机插值(2.1)具有相同的单时刻统计量和含时密度 ρ(t,x)\rho(t,x),即
xt=I(t,x0,x1)+2a(t)t(1−t)zwith(x0,x1)∼ν, z∼N(0,Id), (x0,x1)⊥z.x_{t}=I(t,x_{0},x_{1})+\sqrt{2a(t)t(1-t)}z\quad\text{with}\quad(x_{0},x_{1})\sim\nu,\ z\sim{\sf N}(0,\text{\it Id}),\ (x_{0},x_{1})\perp z.

SOURCE PDF p.24 · S3.SS1.p2.2
EN
As a result, ( 3.1 ) and ( 3.2 ) lead to the same generative models. Technically, it is easier to work with ( 3.2 ) than with ( 3.1 ), because it avoids the use of Itô calculus, and enables direct sampling of xtx_{t} using samples from ρ0\rho_{0} , ρ1\rho_{1} , and N(0,Id)\mathsf{N}(0,\text{\it Id}) . However, ( 3.1 ) sheds light on some interesting properties of the generative models based on ( 3.2 ), i.e. stochastic interpolants with γ(t)=2a(t)t(1−t)\gamma(t)=\sqrt{2a(t)t(1-t)} . To see why, we now re-derive the transport equation for the density ρ(t,x)\rho(t,x) shared by ( 3.1 ) and ( 3.2 ) using the relation ( 3.1 ) using Fourier analysis. For simplicity, we focus on the case where a(t)a(t) is constant in time, i.e. we set a(t)=a>0a(t)=a>0 in ( 3.1 ).
中
因此式(3.1)和(3.2)导出相同的生成模型。技术上,处理式(3.2)更容易:无需使用 Itô 微积分,直接从 ρ0\rho_0、ρ1\rho_1 和标准正态分布 N(0,Id)\mathsf N(0,\mathrm{Id}) 中抽取样本即可构造 xtx_t。但式(3.1)揭示了基于式(3.2)的模型——即取 γ(t)=2a(t)t(1−t)\gamma(t)=\sqrt{2a(t)t(1-t)} 的随机插值——的一些有趣性质。为说明这一点,下面从关系式(3.1)出发,用傅里叶分析重新推导这两个过程共有的密度 ρ(t,x)\rho(t,x) 的输运方程。为简便起见,只考虑 a(t)a(t) 为常数的情形,即令式(3.1)中的 a(t)=a>0a(t)=a>0。

SOURCE PDF p.24 · S3.SS1.p3.2
EN
To begin, recall that the Brownian Bridge BtB_{t} can be expressed in terms of the Wiener process WtW_{t} as Bt=Wt−tWt=1B_{t}=W_{t}-tW_{t=1} . Moreover, it satisfies the SDE obtained by conditioning on Bt=1=0B_{t=1}=0 via Doob’s hh -transform ( Doob, 1984 ) :
中
首先回顾,布朗桥 BtB_t 可由维纳过程 WtW_t 表为 Bt=Wt−tWt=1B_t=W_t-tW_{t=1}。此外,通过 Doob 的 hh 变换对 Bt=1=0B_{t=1}=0 施加条件,可以得到它所满足的随机微分方程(Doob,1984):
dBt=−Bt1−tdt+dWt,Bt=0=0.dB_{t}=-\frac{B_{t}}{1-t}dt+dW_{t},\qquad B_{t=0}=0.

SOURCE PDF p.24 · S3.SS1.p3.3
EN
A direct application of Itô’s formula implies that
中
直接应用 Itô 公式可得
deik⋅xtd=ik⋅(∂tI(t,x0,x1)−2aBt1−t)eik⋅xtddt−a∣k∣2eik⋅xtddt+2aik⋅dWteik⋅xtd.de^{ik\cdot x_{t}^{\mathsf{d}}}=ik\cdot\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2a}B_{t}}{1-t}\Big)e^{ik\cdot x_{t}^{\mathsf{d}}}dt-a|k|^{2}e^{ik\cdot x_{t}^{\mathsf{d}}}dt+\sqrt{2a}ik\cdot dW_{t}e^{ik\cdot x_{t}^{\mathsf{d}}}.

SOURCE PDF p.24 · S3.SS1.p3.4
EN
Taking the expectation of this expression and using the independence between (x0,x1)(x_{0},x_{1}) and BtB_{t} , we deduce that
中
对此式取期望,并利用 (x0,x1)(x_0,x_1) 与 BtB_t 相互独立,可推出
∂tEeik⋅xtd=ik⋅E((∂tI(t,x0,x1)−2aBt1−t)eik⋅xtd)−a∣k∣2Eeik⋅xtd.\partial_{t}{\mathbb{E}}e^{ik\cdot x_{t}^{\mathsf{d}}}=ik\cdot{\mathbb{E}}\Big(\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2a}B_{t}}{1-t}\Big)e^{ik\cdot x_{t}^{\mathsf{d}}}\Big)-a|k|^{2}{\mathbb{E}}e^{ik\cdot x_{t}^{\mathsf{d}}}.

SOURCE PDF p.24 · S3.SS1.p3.5
EN
Since for all fixed t∈[0,1]t\in[0,1] we have Bt=dt(1−t)zB_{t}\stackrel{{\scriptstyle d}}{{=}}\sqrt{t(1-t)}z and xtd=dxtx^{\mathsf{d}}_{t}\stackrel{{\scriptstyle d}}{{=}}x_{t} with xtx_{t} defined in ( 3.2 ), the time derivative ( 3.5 ) can also be written as
中
对任意固定的 t∈[0,1]t\in[0,1],BtB_t 与 t(1−t)z\sqrt{t(1-t)}z 同分布,xtdx_t^{\mathsf d} 与式(3.2)定义的 xtx_t 同分布。因此式(3.5)的时间导数也可写为
∂tEeik⋅xt=ik⋅E((∂tI(t,x0,x1)−2at z1−t)eik⋅xt)−a∣k∣2Eeik⋅xt.\partial_{t}{\mathbb{E}}e^{ik\cdot x_{t}}=ik\cdot{\mathbb{E}}\Big(\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2at}\,z}{\sqrt{1-t}}\Big)e^{ik\cdot x_{t}}\Big)-a|k|^{2}{\mathbb{E}}e^{ik\cdot x_{t}}.

SOURCE PDF p.24 · S3.SS1.p3.6
EN
Moreover, since by definition of their probability density we have Eeik⋅xtd=Eeik⋅xt=∫Rdeik⋅xρ(t,x)dx{\mathbb{E}}e^{ik\cdot x_{t}^{\mathsf{d}}}={\mathbb{E}}e^{ik\cdot x_{t}}=\int_{{\mathbb{R}}^{d}}e^{ik\cdot x}\rho(t,x)dx , we can deduce from ( 3.6 ) that ρ(t)\rho(t) satisfies
中
此外,由概率密度的定义,Eeik⋅xtd=Eeik⋅xt=∫Rdeik⋅xρ(t,x) dx\mathbb E e^{ik\cdot x_t^{\mathsf d}}=\mathbb E e^{ik\cdot x_t}=\int_{\mathbb R^d}e^{ik\cdot x}\rho(t,x)\,dx。故由式(3.6)可推出 ρ(t)\rho(t) 满足
∂tρ+∇⋅(uρ)=aΔρ,\partial_{t}\rho+\nabla\cdot(u\rho)=a\Delta\rho,

SOURCE PDF p.24 · S3.SS1.p3.7
EN
where we defined
中
这里定义了
u(t,x)=E(∂tI(t,x0,x1)−2at z1−t∣xt=x).u(t,x)={\mathbb{E}}\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2at}\,z}{\sqrt{1-t}}\Big|x_{t}=x\Big).

SOURCE PDF p.25 · S3.SS1.p3.8
EN
For the interpolant xtx_{t} in ( 3.2 ), we have from the definitions of bb and ss in ( 2.10 ) and ( 2.14 ) that
中
对于式(3.2)中的插值 xtx_t,由式(2.10)和(2.14)中 bb 与 ss 的定义可得
b(t,x)=E(∂tI(t,x0,x1)+a(1−2t)z2t(1−t)∣xt=x),s(t,x)=∇log⁡ρ(t,x)=−12at(1−t)E(z∣xt=x),\displaystyle b(t,x) \qquad \displaystyle={\mathbb{E}}\Big(\partial_{t}I(t,x_{0},x_{1})+\frac{a(1-2t)z}{\sqrt{2t(1-t)}}\Big|x_{t}=x\Big), \qquad \displaystyle s(t,x) \qquad \displaystyle=\nabla\log\rho(t,x)=-\frac{1}{\sqrt{2at(1-t)}}{\mathbb{E}}(z|x_{t}=x),

SOURCE PDF p.25 · S3.SS1.p3.9
EN
As a result, u−s=bu-s=b and ( 3.7 ) can also be written as the TE ( 2.9 ) using Δρ=∇⋅(sρ)\Delta\rho=\nabla\cdot(s\rho) .
中
因此,原文写作 u−s=bu-s=b;利用 Δρ=∇⋅(sρ)\Delta\rho=\nabla\cdot(s\rho),式(3.7)也可改写为输运方程(2.9)。【译注:式(3.7)的扩散项为 aΔρa\Delta\rho;一般 aa 下移项所得输运速度应为 u−asu-a s,原文简式对应 a=1a=1。】

Conditional sampling. 条件采样

SOURCE PDF p.25 · S3.SS1.SSS0.Px1.p1.1
EN
Remarkably, the drift uu defined in ( 3.8 ) remains non-singular for all t∈[0,1]t\in[0,1] (including t=0t=0 ) even if ρ0\rho_{0} is replaced by a point mass at x0x_{0} ; by contrast, both bb and ss are singular at t=0t=0 in this case. Hence, the SDE associated with the FPE ( 3.7 ) provides us with a generative model that samples ρ1\rho_{1} from a base measure concentrated at a single x0x_{0} (i.e. such that the density ρ0\rho_{0} is replaced by a point mass measure at x=x0x=x_{0} ). We formalize this result in the following theorem:
中
值得注意的是,即便将 ρ0\rho_0 换成 x0x_0 处的点质量,式(3.8)定义的漂移 uu 在整个 t∈[0,1]t\in[0,1](包括 t=0t=0)上仍无奇性;相比之下,此时 bb 和 ss 在 t=0t=0 都是奇异的。因此,与 Fokker–Planck 方程(3.7)对应的随机微分方程构成了一个生成模型:它能从集中于单点 x0x_0 的基测度(即用 x=x0x=x_0 处的点质量测度代替密度 ρ0\rho_0)出发,对 ρ1\rho_1 采样。下述定理给出正式表述:

Theorem 31 . 定理 31

SOURCE PDF p.25 · Thmtheorem31.p1.1
EN
Assume that I(t,x0,x1)=x0I(t,x_{0},x_{1})=x_{0} for t∈[0,δ]t\in[0,\delta] with some δ∈(0,1]\delta\in(0,1] . Given any a>0a>0 , let
中
假设存在 δ∈(0,1]\delta\in(0,1],使得对 t∈[0,δ]t\in[0,\delta] 均有 I(t,x0,x1)=x0I(t,x_0,x_1)=x_0。给定任意 a>0a>0,令
ud(t,x,x0)=Ex1,z(∂tI(t,x0,x1)−2at z1−t∣xt=x),u^{\mathsf{d}}(t,x,x_{0})={\mathbb{E}}_{x_{1},z}\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2at}\,z}{\sqrt{1-t}}\Big|x_{t}=x\Big),

SOURCE PDF p.25 · Thmtheorem31.p1.2
EN
where xtx_{t} is given by ( 3.2 ) and where Ex1,z(⋅∣xt=x){\mathbb{E}}_{x_{1},z}(\cdot|x_{t}=x) denotes an expectation over x1∼ρ1⊥z∼N(0,Id)x_{1}\sim\rho_{1}\perp z\sim\mathsf{N}(0,\text{\it Id}) conditioned on xt=xx_{t}=x with x0∈Rdx_{0}\in{\mathbb{R}}^{d} fixed. Then ud(⋅,⋅,x0)∈C0([0,1];(Cp(Rd))d)u^{\mathsf{d}}(\cdot,\cdot,x_{0})\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) for any p∈Np\in{\mathbb{N}} and x0∈Rdx_{0}\in{\mathbb{R}}^{d} . Moreover, the solutions to the forward SDE
中
其中 xtx_t 由式(3.2)给出;固定 x0∈Rdx_0\in\mathbb R^d,Ex1,z( ⋅∣xt=x)\mathbb E_{x_1,z}(\,\cdot\mid x_t=x) 表示从 ρ1\rho_1 与标准正态分布 N(0,Id)\mathsf N(0,\mathrm{Id}) 独立抽取 x1x_1、zz 后,在 xt=xx_t=x 下取的条件期望。于是,对任意 p∈Np\in\mathbb N、x0∈Rdx_0\in\mathbb R^d,有 ud(⋅,⋅,x0)∈C0([0,1];(Cp(Rd))d)u^{\mathsf d}(\cdot,\cdot,x_0)\in C^0([0,1];(C^p(\mathbb R^d))^d)。此外,下列前向随机微分方程的解
dXtd=ud(t,Xtd,x0)dt+2a dWt,Xt=0d=x0,dX_{t}^{\mathsf{d}}=u^{\mathsf{d}}(t,X_{t}^{\mathsf{d}},x_{0})dt+\sqrt{2a}\,dW_{t},\qquad X_{t=0}^{\mathsf{d}}=x_{0},

SOURCE PDF p.25 · Thmtheorem31.p1.3
EN
are such that Xt=1d∼ρ1X^{\mathsf{d}}_{t=1}\sim\rho_{1} .
中
满足 Xt=1d∼ρ1X^{\mathsf d}_{t=1}\sim\rho_1。

SOURCE PDF p.25 · S3.SS1.SSS0.Px1.p2.1
EN
Note that the additional assumption we make on I(t,x0,x1)I(t,x_{0},x_{1}) is consistent with the requirements in Definition 1 and Assumption 5 : this additional assumption is made for simplicity and can probably be relaxed to ∂tI(t=0,x0,x1)=0\partial_{t}I(t=0,x_{0},x_{1})=0 .
中
我们对 I(t,x0,x1)I(t,x_0,x_1) 施加的额外假设与定义 1 和假设 5 相容。这个假设只是为了简化推导,很可能可以放宽为 ∂tI(t=0,x0,x1)=0\partial_t I(t=0,x_0,x_1)=0。

SOURCE PDF p.25 · S3.SS1.SSS0.Px1.p3.1
EN
The proof of Theorem 31 is given in Appendix B.5 . It relies on the calculations that led to ( 3.8 ), along with the observation that at t=0t=0 and x=x0x=x_{0} ,
中
定理 31 的证明见附录 B.5。它依赖导出式(3.8)的计算,并用到下列观察:在 t=0t=0、x=x0x=x_0 时,
ud(t=0,x0,x0)=Ex1(∂tI(t=0,x0,x1)),u^{\mathsf{d}}(t=0,x_{0},x_{0})={\mathbb{E}}_{x_{1}}\left(\partial_{t}I(t=0,x_{0},x_{1})\right),

SOURCE PDF p.25 · S3.SS1.SSS0.Px1.p3.2
EN
whereas at t=1t=1 and any x∈Rdx\in{\mathbb{R}}^{d} , we have
中
而当 t=1t=1 时,对任意 x∈Rdx\in\mathbb R^d 均有
ud(t=1,x,x0)=∂tI(t=1,x0,x)+2a∇log⁡ρ1(x),u^{\mathsf{d}}(t=1,x,x_{0})=\partial_{t}I(t=1,x_{0},x)+2a\nabla\log\rho_{1}(x),

SOURCE PDF p.26 · S3.SS1.SSS0.Px1.p3.3
EN
which are both well-defined. To put the result in Theorem ( 31 ) in perspective, observe that no probability flow ODE with b∈C0([0,1];(Cp(Rd))d)b\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) can achieve the same feat as the diffusion in ( 3.11 ). This is because the solutions of such an ODE are unique, and therefore can only map x0x_{0} onto a single point at time t=1t=1 . Moreover, ud(t,x,x0)u^{\mathsf{d}}(t,x,x_{0}) is the unique minimizer of the objective function
中
这两个端点的表达式都有良好定义。要理解定理 31 的意义,可注意到:任何满足 b∈C0([0,1];(Cp(Rd))d)b\in C^0([0,1];(C^p(\mathbb R^d))^d) 的概率流常微分方程,都无法像式(3.11)的扩散那样从单点生成一个分布。因为这样的常微分方程解唯一,从 x0x_0 出发,在 t=1t=1 只能到达一个点。此外,ud(t,x,x0)u^{\mathsf d}(t,x,x_0) 是下列目标函数的唯一极小化解:
Lud[u^d]=∫01Ex1,z(∣u^d(t,xt,x0)∣2−2(∂tI(t,x0,x1)−2atz(1−t))⋅u^d(t,xt,x0))dt.\mathcal{L}_{u^{\mathsf{d}}}[\hat{u}^{\mathsf{d}}]=\int_{0}^{1}{\mathbb{E}}_{x_{1},z}\left(|\hat{u}^{d}(t,x_{t},x_{0})|^{2}-2\Big(\partial_{t}I(t,x_{0},x_{1})-\frac{\sqrt{2at}z}{\sqrt{(1-t)}}\Big)\cdot\hat{u}^{d}(t,x_{t},x_{0})\right)dt.

3.2 One-sided interpolants for Gaussian ρ 0 ​ 3.2 高斯基分布的单侧插值

SOURCE PDF p.26 · S3.SS2.p1.1
EN
A common choice of base density for generative modeling in the absence of prior information is to choose ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) . In this setting, we can group the effect of the latent variable zz with x0x_{0} . This leads to a simpler type of stochastic interpolant that, in particular, will enables us to instantiate score-based diffusion within our general framework (see Section 3.4 ).
中
没有先验信息时,生成建模常取 ρ0=N(0,Id)\rho_0=\mathsf N(0,\mathrm{Id}) 作为基密度。此时可以将潜变量 zz 的作用与 x0x_0 合并,得到一种形式更简单的随机插值;特别地,可以由此在统一框架内导出基于得分的扩散模型(见第 3.4 节)。

Definition 32 (One-sided stochastic interpolant) . 定义 32(单侧随机插值)

SOURCE PDF p.26 · Thmtheorem32.p1.1
EN
Given a probability density function ρ1:Rd→R≥0\rho_{1}:{{\mathbb{R}}^{d}}\rightarrow{\mathbb{R}}_{\geq 0} , a one-sided stochastic interpolant between N(0,Id){\sf N}(0,\text{\it Id}) and ρ1\rho_{1} is a stochastic process xtosx^{\mathsf{os}}_{t}
中
给定概率密度函数 ρ1:Rd→R≥0\rho_1:\mathbb R^d\to\mathbb R_{\ge0},标准正态分布 N(0,Id)\mathsf N(0,\mathrm{Id}) 与 ρ1\rho_1 之间的单侧随机插值为如下随机过程 xtosx^{\mathsf{os}}_t:
xtos=α(t)z+J(t,x1),t∈[0,1]x^{\mathsf{os}}_{t}=\alpha(t)z+J(t,x_{1}),\qquad t\in[0,1]

SOURCE PDF p.26 · Thmtheorem32.p1.2
EN
that fulfills the requirements:
中
它满足下列条件:

SOURCE PDF p.26 · S3.I2.i1.p1.1
EN
J∈C2([0,1],C2(Rd)d)J\in C^{2}([0,1],C^{2}({\mathbb{R}}^{d})^{d}) satisfies the boundary conditions J(0,x1)=0J(0,x_{1})=0 and J(1,x1)=x1J(1,x_{1})=x_{1} .
中
J∈C2([0,1],C2(Rd)d)J\in C^2([0,1],C^2(\mathbb R^d)^d),且满足边界条件 J(0,x1)=0J(0,x_1)=0、J(1,x1)=x1J(1,x_1)=x_1;

SOURCE PDF p.26 · S3.I2.i2.p1.1
EN
x1x_{1} and zz are independent random variables drawn from ρ1\rho_{1} and N(0,Id){\sf N}(0,\text{\it Id}) , respectively.
中
x1x_1 与 zz 相互独立,分别取自 ρ1\rho_1 与 N(0,Id)\mathsf N(0,\mathrm{Id});

SOURCE PDF p.26 · S3.I2.i3.p1.1
EN
α:[0,1]→R\alpha:[0,1]\to{\mathbb{R}} satisfies α(0)=1\alpha(0)=1 , α(1)=0\alpha(1)=0 , α(t)>0\alpha(t)>0 for all t∈[0,1)t\in[0,1) , and α2∈C2([0,1])\alpha^{2}\in C^{2}([0,1]) .
中
α:[0,1]→R\alpha:[0,1]\to\mathbb R 满足 α(0)=1\alpha(0)=1、α(1)=0\alpha(1)=0,对一切 t∈[0,1)t\in[0,1) 均有 α(t)>0\alpha(t)>0,并且 α2∈C2([0,1])\alpha^2\in C^2([0,1])。

SOURCE PDF p.26 · S3.SS2.p2.1
EN
By construction, xt=0os=z∼N(0,Id)x^{\mathsf{os}}_{t=0}=z\sim{\sf N}(0,\text{\it Id}) and xt=1os=x1∼ρ1x^{\mathsf{os}}_{t=1}=x_{1}\sim\rho_{1} , so that the distribution of the stochastic process xtosx^{\mathsf{os}}_{t} bridges N(0,Id){\sf N}(0,\text{\it Id}) and ρ1\rho_{1} . It is easy to see that the one-sided stochastic interpolant defined in ( 3.14 ) will have the same density as the stochastic interpolant defined in ( 2.1 ) if we set I(t,x0,x1)=Jt(x1)+δ(t)x0I(t,x_{0},x_{1})=J_{t}(x_{1})+\delta(t)x_{0} and take δ2(t)+γ2(t)=α2(t)\delta^{2}(t)+\gamma^{2}(t)=\alpha^{2}(t) . Restricting to this case, our earlier theoretical results apply where the velocity field bb defined in ( 2.10 ) becomes
中
按构造,xt=0os=z∼N(0,Id)x^{\mathsf{os}}_{t=0}=z\sim\mathsf N(0,\mathrm{Id}),而 xt=1os=x1∼ρ1x^{\mathsf{os}}_{t=1}=x_1\sim\rho_1,因此过程的分布连接了标准正态分布与 ρ1\rho_1。容易看出,若令 I(t,x0,x1)=Jt(x1)+δ(t)x0I(t,x_0,x_1)=J_t(x_1)+\delta(t)x_0,并取 δ2(t)+γ2(t)=α2(t)\delta^2(t)+\gamma^2(t)=\alpha^2(t),则式(3.14)的单侧随机插值与式(2.1)的随机插值密度相同。限定到这种情况,前述理论结果仍然适用,式(2.10)所定义的速度场 bb 变为
b(t,x)=E(α˙(t)z+∂tJ(t,x1)∣xtos=x),b(t,x)={\mathbb{E}}(\dot{\alpha}(t)z+\partial_{t}J(t,x_{1})|x^{\mathsf{os}}_{t}=x),

SOURCE PDF p.26 · S3.SS2.p2.2
EN
and the quadratic objective in ( 2.13 ) becomes
中
式(2.13)的二次目标则变为
Lb[b^]=∫01E(12∣b^(t,xtos)∣2−(α˙(t)z+∂tJ(t,x1))⋅b^(t,xtos))dt.\mathcal{L}_{b}[\hat{b}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{b}(t,x^{\mathsf{os}}_{t})|^{2}-\left(\dot{\alpha}(t)z+\partial_{t}J(t,x_{1})\right)\cdot\hat{b}(t,x^{\mathsf{os}}_{t})\right)dt.

SOURCE PDF p.26 · S3.SS2.p2.3
EN
In the expression above, xtosx^{\mathsf{os}}_{t} is given by ( 3.14 ) and the expectation E{\mathbb{E}} is taken independently over x1∼ρ1x_{1}\sim\rho_{1} and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) . Similarly, the score is given by
中
上式中,xtosx_t^{\mathsf{os}} 由式(3.14)给出,E\mathbb E 对相互独立的 x1∼ρ1x_1\sim\rho_1 与 z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id}) 取期望。类似地,得分为
s(t,x)=−α−1(t)ηz(t,x),ηz(t,x)=E(z∣xtos=x),s(t,x)=-\alpha^{-1}(t)\eta_{z}(t,x),\qquad\eta_{z}(t,x)={\mathbb{E}}(z|x^{\mathsf{os}}_{t}=x),

SOURCE PDF p.27 · S3.SS2.p2.4
EN
where ηz(t,x)\eta_{z}(t,x) is the equivalent of the denoiser defined in ( 2.17 ). These functions are the unique minimizers of the objectives
中
其中 ηz(t,x)\eta_z(t,x) 对应于式(2.17)定义的去噪器。这些函数是以下目标的唯一极小化解:
Ls[s^]=∫01E(12∣s^(t,xtos)∣2+γ−1(t)z⋅s^(t,xtos))dt,\mathcal{L}_{s}[\hat{s}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{s}(t,x^{\mathsf{os}}_{t})|^{2}+\gamma^{-1}(t)z\cdot\hat{s}(t,x^{\mathsf{os}}_{t})\right)dt, Lηz[η^z]=∫01E(12∣η^z(t,xtos)∣2−z⋅η^z(t,xtos))dt.\mathcal{L}_{\eta_{z}}[\hat{\eta}_{z}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{\eta}_{z}(t,x^{\mathsf{os}}_{t})|^{2}-z\cdot\hat{\eta}_{z}(t,x^{\mathsf{os}}_{t})\right)dt.

SOURCE PDF p.27 · S3.SS2.p2.5
EN
Moreover, we can weaken Assumption 5 to the following requirement:
中
此外,还可以把假设 5 放宽为下列要求:

Assumption 33 . 假设 33

SOURCE PDF p.27 · Thmtheorem33.p1.2
EN
The density ρ1∈C2(Rd)\rho_{1}\in C^{2}({\mathbb{R}}^{d}) , satisfies ρ1(x)>0\rho_{1}(x)>0 for all x∈Rdx\in{\mathbb{R}}^{d} , and:
中
密度 ρ1∈C2(Rd)\rho_1\in C^2(\mathbb R^d),对一切 x∈Rdx\in\mathbb R^d 有 ρ1(x)>0\rho_1(x)>0,并且:
∫Rd∣∇log⁡ρ1(x)∣2ρ1(x)dx<∞.\int_{{\mathbb{R}}^{d}}|\nabla\log\rho_{1}(x)|^{2}\rho_{1}(x)dx<\infty.

SOURCE PDF p.27 · Thmtheorem33.p1.3
EN
The function JJ satisfies
中
函数 JJ 满足
∃C1<∞ :∣∂tJ(t,x1)∣≤C1∣x1∣for all(t,x1)∈[0,1]×Rd,\displaystyle\exists C_{1}<\infty\ : \qquad \displaystyle|\partial_{t}J(t,x_{1})|\leq C_{1}|x_{1}|\quad \qquad \displaystyle\text{for all}\quad(t,x_{1})\in[0,1]\times{\mathbb{R}}^{d},

SOURCE PDF p.27 · Thmtheorem33.p1.4
EN
and
中
以及
∃M1,M2<∞  :  E[∣∂tJ(t,x1)∣4]≤M1;E[∣∂t2J(t,x1)∣2]≤M2,for allt∈[0,1],\exists M_{1},M_{2}<\infty\ \ :\ \ {\mathbb{E}}\big[|\partial_{t}J(t,x_{1})|^{4}\big]\leq M_{1};\quad{\mathbb{E}}\big[|\partial^{2}_{t}J(t,x_{1})|^{2}\big]\leq M_{2},\quad\text{for all}\quad t\in[0,1],

SOURCE PDF p.27 · Thmtheorem33.p1.5
EN
where the expectation is taken over x1∼ρ1x_{1}\sim\rho_{1} .
中
其中期望按 x1∼ρ1x_1\sim\rho_1 计算。

Remark 34 . 说明 34

SOURCE PDF p.27 · Thmtheorem34.p1.1
EN
The construction above can easily be generalized to the case where ρ0=N(0,C0)\rho_{0}=\mathsf{N}(0,C_{0}) with C0C_{0} a positive-definite matrix. Without loss of generality, we can then assume that C0C_{0} can be represented as C0=σ0σ0TC_{0}=\sigma_{0}\sigma_{0}^{\mathsf{T}} where σ0\sigma_{0} is a lower-triangular matrix and replace ( 3.14 )
中
上述构造可以直接推广到 ρ0=N(0,C0)\rho_0=\mathsf N(0,C_0),其中 C0C_0 为正定矩阵。不失一般性,可将 C0C_0 表为 C0=σ0σ0TC_0=\sigma_0\sigma_0^\mathsf T,其中 σ0\sigma_0 是下三角矩阵,并将式(3.14)替换为
xtos=α(t)σ0z+J(t,x1),t∈[0,1],x^{\mathsf{os}}_{t}=\alpha(t)\sigma_{0}z+J(t,x_{1}),\qquad t\in[0,1],

SOURCE PDF p.27 · Thmtheorem34.p1.2
EN
with JJ and α\alpha satisfying the conditions listed in Definition 32 and where z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) .
中
其中 JJ 与 α\alpha 满足定义 32 的条件,z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id})。

3.3 Mirror interpolants 3.3 镜像插值

SOURCE PDF p.27 · S3.SS3.p1.1
EN
Another practically relevant setting is when the base and the target are the same density ρ1\rho_{1} . In this setting we can define a stochastic interpolant as:
中
另一种具有实际意义的情形是:基分布与目标分布具有同一密度 ρ1\rho_1。此时可作如下定义:

Definition 35 (Mirror stochastic interpolant) . 定义 35(镜像随机插值)

SOURCE PDF p.27 · Thmtheorem35.p1.1
EN
Given a probability density function ρ1:Rd→R≥0\rho_{1}:{{\mathbb{R}}^{d}}\rightarrow{\mathbb{R}}_{\geq 0} , a mirror stochastic interpolant between ρ0\rho_{0} and itself is a stochastic process xtmirx^{\mathsf{mir}}_{t}
中
给定概率密度函数 ρ1:Rd→R≥0\rho_1:\mathbb R^d\to\mathbb R_{\ge0},在同一密度的两端之间定义镜像随机插值过程 xtmirx_t^{\mathsf{mir}} 如下(原文此句将两端写作 ρ0\rho_0;下述采样条件使用 ρ1\rho_1):
xtmir=K(t,x1)+γ(t)z,t∈[0,1]x^{\mathsf{mir}}_{t}=K(t,x_{1})+\gamma(t)z,\qquad t\in[0,1]

SOURCE PDF p.27 · Thmtheorem35.p1.2
EN
that fulfills the requirements:
中
该过程满足:

SOURCE PDF p.27 · S3.I3.i1.p1.1
EN
K∈C2([0,1],C2(Rd)d)K\in C^{2}([0,1],C^{2}({\mathbb{R}}^{d})^{d}) satisfies the boundary conditions K(0,x1)=x1K(0,x_{1})=x_{1} and K(1,x1)=x1K(1,x_{1})=x_{1} .
中
K∈C2([0,1],C2(Rd)d)K\in C^2([0,1],C^2(\mathbb R^d)^d),且满足边界条件 K(0,x1)=x1K(0,x_1)=x_1、K(1,x1)=x1K(1,x_1)=x_1;

SOURCE PDF p.27 · S3.I3.i2.p1.1
EN
x1x_{1} and zz are random variables drawn independently from ρ1\rho_{1} and N(0,Id){\sf N}(0,\text{\it Id}) , respectively.
中
随机变量 x1x_1 与 zz 分别从 ρ1\rho_1 与 N(0,Id)\mathsf N(0,\mathrm{Id}) 独立抽取;

SOURCE PDF p.27 · S3.I3.i3.p1.1
EN
γ:[0,1]→R\gamma:[0,1]\to{\mathbb{R}} satisfies γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0 , γ(t)>0\gamma(t)>0 for all t∈(0,1)t\in(0,1) , and γ2∈C1([0,1])\gamma^{2}\in C^{1}([0,1]) .
中
γ:[0,1]→R\gamma:[0,1]\to\mathbb R 满足 γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0,对一切 t∈(0,1)t\in(0,1) 有 γ(t)>0\gamma(t)>0,且 γ2∈C1([0,1])\gamma^2\in C^1([0,1])。

SOURCE PDF p.28 · S3.SS3.p2.1
EN
By construction, xt=0mir=xt=1mir=x1∼ρ1x^{\mathsf{mir}}_{t=0}=x^{\mathsf{mir}}_{t=1}=x_{1}\sim\rho_{1} , so that the distribution of the stochastic process xtmirx^{\mathsf{mir}}_{t} bridges ρ1\rho_{1} to itself. Note that a valid choice is K(t,x1)=α(t)x1K(t,x_{1})=\alpha(t)x_{1} with α(0)=α(1)=1\alpha(0)=\alpha(1)=1 (e.g. α(t)=1\alpha(t)=1 ): in this case, mirror interpolants are related to denoisers, as will be discussed in Section 5.2 .
中
按构造,xt=0mir=xt=1mir=x1∼ρ1x^{\mathsf{mir}}_{t=0}=x^{\mathsf{mir}}_{t=1}=x_1\sim\rho_1,故过程 xtmirx_t^{\mathsf{mir}} 的分布从 ρ1\rho_1 出发又回到 ρ1\rho_1。一种合法选择是 K(t,x1)=α(t)x1K(t,x_1)=\alpha(t)x_1,其中 α(0)=α(1)=1\alpha(0)=\alpha(1)=1(例如 α(t)=1\alpha(t)=1)。此时镜像插值与去噪器相关,详见第 5.2 节。

SOURCE PDF p.28 · S3.SS3.p3.1
EN
It is easy to see that our earlier theoretical results apply where the velocity field bb defined in ( 2.10 ) becomes
中
容易看出,此时前述理论仍适用;式(2.10)定义的速度场 bb 变为
b(t,x)=E(∂tK(t,x1)+γ˙(t)z∣xtmir=x),b(t,x)={\mathbb{E}}(\partial_{t}K(t,x_{1})+\dot{\gamma}(t)z|x^{\mathsf{mir}}_{t}=x),

SOURCE PDF p.28 · S3.SS3.p3.2
EN
and the quadratic objective in ( 2.13 ) becomes
中
式(2.13)的二次目标变为
Lb[b^]=∫01E(12∣b^(t,xtmir)∣2−(∂tK(t,x1)+γ˙(t)z)⋅b^(t,xtmir))dt.\mathcal{L}_{b}[\hat{b}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{b}(t,x^{\mathsf{mir}}_{t})|^{2}-\left(\partial_{t}K(t,x_{1})+\dot{\gamma}(t)z\right)\cdot\hat{b}(t,x^{\mathsf{mir}}_{t})\right)dt.

SOURCE PDF p.28 · S3.SS3.p3.3
EN
In the expression above, xtmirx^{\mathsf{mir}}_{t} is given by ( 3.24 ) and the expectation E{\mathbb{E}} is taken independently over x1∼ρ1x_{1}\sim\rho_{1} and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) . Similarly, the score is given by
中
上式中 xtmirx_t^{\mathsf{mir}} 由式(3.24)给出,E\mathbb E 对相互独立的 x1∼ρ1x_1\sim\rho_1 与 z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id}) 取期望。类似地,得分为
s(t,x)=−γ−1(t)ηz(t,x),ηz(t,x)=E(z∣xtmir=x),s(t,x)=-\gamma^{-1}(t)\eta_{z}(t,x),\qquad\eta_{z}(t,x)={\mathbb{E}}(z|x^{\mathsf{mir}}_{t}=x),

SOURCE PDF p.28 · S3.SS3.p3.4
EN
which are the unique minimizers of the objective functions
中
它们是下列目标函数的唯一极小化解:
Ls[s^]=∫01E(12∣s^(t,xtmir)∣2+γ−1(t)z⋅s^(t,xtmir))dt.\mathcal{L}_{s}[\hat{s}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{s}(t,x^{\mathsf{mir}}_{t})|^{2}+\gamma^{-1}(t)z\cdot\hat{s}(t,x^{\mathsf{mir}}_{t})\right)dt. Lηz[η^z]=∫01E(12∣η^z(t,xtmir)∣2−z⋅η^z(t,xtmir))dt.\mathcal{L}_{\eta_{z}}[\hat{\eta}_{z}]=\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{\eta}_{z}(t,x^{\mathsf{mir}}_{t})|^{2}-z\cdot\hat{\eta}_{z}(t,x^{\mathsf{mir}}_{t})\right)dt.

SOURCE PDF p.28 · S3.SS3.p3.5
EN
Moreover, we can weaken Assumption 5 to the following requirement:
中
此外,可以把假设 5 放宽为下列要求:

Assumption 36 . 假设 36

SOURCE PDF p.28 · Thmtheorem36.p1.2
EN
The density ρ1∈C2(Rd)\rho_{1}\in C^{2}({\mathbb{R}}^{d}) satisfies ρ1(x)>0\rho_{1}(x)>0 for all x∈Rdx\in{\mathbb{R}}^{d} and
中
密度 ρ1∈C2(Rd)\rho_1\in C^2(\mathbb R^d) 对所有 x∈Rdx\in\mathbb R^d 均满足 ρ1(x)>0\rho_1(x)>0,并且
∫Rd∣∇log⁡ρ1(x)∣2ρ1(x)dx<∞.\int_{{\mathbb{R}}^{d}}|\nabla\log\rho_{1}(x)|^{2}\rho_{1}(x)dx<\infty.

SOURCE PDF p.28 · Thmtheorem36.p1.3
EN
The function KK satisfies
中
函数 KK 满足
∃C1<∞ :∣∂tK(t,x1)∣≤C1∣x1∣for all(t,x1)∈[0,1]×Rd,\displaystyle\exists C_{1}<\infty\ : \qquad \displaystyle|\partial_{t}K(t,x_{1})|\leq C_{1}|x_{1}|\quad \qquad \displaystyle\text{for all}\quad(t,x_{1})\in[0,1]\times{\mathbb{R}}^{d},

SOURCE PDF p.28 · Thmtheorem36.p1.4
EN
and
中
以及
∃M1,M2<∞  :  E[∣∂tK(t,x1)∣4]≤M1;E[∣∂t2K(t,x1)∣2]≤M2,for allt∈[0,1],\exists M_{1},M_{2}<\infty\ \ :\ \ {\mathbb{E}}\big[|\partial_{t}K(t,x_{1})|^{4}\big]\leq M_{1};\quad{\mathbb{E}}\big[|\partial^{2}_{t}K(t,x_{1})|^{2}\big]\leq M_{2},\quad\text{for all}\quad t\in[0,1],

SOURCE PDF p.28 · Thmtheorem36.p1.5
EN
where the expectation is taken over x1∼ρ1x_{1}\sim\rho_{1} .
中
其中期望按 x1∼ρ1x_1\sim\rho_1 计算。

Remark 37 . 说明 37

SOURCE PDF p.28 · Thmtheorem37.p1.1
EN
Interestingly, if we take K(t,x1)=x1K(t,x_{1})=x_{1} , then ∂tK(t,x1)=0\partial_{t}K(t,x_{1})=0 , and the velocity field defined in ( 3.25 ) is completely defined by the denoiser ηz\eta_{z}
中
有趣的是,若取 K(t,x1)=x1K(t,x_1)=x_1,则 ∂tK(t,x1)=0\partial_tK(t,x_1)=0,式(3.25)中的速度场完全由去噪器 ηz\eta_z 决定:
b(t,x)=γ˙(t)ηz(t,x)b(t,x)=\dot{\gamma}(t)\eta_{z}(t,x)

SOURCE PDF p.28 · Thmtheorem37.p1.2
EN
Since the score ss also depends on ηz\eta_{z} , this denoiser is the only quantity that needs to be learned.
中
由于得分 ss 也取决于 ηz\eta_z,只需要学习这一个去噪器。

Remark 38 . 说明 38

SOURCE PDF p.28 · Thmtheorem38.p1.1
EN
If ρ1\rho_{1} is only accessible via empirical samples, mirror interpolants do not enable calculation of the functional form of ρ1\rho_{1} . A notable exception is if we set K(t,x1)=0K(t,x_{1})=0 for t∈[t1,t2]t\in[t_{1},t_{2}] with 0<t1≤t2<10<t_{1}\leq t_{2}<1 : in that case, xtmir=γ(t)z∼γ(t)N(0,Id)x^{\mathsf{mir}}_{t}=\gamma(t)z\sim\gamma(t){\sf N}(0,\text{\it Id}) for t∈[t1,t2]t\in[t_{1},t_{2}] , which gives us a reference density for comparison. In this setup, mirror interpolants essentially reduce to two one-sided interpolants glued together (with the second one time-reversed), or in fact a regular stochastic interpolant when ρ0=ρ1\rho_{0}=\rho_{1} and we set I(t,x0,x1)=0I(t,x_{0},x_{1})=0 for t∈[t1,t2]t\in[t_{1},t_{2}] .
中
若只能通过经验样本访问 ρ1\rho_1,通常无法用镜像插值计算 ρ1\rho_1 的函数表达式。一个值得注意的例外是:取 0<t1≤t2<10<t_1\le t_2<1,并在 t∈[t1,t2]t\in[t_1,t_2] 上令 K(t,x1)=0K(t,x_1)=0。于是该区间内 xtmir=γ(t)zx_t^{\mathsf{mir}}=\gamma(t)z,服从标准正态随机变量经 γ(t)\gamma(t) 缩放后的分布,从而有一个可供比较的参考密度。在这一设置中,镜像插值实质上是两个单侧插值的拼接,第二段作时间反演;当 ρ0=ρ1\rho_0=\rho_1 且在该区间取 I(t,x0,x1)=0I(t,x_0,x_1)=0 时,也可以将其视为普通的随机插值。

3.4 Stochastic interpolants and Schrödinger bridges 3.4 随机插值与 Schrödinger 桥

SOURCE PDF p.28 · S3.SS4.p1.3
EN
The stochastic interpolant framework can also be used to solve the Schrödinger bridge problem. For background material on this problem, we refer the reader to Léonard (2014) and the references therein. Consistent with the overall viewpoint of this paper, we consider the hydrodynamic formulation of the Schrödinger bridge problem, in which the goal is to obtain a pair (ρ,u)(\rho,u) , that solves the following optimization problem for a fixed ϵ>0\epsilon>0
中
随机插值框架也可用来求解薛定谔桥问题。背景资料可参见 Léonard(2014)及其参考文献。与全文的视角一致,这里采用薛定谔桥问题的流体动力学表述:对固定的 ϵ>0\epsilon>0,目标是找到求解下列优化问题的一对函数 (ρ,u)(\rho,u):
min⁡u^,ρ^∫01∫Rd∣u^(t,x)∣2ρ^(t,x)dxdtsubject to:∂tρ^+∇⋅(u^ρ^)=ϵΔρ^,ρ^(0)=ρ0ρ^(1)=ρ1\displaystyle\min_{\hat{u},\hat{\rho}}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}|\hat{u}(t,x)|^{2}\hat{\rho}(t,x)dxdt \qquad \displaystyle\text{subject to:} \qquad \displaystyle\partial_{t}\hat{\rho}+\nabla\cdot\left(\hat{u}\hat{\rho}\right)=\epsilon\Delta\hat{\rho},\quad\hat{\rho}(0)=\rho_{0}\quad\hat{\rho}(1)=\rho_{1}

SOURCE PDF p.29 · S3.SS4.p1.4
EN
Under our assumptions on ρ0\rho_{0} and ρ1\rho_{1} listed in Assumption 5 , it is known (see e.g. Proposition 4.1 in Léonard (2014) ) that ( 3.34 ) has a unique minimizer (ρ,u=∇λ)(\rho,u=\nabla\lambda) , with (ρ,λ)(\rho,\lambda) classical solutions of the Euler-Lagrange equations:
中
若 ρ0\rho_0 与 ρ1\rho_1 满足假设 5 所列条件,则已知式(3.34)存在唯一极小化解 (ρ,u=∇λ)(\rho,u=\nabla\lambda),其中 (ρ,λ)(\rho,\lambda) 是以下 Euler–Lagrange 方程的经典解(例如,见 Léonard,2014,命题 4.1):
∂tρ+∇⋅(∇λρ)=ϵΔρ,ρ(0)=ρ0,ρ(1)=ρ1,∂tλ+12∣∇λ∣2=−ϵΔλ.\displaystyle\partial_{t}\rho+\nabla\cdot\left(\nabla\lambda\rho\right)=\epsilon\Delta\rho,\quad\rho(0)=\rho_{0},\quad\rho(1)=\rho_{1}, \qquad \displaystyle\partial_{t}\lambda+\tfrac{1}{2}|\nabla\lambda|^{2}=-\epsilon\Delta\lambda.

SOURCE PDF p.29 · S3.SS4.p1.5
EN
To proceed we will make the additional assumption that the solution ρ\rho to ( 3.35 ) can be reversibly mapped to a standard Gaussian:
中
下面还需假设式(3.35)的解 ρ\rho 可以通过可逆映射与标准高斯分布相互转换:

Assumption 39 . 假设 39

SOURCE PDF p.29 · Thmtheorem39.p1.1
EN
There exists a reversible map T:[0,1]×Rd→RdT:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} with T,T−1∈C1([0,1],(Cd(Rd))d)T,T^{-1}\in C^{1}([0,1],(C^{d}({\mathbb{R}}^{d}))^{d}) such that:
中
存在可逆映射 T:[0,1]×Rd→RdT:[0,1]\times\mathbb R^d\to\mathbb R^d,其中 T,T−1∈C1([0,1],(Cd(Rd))d)T,T^{-1}\in C^1([0,1],(C^d(\mathbb R^d))^d),使得:
∀t∈[0,1]:z∼N(0,Id) ⇒ T(t,z)∼ρ(t);xt∼ρ(t) ⇒ T−1(t,xt)∼N(0,Id),\forall t\in[0,1]\quad:\quad z\sim{\sf N}(0,\text{\it Id})\ \Rightarrow\ T(t,z)\sim\rho(t);\quad x_{t}\sim\rho(t)\ \Rightarrow\ T^{-1}(t,x_{t})\sim{\sf N}(0,\text{\it Id}),

SOURCE PDF p.29 · Thmtheorem39.p1.2
EN
where ρ\rho is the solution to ( 3.35 ).
中
其中 ρ\rho 是式(3.35)的解。

SOURCE PDF p.29 · S3.SS4.p2.1
EN
We stress that the actual form of the map TT is not important for the arguments below. Assumption 39 can be used to show the existence of a stochastic interpolant whose density solves ( 3.35 ):
中
强调一下,以下论证不需要知道映射 TT 的具体形式。利用假设 39 可以证明,存在一个随机插值,其密度恰好求解式(3.35):

Lemma 40 . 引理 40

SOURCE PDF p.29 · Thmtheorem40.p1.1
EN
If Assumption ( 39 ) holds, then the solution ρ(t)\rho(t) to ( 3.35 ) is the density of the stochastic interpolant
中
若假设 39 成立,则式(3.35)的解 ρ(t)\rho(t) 是下列随机插值的密度:
xt=T(t,α(t)T−1(0,x0)+β(t)T−1(1,x1))+γ(t)z,x_{t}=T(t,\alpha(t)T^{-1}(0,x_{0})+\beta(t)T^{-1}(1,x_{1}))+\gamma(t)z,

SOURCE PDF p.29 · Thmtheorem40.p1.2
EN
as long as α2(t)+β2(t)+γ2(t)=1\alpha^{2}(t)+\beta^{2}(t)+\gamma^{2}(t)=1 .
中
只要 α2(t)+β2(t)+γ2(t)=1\alpha^2(t)+\beta^2(t)+\gamma^2(t)=1 即可。

SOURCE PDF p.29 · S3.SS4.p3.1
EN
The proof is given in Appendix B.6 : ( 3.37 ) corresponds to choosing I(t,x0,x1)=T(t,α(t)T−1(t,x0)+β(t)T−1(t,x1))I(t,x_{0},x_{1})=T(t,\alpha(t)T^{-1}(t,x_{0})+\beta(t)T^{-1}(t,x_{1})) in ( 2.1 ). With the help of Lemma 40 , we can establish the following result, which shows how to optimize over the function II to solve the problem ( 3.34 )
中
证明见附录 B.6:式(3.37)相当于在式(2.1)中选取 I(t,x0,x1)=T(t,α(t)T−1(t,x0)+β(t)T−1(t,x1))I(t,x_0,x_1)=T(t,\alpha(t)T^{-1}(t,x_0)+\beta(t)T^{-1}(t,x_1))。借助引理 40 可以得到下面的结果,它说明如何通过优化函数 II 来求解问题(3.34)。

Theorem 41 . 定理 41

SOURCE PDF p.29 · Thmtheorem41.p1.1
EN
Pick some γ:[0,1]→[0,1)\gamma:[0,1]\to[0,1) such that γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0 , γ(t)>0\gamma(t)>0 for t∈(0,1)t\in(0,1) , γ∈C2((0,1))\gamma\in C^{2}((0,1)) and γ2∈C1([0,1])\gamma^{2}\in C^{1}([0,1]) , and let x^t=I^(t,x0,x1)+γ(t)z\hat{x}_{t}=\hat{I}(t,x_{0},x_{1})+\gamma(t)z , with x0∼ρ0x_{0}\sim\rho_{0} , x1∼ρ1x_{1}\sim\rho_{1} , and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) all independent. Consider the max-min problem over I^∈C1([0,1],(C1(Rd×Rd))d)\hat{I}\in C^{1}([0,1],(C^{1}({\mathbb{R}}^{d}\times{\mathbb{R}}^{d}))^{d}) and u^∈C0([0,1],(C1(Rd))d)\hat{u}\in C^{0}([0,1],(C^{1}({\mathbb{R}}^{d}))^{d}) :
中
取 γ:[0,1]→[0,1)\gamma:[0,1]\to[0,1),使得 γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0、对 t∈(0,1)t\in(0,1) 有 γ(t)>0\gamma(t)>0,且 γ∈C2((0,1))\gamma\in C^2((0,1))、γ2∈C1([0,1])\gamma^2\in C^1([0,1])。令 x^t=I^(t,x0,x1)+γ(t)z\hat x_t=\hat I(t,x_0,x_1)+\gamma(t)z,其中 x0∼ρ0x_0\sim\rho_0、x1∼ρ1x_1\sim\rho_1、z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id}) 相互独立。考虑关于 I^∈C1([0,1],(C1(Rd×Rd))d)\hat I\in C^1([0,1],(C^1(\mathbb R^d\times\mathbb R^d))^d) 和 u^∈C0([0,1],(C1(Rd))d)\hat u\in C^0([0,1],(C^1(\mathbb R^d))^d) 的如下极大极小问题:
max⁡I^min⁡u^∫01E(12∣u^(t,x^t)∣2−(∂tI^(t,x0,x1)+(γ˙(t)−ϵγ−1(t))z)⋅u^(t,x^t))dt.\max_{\hat{I}}\min_{\hat{u}}\int_{0}^{1}{\mathbb{E}}\left(\tfrac{1}{2}|\hat{u}(t,\hat{x}_{t})|^{2}-\left(\partial_{t}\hat{I}(t,x_{0},x_{1})+(\dot{\gamma}(t)-\epsilon\gamma^{-1}(t))z\right)\cdot\hat{u}(t,\hat{x}_{t})\right)dt.

SOURCE PDF p.30 · Thmtheorem41.p1.2
EN
If Assumption 39 holds, then all the optimizers (I,u)(I,u) of ( 3.38 ) are such that the density of the associated xt=I(t,x0,x1)+γ(t)zx_{t}=I(t,x_{0},x_{1})+\gamma(t)z is the solution ρ\rho to ( 3.35 ). Moreover, u=∇λu=\nabla\lambda , with λ\lambda the solution to ( 3.35 ).
中
若假设 39 成立,式(3.38)的任一最优解 (I,u)(I,u) 都具有如下性质:对应的随机插值 xt=I(t,x0,x1)+γ(t)zx_t=I(t,x_0,x_1)+\gamma(t)z 的密度即式(3.35)的解 ρ\rho。此外,u=∇λu=\nabla\lambda,其中 λ\lambda 也是式(3.35)的解。

SOURCE PDF p.30 · S3.SS4.p4.1
EN
The proof is also given in Appendix B.6 . Note that if we fix I^\hat{I} , the velocity uu minimizing this objective is the forward drift bFb_{\mathsf{F}} defined in ( 2.21 ). Note also that if we set ϵ→0\epsilon\to 0 , the minimizing velocity field is bb as defined in ( 2.10 ), and the max-min problem formally reduces to solving the optimal transport problem. In this case, Assumption 39 becomes more stringent, as we need to assume that that system ( 3.35 ) with ϵ=0\epsilon=0 (i.e. in the absence of the diffusive terms) has a classical solution. Theorem ( 41 ) gives a practical route towards solving the Schrödinger bridge problem with stochastic interpolants, and we leave the numerical investigation of this formulation to future work.
中
证明同样见附录 B.6。若固定 I^\hat I,使该目标最小的速度 uu 就是式(2.21)中的前向漂移 bFb_{\mathsf F}。另一方面,当 ϵ→0\epsilon\to0 时,使目标最小的速度场变为式(2.10)定义的 bb,极大极小问题在形式上化为最优传输问题。此时假设 39 更强,因为必须假定式(3.35)在 ϵ=0\epsilon=0(即没有扩散项)时仍有经典解。定理 41 给出了利用随机插值求解薛定谔桥问题的可行途径,这一表述的数值研究留待后续工作。

4 Spatially linear interpolants 4 空间线性插值

SOURCE PDF p.30 · S4.p1.2
EN
In this section, we study the stochastic interpolants that are obtained when we specialize the function II used in ( 2.1 ) to be linear in both x0x_{0} and x1x_{1} , i.e. we consider
中
本节考察式(2.1)中的函数 II 对 x0x_0 和 x1x_1 都取线性形式时得到的随机插值,即考虑
xtlin=α(t)x0+β(t)x1+γ(t)z,x^{\mathsf{lin}}_{t}=\alpha(t)x_{0}+\beta(t)x_{1}+\gamma(t)z,

SOURCE PDF p.30 · S4.p1.3
EN
where (x0,x1)∼ν(x_{0},x_{1})\sim\nu and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) with (x0,x1)⊥z(x_{0},x_{1})\perp z , and α,β,γ2∈C2([0,1])\alpha,\beta,\gamma^{2}\in C^{2}([0,1]) satisfy the conditions
中
其中 (x0,x1)∼ν(x_0,x_1)\sim\nu,z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id}),且 (x0,x1)(x_0,x_1) 与 zz 独立;函数 α,β,γ2∈C2([0,1])\alpha,\beta,\gamma^2\in C^2([0,1]) 满足下列条件:
α(0)=β(1)=1;α(1)=β(0)=γ(0)=γ(1)=0;∀t∈(0,1) : γ(t)>0.\displaystyle\alpha(0)=\beta(1)=1;\quad\alpha(1)=\beta(0)=\gamma(0)=\gamma(1)=0;\quad\forall t\in(0,1)\ :\ \gamma(t)>0.

SOURCE PDF p.30 · S4.p1.4
EN
Despite its simplicity, this setup offers significant design flexibility. The discussion highlights how the presence of the latent variable γ(t)z\gamma(t)z can simplify the structure of the intermediate density ρ(t)\rho(t) . Since our ultimate aim is to investigate the properties of practical generative models built upon ODEs or SDEs, we will also study the effect of time-dependent diffusion coefficient ϵ(t)\epsilon(t) , which controls the amplitude of the noise in a generative SDE. Throughout, to build intuition, we choose ρ0\rho_{0} and ρ1\rho_{1} to be Gaussian mixture densities, for which the drift coefficients can be computed analytically (see Appendix A ). This enables us to visualize the effect of each choice on the resulting generative models.
中
尽管设置简单,设计仍颇为灵活。下面着重讨论潜变量项 γ(t)z\gamma(t)z 怎样简化中间密度 ρ(t)\rho(t) 的结构。我们的最终目的是研究基于常微分方程或随机微分方程的实用生成模型,因此也会考察含时扩散系数 ϵ(t)\epsilon(t) 的作用:它控制生成随机微分方程中的噪声幅度。为建立直观认识,下文均取 ρ0\rho_0、ρ1\rho_1 为高斯混合密度,此时漂移系数可以解析求出(见附录 A),因而可以直观显示每种选择对生成模型的影响。

4.1 Factorization of the velocity field 4.1 速度场分解

SOURCE PDF p.30 · S4.SS1.p1.2
EN
When the stochastic interpolant is of the form ( 4.1 ), the velocity bb and the score ss defined in ( 2.10 ) and ( 2.14 ) can both be expressed in terms of the following three conditional expectations (the third is the denoiser already defined in ( 2.17 )):
中
若随机插值具有式(4.1)的形式,则式(2.10)和(2.14)中的速度 bb 与得分 ss 都可用以下三个条件期望表示,其中第三个就是式(2.17)已经定义的去噪器:
η0(t,x)=E(x0∣xtlin=x),η1(t,x)=E(x1∣xtlin=x),ηz(t,x)=E(z∣xtlin=x).\eta_{0}(t,x)={\mathbb{E}}(x_{0}|x^{\mathsf{lin}}_{t}=x),\quad\eta_{1}(t,x)={\mathbb{E}}(x_{1}|x^{\mathsf{lin}}_{t}=x),\quad\eta_{z}(t,x)={\mathbb{E}}(z|x^{\mathsf{lin}}_{t}=x).

SOURCE PDF p.30 · S4.SS1.p1.3
EN
Specifically, we have
中
具体地,有
b(t,x)=α˙(t)η0(t,x)+β˙(t)η1(t,x)+γ˙(t)ηz(t,x),s(t,x)=−γ−1(t)ηz(t,x).b(t,x)=\dot{\alpha}(t)\eta_{0}(t,x)+\dot{\beta}(t)\eta_{1}(t,x)+\dot{\gamma}(t)\eta_{z}(t,x),\qquad s(t,x)=-\gamma^{-1}(t)\eta_{z}(t,x).

SOURCE PDF p.30 · S4.SS1.p1.4
EN
The second relation above holds for t∈(0,1)t\in(0,1) (i.e. when γ(t)≠0\gamma(t)\not=0 ). Moreover, because E(xt∣xt=x)=x{\mathbb{E}}(x_{t}|x_{t}=x)=x by definition, the functions η0\eta_{0} , η1\eta_{1} , and ηz\eta_{z} satisfy
中
上面第二个等式在 t∈(0,1)t\in(0,1) 时成立,即要求 γ(t)≠0\gamma(t)\ne0。此外,根据定义 E(xt∣xt=x)=x\mathbb E(x_t\mid x_t=x)=x,函数 η0\eta_0、η1\eta_1 和 ηz\eta_z 因而满足
∀(t,x)∈[0,1]×Rd:α(t)η0(t,x)+β(t)η1(t,x)+γ(t)ηz(t,x)=x.\forall(t,x)\in[0,1]\times{\mathbb{R}}^{d}\quad:\quad\alpha(t)\eta_{0}(t,x)+\beta(t)\eta_{1}(t,x)+\gamma(t)\eta_{z}(t,x)=x.

SOURCE PDF p.31 · S4.SS1.p1.5
EN
This enables us to reduce computational expense: given two of the η\eta ’s, the third can always be calculated via ( 4.5 ). Finally, it is easy to see that the functions η0\eta_{0} , η1\eta_{1} , and ηz\eta_{z} are the unique minimizers of the objectives
中
这样可以降低计算开销:给定三个 η\eta 中的任意两个,即可由式(4.5)求出第三个。最后不难看出,函数 η0\eta_0、η1\eta_1 与 ηz\eta_z 是下列各目标的唯一极小化解:
Lη0(η^0)=∫01E[12∣η^0(t,xtlin)∣2−x0⋅η^0(t,xtlin)]dt,Lη1(η^1)=∫01E[12∣η^1(t,xtlin)∣2−x1⋅η^1(t,xtlin)]dt,Lηz(η^z)=∫01E[12∣η^z(t,xtlin)∣2−z⋅η^z(t,xtlin)]dt,\displaystyle\mathcal{L}_{\eta_{0}}(\hat{\eta}_{0}) \qquad \displaystyle=\int_{0}^{1}{\mathbb{E}}\left[\tfrac{1}{2}|\hat{\eta}_{0}(t,x^{\mathsf{lin}}_{t})|^{2}-x_{0}\cdot\hat{\eta}_{0}(t,x^{\mathsf{lin}}_{t})\right]dt, \qquad \displaystyle\mathcal{L}_{\eta_{1}}(\hat{\eta}_{1}) \qquad \displaystyle=\int_{0}^{1}{\mathbb{E}}\left[\tfrac{1}{2}|\hat{\eta}_{1}(t,x^{\mathsf{lin}}_{t})|^{2}-x_{1}\cdot\hat{\eta}_{1}(t,x^{\mathsf{lin}}_{t})\right]dt, \qquad \displaystyle\mathcal{L}_{\eta_{z}}(\hat{\eta}_{z}) \qquad \displaystyle=\int_{0}^{1}{\mathbb{E}}\left[\tfrac{1}{2}|\hat{\eta}_{z}(t,x^{\mathsf{lin}}_{t})|^{2}-z\cdot\hat{\eta}_{z}(t,x^{\mathsf{lin}}_{t})\right]dt,

SOURCE PDF p.31 · S4.SS1.p1.6
EN
where xtlinx^{\mathsf{lin}}_{t} is defined in ( 4.1 ) and the expectation is taken independently over (x0,x1)∼ν(x_{0},x_{1})\sim\nu and z∼N(0,Id).z\sim{\sf N}(0,\text{\it Id}).
中
其中 xtlinx_t^{\mathsf{lin}} 由式(4.1)定义,期望分别对相互独立的 (x0,x1)∼ν(x_0,x_1)\sim\nu 和 z∼N(0,Id)z\sim\mathsf N(0,\mathrm{Id}) 计算。

原始表格数据(按行):

| Stochastic Interpolant | | α(t)\alpha(t) | β(t)\beta(t) | γ(t)\gamma(t) | | Arbitrary ρ0\rho_{0} (two-sided) | linear | 1−t1-t | tt | at(1−t)\sqrt{at(1-t)} | | trig | cos⁡π2t\cos{\tfrac{\pi}{2}t} | sin⁡π2t\sin{\tfrac{\pi}{2}t} | at(1−t)\sqrt{at(1-t)} | | enc-dec | cos⁡2(πt)1[0,12)(t)\cos^{2}(\pi t)1_{[0,\frac{1}{2})}(t) | cos⁡2(πt)1(12,1](t)\cos^{2}(\pi t)1_{(\frac{1}{2},1]}(t) | sin⁡2(πt)\sin^{2}(\pi t) | | Gaussian ρ0\rho_{0} (one-sided) | linear | 1−t1-t | tt | 0 | | trig | cos⁡π2t\cos{\tfrac{\pi}{2}t} | sin⁡π2t\sin{\tfrac{\pi}{2}t} | 0 | | SBDM (VP) | 1−t2\sqrt{1-t^{2}} | tt | 0 | | Mirror | | 0 | 1 | at(1−t)\sqrt{at(1-t)} |

Original caption: Table 1 : Spatially linear interpolants. A table suggesting various linear interpolants. In general, this paper describes methods for arbitrary ρ0\rho_{0} and ρ1\rho_{1} . In Section 4.4 , we detail linear interpolants for one-sided generation, where ρ0\rho_{0} is a Gaussian and the latent variable zz can be absorbed into x0x_{0} . Later, in Section 5.1 , we discuss how to recast score-based diffusion models (SBDM) as linear one-sided interpolants, which leads to the expressions given in the table when using a variance-preserving parameterization. Linear mirror interpolants, where ρ0=ρ1\rho_{0}=\rho_{1} are equal, are defined by ( 3.24 ) with the choice K(t,x1)=α(t)x1K(t,x_{1})=\alpha(t)x_{1} .

中
表 1:空间线性插值的设计建议。一般框架允许任意 ρ₀、ρ₁。第 4.4 节的单侧插值以高斯为基分布,潜变量 z 可并入 x₀;第 5.1 节把 SBDM 改写为单侧插值,表中采用方差保持参数化。镜像情形 ρ₀=ρ₁,使用式(3.24)且 K(t,x₁)=α(t)x₁。

4.2 Some specific design choices 4.2 具体设计选择

SOURCE PDF p.31 · S4.SS2.p1.1
EN
It is useful to assume that both ρ0\rho_{0} and ρ1\rho_{1} have been scaled to have zero mean and identity covariance (which can be achieved in practice, for example, by an affine transformation of the data). In this case, the time-dependent mean and covariance of ( 4.1 ) are given by
中
一个有用的假设是,ρ0\rho_0 和 ρ1\rho_1 都已作尺度变换,使其具有零均值和单位协方差;实践中例如可以对数据作仿射变换来实现。此时,式(4.1)的含时均值与协方差为
E[xtlin]=0,E[xtlin(xtlin)T]=(α2(t)+β2(t)+γ2(t))Id.{\mathbb{E}}[x^{\mathsf{lin}}_{t}]=0,\qquad{\mathbb{E}}[x^{\mathsf{lin}}_{t}(x^{\mathsf{lin}}_{t})^{\mathsf{T}}]=(\alpha^{2}(t)+\beta^{2}(t)+\gamma^{2}(t))\text{\it Id}.

SOURCE PDF p.32 · S4.SS2.p1.2
EN
Preserving the identity covariance at all times therefore leads to the constraint
中
因此,若要求所有时刻都保持单位协方差,便得到约束
∀t∈[0,1]:α2(t)+β2(t)+γ2(t)=1.\forall t\in[0,1]\quad:\quad\alpha^{2}(t)+\beta^{2}(t)+\gamma^{2}(t)=1.

SOURCE PDF p.32 · S4.SS2.p1.3
EN
This choice is also sensible if ρ0\rho_{0} and ρ1\rho_{1} have covariances that are not the identity but are on a similar scale. In this case we no longer need to enforce ( 4.8 ) exactly, and could, for example, take three functions whose sum of squares is of order one. For definiteness, in the sequel we discuss possible choices that satisfy ( 4.8 ) exactly, with the understanding that the corresponding functions α\alpha , β\beta , and γ\gamma could all be slightly modified without significantly affecting the conclusions.
中
即使 ρ0\rho_0、ρ1\rho_1 的协方差并非单位阵,只要两者尺度接近,这个选择仍然合理。此时无需严格满足式(4.8);例如可取三个函数,使其平方和维持在一的量级。为把讨论具体化,下文只讨论精确满足式(4.8)的选择;相应的 α\alpha、β\beta、γ\gamma 即便略作修改,也不会实质改变结论。

Linear and trigonometric α and β . 线性与三角 α、β

SOURCE PDF p.32 · S4.SS2.SSS0.Px1.p1.1
EN
One way to ensure that ( 4.8 ) holds while maintaining the influence of ρ0\rho_{0} and ρ1\rho_{1} everywhere on [0,1][0,1] except at the endpoints is to choose
中
要使式(4.8)成立,同时让 ρ0\rho_0 与 ρ1\rho_1 的影响除两个端点外贯穿整个 [0,1][0,1],一种做法是取
α(t)=t,β(t)=1−t,γ(t)=2t(1−t).\alpha(t)=t,\qquad\beta(t)=1-t,\qquad\gamma(t)=\sqrt{2t(1-t)}.

SOURCE PDF p.32 · S4.SS2.SSS0.Px1.p1.2
EN
This choice was advocated in Liu et al. (2023b) , without the inclusion of the latent variable ( γ=0\gamma=0 ). Another possibility that gives more leeway is to pick any γ:[0,1]→[0,1]\gamma:[0,1]\to[0,1] and set
中
Liu 等(2023b)提倡采用这一选择,但不加入潜变量(γ=0\gamma=0)。另一种自由度更大的方式是任取 γ:[0,1]→[0,1]\gamma:[0,1]\to[0,1],并令
α(t)=1−γ2(t)cos⁡(12πt),β(t)=1−γ2(t)sin⁡(12πt).\alpha(t)=\sqrt{1-\gamma^{2}(t)}\cos(\tfrac{1}{2}\pi t),\qquad\beta(t)=\sqrt{1-\gamma^{2}(t)}\sin(\tfrac{1}{2}\pi t).

SOURCE PDF p.32 · S4.SS2.SSS0.Px1.p1.3
EN
With γ=0\gamma=0 , this was the choice preferred in Albergo and Vanden-Eijnden (2023) . The PDF ρ(t)\rho(t) obtained with the choices ( 4.9 ) and ( 4.10 ) when ρ0\rho_{0} and ρ1\rho_{1} are both Gaussian mixture densities are shown in Figure 4 . As this example shows, when ρ0\rho_{0} and ρ1\rho_{1} have distinct complex features, these would be duplicated in ρ(t)\rho(t) at intermediate times if not for the smoothing effect of the latent variable; this behavior is seen in Figure 4 , where it is most prominent in the first row with γ(t)=0\gamma(t)=0 . From a statistical learning perspective, eliminating the formation of spurious features will simplify the estimation of the velocity field bb , which becomes smoother as the formation of such features is suppressed.
中
当 γ=0\gamma=0 时,这正是 Albergo 与 Vanden-Eijnden(2023)优先采用的选择。ρ0\rho_0 和 ρ1\rho_1 均为高斯混合密度时,选择(4.9)和(4.10)得到的概率密度 ρ(t)\rho(t) 见图 4。这个例子说明,若 ρ0\rho_0 与 ρ1\rho_1 具有各不相同的复杂特征,在没有潜变量平滑作用时,这些特征会在中间时刻的 ρ(t)\rho(t) 中重复出现。图 4 展示了这一行为,其中第一行 γ(t)=0\gamma(t)=0 时最明显。从统计学习角度看,消除虚假特征的形成能够简化速度场 bb 的估计;抑制这些特征形成时,bb 也变得更平滑。

原图 F004

Original caption: Figure 4 : The effect of γ(t)z\gamma(t)z on ρ(t)\rho(t) . A visualization of how the choice of γ(t)\gamma(t) changes the density ρ(t)\rho(t) of xtlin=α(t)x0+β(t)x1+γ(t)zx^{\mathsf{lin}}_{t}=\alpha(t)x_{0}+\beta(t)x_{1}+\gamma(t)z when ρ0\rho_{0} and ρ1\rho_{1} are Gaussian mixture densities with two modes and three modes, respectively. The first row depicts γ(t)=0\gamma(t)=0 , which reduces to the stochastic interpolant developed in Albergo and Vanden-Eijnden (2023) . This case forms a valid transport between ρ0\rho_{0} and ρ1\rho_{1} , but produces spurious intermediate modes in ρ(t)\rho(t) . The second row depicts the choice of γ(t)=2t(1−t)\gamma(t)=\sqrt{2t(1-t)} . In this case, the spurious modes are partially damped by the addition of the latent variable, leading to a simpler ρ(t)\rho(t) . The final row shows the Gaussian encoding-decoding, which smoothly encodes ρ0\rho_{0} into a standard normal distribution on the time interval [0,1/2)[0,1/2) , which is then decoded into ρ1\rho_{1} on the interval (1/2,1](1/2,1] . In this case, no intermediate modes form in ρ(t)\rho(t) : the two modes in ρ0\rho_{0} collide to form N(0,1)\mathsf{N}(0,1) at t=12t=\tfrac{1}{2} , which then spreads into the three modes of ρ1\rho_{1} . A visualization of individual sample trajectories from deterministic and stochastic generative models based on ODEs and SDEs whose solutions have density ρ(t)\rho(t) can be seen in Figure 5 .

中
图 4:γ(t)z 对 ρ(t) 的影响。两端分别为双峰、三峰高斯混合,插值为 αx₀+βx₁+γz。首行 γ=0,虽是合法输运,但中间产生伪模态;第二行 γ=√[2t(1−t)],潜变量抑制部分伪模态,使密度更简单。末行为高斯编码—解码:前半程将 ρ₀ 平滑编码到标准正态,后半程解码为 ρ₁;两峰在 t=1/2 合成 N(0,1),再散为三峰,没有额外中间模态。对应 ODE/SDE 的单样本轨迹见图 5。

原图 F005

Original caption: Figure 5 : The effect of ϵ\epsilon on sample trajectories. A visualization of how the choice of ϵ\epsilon affects the sample trajectories obtained by solving the ODE ( 2.32 ) or the forward SDE ( 2.33 ). The set-up is the same as in Figure 4 : ρ0\rho_{0} and ρ1\rho_{1} are taken to be the same Gaussian mixture densities, and the analytical expressions for bb and ss are used. In the three panels in each column the value of γ\gamma is the same, and each panel shows trajectories with different ϵ\epsilon . Three specific trajectories from the same three initial conditions drawn from ρ0\rho_{0} are also highlighted in white in every panel. As ϵ\epsilon increases but γ\gamma stays the same, the density ρ(t)\rho(t) is unchanged, but the individual trajectories become increasingly stochastic. While all choices are equivalent with exact bb and ss , Theorem 23 shows that nonzero values of ϵ\epsilon provide control on the likelihood in terms of the error in bb and ss when they are approximate.

中
图 5:ε 对样本路径的影响。设置与图 4 相同,b、s 使用解析式。每列三幅图的 γ 相同、ε 不同,白色突出相同三个初值的轨迹。固定 γ、增大 ε 时,ρ(t) 不变,但单条轨迹更随机。精确 b、s 下各选择等价;近似时,定理 23 说明非零 ε 可用 b、s 误差控制似然。

Gaussian encoding-decoding. 高斯编码—解码

SOURCE PDF p.32 · S4.SS2.SSS0.Px2.p1.1
EN
A useful limiting case is to devolve the data from ρ0\rho_{0} completely into noise by the halfway point t=12t=\tfrac{1}{2} and to reconstruct ρ1\rho_{1} completely from noise starting from t=12t=\frac{1}{2} . One choice that allows us to do so while satisfying ( 4.8 ) is
中
一个有用的极限情形是:在到达中点 t=12t=\tfrac12 前,把来自 ρ0\rho_0 的数据完全退化为噪声;再从 t=12t=\tfrac12 开始,完全由噪声重建 ρ1\rho_1。下面这一选择既能实现该过程,又满足(4.8):
α(t)=cos⁡2(πt)1[0,12)(t),β(t)=cos⁡2(πt)1(12,1](t),γ(t)=sin⁡2(πt),\alpha(t)=\cos^{2}(\pi t)1_{[0,\frac{1}{2})}(t),\qquad\beta(t)=\cos^{2}(\pi t)1_{(\frac{1}{2},1]}(t),\qquad\gamma(t)=\sin^{2}(\pi t),

SOURCE PDF p.32 · S4.SS2.SSS0.Px2.p1.2
EN
where 1A(t)1_{A}(t) is the indicator function of AA , i.e. 1A(t)=11_{A}(t)=1 if t∈At\in A and 1A(t)=01_{A}(t)=0 otherwise. With this choice, it is easy to see that xt=12=γ(12)z∼N(0,γ2(12))x_{t=\frac{1}{2}}=\gamma(\tfrac{1}{2})z\sim{\sf N}(0,\gamma^{2}(\tfrac{1}{2})) , which seamlessly glues together two interpolants: one between ρ0\rho_{0} and a standard Gaussian, and one between a standard Gaussian and ρ1\rho_{1} .
中
其中 1A(t)1_A(t) 是集合 AA 的示性函数,即 t∈At\in A 时 1A(t)=11_A(t)=1,否则 1A(t)=01_A(t)=0。采用该选择时容易看出,xt=12=γ(12)z∼N(0,γ2(12))x_{t=\frac12}=\gamma(\tfrac12)z\sim{\sf N}(0,\gamma^2(\tfrac12));这把两个插值无缝连接起来:一个连接 ρ0\rho_0 与标准高斯分布,另一个连接标准高斯分布与 ρ1\rho_1。

SOURCE PDF p.32 · S4.SS2.SSS0.Px2.p2.1
EN
Even though the choice ( 4.11 ) encodes ρ0\rho_{0} into pure noise on the interval [0,12][0,\tfrac{1}{2}] , which is then decoded into ρ1\rho_{1} on the interval [12,1][\tfrac{1}{2},1] (and vice-versa when proceeding backwards in time), the resulting velocity bb still defines a single continuity equation that maps ρ0\rho_{0} to ρ1\rho_{1} on [0,1][0,1] . This is most clearly seen at the level of the probability flow ( 2.32 ), since its solution XtX_{t} is a bijection between the initial and final conditions Xt=0X_{t=0} and Xt=1X_{t=1} , but a similar pairing can also be observed in the solutions to the forward and backward SDEs ( 2.33 ) and ( 2.34 ), whose solutions at time t=1t=1 or t=0t=0 remain correlated with the initial or final condition used.
中
尽管选择(4.11)在区间 [0,12][0,\tfrac12] 上把 ρ0\rho_0 编码为纯噪声,再在 [12,1][\tfrac12,1] 上将噪声解码成 ρ1\rho_1(沿时间反向进行时则相反),所得速度 bb 仍定义了一个在整个 [0,1][0,1] 上把 ρ0\rho_0 映射至 ρ1\rho_1 的单一连续性方程。这一点在概率流(2.32)层面最为清楚,因为其解 XtX_t 在初值 Xt=0X_{t=0} 与终值 Xt=1X_{t=1} 之间构成双射。不过,在正向与反向 SDE(2.33)、(2.34)的解中也可观察到类似配对:它们在 t=1t=1 或 t=0t=0 时的解,仍与所使用的初始或最终条件保持相关。

原图 F006

Original caption: Figure 6 : The functions α(t)\alpha(t) , β(t)\beta(t) , and γ(t)\gamma(t) for the linear ( 4.9 ), trigonometric ( 4.10 ) with γ(t)=2t(1−t)\gamma(t)=\sqrt{2t(1-t)} , Gaussian encoding-decoding ( 4.11 ), one-sided ( 3.14 ), and mirror ( 3.24 ) interpolants.

中
图 6:不同插值的 α(t)、β(t)、γ(t):线性(4.9)、带 γ=√[2t(1−t)] 的三角插值(4.10)、高斯编码—解码(4.11)、单侧(3.14)与镜像(3.24)。

SOURCE PDF p.33 · S4.SS2.SSS0.Px2.p3.1
EN
This allows for a more direct means of image-to-image translation with diffusions when compared to the recent approach described in Su et al. (2023) . The choice ( 4.11 ) is depicted in the final row of Figure 4 , where no spurious modes form at all; individual sample trajectories of the deterministic and stochastic generative models based on ODEs and SDEs whose solutions have this ρ(t)\rho(t) as density can be seen in the panels forming the third column in Figure 5 . We note that the elimination of spurious intermediate modes can also be implemented by use of a data-adapted coupling ν(dx0,dx1)\nu(dx_{0},dx_{1}) , as considered in Albergo et al. (2023) .
中
与 Su 等(2023)近期描述的方法相比,这为利用扩散进行图像到图像转换提供了更直接的途径。图 4 最后一行展示了选择(4.11),其中完全不形成虚假模态。以该 ρ(t)\rho(t) 为解的密度、基于 ODE 与 SDE 的确定性及随机生成模型,其单样本轨迹见图 5 第三列各面板。还应指出,也可使用适应数据的耦合 ν(dx0,dx1)\nu(dx_0,dx_1) 消除中间虚假模态,Albergo 等(2023)研究了这种方式。

SOURCE PDF p.34 · S4.SS2.SSS0.Px2.p4.1
EN
Unsurprisingly, it is necessary to have γ(t)>0\gamma(t)>0 for the choice ( 4.11 ): for γ(t)=0\gamma(t)=0 , the density ρ(t)\rho(t) collapses to a Dirac measure at t=12t=\frac{1}{2} . This consideration highlights that the inclusion of the latent variable γ(t)z\gamma(t)z matters even for the deterministic dynamics ( 2.32 ), and its presence is distinct from the stochasticity inherent to the SDEs ( 2.33 ) and ( 2.34 ).
中
对于选择(4.11),必须有 γ(t)>0\gamma(t)>0,这一点并不意外:若 γ(t)=0\gamma(t)=0,密度 ρ(t)\rho(t) 会在 t=12t=\frac12 坍缩成 Dirac 测度。这个考量强调,即使对确定性动力学(2.32),加入潜变量 γ(t)z\gamma(t)z 也很重要;它的作用不同于 SDE(2.33)、(2.34)本身所包含的随机性。

4.3 Impact of the latent variable γ ( t ) z and the diffusion coefficient ϵ ( t ) 4.3 潜变量 γz 与扩散 ε 的影响

SOURCE PDF p.34 · S4.SS3.p1.1
EN
The stochastic interpolant framework enables us to discern the independent roles of the latent variable γ(t)z\gamma(t)z and the diffusion coefficient ϵ(t)\epsilon(t) we use in a generative model. As shown in Theorem 6 , the presence of the latent variable γ(t)z\gamma(t)z for γ≠0\gamma\neq 0 smooths both the density ρ(t)\rho(t) and the velocity bb defined in ( 2.10 ) spatially. This provides a computational advantage at sample generation time because it simplifies the required numerical integration of ( 2.32 ), ( 2.33 ), and ( 2.34 ). Intuitively, this is because the density ρ(t)\rho(t) of xtx_{t} can be represented exactly as the density that would be obtained with γ(t)=0\gamma(t)=0 convolved with N(0,γ2(t)Id)\mathsf{N}(0,\gamma^{2}(t)Id) at each t∈(0,1)t\in(0,1) . A comparison between the density ρ(t)\rho(t) obtained with trigonometric interpolants with γ(t)=0\gamma(t)=0 and γ(t)=2t(1−t)\gamma(t)=\sqrt{2t(1-t)} can be seen in the first and second row of Figure 4 .
中
随机插值框架使我们能区分潜变量 γ(t)z\gamma(t)z 与生成模型中所用扩散系数 ϵ(t)\epsilon(t) 的独立作用。由定理 6,当 γ≠0\gamma\ne0 时,潜变量 γ(t)z\gamma(t)z 会在空间上同时平滑密度 ρ(t)\rho(t) 和(2.10)定义的速度 bb。这简化了对(2.32)、(2.33)、(2.34)所需的数值积分,因此在生成样本时带来计算优势。直观原因是:对每个 t∈(0,1)t\in(0,1),xtx_t 的密度 ρ(t)\rho(t) 都可精确表示为 γ(t)=0\gamma(t)=0 时所得密度与 N(0,γ2(t)Id)\mathsf N(0,\gamma^2(t)Id) 的卷积。图 4 第一、二行比较了三角函数插值在 γ(t)=0\gamma(t)=0 与 γ(t)=2t(1−t)\gamma(t)=\sqrt{2t(1-t)} 时的密度 ρ(t)\rho(t)。

SOURCE PDF p.35 · S4.SS3.p2.1
EN
By contrast, the diffusion coefficient ϵ(t)\epsilon(t) leaves the density ρ(t)\rho(t) unchanged, and only affects the way we sample it. In particular, the probability flow ODE ( 2.32 ) results in a map that pushes every Xt=0=x0X_{t=0}=x_{0} onto a single Xt=1=x1X_{t=1}=x_{1} and vice-versa. The forward SDE ( 2.33 ) maps each Xt=0F=x0X^{\mathsf{F}}_{t=0}=x_{0} onto an ensemble Xt=1FX^{\mathsf{F}}_{t=1} whose spread is controlled by the amplitude of ϵ(t)\epsilon(t) (and similarly for the reversed SDE  ( 2.34 ) that maps each Xt=1B=x1X^{\mathsf{B}}_{t=1}=x_{1} onto an ensemble Xt=0BX^{\mathsf{B}}_{t=0} ). This ensemble is not distributed according to ρ1\rho_{1} for finite ϵ(t)\epsilon(t) – like with the ODE, we need to sample initial conditions from ρ0\rho_{0} to get solutions at time t=1t=1 that sample ρ1\rho_{1} – but its density converges towards ρ1\rho_{1} as ϵ(t)→∞\epsilon(t)\to\infty . These features are illustrated in Figure 5 .
中
相比之下,扩散系数 ϵ(t)\epsilon(t) 不改变密度 ρ(t)\rho(t),只影响我们对该密度采样的方式。具体而言,概率流 ODE(2.32)给出一个映射,把每个 Xt=0=x0X_{t=0}=x_0 推送到唯一的 Xt=1=x1X_{t=1}=x_1,反之亦然。正向 SDE(2.33)则把每个 Xt=0F=x0X^{\mathsf F}_{t=0}=x_0 映射成一组 Xt=1FX^{\mathsf F}_{t=1},其离散程度由 ϵ(t)\epsilon(t) 的幅值控制;反向 SDE(2.34)也类似,把每个 Xt=1B=x1X^{\mathsf B}_{t=1}=x_1 映射成一组 Xt=0BX^{\mathsf B}_{t=0}。对有限的 ϵ(t)\epsilon(t),该样本集合并不服从 ρ1\rho_1——如同 ODE,要使 t=1t=1 的解服从 ρ1\rho_1,必须从 ρ0\rho_0 采样初态——但其密度会在 ϵ(t)→∞\epsilon(t)\to\infty 时趋向 ρ1\rho_1。图 5 展示了这些特点。

Remark 42 . 说明 42

SOURCE PDF p.35 · Thmtheorem42.p1.2
EN
Another potential advantage of including the latent variable γ(t)z\gamma(t)z is its impact on the velocity bb at the end points. Since xt=0=x0x_{t=0}=x_{0} and xt=1=x1x_{t=1}=x_{1} , it is easy to see that the velocity bb of the linear interpolant xtx_{t} defined in ( 4.1 ) satisfies
中
加入潜变量 γ(t)z\gamma(t)z 的另一潜在优势,是它对端点处速度 bb 的影响。由于 xt=0=x0x_{t=0}=x_0 且 xt=1=x1x_{t=1}=x_1,容易看出,(4.1)定义的线性插值 xtx_t 的速度 bb 满足
b(0,x)=α˙(0)x+β˙(0)E[x1∣x0=x]−lim⁡t→0γ(t)γ˙(t)s0(x),b(1,x)=α˙(1)E[x0∣x1=x]+β˙(1)x−lim⁡t→1γ(t)γ˙(t)s1(x),\displaystyle b(0,x) \qquad \displaystyle=\dot{\alpha}(0)x+\dot{\beta}(0){\mathbb{E}}[x_{1}|x_{0}=x]-\lim_{t\to 0}\gamma(t)\dot{\gamma}(t)s_{0}(x), \qquad \displaystyle b(1,x) \qquad \displaystyle=\dot{\alpha}(1){\mathbb{E}}[x_{0}|x_{1}=x]+\dot{\beta}(1)x-\lim_{t\to 1}\gamma(t)\dot{\gamma}(t)s_{1}(x),

SOURCE PDF p.35 · Thmtheorem42.p1.3
EN
where s0=∇log⁡ρ0s_{0}=\nabla\log\rho_{0} and s1=∇log⁡ρ1s_{1}=\nabla\log\rho_{1} . If γ∈C2([0,1])\gamma\in C^{2}([0,1]) , because γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0 , the terms involving the scores s0s_{0} and s1s_{1} in these expressions vanish. Choosing γ2∈C1([0,1])\gamma^{2}\in C^{1}([0,1]) but γ\gamma not differentiable at t=0t=0 or t=1t=1 leaves open the possibility that the limits remain nonzero. For example, if we take one of the choices discussed in Section 3.1 , i.e.
中
其中 s0=∇log⁡ρ0s_0=\nabla\log\rho_0、s1=∇log⁡ρ1s_1=\nabla\log\rho_1。若 γ∈C2([0,1])\gamma\in C^2([0,1]),由于 γ(0)=γ(1)=0\gamma(0)=\gamma(1)=0,这些表达式中含得分 s0s_0、s1s_1 的项就会消失。若选择 γ2∈C1([0,1])\gamma^2\in C^1([0,1]),但 γ\gamma 在 t=0t=0 或 t=1t=1 不可微,这些极限仍有可能非零。例如,取 3.1 节讨论过的一种选择,即
γ(t)=at(1−t),a>0,\gamma(t)=\sqrt{at(1-t)},\qquad a>0,

SOURCE PDF p.35 · Thmtheorem42.p1.4
EN
we obtain
中
我们得到
lim⁡t→0γ(t)γ˙(t)=−lim⁡t→1γ(t)γ˙(t)=a2.\lim_{t\to 0}\gamma(t)\dot{\gamma}(t)=-\lim_{t\to 1}\gamma(t)\dot{\gamma}(t)=\frac{a}{2}.

SOURCE PDF p.35 · Thmtheorem42.p1.5
EN
As a result, the choice ( 4.13 ) ensures that the velocity bb encodes information about the score of the densities ρ0\rho_{0} and ρ1\rho_{1} at the end points. We stress however that, while the choice of γ(t)\gamma(t) given in ( 4.13 ) is appealing because of its nontrivial influence on the velocity bb at the endpoints, the user is free to explore a variety of alternatives. We present some examples in Table 2 , specifying the differentiability of γ\gamma at t=0t=0 and t=1t=1 . The function γ(t)\gamma(t) specified in ( 4.13 ) is the only featured case for which the contribution from the score is non-vanishing in the velocity bb at the endpoints. In Section 7 , we illustrate on numerical examples that there are tradeoffs between different choices of γ\gamma , which might be directly related to this fact. When using the ODE as a generative model, the score is only felt through bb , whereas it is explicit when using the SDE as a generative model.
中
因此,选择(4.13)确保速度 bb 在端点编码了密度 ρ0\rho_0、ρ1\rho_1 的得分信息。不过我们强调,尽管(4.13)的 γ(t)\gamma(t) 因对端点速度有非平凡影响而很有吸引力,使用者仍可探索多种其他选择。表 2 给出一些例子,并注明 γ\gamma 在 t=0t=0 和 t=1t=1 的可微性。在所列情形中,只有(4.13)的 γ(t)\gamma(t) 使端点速度 bb 中的得分贡献不消失。第 7 节通过数值例子说明,不同 γ\gamma 选择之间存在折中,这可能与上述事实直接相关。采用 ODE 生成模型时,得分仅通过 bb 起作用;采用 SDE 生成模型时,得分则显式出现。

原始表格数据(按行):

| γ(t):\gamma(t): | at(1−t)\sqrt{at(1-t)} | t(1−t)t(1-t) | σ^(t)\hat{\sigma}(t) | sin⁡2(πt)\sin^{2}(\pi t) | | C1C^{1} at t=0,1t=0,1 | ✗ | ✓ | ✓ | ✓ |

Original caption: Table 2 : Differentiability of γ(t)z\gamma(t)z . A characterization of the possible choices of γ(t)\gamma(t) with respect to their differentiability. The column specified by σ^(t)\hat{\sigma}(t) is sum of sigmoid functions, made compact by the notation σ^(t)=σ(f(t−12)+1)−σ(f(t−12)−1)−σ(−f2+1)+σ(−f2−1)\hat{\sigma}(t)=\sigma(f(t-\tfrac{1}{2})+1)-\sigma(f(t-\tfrac{1}{2})-1)-\sigma(-\tfrac{f}{2}+1)+\sigma(-\tfrac{f}{2}-1) , where σ(t)=et/(1+et)\sigma(t)=e^{t}/(1+e^{t}) and ff is a scaling factor.

中
表 2:γ(t)z 的可微性。比较不同 γ 在端点的可微性。σ̂(t) 是 sigmoid 函数的组合:σ(f(t−1/2)+1)−σ(f(t−1/2)−1)−σ(−f/2+1)+σ(−f/2−1),其中 σ(t)=eᵗ/(1+eᵗ),f 为尺度因子。

4.4 Spatially linear one-sided interpolants 4.4 空间线性单侧插值

SOURCE PDF p.35 · S4.SS4.p1.1
EN
Much of the discussion above generalizes to one-sided interpolants if we take the function J(t,x1)J(t,x_{1}) in ( 3.14 ) to be linear in x1x_{1} and define
中
若令(3.14)中的函数 J(t,x1)J(t,x_1) 对 x1x_1 为线性,并定义下面的插值,上述大部分讨论也可推广至单侧插值:
xtos,lin=α(t)z+β(t)x1,t∈[0,1]x^{\mathsf{os,lin}}_{t}=\alpha(t)z+\beta(t)x_{1},\qquad t\in[0,1]

SOURCE PDF p.36 · S4.SS4.p1.2
EN
where α2,β∈C2([0,1])\alpha^{2},\beta\in C^{2}([0,1]) and α(0)=β(1)=1\alpha(0)=\beta(1)=1 , α(1)=β(0)=0\alpha(1)=\beta(0)=0 , and α(t)>0\alpha(t)>0 for all t∈[0,1)t\in[0,1) . The velocity bb and the score ss defined in ( 2.10 ) and ( 2.14 ) can now be expressed as
中
其中 α2,β∈C2([0,1])\alpha^2,\beta\in C^2([0,1]),α(0)=β(1)=1\alpha(0)=\beta(1)=1、α(1)=β(0)=0\alpha(1)=\beta(0)=0,且对所有 t∈[0,1)t\in[0,1) 有 α(t)>0\alpha(t)>0。此时,(2.10)和(2.14)定义的速度 bb 与得分 ss 可表示为
b(t,x)=α˙(t)ηzos(t,x)+β˙(t)η1os(t,x),s(t,x)=−α−1(t)ηzos(t,x),b(t,x)=\dot{\alpha}(t)\eta^{\mathsf{os}}_{z}(t,x)+\dot{\beta}(t)\eta^{\mathsf{os}}_{1}(t,x),\qquad s(t,x)=-\alpha^{-1}(t)\eta^{\mathsf{os}}_{z}(t,x),

SOURCE PDF p.36 · S4.SS4.p1.3
EN
where the second expression holds for all t∈[0,1)t\in[0,1) and we defined:
中
其中第二个表达式对所有 t∈[0,1)t\in[0,1) 成立,并定义:
ηzos(t,x)=E(z∣xtos,lin=x),η1os(t,x)=E(x1∣xtos,lin=x).\eta^{\mathsf{os}}_{z}(t,x)={\mathbb{E}}(z|x^{\mathsf{os,lin}}_{t}=x),\qquad\eta^{\mathsf{os}}_{1}(t,x)={\mathbb{E}}(x_{1}|x^{\mathsf{os,lin}}_{t}=x).

SOURCE PDF p.36 · S4.SS4.p1.4
EN
Note that, by definition of the conditional expectation, ηzos\eta^{\mathsf{os}}_{z} and η1os\eta^{\mathsf{os}}_{1} satisfy
中
由条件期望定义,ηzos\eta^{\mathsf{os}}_z 与 η1os\eta^{\mathsf{os}}_1 满足
∀(t,x)∈[0,1]×Rd:α(t)ηzos(t,x)+β(t)η1os(t,x)=x.\forall(t,x)\in[0,1]\times{\mathbb{R}}^{d}\quad:\quad\alpha(t)\eta^{\mathsf{os}}_{z}(t,x)+\beta(t)\eta^{\mathsf{os}}_{1}(t,x)=x.

SOURCE PDF p.36 · S4.SS4.p1.5
EN
As a result, only one of them needs to be estimated. For example, we can express η1os\eta^{\mathsf{os}}_{1} as a function of ηzos\eta^{\mathsf{os}}_{z} for all tt such that β(t)≠0\beta(t)\not=0 , and use the result to express the velocity ( 4.16 ) as
中
因此,只需估计其中一个。例如,对所有满足 β(t)≠0\beta(t)\ne0 的 tt,可把 η1os\eta^{\mathsf{os}}_1 表示为 ηzos\eta^{\mathsf{os}}_z 的函数,再据此将速度(4.16)写成
b(t,x)=β˙(t)β−1(t)x+(α˙(t)−α(t)β˙(t)β−1(t))ηzos(t,x)∀t : β(t)≠0.b(t,x)=\dot{\beta}(t)\beta^{-1}(t)x+\big(\dot{\alpha}(t)-\alpha(t)\dot{\beta}(t)\beta^{-1}(t)\big)\eta^{\mathsf{os}}_{z}(t,x)\qquad\forall t\ :\ \beta(t)\not=0.

SOURCE PDF p.36 · S4.SS4.p1.6
EN
Assuming that β(t)≠0\beta(t)\not=0 for all t∈(0,1]t\in(0,1] , this formula only needs to be supplemented at t=0t=0 with
中
若对所有 t∈(0,1]t\in(0,1] 都有 β(t)≠0\beta(t)\ne0,则只需在 t=0t=0 为该公式补充
b(0,x)=α˙(0)x+β˙(0)E[x1]b(0,x)=\dot{\alpha}(0)x+\dot{\beta}(0){\mathbb{E}}[x_{1}]

SOURCE PDF p.36 · S4.SS4.p1.7
EN
which follows from ( 4.16 ) since xt=0os,lin=zx^{\mathsf{os,lin}}_{t=0}=z . Later in Section 5.2 we will show that using the velocity bb in ( 4.19 ) to solve the probability flow ODE ( 2.32 ) can be seen as using a denoiser to construct a generative model.
中
这由(4.16)和 xt=0os,lin=zx^{\mathsf{os,lin}}_{t=0}=z 得出。稍后的 5.2 节将说明,用(4.19)中的速度 bb 求解概率流 ODE(2.32),可视为使用去噪器构造生成模型。

SOURCE PDF p.36 · S4.SS4.p2.2
EN
Finally note that ηz\eta_{z} and/or η1\eta_{1} can be estimated using the following two objective functions, respectively:
中
最后,ηz\eta_z 和/或 η1\eta_1 可分别通过下列两个目标函数估计:
Lηz(η^zos)=∫01E[12∣η^zos(t,xtos,lin)∣2−z⋅η^zos(t,xtos,lin)]dt,Lη1(η^1os)=∫01E[12∣η^1os(t,xtos,lin)∣2−x1⋅η^1os(t,xtos,lin)]dt.\displaystyle\mathcal{L}_{\eta_{z}}(\hat{\eta}^{\mathsf{os}}_{z}) \qquad \displaystyle=\int_{0}^{1}{\mathbb{E}}\left[\tfrac{1}{2}|\hat{\eta}^{\mathsf{os}}_{z}(t,x^{\mathsf{os,lin}}_{t})|^{2}-z\cdot\hat{\eta}^{\mathsf{os}}_{z}(t,x^{\mathsf{os,lin}}_{t})\right]dt, \qquad \displaystyle\mathcal{L}_{\eta_{1}}(\hat{\eta}^{\mathsf{os}}_{1}) \qquad \displaystyle=\int_{0}^{1}{\mathbb{E}}\left[\tfrac{1}{2}|\hat{\eta}^{\mathsf{os}}_{1}(t,x^{\mathsf{os,lin}}_{t})|^{2}-x_{1}\cdot\hat{\eta}^{\mathsf{os}}_{1}(t,x^{\mathsf{os,lin}}_{t})\right]dt.

5 Connections with other methods 5 与其他方法的联系

SOURCE PDF p.36 · S5.p1.1
EN
In this section, we discuss connections between the stochastic interpolant framework and the score-based diffusion method ( Song et al., 2021b ) , the stochastic localization framework ( Eldan, 2013 ; El Alaoui and Montanari, 2022 ; Montanari, 2023 ) ), denoising methods ( Simoncelli and Adelson, 1996 ; Hyvärinen, 1999 ; Kadkhodaie and Simoncelli, 2021 ; Ho et al., 2020 ) , and the rectified flow method ( Liu et al., 2023b ) .
中
本节讨论随机插值框架与以下方法的联系:基于得分的扩散方法(Song 等,2021b)、随机局部化框架(Eldan,2013;El Alaoui 与 Montanari,2022;Montanari,2023)、去噪方法(Simoncelli 与 Adelson,1996;Hyvärinen,1999;Kadkhodaie 与 Simoncelli,2021;Ho 等,2020),以及整流流方法(Liu 等,2023b)。

5.1 Score-based diffusion models and stochastic localization 5.1 得分扩散与随机局部化

SOURCE PDF p.37 · S5.SS1.p1.1
EN
Score-based diffusion models (SBDM) are based on variants of the Ornstein-Uhlenbeck process
中
基于得分的扩散模型(SBDM)以 Ornstein–Uhlenbeck 过程的变体为基础:
dZτ=−Zτdt+2dWτ,Zτ=0∼ρ1,dZ_{\tau}=-Z_{\tau}dt+\sqrt{2}dW_{\tau},\qquad Z_{\tau=0}\sim\rho_{1},

SOURCE PDF p.37 · S5.SS1.p1.2
EN
which has the property that the marginal density of its solution at time τ\tau converges to a standard normal as τ\tau tends towards infinity. By learning the score of the density of ZτZ_{\tau} , we can write the associated backward SDE for ( 5.1 ), which can then be used as a generative model – this backwards SDE is also the one that is used in the stochastic localization process, see Montanari (2023) .
中
该过程具有如下性质:当 τ→∞\tau\to\infty 时,其解在时刻 τ\tau 的边缘密度收敛到标准正态分布。学习 ZτZ_\tau 密度的得分后,可以写出与(5.1)对应的反向 SDE,再用它作为生成模型。这个反向 SDE 也是随机局部化过程所用的方程,见 Montanari(2023)。

SOURCE PDF p.37 · S5.SS1.p2.1
EN
To see the connection with stochastic interpolants, notice that the solution of ( 5.1 ) from the initial condition Zτ=0=x1∼ρ1Z_{\tau=0}=x_{1}\sim\rho_{1} can be written exactly as
中
为看清与随机插值的联系,注意(5.1)从初态 Zτ=0=x1∼ρ1Z_{\tau=0}=x_1\sim\rho_1 出发的解可精确写成
Zτ=x1e−τ+2∫0τe−τ+sdWs.Z_{\tau}=x_{1}e^{-\tau}+\sqrt{2}\int_{0}^{\tau}e^{-\tau+s}dW_{s}.

SOURCE PDF p.37 · S5.SS1.p2.2
EN
As a result, the law of ZτZ_{\tau} conditioned on Zτ=0=x1Z_{\tau=0}=x_{1} is given by
中
因此,在条件 Zτ=0=x1Z_{\tau=0}=x_1 下,ZτZ_\tau 的分布为
Zτ∼N(x1e−τ,(1−e−2τ)Id),Z_{\tau}\sim{\sf N}(x_{1}e^{-\tau},(1-e^{-2\tau})\text{\it Id}),

SOURCE PDF p.37 · S5.SS1.p2.3
EN
for any time τ∈[0,∞)\tau\in[0,\infty) . This is also the law of the process
中
对任意时刻 τ∈[0,∞)\tau\in[0,\infty) 都成立。这也是下列过程的分布:
yτ=x1e−τ+1−e−2τ z,z∼N(0,Id),τ∈[0,∞).y_{\tau}=x_{1}e^{-\tau}+\sqrt{1-e^{-2\tau}}\,z,\qquad z\sim{\sf N}(0,\text{\it Id}),\qquad\tau\in[0,\infty).

SOURCE PDF p.37 · S5.SS1.p2.4
EN
If we let x1∼ρ1x_{1}\sim\rho_{1} with x1⊥zx_{1}\perp z , the process yτy_{\tau} is similar to a one-sided stochastic interpolant, except the density of yτy_{\tau} only converges to N(0,Id){\sf N}(0,\text{\it Id}) as τ→∞\tau\to\infty ; by contrast, the one-sided interpolants we introduced in Section 3.2 converge on the finite interval [0,1][0,1] . In SBDM, this is handled by capping the evolution of ZτZ_{\tau} to a finite time interval [0,T][0,T] with T<∞T<\infty , and then by using the backward SDE associated with ( 5.1 ) restricted to [0,T][0,T] . However, this introduces a bias that is not present with one-sided stochastic interpolants, because the final condition used for the backwards SDE in SBDM is drawn from N(0,Id){\sf N}(0,\text{\it Id}) even though the density of the process ( 5.1 ) is not Gaussian at time TT .
中
令 x1∼ρ1x_1\sim\rho_1 且 x1⊥zx_1\perp z,过程 yτy_\tau 与单侧随机插值类似,区别是 yτy_\tau 的密度仅在 τ→∞\tau\to\infty 时才收敛到 N(0,Id){\sf N}(0,\text{\it Id}),而 3.2 节引入的单侧插值在有限区间 [0,1][0,1] 上即完成收敛。SBDM 的处理方式是把 ZτZ_\tau 的演化截断到有限区间 [0,T][0,T],其中 T<∞T<\infty,然后使用(5.1)对应反向 SDE 在 [0,T][0,T] 上的限制。但这会引入单侧随机插值所没有的偏差:SBDM 反向 SDE 使用的终态从 N(0,Id){\sf N}(0,\text{\it Id}) 采样,然而过程(5.1)在时刻 TT 的密度并非高斯。

SOURCE PDF p.37 · S5.SS1.p3.1
EN
We can, however, turn ( 5.4 ) into a one-sided linear stochastic interpolant by defining t=e−τt=e^{-\tau} and by choosing α(t)\alpha(t) and β(t)\beta(t) in ( 4.15 ) to have a specific form. More precisely, evaluating ( 5.4 ) at τ=−log⁡t\tau=-\log t ,
中
不过,通过定义 t=e−τt=e^{-\tau} 并为(4.15)中的 α(t)\alpha(t)、β(t)\beta(t) 选择特定形式,可把(5.4)变成单侧线性随机插值。具体地,在 τ=−log⁡t\tau=-\log t 处计算(5.4),得到
yτ=−log⁡t=1−t2z+tx1≡xtos,linforα(t)=1−t2,β(t)=t.y_{\tau=-\log t}=\sqrt{1-t^{2}}z+tx_{1}\equiv x^{\mathsf{os,lin}}_{t}\quad\text{for}\quad\alpha(t)=\sqrt{1-t^{2}},\quad\beta(t)=t.

SOURCE PDF p.37 · S5.SS1.p3.2
EN
With this choice of α(t)\alpha(t) and β(t)\beta(t) , from ( 4.16 ) we get the velocity field
中
对于这样的 α(t)\alpha(t) 和 β(t)\beta(t),由(4.16)得到速度场
b(t,x)=−t1−t2ηzos(t,x)+η1os(t,x)≡ts(t,x)+η1os(t,x)b(t,x)=-\frac{t}{\sqrt{1-t^{2}}}\eta^{\mathsf{os}}_{z}(t,x)+\eta^{\mathsf{os}}_{1}(t,x)\equiv ts(t,x)+\eta^{\mathsf{os}}_{1}(t,x)

SOURCE PDF p.37 · S5.SS1.p3.3
EN
where ηzos\eta_{z}^{\mathsf{os}} and η1os\eta_{1}^{\mathsf{os}} are defined in ( 4.17 ). This expression shows that the velocity bb used in the probability flow ODE ( 2.32 ) is well-behaved at all times, including at t=1t=1 where α˙(t)\dot{\alpha}(t) is singular. The same is true for the drift bF(t,x)=b(t,x)+ϵ(t)s(t,x)b_{\mathsf{F}}(t,x)=b(t,x)+\epsilon(t)s(t,x) used in the forward SDE ( 2.33 ), regardless of the choice of ϵ∈C0([0,1])\epsilon\in C^{0}([0,1]) with ϵ(t)≥0\epsilon(t)\geq 0 . This shows that casting SBDM into a one-sided linear stochastic interpolant ( 4.15 ) allows the construction of unbiased generative models that operate on t∈[0,1]t\in[0,1] . This comes at no extra computational cost, since only one of the two functions defined in ( 4.17 ) needs to be estimated, which is akin to estimating the score in SBDM.
中
其中 ηzos\eta_z^{\mathsf{os}}、η1os\eta_1^{\mathsf{os}} 由(4.17)定义。这个表达式表明,概率流 ODE(2.32)所用速度 bb 在所有时刻均良好,包括 α˙(t)\dot\alpha(t) 奇异的 t=1t=1。对正向 SDE(2.33)的漂移 bF(t,x)=b(t,x)+ϵ(t)s(t,x)b_{\mathsf F}(t,x)=b(t,x)+\epsilon(t)s(t,x) 也一样,无论选择何种满足 ϵ(t)≥0\epsilon(t)\ge0 的 ϵ∈C0([0,1])\epsilon\in C^0([0,1])。这说明,把 SBDM 写成单侧线性随机插值(4.15),即可构造在 t∈[0,1]t\in[0,1] 上运行的无偏生成模型,并不增加计算成本,因为只需估计(4.17)两个函数中的一个,这与 SBDM 估计得分类似。

SOURCE PDF p.38 · S5.SS1.p4.1
EN
It is worth comparing the above procedure to an equivalent change of time at the level of the diffusion process ( 5.1 ), which we now show leads to singular terms that pose numerical and analytical difficulties. Indeed, if we define ZtB=Zτ=−log⁡tZ^{\mathsf{B}}_{t}=Z_{\tau=-\log t} , from ( 5.1 ) we obtain
中
值得把上述过程与直接在扩散过程(5.1)层面作等价时间变换比较。下面说明,后者会产生奇异项,带来数值和分析困难。事实上,若定义 ZtB=Zτ=−log⁡tZ_t^{\mathsf B}=Z_{\tau=-\log t},由(5.1)可得
dZtB=t−1ZtBdt+2t−1dWtB,Zt=1B∼ρ1,dZ^{\mathsf{B}}_{t}=t^{-1}Z^{\mathsf{B}}_{t}dt+\sqrt{2t^{-1}}dW^{\mathsf{B}}_{t},\quad Z^{\mathsf{B}}_{t=1}\sim\rho_{1},

SOURCE PDF p.38 · S5.SS1.p4.2
EN
to be solved backwards in time. Because of the factor t−1t^{-1} , this SDE cannot easily be solved until t=0t=0 , which corresponds to τ=∞\tau=\infty in the original ( 5.1 ). For the same reason, the forward SDE associated with ( 5.7 )
中
该方程需沿时间反向求解。由于存在 t−1t^{-1} 因子,这个 SDE 很难一直求解到 t=0t=0;该时刻对应原式(5.1)中的 τ=∞\tau=\infty。出于同一原因,与(5.7)对应的正向 SDE
dZtF=t−1ZtFdt+2t−1s(t,ZtF)dt+2t−1dWt,dZ^{\mathsf{F}}_{t}=t^{-1}Z^{\mathsf{F}}_{t}dt+2t^{-1}s(t,Z^{\mathsf{F}}_{t})dt+\sqrt{2t^{-1}}dW_{t},

SOURCE PDF p.38 · S5.SS1.p4.3
EN
cannot be solved from t=0t=0 , where formally Zt=0F=dZt=0B=Zτ=∞∼N(0,Id)Z^{\mathsf{F}}_{t=0}\stackrel{{\scriptstyle d}}{{=}}Z^{\mathsf{B}}_{t=0}=Z_{\tau=\infty}\sim\mathsf{N}(0,\text{\it Id}) . This means it cannot be used as a generative model unless we start from some t>0t>0 , which introduces a bias. Importantly, this problem does not arise with the stochastic interpolant framework, because the construction of the density ρ(t)\rho(t) connecting ρ0\rho_{0} and ρ1\rho_{1} is handled separately from the construction of the process that generates samples from ρ(t)\rho(t) . By contrast, SBDM combines these two operations into one, leading to the singularity at t=0t=0 in the coefficients in ( 5.7 ) and ( 5.8 ).
中
无法从 t=0t=0 开始求解;形式上,此处 Zt=0F=dZt=0B=Zτ=∞∼N(0,Id)Z^{\mathsf F}_{t=0}\stackrel{{\scriptstyle d}}{=}Z^{\mathsf B}_{t=0}=Z_{\tau=\infty}\sim\mathsf N(0,\text{\it Id})。这意味着,除非从某个 t>0t>0 开始、从而引入偏差,否则它不能用作生成模型。重要的是,随机插值框架没有这个问题,因为构造连接 ρ0\rho_0 与 ρ1\rho_1 的密度 ρ(t)\rho(t),与构造从 ρ(t)\rho(t) 生成样本的过程,是分别处理的。相比之下,SBDM 将两步合一,导致(5.7)、(5.8)的系数在 t=0t=0 处奇异。

Remark 43 . 说明 43

SOURCE PDF p.38 · Thmtheorem43.p1.1
EN
To emphasize the last point made above, we stress that there is no contradiction between having a singular drift and diffusion coefficient in ( 5.8 ), and being able to write a nonsingular SDE with stochastic interpolants. To see why, notice that the stochastic interpolant tells us that we can change the diffusion coefficient in ( 5.8 ) to any nonsingular ϵ∈C0([0,1])\epsilon\in C^{0}([0,1]) with ϵ(t)≥0\epsilon(t)\geq 0 and replace this SDE with
中
为强调上一点,我们指出,(5.8)的漂移和扩散系数奇异,与随机插值能够给出一个非奇异 SDE 之间并不矛盾。原因是,随机插值告诉我们,可以把(5.8)的扩散系数改为任意非奇异、满足 ϵ(t)≥0\epsilon(t)\ge0 的 ϵ∈C0([0,1])\epsilon\in C^0([0,1]),并用下列方程替换该 SDE:
dXtF=t−1ZtFdt+(t−1+ϵ(t))s(t,XtF)dt+2ϵ(t)dWt,dX^{\mathsf{F}}_{t}=t^{-1}Z^{\mathsf{F}}_{t}dt+(t^{-1}+\epsilon(t))s(t,X^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon(t)}dW_{t},

SOURCE PDF p.38 · Thmtheorem43.p1.2
EN
This SDE has the property that Xt=1F∼ρ1X^{\mathsf{F}}_{t=1}\sim\rho_{1} if Xt=0F∼ρ0X^{\mathsf{F}}_{t=0}\sim\rho_{0} , and its drift is also nonsingular at t=0t=0 and given precisely by ( 5.6 ). Indeed, using the constraint ( 4.18 ), which here reads x=1−t2ηzos(t,x)+tη1os(t,x)≡−(1−t2)s(t,x)+tη1os(t,x)x=\sqrt{1-t^{2}}\eta^{\mathsf{os}}_{z}(t,x)+t\eta^{\mathsf{os}}_{1}(t,x)\equiv-(1-t^{2})s(t,x)+t\eta^{\mathsf{os}}_{1}(t,x) , it is easy to see that
中
这个 SDE 满足:若 Xt=0F∼ρ0X^{\mathsf F}_{t=0}\sim\rho_0,则 Xt=1F∼ρ1X^{\mathsf F}_{t=1}\sim\rho_1。它的漂移在 t=0t=0 也非奇异,恰由(5.6)给出。事实上,使用约束(4.18),其在此写为 x=1−t2ηzos(t,x)+tη1os(t,x)≡−(1−t2)s(t,x)+tη1os(t,x)x=\sqrt{1-t^2}\eta_z^{\mathsf{os}}(t,x)+t\eta_1^{\mathsf{os}}(t,x)\equiv-(1-t^2)s(t,x)+t\eta_1^{\mathsf{os}}(t,x),容易看出
t−1x+t−1s(t,x)=ts(t,x)+η1os(t,x),t^{-1}x+t^{-1}s(t,x)=ts(t,x)+\eta_{1}^{\mathsf{os}}(t,x),

SOURCE PDF p.38 · Thmtheorem43.p1.3
EN
which is nonsingular at t=0t=0 .
中
它在 t=0t=0 处非奇异。

5.2 Denoising methods 5.2 去噪方法

SOURCE PDF p.38 · S5.SS2.p1.1
EN
Consider the spatially-linear one-sided stochastic interpolant defined in ( 4.15 ). By solving this equation for x1x_{1} , we obtain
中
考虑(4.15)定义的空间线性单侧随机插值。由该式解出 x1x_1,可得
x1=β−1(t)(xtos,lin−α(t)z)t∈(0,1].x_{1}=\beta^{-1}(t)\left(x^{\mathsf{os,lin}}_{t}-\alpha(t)z\right)\qquad t\in(0,1].

SOURCE PDF p.38 · S5.SS2.p1.2
EN
Taking a conditional expectation at fixed xtos,linx^{\mathsf{os,lin}}_{t} and using ( 4.17 ) implies that
中
固定 xtos,linx_t^{\mathsf{os,lin}} 取条件期望,并使用(4.17),可得
E(x1∣xtos,lin)=η1os(t,xtos,lin)=β−1(t)(xtos,lin−α(t)ηzos(t,xtos,lin))t∈(0,1]{\mathbb{E}}(x_{1}|x^{\mathsf{os,lin}}_{t})=\eta^{\mathsf{os}}_{1}(t,x^{\mathsf{os,lin}}_{t})=\beta^{-1}(t)\left(x^{\mathsf{os,lin}}_{t}-\alpha(t)\eta^{\mathsf{os}}_{z}(t,x^{\mathsf{os,lin}}_{t})\right)\qquad t\in(0,1]

SOURCE PDF p.39 · S5.SS2.p1.3
EN
while trivially E(x1∣xt=0os,lin)=E[x1]{\mathbb{E}}(x_{1}|x^{\mathsf{os,lin}}_{t=0})={\mathbb{E}}[x_{1}] since xt=0os,lin=zx^{\mathsf{os,lin}}_{t=0}=z . This expression is commonly used in denoising methods ( Simoncelli and Adelson, 1996 ; Kadkhodaie and Simoncelli, 2021 ) , and it is Stein’s unbiased risk estimator (SURE) for x1x_{1} given the noisy information in xtos,linx^{\mathsf{os,lin}}_{t} Stein (1981) . Rather than considering the conditional expectation of x1x_{1} , we can consider an analogous quantity for xsos,linx_{s}^{\mathsf{os,lin}} for any s∈[0,1]s\in[0,1] ; this leads to the following result.
中
而由于 xt=0os,lin=zx^{\mathsf{os,lin}}_{t=0}=z,显然有 E(x1∣xt=0os,lin)=E[x1]\mathbb E(x_1\mid x^{\mathsf{os,lin}}_{t=0})=\mathbb E[x_1]。这个表达式常见于去噪方法(Simoncelli 与 Adelson,1996;Kadkhodaie 与 Simoncelli,2021),原文将其称为给定 xtos,linx_t^{\mathsf{os,lin}} 的含噪信息时针对 x1x_1 的 Stein 无偏风险估计(SURE;Stein,1981)。除了 x1x_1 的条件期望,还可考虑任意 s∈[0,1]s\in[0,1] 时 xsos,linx_s^{\mathsf{os,lin}} 的类似量,由此得到以下结果。

Lemma 44 (SURE) . 引理 44(SURE)

SOURCE PDF p.39 · Thmtheorem44.p1.1
EN
For s∈[0,1]s\in[0,1] , we have
中
对 s∈[0,1]s\in[0,1],有
E(xsos,lin∣xtos,lin)=β(s)β(t)xtos,lin+(α(s)−α(t)β(s)β(t))ηzos(t,xtos,lin)t∈(0,1]{\mathbb{E}}(x^{\mathsf{os,lin}}_{s}|x^{\mathsf{os,lin}}_{t})=\frac{\beta(s)}{\beta(t)}x^{\mathsf{os,lin}}_{t}+\left(\alpha(s)-\frac{\alpha(t)\beta(s)}{\beta(t)}\right)\eta^{\mathsf{os}}_{z}(t,x^{\mathsf{os,lin}}_{t})\qquad t\in(0,1]

SOURCE PDF p.39 · Thmtheorem44.p1.2
EN
and E(xsos,lin∣xt=0os,lin)=α(s)xt=0os,lin+β(s)E[x1]{\mathbb{E}}(x^{\mathsf{os,lin}}_{s}|x^{\mathsf{os,lin}}_{t=0})=\alpha(s)x^{\mathsf{os,lin}}_{t=0}+\beta(s){\mathbb{E}}[x_{1}] .
中
以及 E(xsos,lin∣xt=0os,lin)=α(s)xt=0os,lin+β(s)E[x1]\mathbb E(x_s^{\mathsf{os,lin}}\mid x_{t=0}^{\mathsf{os,lin}})=\alpha(s)x_{t=0}^{\mathsf{os,lin}}+\beta(s)\mathbb E[x_1]。

Proof. 证明

SOURCE PDF p.39 · S5.SS2.p2.1
EN
( 5.13 ) follows from inserting ( 5.11 ) in the expression for xsos,linx^{\mathsf{os,lin}}_{s} and taking the conditional expectation using the definition of η1os\eta_{1}^{\mathsf{os}} and ηzos\eta_{z}^{\mathsf{os}} in ( 4.17 ). E(xsos,lin∣xt=0os,lin)=α(s)xt=0os,lin+β(s)E[x1]{\mathbb{E}}(x^{\mathsf{os,lin}}_{s}|x^{\mathsf{os,lin}}_{t=0})=\alpha(s)x^{\mathsf{os,lin}}_{t=0}+\beta(s){\mathbb{E}}[x_{1}] follows from xt=0os,lin=zx^{\mathsf{os,lin}}_{t=0}=z together with ( 5.11 ). ∎
中
将(5.11)代入 xsos,linx_s^{\mathsf{os,lin}} 的表达式,并利用(4.17)中 η1os\eta_1^{\mathsf{os}}、ηzos\eta_z^{\mathsf{os}} 的定义取条件期望,即得(5.13)。等式 E(xsos,lin∣xt=0os,lin)=α(s)xt=0os,lin+β(s)E[x1]\mathbb E(x_s^{\mathsf{os,lin}}\mid x_{t=0}^{\mathsf{os,lin}})=\alpha(s)x_{t=0}^{\mathsf{os,lin}}+\beta(s)\mathbb E[x_1] 则由 xt=0os,lin=zx_{t=0}^{\mathsf{os,lin}}=z 及(5.11)得出。证毕。

SOURCE PDF p.39 · S5.SS2.p3.1
EN
At this stage, equations ( 5.11 ) and ( 5.13 ) cannot be used as generative models: the random variable E(x1∣xtos,lin){\mathbb{E}}(x_{1}|x^{\mathsf{os,lin}}_{t}) is not a sample of ρ1\rho_{1} , and the random variable E(xsos,lin∣xtos,lin){\mathbb{E}}(x^{\mathsf{os,lin}}_{s}|x^{\mathsf{os,lin}}_{t}) is not a sample from ρ(s)\rho(s) , the density of xsos,linx^{\mathsf{os,lin}}_{s} . However, the following result shows that if we iterate upon formula ( 5.13 ) by taking infinitesimal steps, we obtain a generative model consistent with the probability flow equation ( 2.32 ) associated with xtos,linx^{\mathsf{os,lin}}_{t} .
中
此时,(5.11)与(5.13)还不能用作生成模型:随机变量 E(x1∣xtos,lin)\mathbb E(x_1\mid x_t^{\mathsf{os,lin}}) 不是 ρ1\rho_1 的样本,随机变量 E(xsos,lin∣xtos,lin)\mathbb E(x_s^{\mathsf{os,lin}}\mid x_t^{\mathsf{os,lin}}) 也不是 xsos,linx_s^{\mathsf{os,lin}} 的密度 ρ(s)\rho(s) 的样本。但下一个结果表明,若对公式(5.13)以无穷小步长反复迭代,就能得到一个与 xtos,linx_t^{\mathsf{os,lin}} 所对应概率流方程(2.32)一致的生成模型。

Theorem 45 . 定理 45

SOURCE PDF p.39 · Thmtheorem45.p1.1
EN
Let tj=j/Nt_{j}=j/N with j∈{1,…,N}j\in\{1,\ldots,N\} , set X1den=zX^{\mathsf{den}}_{1}=z , and define for j=1,…,N−1j=1,\ldots,N-1 ,
中
令 tj=j/Nt_j=j/N,其中 j∈{1,…,N}j\in\{1,\ldots,N\},设 X1den=zX_1^{\mathsf{den}}=z,并对 j=1,…,N−1j=1,\ldots,N-1 定义
Xj+1den=β(tj+1)β(tj)Xjden+(α(tj+1)−α(tj)β(tj+1)β(tj))ηzos(tj,Xjden).X^{\mathsf{den}}_{{j+1}}=\frac{\beta(t_{j+1})}{\beta(t_{j})}X^{\mathsf{den}}_{j}+\left(\alpha(t_{j+1})-\frac{\alpha(t_{j})\beta(t_{j+1})}{\beta(t_{j})}\right)\eta^{\mathsf{os}}_{z}(t_{j},X^{\mathsf{den}}_{j}).

SOURCE PDF p.39 · Thmtheorem45.p1.2
EN
Then, ( 5.14 ) is a consistent integration scheme for the probability flow equation ( 2.32 ) associated with the velocity field ( 4.16 ) expressed as in ( 4.19 ). That is, if N,j→∞N,j\to\infty with j/N→t∈[0,1]j/N\to t\in[0,1] , then Xjden→XtX^{\mathsf{den}}_{j}\to X_{t} where
中
则(5.14)是概率流方程(2.32)的一个相容积分格式;其对应速度场由(4.16)定义,并写成(4.19)的形式。即当 N,j→∞N,j\to\infty 且 j/N→t∈[0,1]j/N\to t\in[0,1] 时,有 Xjden→XtX_j^{\mathsf{den}}\to X_t,其中
X˙t=b(t,Xt)=β˙(t)β(t)Xt+(α˙(t)−α(t)β˙(t)β(t))ηzos(t,Xt),Xt=0=z.\dot{X}_{t}=b(t,X_{t})=\frac{\dot{\beta}(t)}{\beta(t)}X_{t}+\left(\dot{\alpha}(t)-\frac{\alpha(t)\dot{\beta}(t)}{\beta(t)}\right)\eta^{\mathsf{os}}_{z}(t,X_{t}),\quad X_{t=0}=z.

SOURCE PDF p.39 · Thmtheorem45.p1.3
EN
In particular, if z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) , then XNden→x1∼ρ1X^{\mathsf{den}}_{N}\to x_{1}\sim\rho_{1} in this limit.
中
特别地,若 z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}),则在这一极限下,XNden→x1∼ρ1X_N^{\mathsf{den}}\to x_1\sim\rho_1。

SOURCE PDF p.39 · S5.SS2.p4.1
EN
The proof of this theorem is given in Appendix B.7 , and proceeds by Taylor expansion of the right-hand side of ( 5.14 ).
中
该定理的证明见附录 B.7,方法是对(5.14)右端作 Taylor 展开。

5.3 Rectified flows 5.3 矫正流

SOURCE PDF p.39 · S5.SS3.p1.1
EN
We now discuss how stochastic interpolants can be rectified according to the procedure proposed in Liu et al. (2023b) . Suppose that we have perfectly learned the velocity field bb in the probability flow equation ( 2.32 ) for a given stochastic interpolant. Denote by Xt(x)X_{t}(x) the solution to this ODE with the initial condition Xt=0(x)=xX_{t=0}(x)=x , i.e.
中
下面讨论如何按 Liu 等(2023b)提出的过程,对随机插值进行整流。假设对某个给定随机插值,我们已完美学得概率流方程(2.32)中的速度场 bb。以 Xt(x)X_t(x) 表示该 ODE 在初始条件 Xt=0(x)=xX_{t=0}(x)=x 下的解,即
ddtXt(x)=b(t,Xt(x)),Xt=0(x)=x.\frac{d}{dt}X_{t}(x)=b(t,X_{t}(x)),\qquad X_{t=0}(x)=x.

SOURCE PDF p.40 · S5.SS3.p1.2
EN
We can use the map Xt=1:Rd→RdX_{t=1}:{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} to define a new stochastic interpolant
中
可以利用映射 Xt=1:Rd→RdX_{t=1}:\mathbb R^d\to\mathbb R^d 定义一个新的随机插值:
xtrec=α(t)x0+β(t)Xt=1(x0),x^{\mathsf{rec}}_{t}=\alpha(t)x_{0}+\beta(t)X_{t=1}(x_{0}),

SOURCE PDF p.40 · S5.SS3.p1.3
EN
where α2,β∈C2([0,1])\alpha^{2},\beta\in C^{2}([0,1]) satisfy α(0)=β(1)=1\alpha(0)=\beta(1)=1 , α(1)=β(0)w=0\alpha(1)=\beta(0)w=0 , and α(t)>0\alpha(t)>0 for all t∈[0,1)t\in[0,1) . Clearly, we then have xt=0rec=x0∼ρ0x^{\mathsf{rec}}_{t=0}=x_{0}\sim\rho_{0} since Xt=0(x0)=x0X_{t=0}(x_{0})=x_{0} and xt=1rec=Xt=1(x0)∼ρ1x^{\mathsf{rec}}_{t=1}=X_{t=1}(x_{0})\sim\rho_{1} by definition of the probability flow equation. We can define a new probability flow equation associated with the velocity field
中
其中,α2,β∈C2([0,1])\alpha^{2},\beta\in C^{2}([0,1]) 满足 α(0)=β(1)=1\alpha(0)=\beta(1)=1、α(1)=β(0)w=0\alpha(1)=\beta(0)w=0,且对所有 t∈[0,1)t\in[0,1) 都有 α(t)>0\alpha(t)>0。显然,由于 Xt=0(x0)=x0X_{t=0}(x_{0})=x_{0},有 xt=0rec=x0∼ρ0x^{\mathsf{rec}}_{t=0}=x_{0}\sim\rho_{0};根据概率流方程的定义,又有 xt=1rec=Xt=1(x0)∼ρ1x^{\mathsf{rec}}_{t=1}=X_{t=1}(x_{0})\sim\rho_{1}。我们可以定义与下述速度场关联的一个新的概率流方程:
brec(t,x)=E[x˙trec∣xtrec=x]=α˙(t)E[x0∣xtrec=x]+β˙(t)E[Xt=1(x0)∣xtrec=x].b^{\mathsf{rec}}(t,x)={\mathbb{E}}[\dot{x}^{\mathsf{rec}}_{t}|x^{\mathsf{rec}}_{t}=x]=\dot{\alpha}(t){\mathbb{E}}[x_{0}|x^{\mathsf{rec}}_{t}=x]+\dot{\beta}(t){\mathbb{E}}[X_{t=1}(x_{0})|x^{\mathsf{rec}}_{t}=x].

SOURCE PDF p.40 · S5.SS3.p1.4
EN
It is easy to see that this velocity field is amenable to estimation, since it is the unique minimizer of
中
容易看出,这一速度场可以通过估计得到,因为它是下列目标的唯一极小化解:
Lbrec[b^rec]=∫01E[12∣b^rec(t,xtrec)∣2−(α˙(t)x0+β˙(t)Xt=1(x0))⋅b^rec(t,xtrec)]dt,\mathcal{L}_{b^{\mathsf{rec}}}[\hat{b}^{\mathsf{rec}}]=\int_{0}^{1}{\mathbb{E}}\big[\tfrac{1}{2}|\hat{b}^{\mathsf{rec}}(t,x^{\mathsf{rec}}_{t})|^{2}-(\dot{\alpha}(t)x_{0}+\dot{\beta}(t)X_{t=1}(x_{0}))\cdot\hat{b}^{\mathsf{rec}}(t,x^{\mathsf{rec}}_{t})\big]dt,

SOURCE PDF p.40 · S5.SS3.p1.5
EN
where xtrecx^{\mathsf{rec}}_{t} is given in ( 5.17 ) and the expectation is now only on x0∼ρ0x_{0}\sim\rho_{0} . Our next result show that the probability flow equation associated with the velocity field ( 5.18 ) has straight line solutions, but ultimately it leads to a generative model that is identical to the one based on ( 5.16 ). To phrase this result, we first make an assumption on the invertibility of xtrecx_{t}^{\mathsf{rec}} .
中
其中,xtrecx^{\mathsf{rec}}_{t} 由式(5.17)给出,而此时的期望仅对 x0∼ρ0x_{0}\sim\rho_{0} 取。下一个结果表明,与速度场(5.18)关联的概率流方程具有直线解,但最终得到的生成模型与基于式(5.16)的模型相同。为表述这一结果,我们首先对 xtrecx_{t}^{\mathsf{rec}} 的可逆性作出假设。

Assumption 46 . 假设 46

SOURCE PDF p.40 · Thmtheorem46.p1.1
EN
The map x→M(t,x)x\to M(t,x) where M(t,x)=α(t)x+β(t)Xt=1(x)M(t,x)=\alpha(t)x+\beta(t)X_{t=1}(x) with Xt(x)X_{t}(x) solution to ( 5.16 ) is invertible for all (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} , i.e. ∃N(t,⋅,):Rd→Rd\exists N(t,\cdot,):{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} such that
中
令 M(t,x)=α(t)x+β(t)Xt=1(x)M(t,x)=\alpha(t)x+\beta(t)X_{t=1}(x),其中 Xt(x)X_{t}(x) 是式(5.16)的解。假设对所有 (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d},映射 x→M(t,x)x\to M(t,x) 都可逆,即 ∃N(t,⋅,):Rd→Rd\exists N(t,\cdot,):{\mathbb{R}}^{d}\to{\mathbb{R}}^{d},使得:
∀(t,x)∈[0,1]×Rd:N(t,M(t,x))=M(t,N(t,x))=x.\forall(t,x)\in[0,1]\times{\mathbb{R}}^{d}\quad:\quad N(t,M(t,x))=M(t,N(t,x))=x.

SOURCE PDF p.40 · S5.SS3.p2.1
EN
This is equivalent to requiring that the determinant of the Jacobian of M(t,x)M(t,x) is nonzero for all (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d} ; put differently, Assumption 46 requires that the Jacobian of Xt=1(x)X_{t=1}(x) never has eigenvalues precisely equal to −α(t)/β(t)-\alpha(t)/\beta(t) , which is generic. Under this assumption, we state the following theorem.
中
这等价于要求,对所有 (t,x)∈[0,1]×Rd(t,x)\in[0,1]\times{\mathbb{R}}^{d},M(t,x)M(t,x) 的 Jacobian 行列式均非零。换言之,假设 46 要求 Xt=1(x)X_{t=1}(x) 的 Jacobian 矩阵从不具有恰好等于 −α(t)/β(t)-\alpha(t)/\beta(t) 的特征值;这属于一般位置下的情形。在这一假设下,我们给出以下定理。

Theorem 47 . 定理 47

SOURCE PDF p.40 · Thmtheorem47.p1.1
EN
Consider the probability flow equation associated with ( 5.18 ),
中
考虑与式(5.18)关联的概率流方程:
ddtXtrec(x)=brec(t,Xtrec(x)),Xt=0rec(x)=x.\frac{d}{dt}X^{\mathsf{rec}}_{t}(x)=b^{\mathsf{rec}}(t,X^{\mathsf{rec}}_{t}(x)),\qquad X^{\mathsf{rec}}_{t=0}(x)=x.

SOURCE PDF p.40 · Thmtheorem47.p1.2
EN
Then, all solutions are such that Xt=1rec(x0)∼ρ1X^{\mathsf{rec}}_{t=1}(x_{0})\sim\rho_{1} if x0∼ρ0x_{0}\sim\rho_{0} . In addition, if Assumption ( 46 ) holds, the velocity field defined in ( 5.18 ) reduces to
中
那么,若 x0∼ρ0x_{0}\sim\rho_{0},所有解均满足 Xt=1rec(x0)∼ρ1X^{\mathsf{rec}}_{t=1}(x_{0})\sim\rho_{1}。此外,若假设(46)成立,式(5.18)定义的速度场可简化为:
brec(t,x)=α˙(t)N(t,x)+β˙(t)Xt=1(N(t,x))b^{\mathsf{rec}}(t,x)=\dot{\alpha}(t)N(t,x)+\dot{\beta}(t)X_{t=1}(N(t,x))

SOURCE PDF p.40 · Thmtheorem47.p1.3
EN
and the solution to the probability flow ODE ( 5.21 ) is simply
中
而概率流 ODE(5.21)的解就是:
Xtrec(x)=α(t)x+β(t)Xt=1(x).X^{\mathsf{rec}}_{t}(x)=\alpha(t)x+\beta(t)X_{t=1}(x).

SOURCE PDF p.40 · S5.SS3.p3.1
EN
The proof is given in Appendix B.8 .
中
证明见附录 B.8。

SOURCE PDF p.40 · S5.SS3.p4.1
EN
Theorem 47 implies that Xtrec(x)X^{\mathsf{rec}}_{t}(x) is a simpler flow than Xt(x)X_{t}(x) , but we stress that they give the same map, Xt=1rec=Xt=1X^{\mathsf{rec}}_{t=1}=X_{t=1} . In particular, Xtrec(x)X^{\mathsf{rec}}_{t}(x) reduces to a straight line between xx and Xt=1(x)X_{t=1}(x) for α(t)=1−t\alpha(t)=1-t and β(t)=t\beta(t)=t . We also note that the approach can be used to learn a single-step map, since ( 5.22 ) and N(t=0,x)=xN(t=0,x)=x give
中
定理 47 意味着,Xtrec(x)X^{\mathsf{rec}}_{t}(x) 是一个比 Xt(x)X_{t}(x) 更简单的流;但我们强调,两者给出相同的映射,即 Xt=1rec=Xt=1X^{\mathsf{rec}}_{t=1}=X_{t=1}。特别地,取 α(t)=1−t\alpha(t)=1-t、β(t)=t\beta(t)=t 时,Xtrec(x)X^{\mathsf{rec}}_{t}(x) 简化为连接 xx 与 Xt=1(x)X_{t=1}(x) 的直线。我们还注意到,这一方法可以用来学习单步映射,因为式(5.22)与 N(t=0,x)=xN(t=0,x)=x 给出:
brec(t=0,x)=α˙(0)x+β˙(0)Xt=1(x),b^{\mathsf{rec}}(t=0,x)=\dot{\alpha}(0)x+\dot{\beta}(0)X_{t=1}(x),

SOURCE PDF p.40 · S5.SS3.p4.2
EN
which expresses Xt=1(x)X_{t=1}(x) in terms of known quantities as long as β˙(0)≠0\dot{\beta}(0)\not=0 . For example, if α˙(0)=0\dot{\alpha}(0)=0 and β˙(0)=1\dot{\beta}(0)=1 , we obtain brec(t=0,x)=Xt=1(x)b^{\mathsf{rec}}(t=0,x)=X_{t=1}(x) .
中
只要 β˙(0)≠0\dot{\beta}(0)\not=0,该式就用已知量表达了 Xt=1(x)X_{t=1}(x)。例如,若 α˙(0)=0\dot{\alpha}(0)=0、β˙(0)=1\dot{\beta}(0)=1,则得到 brec(t=0,x)=Xt=1(x)b^{\mathsf{rec}}(t=0,x)=X_{t=1}(x)。

Remark 48 (Optimal transport) . 说明 48(最优输运)

SOURCE PDF p.41 · Thmtheorem48.p1.1
EN
The discussion above highlights the fact that a probability flow equation can have straight line solutions and lead to a map that exactly pushes ρ0\rho_{0} onto ρ1\rho_{1} but is not the optimal transport map. That is, straight line solutions is a necessary condition for optimal transport, but it is not sufficient.
中
上述讨论突出表明:一个概率流方程可以具有直线解,并产生将 ρ0\rho_{0} 精确推送到 ρ1\rho_{1} 的映射,但这个映射不一定是最优传输映射。也就是说,解沿直线运动是最优传输的必要条件,但不是充分条件。

Remark 49 (Gradient fields) . 说明 49(梯度场)

SOURCE PDF p.41 · Thmtheorem49.p1.1
EN
The map is unaffected by the rectification procedure because we do not impose that the velocity brec(t,x)b^{\mathsf{rec}}(t,x) be a gradient field. If we do impose this structure by setting brec(t,x)=∇ϕ(t,x)b^{\mathsf{rec}}(t,x)=\nabla\phi(t,x) for some ϕ:Rd→R\phi:{\mathbb{R}}^{d}\to{\mathbb{R}} , then Xt=1rec≠Xt=1X_{t=1}^{\mathsf{rec}}\not=X_{t=1} . As shown in Liu (2022) , iterating over this procedure eventually gives the optimal transport map. That is, implemented over gradient fields and iterated infinitely, rectification computes Brenier’s polar decomposition of the map ( Brenier, 1991 ) .
中
矫正过程不改变该映射,是因为我们没有要求速度 brec(t,x)b^{\mathsf{rec}}(t,x) 为梯度场。若施加这一结构,令 brec(t,x)=∇ϕ(t,x)b^{\mathsf{rec}}(t,x)=\nabla\phi(t,x),其中 ϕ:Rd→R\phi:{\mathbb{R}}^{d}\to{\mathbb{R}},则有 Xt=1rec≠Xt=1X_{t=1}^{\mathsf{rec}}\not=X_{t=1}。如 Liu(2022)所示,反复迭代这一过程最终会得到最优传输映射。也就是说,在梯度场上实施并无限次迭代的矫正过程,计算的正是映射的 Brenier 极分解(Brenier,1991)。

Remark 50 (Consistency models) . 说明 50(一致性模型)

SOURCE PDF p.41 · Thmtheorem50.p1.1
EN
Recent work has introduced the notion of consistency models ( Song et al., 2023 ) , which distill a velocity field learned via score-based diffusion into a single-step map. Section 5.1 and the previous discussion provide an alternative perspective on consistency models, and show how they may be computed in the framework of stochastic interpolants via rectification.
中
近期工作提出了一致性模型的概念(Song 等,2023),将通过基于得分的扩散方法学到的速度场蒸馏为单步映射。第 5.1 节及前面的讨论为一致性模型提供了另一种理解视角,并表明可通过矫正在随机插值框架中计算这类模型。

6 Algorithmic aspects 6 算法细节

SOURCE PDF p.41 · S6.p1.1
EN
The methods described in the previous sections have efficient numerical realizations. Here, we detail algorithms and practical recommendations for an implementation. These suggestions can be split into two complementary tasks: learning the drift coefficients, and sampling with an ODE or an SDE.
中
前述各节的方法都可以高效地数值实现。这里,我们详细介绍实现算法与实践建议。这些建议可分为两项互补的任务:学习漂移系数,以及使用 ODE 或 SDE 进行采样。

6.1 Learning 6.1 学习

SOURCE PDF p.41 · S6.SS1.p1.1
EN
As described in Section 2.2 , there are a variety of algorithmic choices that can be made when learning the drift coefficients in ( 2.9 ), ( 2.20 ), and ( 2.22 ). While all choices lead to exact generative models in the absence of numerical and statistical errors, in practice, the presence of these errors ensures that different choices lead to different generative models, some of which may perform better for specific applications. Here, we describe the various realizations explicitly.
中
如第 2.2 节所述,学习式(2.9)、(2.20)与(2.22)中的漂移系数时,可以作出多种算法选择。在不存在数值误差与统计误差时,所有选择都能得到精确的生成模型;但在实践中,这些误差的存在使不同选择产生不同的生成模型,其中一些可能更适合特定应用。这里,我们明确说明各种实现方式。

Deterministic generative modeling: Learning b versus learning v and s . 确定性建模:学习 b 或学习 v、s

SOURCE PDF p.41 · S6.SS1.SSS0.Px1.p1.1
EN
Recall from Section 2.2 that the drift bb of the transport equation ( 2.9 ) can be written as b(t,x)=v(t,x)−γ(t)γ˙(t)s(t,x)b(t,x)=v(t,x)-\gamma(t)\dot{\gamma}(t)s(t,x) . This raises the practical question of whether it would be better to learn an estimate b^\hat{b} of bb by minimizing the empirical risk
中
回顾第 2.2 节,输运方程(2.9)的漂移 bb 可以写成 b(t,x)=v(t,x)−γ(t)γ˙(t)s(t,x)b(t,x)=v(t,x)-\gamma(t)\dot{\gamma}(t)s(t,x)。这引出一个实践问题:是通过最小化下列经验风险,直接学习 bb 的估计 b^\hat{b} 更好,
L^b(b^)=1N∑i=1N(12∣b^(ti,xtii)∣2−b^(ti,xtii)⋅(∂tI(ti,x0i,x1i)+γ˙(ti)zi)),\hat{\mathcal{L}}_{b}(\hat{b})=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{1}{2}|\hat{b}(t_{i},x_{t_{i}}^{i})|^{2}-\hat{b}(t_{i},x_{t_{i}}^{i})\cdot\left(\partial_{t}I(t_{i},x_{0}^{i},x_{1}^{i})+\dot{\gamma}(t_{i})z^{i}\right)\right),

SOURCE PDF p.41 · S6.SS1.SSS0.Px1.p1.2
EN
or to learn estimates of v^\hat{v} and s^\hat{s} by minimizing the empirical risks
中
还是通过最小化下列经验风险,分别学习估计 v^\hat{v} 与 s^\hat{s} 更好:
L^v(v^)=1N∑i=1N(12∣v^(ti,xtii)∣2−v^(ti,xtii)⋅∂tI(ti,x0i,x1i))\hat{\mathcal{L}}_{v}(\hat{v})=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{1}{2}|\hat{v}(t_{i},x_{t_{i}}^{i})|^{2}-\hat{v}(t_{i},x_{t_{i}}^{i})\cdot\partial_{t}I(t_{i},x_{0}^{i},x_{1}^{i})\right)

SOURCE PDF p.41 · S6.SS1.SSS0.Px1.p1.3
EN
and
中
以及
L^s(s^)=1N∑i=1N(12∣s^(ti,xtii)∣2+γ(ti)−1s^(ti,xtii)⋅zi)\hat{\mathcal{L}}_{s}(\hat{s})=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{1}{2}|\hat{s}(t_{i},x_{t_{i}}^{i})|^{2}+\gamma(t_{i})^{-1}\hat{s}(t_{i},x_{t_{i}}^{i})\cdot z^{i}\right)

Original algorithm: Algorithm 1 Learning bb with arbitrary ρ0\rho_{0} and ρ1\rho_{1} . Input: Batch size NN , interpolant function I(t,x0,x1)I(t,x_{0},x_{1}) , coupling ν(dx0,dx1)\nu(dx_{0},dx_{1}) to sample x0,x1x_{0},x_{1} , noise function γ(t)\gamma(t) , initial parameters θb\theta_{b} , gradient-based optimization algorithm to minimize Lb\mathcal{L}_{b} defined in ( 2.13 ), number of gradient steps NgN_{g} . Returns : An estimate b^\hat{b} of bb . for j=1,…,Ngj=1,\ldots,N_{g} do Draw NN samples (ti,x0i,x1i,zi)∼Unif([0,1])×ν×N(0,1)(t_{i},x_{0}^{i},x_{1}^{i},z^{i})\sim\mathsf{Unif}([0,1])\times\nu\times\mathsf{N}(0,1) , for i=1,…,Ni=1,\ldots,N . Construct samples xti=I(ti,x0i,x1i)+γ(ti)zix_{t}^{i}=I(t_{i},x_{0}^{i},x_{1}^{i})+\gamma(t_{i})z^{i} , for i=1,…,Ni=1,\ldots,N . Take gradient step with respect to Lb(θb,{xti}i=1N)\mathcal{L}_{b}\left(\theta_{b},\{x_{t}^{i}\}_{i=1}^{N}\right) . Return: b^\hat{b} .

中
输入:批量 N、插值函数 I、端点耦合 ν、噪声 γ、初始参数 θb、最小化式(2.13)的梯度优化器、梯度步数 Ng。输出 b 的估计 b̂。对 j=1,…,Ng:抽取 N 组独立样本 (tᵢ,x₀ⁱ,x₁ⁱ,zⁱ)∼Unif([0,1])×ν×N(0,1);构造 xₜⁱ=I(tᵢ,x₀ⁱ,x₁ⁱ)+γ(tᵢ)zⁱ;对批数据的 Lb 做一步梯度更新。最后返回 b̂。

Original caption: Algorithm 1 Learning bb with arbitrary ρ0\rho_{0} and ρ1\rho_{1} .

中
算法 1:任意端点密度下学习 b。

SOURCE PDF p.41 · S6.SS1.SSS0.Px1.p2.1
EN
and construct the estimate b^(t,x)=v^(t,x)−γ(t)γ˙(t)s^(t,x)\hat{b}(t,x)=\hat{v}(t,x)-\gamma(t)\dot{\gamma}(t)\hat{s}(t,x) . Above, xtii=I(ti,x0i,x1i)+γ(ti)zix_{t_{i}}^{i}=I(t_{i},x_{0}^{i},x_{1}^{i})+\gamma(t_{i})z^{i} , and NN denotes the number of samples tit^{i} , x0ix_{0}^{i} , and x1ix_{1}^{i} . If the practitioner is interested in a deterministic generative model (for example, to exploit adaptive integration or exact likelihood computation), learning the estimate b^\hat{b} directly only requires learning a single model, and hence will typically lead to greater efficiency. This recommendation is captured in Algorithm 1 . If both stochastic and deterministic generative models are of interest, it is necessary to learn two models for most choices of the interpolant; we discuss more suggestions for stochastic case below.
中
然后构造估计 b^(t,x)=v^(t,x)−γ(t)γ˙(t)s^(t,x)\hat{b}(t,x)=\hat{v}(t,x)-\gamma(t)\dot{\gamma}(t)\hat{s}(t,x)。上式中,xtii=I(ti,x0i,x1i)+γ(ti)zix_{t_{i}}^{i}=I(t_{i},x_{0}^{i},x_{1}^{i})+\gamma(t_{i})z^{i},NN 表示样本 tit^{i}、x0ix_{0}^{i} 和 x1ix_{1}^{i} 的数量。如果使用者关心的是确定性生成模型,例如希望利用自适应积分或精确似然计算,那么直接学习估计 b^\hat{b} 只需要训练一个模型,因而通常更加高效。算法 1 体现了这一建议。若同时关心随机与确定性生成模型,则对大多数插值选择而言,都必须学习两个模型;下面我们将进一步讨论随机情形的建议。

Antithetic sampling and capping. 对偶采样与截幅

SOURCE PDF p.42 · S6.SS1.SSS0.Px2.p1.3
EN
In practice, the losses for bb ( 2.13 ) and ss ( 2.16 ) can become high-variance near the endpoints t=0t=0 and t=1t=1 due to the presence of the singular term 1/γ(t)1/\gamma(t) and the (potentially) singular term γ˙(t)\dot{\gamma}(t) . This issue can be eliminated by using antithetic sampling, which we found necessary for stable training of objectives involving γ−1(t)\gamma^{-1}(t) . To show why, we consider the loss ( 2.16 ) for ss , but an analogous calculation can be performed for the loss ( 2.13 ) for bb or ( 2.19 ) for ηz\eta_{z} (even though it is not necessary for this last quantity). We first observe that, by definition of xtx_{t} and by Taylor expansion, as t→0t\to 0 or t→1t\to 1
中
在实践中,由于存在奇异项 1/γ(t)1/\gamma(t) 以及可能奇异的项 γ˙(t)\dot{\gamma}(t),bb 的损失(2.13)和 ss 的损失(2.16)在端点 t=0t=0、t=1t=1 附近可能具有很高的方差。采用对偶采样可以消除这一问题;我们发现,对于含 γ−1(t)\gamma^{-1}(t) 的目标,对偶采样是实现稳定训练所必需的。为说明原因,我们考虑 ss 的损失(2.16);对 bb 的损失(2.13)或 ηz\eta_{z} 的损失(2.19)也可以进行类似计算,尽管最后一个量并不需要这种处理。首先,由 xtx_{t} 的定义及 Taylor 展开可见,当 t→0t\to0 或 t→1t\to1 时,
1γ(t)z⋅s(t,xt)=1γ(t)z⋅s(t,I(t,x0,x1)+γ(t)z),=1γ(t)z⋅(s(t,I(t,x0,x1))+γ(t)∇s(t,I(t,x0,x1))z+o(γ(t))),=1γ(t)z⋅s(t,I(t,x0,x1))+z⋅∇s(t,I(t,x0,x1))z+o(1).\displaystyle\frac{1}{\gamma(t)}z\cdot s(t,x_{t}) \qquad \displaystyle=\frac{1}{\gamma(t)}z\cdot s(t,I(t,x_{0},x_{1})+\gamma(t)z), \qquad \displaystyle=\frac{1}{\gamma(t)}z\cdot\left(s(t,I(t,x_{0},x_{1}))+\gamma(t)\nabla s(t,I(t,x_{0},x_{1}))z+o(\gamma(t))\right), \qquad \displaystyle=\frac{1}{\gamma(t)}z\cdot s(t,I(t,x_{0},x_{1}))+z\cdot\nabla s(t,I(t,x_{0},x_{1}))z+o(1).

SOURCE PDF p.42 · S6.SS1.SSS0.Px2.p1.4
EN
Even though the conditional mean of the first term at the right-hand side is finite in the limit as t→0t\to 0 or t→1t\to 1 , its variance diverges. By contrast, let xt+=I(t,x0,x1)+γ(t)zx_{t}^{+}=I(t,x_{0},x_{1})+\gamma(t)z and xt−=I(t,x0,x1)−γ(t)zx_{t}^{-}=I(t,x_{0},x_{1})-\gamma(t)z with x0,x1x_{0},x_{1} , and zz fixed. Then,
中
虽然右端第一项的条件均值在 t→0t\to0 或 t→1t\to1 的极限下有限,其方差却会发散。相较之下,固定 x0,x1x_{0},x_{1} 与 zz,令 xt+=I(t,x0,x1)+γ(t)zx_{t}^{+}=I(t,x_{0},x_{1})+\gamma(t)z、xt−=I(t,x0,x1)−γ(t)zx_{t}^{-}=I(t,x_{0},x_{1})-\gamma(t)z,则有:
12γ(t)(z⋅s(t,xt+)−z⋅s(t,xt−))=12γ(t)(z⋅s(t,I(t,x0,x1)+γ(t)z))−z⋅s(t,I(t,x0,x1)−γ(t)z)),=12γ(t)z⋅(s(t,I(t,x0,x1))+γ(t)∇s(t,I(t,x0,x1))z+o(γ(t)))−12γ(t)z⋅(s(t,I(t,x0,x1))−γ(t)∇s(t,I(t,x0,x1))z+o(γ(t))),=z⋅∇s(t,I(t,x0,x1))z+o(1),\displaystyle\frac{1}{2\gamma(t)}\left(z\cdot s(t,x_{t}^{+})-z\cdot s(t,x_{t}^{-})\right) \qquad \displaystyle=\frac{1}{2\gamma(t)}\left(z\cdot s(t,I(t,x_{0},x_{1})+\gamma(t)z))-z\cdot s(t,I(t,x_{0},x_{1})-\gamma(t)z)\right), \qquad \displaystyle=\frac{1}{2\gamma(t)}z\cdot\left(s(t,I(t,x_{0},x_{1}))+\gamma(t)\nabla s(t,I(t,x_{0},x_{1}))z+o(\gamma(t))\right) \qquad \displaystyle-\frac{1}{2\gamma(t)}z\cdot\left(s(t,I(t,x_{0},x_{1}))-\gamma(t)\nabla s(t,I(t,x_{0},x_{1}))z+o(\gamma(t))\right), \qquad \displaystyle=z\cdot\nabla s(t,I(t,x_{0},x_{1}))z+o(1),

SOURCE PDF p.43 · S6.SS1.SSS0.Px2.p1.5
EN
so that both the conditional mean and variance are finite in the limit as t→0t\to 0 or t→1t\to 1 despite the singularity of 1/γ(t)1/\gamma(t) . In practice, this can be implemented by using xt+x_{t}^{+} and xt−x_{t}^{-} for every draw of x0,x1x_{0},x_{1} , and zz in the empirical discretization of the population loss.
中
因此,尽管 1/γ(t)1/\gamma(t) 存在奇点,条件均值与条件方差在 t→0t\to0 或 t→1t\to1 的极限下都保持有限。实践中,在对总体损失作经验离散化时,每抽取一组 x0,x1x_{0},x_{1} 和 zz,同时使用 xt+x_{t}^{+} 与 xt−x_{t}^{-} 即可实现这一方法。

Original algorithm: Algorithm 2 Learning ηz\eta_{z} with arbitrary ρ0\rho_{0} and ρ1\rho_{1} . Input: Batch size NN , interpolant function I(t,x0,x1)I(t,x_{0},x_{1}) , a coupling ν(dx0,dx1)\nu(dx_{0},dx_{1}) to sample x0,x1x_{0},x_{1} , noise function γ(t)\gamma(t) , initial parameters θηz\theta_{\eta_{z}} , gradient-based optimization algorithm to minimize Lηz\mathcal{L}_{\eta_{z}} defined in ( 2.19 ), number of gradient steps NgN_{g} . Returns : An estimate η^z\hat{\eta}_{z} of ηz\eta_{z} . for j=1,…,Ngj=1,\ldots,N_{g} do Draw NN samples (ti,x0i,x1i,zi)∼Unif([0,1])×ν×N(0,1)(t_{i},x_{0}^{i},x_{1}^{i},z^{i})\sim\mathsf{Unif}([0,1])\times\nu\times\mathsf{N}(0,1) , for i=1,…,Ni=1,\ldots,N . Construct samples xti=I(ti,x0i,x1i)+γ(ti)zix_{t}^{i}=I(t_{i},x_{0}^{i},x_{1}^{i})+\gamma(t_{i})z^{i} , for i=1,…,Ni=1,\ldots,N . Take gradient step with respect to Lηz(θηz,{xti}i=1N)\mathcal{L}_{\eta_{z}}\left(\theta_{\eta_{z}},\{x_{t}^{i}\}_{i=1}^{N}\right) . Return: η^z\hat{\eta}_{z} .

中
输入:批量 N、I、端点耦合 ν、γ、去噪器初始参数 θηz、最小化式(2.19)的梯度优化器、梯度步数 Ng。输出 ηz 的估计。每步抽取 N 组 (tᵢ,x₀ⁱ,x₁ⁱ,zⁱ)∼Unif([0,1])×ν×N(0,1),构造 xₜⁱ=I(tᵢ,x₀ⁱ,x₁ⁱ)+γ(tᵢ)zⁱ,再对 Lηz 做梯度更新,最终返回去噪器估计。

Original caption: Algorithm 2 Learning ηz\eta_{z} with arbitrary ρ0\rho_{0} and ρ1\rho_{1} .

中
算法 2:任意端点密度下学习 ηz。

Learning the score s versus learning a denoiser η z ​ . 学习得分 s 或去噪器 ηz

SOURCE PDF p.43 · S6.SS1.SSS0.Px3.p1.1
EN
When learning ss , an alternative to antithetic sampling is to consider learning the denoiser ηz\eta_{z} defined in ( 2.17 ), which is related to the score by a factor of γ\gamma . Note that the objective function for the denoiser in ( 2.19 ) is well behaved for all t∈[0,1]t\in[0,1] , and can be thought of as a generalization of the DDPM loss introduced in Ho et al. (2020) . The empirical risk associated with this loss reads
中
学习 ss 时,对偶采样的一种替代方法,是学习式(2.17)定义的去噪器 ηz\eta_{z};它与得分之间相差一个 γ\gamma 因子。注意,式(2.19)中去噪器的目标函数对所有 t∈[0,1]t\in[0,1] 都具有良好的性质,可视为 Ho 等(2020)提出的 DDPM 损失的推广。与这一损失对应的经验风险为:
L^ηz(η^z)=1N∑i=1N(12∣η^z(ti,xtii)∣2−η^z(ti,xtii)⋅zi)\hat{\mathcal{L}}_{\eta_{z}}(\hat{\eta}_{z})=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{1}{2}|\hat{\eta}_{z}(t_{i},x_{t_{i}}^{i})|^{2}-\hat{\eta}_{z}(t_{i},x_{t_{i}}^{i})\cdot z^{i}\right)

SOURCE PDF p.43 · S6.SS1.SSS0.Px3.p1.2
EN
A detailed procedure for learning the denoiser ηz\eta_{z} , e.g. for its use in an SDE-based generative model is given in Algorithm 2 . For the case of one-sided spatially-linear interpolants, the procedure becomes particularly simple, which is highlighted in Algorithm 3 .
中
算法 2 给出了学习去噪器 ηz\eta_{z} 的详细步骤,例如可将其用于基于 SDE 的生成模型。对单侧空间线性插值,这一过程尤其简单,算法 3 突出了这一点。

Original algorithm: Algorithm 3 Learning ηzos\eta_{z}^{\mathsf{os}} with Gaussian ρ0\rho_{0} . Input: Batch size NN , interpolant function xtos,linx^{\mathsf{os,lin}}_{t} , a coupling ν(dx0,dx1)\nu(dx_{0},dx_{1}) to sample z,x1z,x_{1} , initial parameters θηzos\theta_{\eta_{z}^{\mathsf{os}}} , gradient-based optimization algorithm to minimize Lηzos\mathcal{L}_{\eta_{z}^{\mathsf{os}}} defined in ( 2.19 ), number of gradient steps NgN_{g} . Returns : An estimate η^zos\hat{\eta}_{z}^{\mathsf{os}} of ηzos\eta_{z}^{\mathsf{os}} . for j=1,…,Ngj=1,\ldots,N_{g} do Draw NN samples (ti,zi,x1i)∼Unif([0,1])×ν(t_{i},z^{i},x_{1}^{i})\sim\mathsf{Unif}([0,1])\times\nu , for i=1,…,Ni=1,\ldots,N . Construct samples xti=α(ti)z+β(ti)x1ix_{t}^{i}=\alpha(t_{i})z+\beta(t_{i})x_{1}^{i} , for i=1,…,Ni=1,\ldots,N . Take gradient step w.r.t Lηzos(θηzos,{xti}i=1N)\mathcal{L}_{\eta_{z}^{\mathsf{os}}}\left(\theta_{\eta_{z}^{\mathsf{os}}},\{x_{t}^{i}\}_{i=1}^{N}\right) . Return: η^zos\hat{\eta}_{z}^{\mathsf{os}} .

中
输入:批量 N、空间线性单侧插值、用于采样 z 与 x₁ 的耦合 ν、单侧去噪器初始参数、相应梯度优化器与 Ng。输出单侧去噪器估计。每步采样 N 组 (tᵢ,zⁱ,x₁ⁱ)∼Unif([0,1])×ν,构造 xₜⁱ=α(tᵢ)zⁱ+β(tᵢ)x₁ⁱ,对单侧去噪损失做梯度更新,返回估计。译注:原算法构造式中的 z 未写批下标,按该步采样的 zⁱ 理解。

Original caption: Algorithm 3 Learning ηzos\eta_{z}^{\mathsf{os}} with Gaussian ρ0\rho_{0} .

中
算法 3:高斯基分布下学习单侧去噪器。

6.2 Sampling 6.2 采样

SOURCE PDF p.43 · S6.SS2.p1.1
EN
We now discuss several practical aspects of sampling generative models based on stochastic interpolants. These are intimately related to the choice of objects that are learned, as well as to the specific interpolant used to build a path between ρ0\rho_{0} and ρ1\rho_{1} . A general algorithm for sampling models built on either ordinary or stochastic differential equations is presented in Algorithm 4 .
中
现在讨论基于随机插值的生成模型在采样时的几个实践问题。这些问题与所学习对象的选择密切相关,也与用于构建 ρ0\rho_{0} 到 ρ1\rho_{1} 路径的具体插值有关。算法 4 给出了对基于常微分方程或随机微分方程的模型进行采样的通用算法。

Original algorithm: Algorithm 4 Sampling general stochastic interpolants. Input: Number of samples nn , timestep Δt\Delta t , drift estimates b^\hat{b} and η^z\hat{\eta}_{z} , initial time t0t_{0} , final time tft_{f} , noise function γ(t)\gamma(t) , diffusion coefficient ϵ(t)\epsilon(t) , SDE or ODE timestepper TakeStep . Returns : {x^1(i)}i=1n\{\hat{x}_{1}^{(i)}\}_{i=1}^{n} , a batch of model samples. Initialize Set time t=t0t=t_{0} . Draw initial conditions x^t0(i)∼ρ0\hat{x}^{(i)}_{t_{0}}\sim\rho_{0} for i=1,…,ni=1,\ldots,n . Construct s^(t,x)=−η^z(t,x)/γ(t)\hat{s}(t,x)=-\hat{\eta}_{z}(t,x)/\gamma(t) . Construct b^F(t,x)=b^(t,x)+ϵ(t)s^(t,x)\hat{b}_{\mathsf{F}}(t,x)=\hat{b}(t,x)+\epsilon(t)\hat{s}(t,x) . // Reduces to b^\hat{b} for ϵ(t)=0\epsilon(t)=0 (ODE). while t<tft<t_{f} do Propagate x^t+Δt(i)=TakeStep(t,x^t(i),bF,ϵ,Δt)\hat{x}^{(i)}_{t+\Delta t}=\texttt{TakeStep}(t,\hat{x}^{(i)}_{t},b_{\mathsf{F}},\epsilon,\Delta t) for i=1,…,ni=1,\ldots,n . // ODE or SDE integrator. Update t=t+Δtt=t+\Delta t . Return : {x^(i)}i=1n\{\hat{x}^{(i)}\}_{i=1}^{n} .

中
输入:样本数 n、步长 Δt、漂移 b̂ 与去噪器 η̂z、初末时间 t₀、tf、γ(t)、ε(t) 以及 ODE/SDE 单步积分器 TakeStep。输出一批模型样本。初始化 t=t₀,逐个采样 x̂t₀ⁱ∼ρ₀;构造 ŝ=−η̂z/γ,b̂F=b̂+εŝ(ε=0 时退化为 ODE 漂移 b̂)。只要 t<tf,就对所有样本调用 TakeStep(t,x̂tⁱ,b̂F,ε,Δt),再令 t←t+Δt;最后返回样本。

Original caption: Algorithm 4 Sampling general stochastic interpolants.

中
算法 4:一般随机插值的采样。

Using the denoiser η z ​ instead of the score s . 以 ηz 替代得分 s

SOURCE PDF p.44 · S6.SS2.SSS0.Px1.p1.1
EN
We remarked in Section 6.1 that learning the denoiser ηz\eta_{z} is more numerically stable than learning the score ss directly. We note that while the objective for ηz\eta_{z} is well-behaved for all t∈[0,1]t\in[0,1] , the resulting drifts can become singular at t=0t=0 and t=1t=1 when using s(t,x)=−ηz(t,x)/γ(t)s(t,x)=-\eta_{z}(t,x)/\gamma(t) . There are several ways to avoid this singularity in practice. One method is to choose a time-varying ϵ(t)\epsilon(t) that vanishes in a small interval around the endpoints t=0t=0 and t=1t=1 , which avoids this numerical instability. An alternative option is to integrate the SDE up to a final time tft_{f} with tf<1t_{f}<1 , and then to perform a step of denoising using ( 5.13 ). We use this approach in Section 7 below when sampling the SDE.
中
第 6.1 节曾指出,学习去噪器 ηz\eta_{z} 比直接学习得分 ss 的数值稳定性更好。我们注意到,虽然 ηz\eta_{z} 的目标对所有 t∈[0,1]t\in[0,1] 都具有良好性质,但在使用 s(t,x)=−ηz(t,x)/γ(t)s(t,x)=-\eta_{z}(t,x)/\gamma(t) 时,得到的漂移可能在 t=0t=0、t=1t=1 处出现奇点。实践中有多种方法可以避免这一奇异性。一种方法是选取随时间变化的 ϵ(t)\epsilon(t),使其在端点 t=0t=0、t=1t=1 附近的一个小区间内为零,从而避免这种数值不稳定。另一种方法是把 SDE 积分到小于 1 的终止时刻 tft_{f},随后利用式(5.13)执行一次去噪。下面第 7 节对 SDE 进行采样时采用的就是后一种方法。

A denoiser is all you need for spatially-linear one-sided interpolants. 空间线性单侧插值只需去噪器

Original algorithm: Algorithm 5 Sampling spatially-linear one-sided interpolants with Gaussian ρ0\rho_{0} . Input: Number of samples nn , timestep Δt\Delta t , denoiser estimate η^z\hat{\eta}_{z} , initial time t0t_{0} , final time tft_{f} , noise function γ(t)\gamma(t) , diffusion coefficient ϵ(t)\epsilon(t) , interpolant functions α(t)\alpha(t) and β(t)\beta(t) , SDE or ODE timestepper TakeStep . Returns : {x^1(i)}i=1n\{\hat{x}_{1}^{(i)}\}_{i=1}^{n} , a batch of model samples. Initialize Set time t=t0t=t_{0} . Draw initial conditions x^t0(i)∼ρ0\hat{x}^{(i)}_{t_{0}}\sim\rho_{0} for i=1,…,ni=1,\ldots,n . Construct s^(t,x)=−η^z(t,x)/α(t)\hat{s}(t,x)=-\hat{\eta}_{z}(t,x)/\alpha(t) . Construct b^(t,x)=α˙(t)η^zos(t,x)+β˙(t)β(t)(x−α(t)η^zos(t,x))\hat{b}(t,x)=\dot{\alpha}(t)\hat{\eta}_{z}^{\mathsf{os}}(t,x)+\frac{\dot{\beta}(t)}{\beta(t)}\left(x-\alpha(t)\hat{\eta}_{z}^{\mathsf{os}}(t,x)\right) . Construct b^F(t,x)=b^(t,x)+ϵ(t)s^(t,x)\hat{b}_{\mathsf{F}}(t,x)=\hat{b}(t,x)+\epsilon(t)\hat{s}(t,x) . // Reduces to b^\hat{b} for ϵ(t)=0\epsilon(t)=0 (ODE). while t<tft<t_{f} do Propagate x^t+Δt(i)=TakeStep(t,x^t(i),bF,ϵ,Δt)\hat{x}^{(i)}_{t+\Delta t}=\texttt{TakeStep}(t,\hat{x}^{(i)}_{t},b_{\mathsf{F}},\epsilon,\Delta t) for i=1,…,ni=1,\ldots,n . // ODE or SDE integrator. Update t=t+Δtt=t+\Delta t . Return : {x^(i)}i=1n\{\hat{x}^{(i)}\}_{i=1}^{n} .

中
输入:样本数 n、Δt、单侧去噪器估计、t₀、tf、γ、ε、α、β 及 TakeStep。输出一批模型样本。初始化 t=t₀,采样 x̂t₀ⁱ∼ρ₀;构造 ŝ=−η̂z/α,以及 b̂=α̇η̂zos+(β̇/β)(x−αη̂zos),再构造 b̂F=b̂+εŝ(ε=0 为 ODE)。循环至 tf:对每个样本调用同一单步积分器,再增加 t;最后返回样本。

Original caption: Algorithm 5 Sampling spatially-linear one-sided interpolants with Gaussian ρ0\rho_{0} .

中
算法 5:高斯基分布、空间线性单侧插值的采样。

SOURCE PDF p.44 · S6.SS2.SSS0.Px2.p1.1
EN
As shown in ( 4.19 ), and as considered in Section 5.2 , the denoiser ηzos\eta_{z}^{\mathsf{os}} is sufficient to represent the velocity field bb appearing in the probability flow equation ( 2.32 ).
中
如式(4.19)所示,并如第 5.2 节所讨论,单侧去噪器 ηzos\eta_{z}^{\mathsf{os}} 足以表示概率流方程(2.32)中出现的速度场 bb。

SOURCE PDF p.45 · S6.SS2.SSS0.Px2.p2.1
EN
Using this definition for bb and the relationship s(t,x)=−ηz(t,x)/γ(t)s(t,x)=-\eta_{z}(t,x)/\gamma(t) , we state the following ordinary and stochastic differential equations for sampling
中
利用这一 bb 的定义以及关系 s(t,x)=−ηz(t,x)/γ(t)s(t,x)=-\eta_{z}(t,x)/\gamma(t),可得到下列用于采样的常微分方程与随机微分方程:
ODE:X˙t=α˙(t)ηzos(t,Xt)+β˙(t)β(t)(Xt−α(t)ηzos(t,Xt))SDE:dXtF=(α˙(t)ηzos(t,XtF)+β˙(t)β(t)(XtF−α(t)ηzos(t,XtF))−ϵ(t)α(t)ηzos(t,XtF))dt+2ϵ(t)dWt.\displaystyle\text{ODE}: \qquad \displaystyle\dot{X}_{t}=\dot{\alpha}(t)\eta^{\mathsf{os}}_{z}(t,X_{t})+\frac{\dot{\beta}(t)}{\beta(t)}\big(X_{t}-\alpha(t)\eta^{\mathsf{os}}_{z}(t,X_{t})\big) \qquad \displaystyle\text{SDE}: \qquad \displaystyle dX^{\mathsf{F}}_{t}=\big(\dot{\alpha}(t)\eta^{\mathsf{os}}_{z}(t,X^{\mathsf{F}}_{t})+\frac{\dot{\beta}(t)}{\beta(t)}\big(X^{\mathsf{F}}_{t}-\alpha(t)\eta^{\mathsf{os}}_{z}(t,X^{\mathsf{F}}_{t})\big)-\frac{\epsilon(t)}{\alpha(t)}\eta^{\mathsf{os}}_{z}(t,X^{\mathsf{F}}_{t})\big)dt \qquad \displaystyle+\sqrt{2\epsilon(t)}dW_{t}.

SOURCE PDF p.45 · S6.SS2.SSS0.Px2.p2.2
EN
Because β(0)=0\beta(0)=0 , the drift is numerically singular in both equations. However, b(t=0,x)b(t=0,x) has a finite limit
中
由于 β(0)=0\beta(0)=0,两个方程中的漂移在数值上都存在奇点。然而,b(t=0,x)b(t=0,x) 具有有限极限:
b(t=0,x)=α˙(0)x+β˙(0)E[x1],b(t=0,x)=\dot{\alpha}(0)x+\dot{\beta}(0)\mathbb{E}[x_{1}],

SOURCE PDF p.45 · S6.SS2.SSS0.Px2.p2.3
EN
as originally given in ( 4.20 ). Equation ( 6.8 ) can be estimated using available data, which means that when learning a one-sided interpolant, ODE and SDE-based generative models can be defined exactly on the interval t∈[0,1]t\in[0,1] using only a score or a denoiser without singularity.
中
这正是式(4.20)最初给出的结果。式(6.8)可以利用现有数据估计,这意味着,在学习单侧插值时,只使用得分或去噪器,就能在整个区间 t∈[0,1]t\in[0,1] 上精确定义无奇异性的 ODE 与 SDE 生成模型。

SOURCE PDF p.45 · S6.SS2.SSS0.Px2.p3.1
EN
The factor of α(t)−1\alpha(t)^{-1} in the final term of the SDE could pose numerical problems at t=1t=1 , as α(1)=0\alpha(1)=0 . As discussed in the paragraph above, a choice of ϵ(t)\epsilon(t) which is such that ϵ(t)/α(t)→C\epsilon(t)/\alpha(t)\rightarrow C for some constant CC as t→1t\rightarrow 1 avoids any issue.
中
SDE 最后一项中的 α(t)−1\alpha(t)^{-1} 因子可能在 t=1t=1 处造成数值问题,因为 α(1)=0\alpha(1)=0。如前一段所讨论,选择 ϵ(t)\epsilon(t) 使得当 t→1t\rightarrow1 时,ϵ(t)/α(t)→C\epsilon(t)/\alpha(t)\rightarrow C,其中 CC 为某个常数,即可避免这一问题。

SOURCE PDF p.45 · S6.SS2.SSS0.Px2.p4.1
EN
An algorithm for sampling with only the denoiser ηzos\eta_{z}^{\mathsf{os}} is given in Algorithm 5 .
中
算法 5 给出了仅使用去噪器 ηzos\eta_{z}^{\mathsf{os}} 进行采样的算法。

7 Numerical results 7 数值结果

原图 F007

Original caption: Figure 7 : The effects of γ(t)\gamma(t) and ϵ\epsilon on sample quality: qualitative comparison. Kernel density estimates of ρ^(1)\hat{\rho}(1) for models with different choices of γ\gamma and ϵ\epsilon . Sampling with ϵ=0\epsilon=0 corresponds to using the probability flow with the learned drift b^=v^−γγ˙s^\hat{b}=\hat{v}-\gamma\dot{\gamma}\hat{s} , whereas sampling with ϵ>0\epsilon>0 corresponds to using the SDE with the learned drift b^\hat{b} and score s^\hat{s} . We find empirically that SDE sampling is generically better than ODE sampling for this target density, though the gap is smallest for the probability flow specified with γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)} , in agreement with the Remark 42 regarding the influence of γ\gamma on bb at the endpoints. The SDE performs well at any noise level, though numerically integrating it for higher ϵ\epsilon requires a smaller step size.

中
图 7:γ 与 ε 对样本质量的定性影响。图示不同 γ、ε 下模型终态密度的核密度估计。ε=0 使用学得漂移 b̂=v̂−γγ̇ŝ 的概率流;ε>0 使用 b̂、ŝ 的 SDE。对此目标,SDE 通常优于 ODE;γ=√[t(1−t)] 时差距最小,与说明 42 中端点得分作用相符。SDE 在各噪声水平都表现良好,但 ε 越大,数值积分步长越小。

SOURCE PDF p.46 · S7.p1.1
EN
So far, we have been focused on the impact of α\alpha , β\beta , and γ\gamma in ( 4.1 ) on the density ρ(t)\rho(t) , which we illustrated analytically. In this section, we study examples where the drift coefficients must be learned over parametric function classes. In particular, we explore numerically the tradeoffs between generative models based on ODEs and SDEs, as well as the various design choices introduced in Sections 3 , 4 , and 6 . In Section 7.1 , we consider simple two-dimensional distributions that can be visualized easily. In Section 7.2 , we consider high-dimensional Gaussian mixtures, where we can compare our learned models to analytical solutions. Finally in Section 7.3 we perform some experiments in image generation.
中
到目前为止,我们关注的是式(4.1)中 α\alpha、β\beta 与 γ\gamma 对密度 ρ(t)\rho(t) 的影响,并以解析方式加以说明。本节研究必须在参数化函数类上学习漂移系数的例子。具体而言,我们通过数值实验探究基于 ODE 与 SDE 的生成模型之间的取舍,以及第 3、4、6 节引入的各种设计选择。第 7.1 节考虑易于可视化的简单二维分布。第 7.2 节考虑高维高斯混合分布,可将学到的模型与解析解比较。最后,第 7.3 节开展一些图像生成实验。

7.1 Deterministic versus stochastic models: 2D 7.1 二维确定性与随机模型

原图 F008

Original caption: Figure 8 : The effects of γ(t)\gamma(t) and ϵ\epsilon on sample quality: quantitative comparison. For each γ\gamma and each ϵ\epsilon specified in Figure 7 , we compute the mean and variance of the absolute value of the difference of log⁡ρ1\log\rho_{1} (exact) and log⁡ρ^(1)\log\hat{\rho}(1) (model). The model specified with γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)} is the best performing probability flow ( ϵ=0\epsilon=0 ). At large ϵ\epsilon , SDE sampling with the same learned drift b^\hat{b} and score s^\hat{s} performs better, complementing the observations in the previous figure.

中
图 8:图 7 的定量比较。每个 γ、ε 下,计算真实 logρ₁ 与模型 logρ̂(1) 之差绝对值的均值、方差。γ=√[t(1−t)] 的概率流(ε=0)最佳;较大 ε 时,使用同样 b̂、ŝ 的 SDE 更好,与前图互补。

SOURCE PDF p.47 · S7.SS1.p1.1
EN
As shown in Section 2.2 , the evolution of ρ(t)\rho(t) can be captured exactly by either the transport equation ( 2.9 ) or by the forward and backward Fokker-Planck equations ( 2.20 ) and ( 2.22 ). These perspectives lead to generative models that are either based on the deterministic dynamics ( 2.32 ) or the forward and backward stochastic dynamics ( 2.33 ) and ( 2.34 ), where the level of stochasticity can be tuned by varying the diffusion coefficient ϵ(t)\epsilon(t) . We showed in Section 2.4 that setting a constant ϵ(t)=ϵ>0\epsilon(t)=\epsilon>0 can offer better control on the likelihood when using an imperfect velocity bb and an imperfect score ss . Moreover, the optimal choice of ϵ\epsilon is determined by the relative accuracy of the estimates b^\hat{b} and s^\hat{s} . Having laid out the evolution of ρ(t)\rho(t) for different choices of γ\gamma in the previous section, we now show how different values of ϵ\epsilon can build these densities up from individual trajectories. The stochasticity intrinsic to the sampling process increases with ϵ\epsilon , but by construction, the marginal density ρ(t)\rho(t) for fixed α\alpha , β\beta and γ\gamma is independent of ϵ\epsilon .
中
如第 2.2 节所示,密度 ρ(t)\rho(t) 的演化既可由输运方程(2.9)精确刻画,也可由前向与后向 Fokker–Planck 方程(2.20)、(2.22)精确刻画。这些视角分别导出基于确定性动力学(2.32)或前向、后向随机动力学(2.33)、(2.34)的生成模型,其中随机性水平可通过改变扩散系数 ϵ(t)\epsilon(t) 来调节。第 2.4 节表明,采用常数 ϵ(t)=ϵ>0\epsilon(t)=\epsilon>0,在速度 bb 和得分 ss 不精确时,可以更好地控制似然。此外,最优 ϵ\epsilon 的选择取决于估计 b^\hat{b} 与 s^\hat{s} 的相对精度。上一节已说明不同 γ\gamma 选择下 ρ(t)\rho(t) 的演化;现在我们展示不同 ϵ\epsilon 值如何通过单条轨迹构建这些密度。采样过程内在的随机性随 ϵ\epsilon 增大而增强,但按照构造,对于固定的 α\alpha、β\beta 和 γ\gamma,边缘密度 ρ(t)\rho(t) 与 ϵ\epsilon 无关。

The roles of γ ( t ) and ϵ for 2D density estimation. 二维密度估计中 γ、ε 的作用

SOURCE PDF p.47 · S7.SS1.SSS0.Px1.p1.1
EN
To explore the roles of γ\gamma and ϵ\epsilon , we consider a target density ρ1\rho_{1} whose mass concentrates on a two-dimensional checkerboard and a base density ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) ; here, the target was chosen to highlight the ability of the method to learn a challenging density with sharp boundaries. The same model architecture and training procedure was used to learn both vv and ss for several choices of γ\gamma given in Table 2 . The feed-forward network was defined with 44 layers, each of size 512512 , and with the ReLU Nair and Hinton (2010) as an activation function.
中
为探究 γ\gamma 与 ϵ\epsilon 的作用,我们考虑质量集中于二维棋盘格上的目标密度 ρ1\rho_{1},以及基准密度 ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id})。选择这一目标,是为了突出该方法学习具有尖锐边界的复杂密度的能力。对于表 2 给出的若干 γ\gamma 选择,我们采用相同的模型架构和训练步骤学习 vv 与 ss。前馈网络包含 4 层,每层宽度为 512,并以 ReLU(Nair 与 Hinton,2010)作为激活函数。

SOURCE PDF p.48 · S7.SS1.SSS0.Px1.p2.1
EN
After training, we draw 300,000 samples using either an ODE ( ϵ=0\epsilon=0 ) or an SDE with ϵ=0.5\epsilon=0.5 , ϵ=1.0\epsilon=1.0 , or ϵ=2.5\epsilon=2.5 . We compute kernel density estimates for each resulting density, which we compare to the exact density and to the original stochastic interpolant from Albergo and Vanden-Eijnden (2023) (obtained by setting γ=0\gamma=0 ). Results are given in Figure 7 for each γ\gamma and each ϵ\epsilon . Sampling with ϵ>0\epsilon>0 empirically performs better, though the gap is smallest when using the γ\gamma specified in ( 4.13 ). Moreover, even when ϵ=0\epsilon=0 , using the probability flow with γ\gamma given by ( 4.13 ) performs better than the original interpolant from Albergo and Vanden-Eijnden (2023) . Numerical comparisons of the mean and variance of the absolute value of the difference of log⁡ρ1\log\rho_{1} (exact) from log⁡ρ^(1)\log\hat{\rho}(1) (model) for the various configurations are given in Figure 8 , which corroborate the above observations.
中
训练完成后,我们使用 ODE(ϵ=0\epsilon=0)或扩散系数分别为 ϵ=0.5\epsilon=0.5、ϵ=1.0\epsilon=1.0、ϵ=2.5\epsilon=2.5 的 SDE 抽取 300,000 个样本。我们对得到的各个密度计算核密度估计,并与精确密度及 Albergo 与 Vanden-Eijnden(2023)的原始随机插值进行比较,后者通过设置 γ=0\gamma=0 得到。图 7 给出了每种 γ\gamma 与 ϵ\epsilon 组合的结果。经验上,ϵ>0\epsilon>0 时采样效果更好,但采用式(4.13)规定的 γ\gamma 时,两者差距最小。此外,即使 ϵ=0\epsilon=0,采用式(4.13)中 γ\gamma 的概率流,也优于 Albergo 与 Vanden-Eijnden(2023)的原始插值。图 8 给出了各配置下 log⁡ρ1\log\rho_{1}(精确值)与 log⁡ρ^(1)\log\hat{\rho}(1)(模型值)之差的绝对值的均值和方差比较,定量支持了上述观察。

7.2 Deterministic versus stochastic models: 128D Gaussian mixtures 7.2 128维高斯混合模型

SOURCE PDF p.48 · S7.SS2.p1.1
EN
We now study the performance of the stochastic interpolant method in the case where the target is a high-dimensional Gaussian mixture. Gaussian mixtures (GMs) are a convenient class of target distributions to study, because they can be made arbitrarily complex by increasing the number of modes, their separation, and the overall dimensionality. Moreover, by considering low-dimensional projections, we can compute quantitative error metrics such as the KL\mathsf{KL} -divergence between the target and the model as a function of the (constant) diffusion coefficient ϵ\epsilon . This enables us to quantify the tradeoffs of ODE and SDE-based samplers.
中
现在研究目标为高维高斯混合分布时随机插值方法的性能。高斯混合(GM)是一类便于研究的目标分布,因为通过增加模态数、模态间距和整体维度,可以使其复杂程度任意提高。此外,考察低维投影后,我们可以计算目标与模型之间的 KL\mathsf{KL} 散度等定量误差指标,并将其视为常数扩散系数 ϵ\epsilon 的函数。这使我们能够量化 ODE 与 SDE 采样器之间的取舍。

Experimental details. 实验细节

SOURCE PDF p.48 · S7.SS2.SSS0.Px1.p1.1
EN
We consider the problem of mapping ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) to a Gaussian mixture with five modes in dimension d=128d=128 . The mean mi∈Rdm_{i}\in{\mathbb{R}}^{d} of each mode is drawn i.i.d. mi∼N(0,σ2Id)m_{i}\sim\mathsf{N}(0,\sigma^{2}\text{\it Id}) with σ=7.5\sigma=7.5 . To maximize performance at high ϵ\epsilon , the timestep should be adapted to ϵ\epsilon ; here, we chose to use a fixed computational budget that performs well for moderate levels of ϵ\epsilon to avoid computational effort that may become unreasonable in practice.
中
我们考虑将 ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) 映射到维度为 d=128d=128、具有五个模态的高斯混合分布。各模态的均值 mi∈Rdm_{i}\in{\mathbb{R}}^{d} 独立同分布地抽取自 mi∼N(0,σ2Id)m_{i}\sim\mathsf{N}(0,\sigma^{2}\text{\it Id}),其中 σ=7.5\sigma=7.5。要在较大的 ϵ\epsilon 下最大化性能,应当使时间步长适应 ϵ\epsilon;这里我们选择一个在中等 ϵ\epsilon 水平下表现良好的固定计算预算,以避免投入实践中可能变得不合理的计算量。

原图 F009

Original caption: Figure 9 : Gaussian mixtures: target projection. Low-dimensional marginal of the target density ρ1\rho_{1} for the Gaussian mixture experiment, visualized via KDE.

中
图 9:高斯混合实验目标密度的低维边缘,用 KDE 可视化。

SOURCE PDF p.48 · S7.SS2.SSS0.Px1.p2.1
EN
Each covariance Ci∈Rd×dC_{i}\in{\mathbb{R}}^{d\times d} is also drawn randomly with Ci=1dWiTWi+IdC_{i}=\tfrac{1}{d}W_{i}^{\mathsf{T}}W_{i}+\text{\it Id} and (Wi)kl∼N(0,1)(W_{i})_{kl}\sim\mathsf{N}(0,1) for k,l=1,…,dk,l=1,\ldots,d ; this choice ensures that each covariance is a positive definite perturbation of the identity with diagonal entries that are O(1)O(1) with respect to dimension dd . For a fixed random draw of the means {mi}i=15\{m_{i}\}_{i=1}^{5} and covariances {Ci}i=15\{C_{i}\}_{i=1}^{5} , we study the four combinations of learning bb or vv and ss or ηz\eta_{z} to form a stochastic interpolant from ρ0\rho_{0} to ρ1\rho_{1} . In each case, we consider a linear interpolant with α(t)=1−t\alpha(t)=1-t , β(t)=t\beta(t)=t , and γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)} . For visual reference, a projection of the target density ρ1\rho_{1} onto the first two coordinates is depicted in Figure 9 – it contains significant multimodality, several modes that are difficult to distinguish, and one mode that is well-separated from the others, which requires nontrivial transport to resolve. In the following experiments, all samples were generated with the fourth-order Dormand-Prince adaptive ODE solver ( dopri5 ) for ϵ=0\epsilon=0 and by using one thousand timesteps of the Heun SDE integrator introduced in Karras et al. (2022) for ϵ≠0\epsilon\neq 0 . When learning ηz\eta_{z} , to avoid singularity at t=0t=0 and t=1t=1 when dividing by γ(t)\gamma(t) in the formula s(t,x)=−η(t,x)/γ(t)s(t,x)=-\eta(t,x)/\gamma(t) , we set t0=10−4t_{0}=10^{-4} and tf=1−t0t_{f}=1-t_{0} in Algorithm 4 . For all other cases, we set t0=0t_{0}=0 and tf=1t_{f}=1 .
中
各协方差 Ci∈Rd×dC_{i}\in{\mathbb{R}}^{d\times d} 也随机生成,取 Ci=1dWiTWi+IdC_{i}=\tfrac{1}{d}W_{i}^{\mathsf{T}}W_{i}+\text{\it Id},其中对 k,l=1,…,dk,l=1,\ldots,d,有 (Wi)kl∼N(0,1)(W_{i})_{kl}\sim\mathsf{N}(0,1)。这一选择保证各协方差都是单位矩阵的正定扰动,且其对角元素相对于维度 dd 为 O(1)O(1)。固定随机抽得的均值 {mi}i=15\{m_{i}\}_{i=1}^{5} 与协方差 {Ci}i=15\{C_{i}\}_{i=1}^{5} 后,我们研究学习 bb 或 vv,以及学习 ss 或 ηz\eta_{z} 的四种组合,以构造从 ρ0\rho_{0} 到 ρ1\rho_{1} 的随机插值。所有情形都采用线性插值,其中 α(t)=1−t\alpha(t)=1-t、β(t)=t\beta(t)=t、γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)}。为便于直观参照,图 9 绘出了目标密度 ρ1\rho_{1} 在前两个坐标上的投影:它具有明显的多模态性,其中若干模态难以区分,而有一个模态与其余模态相距较远,需要非平凡的传输才能正确恢复。在以下实验中,ϵ=0\epsilon=0 时,所有样本均由四阶 Dormand–Prince 自适应 ODE 求解器(dopri5)生成;ϵ≠0\epsilon\neq0 时,则采用 Karras 等(2022)引入的 Heun SDE 积分器,以一千个时间步生成样本。学习 ηz\eta_{z} 时,为避免在公式 s(t,x)=−η(t,x)/γ(t)s(t,x)=-\eta(t,x)/\gamma(t) 中除以 γ(t)\gamma(t) 导致 t=0t=0、t=1t=1 处出现奇点,我们在算法 4 中设置 t0=10−4t_{0}=10^{-4}、tf=1−t0t_{f}=1-t_{0}。其余情形均设置 t0=0t_{0}=0、tf=1t_{f}=1。

原图 F010

Original caption: Figure 10 : Gaussian mixtures: density errors. Errors ρ^1(x,y)−ρ1(x,y)\hat{\rho}_{1}(x,y)-\rho_{1}(x,y) in the marginals over the first two coordinates for all four variations of learning bb or vv and ss or η\eta , computed via kernel density estimation. For small ϵ\epsilon , the model densities tend to be overly-concentrated, and overestimate the density within the modes and underestimate the densities in the tails. As ϵ\epsilon increases, the model becomes less concentrated and more accurately represents the target density. For ϵ\epsilon too large, the model becomes overly spread out and under-estimates the density within the modes. Note: visualizations show two-dimensional slices of a 128128 -dimensional density.

中
图 10:高斯混合的密度误差。四种学习组合(b 或 v,s 或 η)的前两坐标边缘误差 ρ̂₁(x,y)−ρ₁(x,y),以 KDE 估计。小 ε 时过度集中,峰内高估、尾部低估;增大 ε 改善这一问题;过大时又过分分散、低估峰内密度。图示为 128 维密度的二维切片。

Quantitative metric 定量指标

SOURCE PDF p.49 · S7.SS2.SSS0.Px2.p1.1
EN
To quantify performance, we make use of an error metric given by a KL\mathsf{KL} -divergence between kernel density estimates (KDE) of low-dimensional marginals of ρ1\rho_{1} and the model density ρ^1\hat{\rho}_{1} ; this error metric was chosen for computational tractability and interpretability. To compute it, we draw 50,00050,000 samples from ρ1\rho_{1} and each ρ^1\hat{\rho}_{1} . We obtain samples from the marginal density over the first two coordinates by projection, and then compute a Gaussian KDE with bandwidth parameter chosen by Scott’s rule. We then draw a fresh set of Ne=50,000N_{e}=50,000 samples {xi}i=1Ne\{x_{i}\}_{i=1}^{N_{e}} with each xi∼ρ1x_{i}\sim\rho_{1} for evaluation. To compute the KL\mathsf{KL} -divergence, we form a Monte-Carlo estimate with control variate
中
为量化性能,我们使用一个误差指标:目标密度 ρ1\rho_{1} 与模型密度 ρ^1\hat{\rho}_{1} 的低维边缘分布的核密度估计(KDE)之间的 KL\mathsf{KL} 散度。选择这一误差指标,是出于计算可行性与可解释性的考虑。计算时,我们分别从 ρ1\rho_{1} 与各个 ρ^1\hat{\rho}_{1} 中抽取 50,000 个样本;通过投影获得前两个坐标边缘密度的样本,再以 Scott 法则选择带宽,计算高斯 KDE。随后,我们另外抽取一组新的 Ne=50,000N_{e}=50,000 个样本 {xi}i=1Ne\{x_{i}\}_{i=1}^{N_{e}} 用于评估,其中每个 xi∼ρ1x_{i}\sim\rho_{1}。为计算 KL\mathsf{KL} 散度,我们构造含控制变量的 Monte Carlo 估计:
KL(ρ1 ∥ ρ^1)≈1Ne∑i=1Ne(log⁡ρ1(xi)−log⁡ρ^1(xi)−(ρ^1(xi)ρ1(xi)−1)).\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}_{1})\approx\frac{1}{N_{e}}\sum_{i=1}^{N_{e}}\left(\log\rho_{1}(x_{i})-\log\hat{\rho}_{1}(x_{i})-\left(\frac{\hat{\rho}_{1}(x_{i})}{\rho_{1}(x_{i})}-1\right)\right).

SOURCE PDF p.49 · S7.SS2.SSS0.Px2.p1.2
EN
We found use of the control variate ρ^1/ρ1−1\hat{\rho}_{1}/\rho_{1}-1 helpful to reduce variance in the Monte-Carlo estimate; moreover, by concavity of the logarithm, use of the control variate ensures that the Monte-Carlo estimate cannot become negative.
中
我们发现,采用控制变量 ρ^1/ρ1−1\hat{\rho}_{1}/\rho_{1}-1 有助于减小 Monte Carlo 估计的方差;此外,由于对数函数的凹性,使用这一控制变量可保证 Monte Carlo 估计不会变为负值。

Results. 结果

原图 F011

Original caption: Figure 11 : Gaussian mixtures: densities. A visualization of the marginal densities in the first two variables of the model density ρ^1\hat{\rho}_{1} computed for all four variations of learning bb or vv and ss or η\eta , computed via kernel density estimation. Note: visualizations show two-dimensional slices of a 128128 -dimensional density.

中
图 11:高斯混合密度。四种学习组合所得模型密度之前两变量边缘,使用 KDE。图示为 128 维密度的二维切片。

原图 F012

Original caption: Figure 12 : Gaussian mixtures: quantitative comparison. KL(ρ1 ∥ ρ^1ϵ)\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}_{1}^{\epsilon}) as a function of ϵ\epsilon when learning each of the four possible sets of drift coefficients (b,s)(b,s) , (b,η)(b,\eta) , (v,s)(v,s) , (v,η)(v,\eta) . The best performance is achieved when learning bb and η\eta , along with a proper choice of ϵ>0\epsilon>0 .

中
图 12:高斯混合的定量比较。分别学习 (b,s)、(b,η)、(v,s)、(v,η) 后,KL(ρ₁∥ρ̂₁ε) 随 ε 变化。学习 b、η 并恰当选择 ε>0 时最佳。

SOURCE PDF p.49 · S7.SS2.SSS0.Px3.p1.1
EN
Figures 10 and 11 display two-dimensional projections (computed via KDE) of the model density error ρ^1−ρ1\hat{\rho}_{1}-\rho_{1} and the model density ρ^1\hat{\rho}_{1} itself, respectively, for different instantiations of Algorithms 1 and 2 and different choices of ϵ\epsilon in Algorithm 4 . Taken together with Figure 9 , these results demonstrate qualitatively that small values of ϵ\epsilon tend to over-estimate the density within the modes and under-estimate the density in the tails. Conversely, when ϵ\epsilon is taken too large, the model tends to under-estimate the modes and over-estimate the tails. Somewhere in between (and for differing levels of ϵ\epsilon ), every model obtains its optimal performance. Figure 12 makes these observations quantitative, and displays the KL\mathsf{KL} -divergence from the target marginal to the model marginal KL(ρ1 ∥ ρ^1ϵ)\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}_{1}^{\epsilon}) as a function of ϵ\epsilon , with each data point on the curve matching the models depicted in Figures 10 and 11 . We find that for each case, there is an optimal value of ϵ≠0\epsilon\neq 0 , in line with the qualitative picture put forth by Figures 10 and 11 . Moreover, we find that learning bb generically performs better than learning vv , and that learning η\eta generically performs better than learning ss (except when ϵ\epsilon is taken large enough that performance starts to degrade). With proper treatment of the singularity in the sampling algorithm when using the denoiser in the construction of s(t,x)=−η(t,x)/γ(t)s(t,x)=-\eta(t,x)/\gamma(t) – either by capping t0≠0t_{0}\neq 0 and tf≠1t_{f}\neq 1 or by properly tuning ϵ(t)\epsilon(t) as discussed in Section 6.2 – our results suggest that learning the denoiser is best practice.
中
图 10 与图 11 分别展示模型密度误差 ρ^1−ρ1\hat{\rho}_{1}-\rho_{1} 和模型密度 ρ^1\hat{\rho}_{1} 本身的二维投影,投影均通过 KDE 计算;图中比较了算法 1、2 的不同实现,以及算法 4 中不同的 ϵ\epsilon 选择。结合图 9,这些结果定性表明:较小的 ϵ\epsilon 往往会高估模态内部的密度、低估尾部密度;相反,ϵ\epsilon 过大时,模型往往低估模态密度、高估尾部密度。在两者之间,各模型会在不同的 ϵ\epsilon 水平上达到各自最优性能。图 12 对这些观察作了定量说明,绘出目标边缘分布到模型边缘分布的 KL\mathsf{KL} 散度 KL(ρ1 ∥ ρ^1ϵ)\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}_{1}^{\epsilon}) 随 ϵ\epsilon 的变化;曲线上每个数据点都对应图 10、11 所示的模型。我们发现,每种情形都存在最优的非零值 ϵ≠0\epsilon\neq0,与图 10、11 所呈现的定性图景一致。此外,学习 bb 总体上优于学习 vv,学习 η\eta 总体上优于学习 ss,但当 ϵ\epsilon 大到性能开始退化时,后一比较有例外。用去噪器构造 s(t,x)=−η(t,x)/γ(t)s(t,x)=-\eta(t,x)/\gamma(t) 时,只要妥善处理采样算法中的奇点——或将起止时刻截为 t0≠0t_{0}\neq0、tf≠1t_{f}\neq1,或按照第 6.2 节所述适当调节 ϵ(t)\epsilon(t)——我们的结果就表明,学习去噪器是最佳实践。

7.3 Image generation 7.3 图像生成

SOURCE PDF p.51 · S7.SS3.p1.1
EN
In the following, we demonstrate that the proposed method scales straightforwardly to high-dimensional problems like image generation. To this end, we illustrate the use of our approach on the 128×128128\times 128 Oxford flowers dataset Nilsback and Zisserman (2006) by testing two different variations of the interpolant for image generation: the one-sided interpolant, using ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) , as well as the mirror interpolant, where ρ0=ρ1\rho_{0}=\rho_{1} both represent the data distribution. The purpose of this section is to demonstrate that our theory is well-motivated, and that it provides a framework that is both scalable and flexible. In this regard, image generation is a convenient exercise, but is not the main focus of this work, and we will leave a more thorough study on other datasets such as ImageNet with standard benchmarks such as the Frechet Inception Distance (FID) for a future study.
中
下面展示,所提出的方法可以直接扩展到图像生成等高维问题。为此,我们在 128×128128\times128 的 Oxford flowers 数据集(Nilsback 与 Zisserman,2006)上说明本方法的应用,并测试用于图像生成的两种插值变体:其一是采用 ρ0=N(0,Id)\rho_{0}=\mathsf{N}(0,\text{\it Id}) 的单侧插值;其二是镜像插值,其中 ρ0=ρ1\rho_{0}=\rho_{1} 都表示数据分布。本节旨在表明我们的理论有充分动机,并提供了一个既可扩展又灵活的框架。就这一目标而言,图像生成是一个方便的检验任务,而不是本工作的主要重点;因此,在 ImageNet 等其他数据集上采用 Fréchet Inception Distance(FID)等标准基准开展更全面的研究,留待未来工作。

Generation from Gaussian ρ 0 ​ . 从高斯基分布生成

SOURCE PDF p.51 · S7.SS3.SSS0.Px1.p1.1
EN
We train spatially-linear one-sided interpolants xt=(1−t)z+tx1x_{t}=(1-t)z+tx_{1} and xt=cos⁡(π2t)z+sin⁡(π2t)x1x_{t}=\cos({\tfrac{\pi}{2}}t)z+\sin({\tfrac{\pi}{2}t})x_{1} on the 128×128128\times 128 Oxford flowers dataset, where we take z∼N(0,Id)z\sim\mathsf{N}(0,\text{\it Id}) and x1x_{1} from the data distribution. Based on our results for Gaussian mixtures, we learn the drift b(t,x)b(t,x) , the score s(t,x)s(t,x) , and the denoiser ηz(t,x)\eta_{z}(t,x) to benchmark our generative models based on ODEs or SDEs. In all cases, we parameterize the networks representing η^\hat{\eta} , s^\hat{s} and b^\hat{b} using the U-Net architecture used in Ho et al. (2020) . Minimization of the objective functions given in Section 3.2 is performed using the Adam optimizer. Details of the architecture in both cases and all training hyperparameters are provided in Appendix C.1 .
中
我们在 128×128128\times128 的 Oxford flowers 数据集上训练空间线性的单侧插值 xt=(1−t)z+tx1x_{t}=(1-t)z+tx_{1} 与 xt=cos⁡(π2t)z+sin⁡(π2t)x1x_{t}=\cos({\tfrac{\pi}{2}}t)z+\sin({\tfrac{\pi}{2}t})x_{1},其中取 z∼N(0,Id)z\sim\mathsf{N}(0,\text{\it Id}),x1x_{1} 来自数据分布。根据高斯混合实验的结果,我们学习漂移 b(t,x)b(t,x)、得分 s(t,x)s(t,x) 和去噪器 ηz(t,x)\eta_{z}(t,x),以比较基于 ODE 或 SDE 的生成模型。所有情形中,表示 η^\hat{\eta}、s^\hat{s} 和 b^\hat{b} 的网络都采用 Ho 等(2020)使用的 U-Net 架构进行参数化。第 3.2 节给出的目标函数使用 Adam 优化器最小化。两种情形的架构细节及全部训练超参数见附录 C.1。

原图 F013

Original caption: Figure 13 : Image generation: Oxford flowers. Example generated flowers from the same initial condition x0x_{0} using either the ODE with ϵ=0\epsilon=0 and learned bb or the SDE for various increasing values of ϵ\epsilon with learned bb and ss . For ϵ=0\epsilon=0 , sampling is done using the dopri5 solver and therefore the number of steps is adaptive. Otherwise, 20002000 , 25002500 , and 40004000 steps were taken using the Heun solver for ϵ=1.0\epsilon=1.0 , 2.02.0 , and 4.04.0 respectively.

中
图 13:Oxford flowers 图像生成。固定同一初值 x₀,比较 ε=0、学习 b 的 ODE,与不同增大 ε、学习 b 和 s 的 SDE。ODE 用 dopri5,自适应选择步数;SDE 的 ε=1、2、4 分别用 Heun 积分 2000、2500、4000 步。

SOURCE PDF p.51 · S7.SS3.SSS0.Px1.p2.1
EN
Like in the case of learning Gaussian mixtures, we use the fourth-order dopri5 solver when sampling with the ODE and the Heun method for the SDE, as detailed in Algorithm 4 . When learning a denoiser ηz\eta_{z} , we found it beneficial to complete the image generation with a final denoising step, in which we set ϵ=0\epsilon=0 and switch the integrator to the one given in ( 5.14 ).
中
与学习高斯混合分布时一样,我们在使用 ODE 采样时采用四阶 dopri5 求解器,在使用 SDE 采样时采用 Heun 方法,具体见算法 4。学习去噪器 ηz\eta_{z} 时,我们发现,最后增加一次去噪步骤以完成图像生成是有益的;在这一步中,设置 ϵ=0\epsilon=0,并将积分器切换为式(5.14)给出的积分器。

SOURCE PDF p.51 · S7.SS3.SSS0.Px1.p3.1
EN
Exemplary images generated from the model using the ODE and the SDE with various value of the diffusion coefficient ϵ\epsilon are shown in Figure 13 , starting from the same sample from ρ0\rho_{0} . The result illustrates that different images can be generated from the same sample when using the SDE, and their diversity increases as we increase the diffusion coefficient ϵ\epsilon . To highlight that the model does not memorize the training set, in Figure 14 we compare an example generated image to its five nearest neighbors in the training set (measured in ℓ1\ell_{1} norm), which appear visually quite different.
中
图 13 展示从相同的 ρ0\rho_{0} 样本出发,分别使用 ODE 和取不同扩散系数 ϵ\epsilon 的 SDE,由模型生成的图像示例。结果表明,使用 SDE 时,同一个初始样本可以生成不同图像,而且随着扩散系数 ϵ\epsilon 增大,图像多样性也会增加。为突出表明模型没有记忆训练集,图 14 将一张生成图像与其在训练集中的五个最近邻作比较,最近邻以 ℓ1\ell_{1} 范数度量;这些邻居在视觉上与生成图像很不相同。

原图 F014

Original caption: Figure 14 : No memorization. Top: An example generated image from a trained linear one-sided interpolant. Bottom: Five nearest neighbors (in ℓ1\ell_{1} norm) to the generated image in the dataset. The nearest neighbors are visually distinct, highlighting that the interpolant does not overfit on the dataset.

中
图 14:未记忆样例。上图是训练好的线性单侧插值生成图;下图是数据集中按 L1 范数最近的五个邻居。邻居在视觉上明显不同,作者以此说明模型未对数据集过拟合。

Mirror interpolant. 镜像插值

SOURCE PDF p.51 · S7.SS3.SSS0.Px2.p1.1
EN
We consider the mirror interpolant xt=x1+γ(t)zx_{t}=x_{1}+\gamma(t)z , for which ( 3.33 ) shows that the drift bb is given in terms the denoiser ηz\eta_{z} by b(t,x)=γ˙(t)ηz(t)b(t,x)=\dot{\gamma}(t)\eta_{z}(t) ; this means that it is sufficient to only learn an estimate η^z\hat{\eta}_{z} to construct a generative model. Similar to the previous section, we demonstrate this on the Oxford flowers dataset, again making use of a U-Net parameterization for η^z(t,x)\hat{\eta}_{z}(t,x) . Further experimental details can be found in Appendix C.1 . In this setup the output image at time t=1t=1 is the same as the input image if we use the ODE ( 2.32 ); with the SDE, however, we can generate new images from the same input. This is illustrated in Figure 15 , where we show how a sample image from the dataset ρ1\rho_{1} is pushed forward through the SDE ( 2.33 ) with ϵ(t)=ϵ=10\epsilon(t)=\epsilon=10 . As can be seen the original image is resampled to a proximal flower not seen in the dataset.
中
我们考虑镜像插值 xt=x1+γ(t)zx_{t}=x_{1}+\gamma(t)z。式(3.33)表明,其漂移 bb 可以用去噪器 ηz\eta_{z} 表示为 b(t,x)=γ˙(t)ηz(t)b(t,x)=\dot{\gamma}(t)\eta_{z}(t);这意味着,只学习一个估计 η^z\hat{\eta}_{z} 就足以构建生成模型。与上一节类似,我们在 Oxford flowers 数据集上演示这一方法,并再次用 U-Net 对 η^z(t,x)\hat{\eta}_{z}(t,x) 参数化。更多实验细节见附录 C.1。在这一设置下,如果采用 ODE(2.32),时刻 t=1t=1 的输出图像与输入图像相同;而使用 SDE 时,则可以由同一个输入生成新图像。图 15 对此作了说明:图中展示数据集 ρ1\rho_{1} 中的一张样本图像如何经由 ϵ(t)=ϵ=10\epsilon(t)=\epsilon=10 的 SDE(2.33)向前推送。可以看到,原图像被重新采样为一朵与其相近、但数据集中未见的花。

原图 F015

Original caption: Figure 15 : Mirror interpolant. Example trajectory from a learned denoiser model b^=γ˙(t)η^z\hat{b}=\dot{\gamma}(t)\hat{\eta}_{z} for the mirror interpolant xt=x1+γ(t)zx_{t}=x_{1}+\gamma(t)z on the 128×128128\times 128 Oxford flowers dataset with γ(t)=t(1−t)\gamma(t)=\sqrt{t(1-t)} . The parametric form for η^z\hat{\eta}_{z} is the U-Net from Ho et al. (2020) , with hyperparameter details given in Appendix C . The choice of ϵ\epsilon in the generative SDE given in ( 2.33 ) influences the extent to which the generated image differs from the original. Here, ϵ(t)=10.0\epsilon(t)=10.0 .

中
图 15:镜像插值。在 128×128 Oxford flowers 上,xₜ=x₁+γ(t)z,γ=√[t(1−t)],用学习的去噪器构造 b̂=γ̇η̂z。网络为 Ho 等(2020)的 U-Net,超参数见附录 C。式(2.33)中 ε 决定生成图偏离原图的程度,此处 ε(t)=10。

8 Conclusion 8 结论

SOURCE PDF p.53 · S8.p1.1
EN
The above exposition provides a full treatment of the stochastic interpolant method, as well as a careful consideration of its relation to existing literature. Our goal is to provide a general framework that can be used to devise generative models built upon dynamical transport of measure. To this end, we have detailed mathematical theory and efficient algorithms for constructing both deterministic and stochastic generative models that map between two densities exactly in finite time. Along the way, we have illustrated the various design parameters that can be used to shape this process, with connections, for example, to optimal transport and Schrödinger bridges. While we detail specific instantiations, such as the mirror and one-sided interpolants, we highlight that there is a much broader space of possible designs that may be relevant for future applications. Several candidate application domains include the solution of inverse problems such as image inpainting and super-resolution, spatiotemporal forecasting of dynamical systems, and scientific problems such as sampling of molecular configurations and machine learning-assisted Markov chain Monte-Carlo.
中
以上内容完整介绍了随机插值方法,并仔细讨论了它与现有文献的关系。我们的目标是提供一个通用框架,用于设计基于测度动态输运的生成模型。为此,我们详细给出了数学理论和高效算法,用以构造能够在有限时间内精确映射两个密度的确定性与随机生成模型。在这一过程中,我们说明了可用于塑造该过程的多种设计参数,并展示了它与最优传输、Schrödinger 桥等问题的联系。虽然我们详细介绍了镜像插值和单侧插值等具体形式,但我们强调,潜在的设计空间远比这些例子广阔,可能对未来应用具有价值。候选应用领域包括:图像修补、超分辨率等逆问题的求解,动力系统的时空预测,以及分子构型采样、机器学习辅助的 Markov 链 Monte Carlo 等科学问题。

Acknowledgements 致谢

SOURCE PDF p.53 · Sx1.p1.1
EN
We thank Joan Bruna, Jonathan Niles-Weed, Loucas Pillaud-Vivien, and Cédric Gerbelot for helpful discussions regarding stability estimates of dynamical transport. We are also grateful to Qiang Liu, Ricky Chen, and Yaron Lipman for feedback on previous and related work, and to Kyle Cranmer and Michael Lindsey for discussions on transport costs. We thank Mark Goldstein for insightful comments regarding practical considerations when training denoising-diffusion models. MSA is supported by the National Science Foundation under the award PHY-2141336. EVE is supported by the National Science Foundation under awards DMR-1420073, DMS-2012510, and DMS-2134216, by the Simons Collaboration on Wave Turbulence, Grant No. 617006, and by a Vannevar Bush Faculty Fellowship.
中
感谢 Joan Bruna、Jonathan Niles-Weed、Loucas Pillaud-Vivien 和 Cédric Gerbelot 就动态输运的稳定性估计所作的有益讨论。也感谢 Qiang Liu、Ricky Chen 和 Yaron Lipman 对先前工作及相关工作提出反馈,并感谢 Kyle Cranmer 和 Michael Lindsey 围绕输运成本展开讨论。感谢 Mark Goldstein 就去噪扩散模型训练的实践问题提出富有洞见的意见。MSA 获美国国家科学基金会项目 PHY-2141336 资助。EVE 获美国国家科学基金会项目 DMR-1420073、DMS-2012510 与 DMS-2134216,Simons 波湍流合作项目(项目号 617006),以及 Vannevar Bush Faculty Fellowship 的资助。

Appendix A Bridging two Gaussian mixture densities 附录 A 连接高斯混合密度

SOURCE PDF p.54 · A1.p1.2
EN
In this appendix, we consider the case where ρ0\rho_{0} and ρ1\rho_{1} are both Gaussian mixture densities. We denote by
中
本附录考虑 ρ0\rho_{0} 与 ρ1\rho_{1} 均为高斯混合密度的情形。我们用下述记号表示
N(x∣m,C)=(2π)−d/2[det⁡C]−1/2exp⁡(−12(x−m)TC−1(x−m)),=(2π)−d∫Rdeik⋅(x−m)−12kTCkdk,\displaystyle{\sf N}(x|m,C) \qquad \displaystyle=(2\pi)^{-d/2}[\det C]^{-1/2}\exp\left(-\tfrac{1}{2}(x-m)^{\mathsf{T}}C^{-1}(x-m)\right), \qquad \displaystyle=(2\pi)^{-d}\int_{{\mathbb{R}}^{d}}e^{ik\cdot(x-m)-\frac{1}{2}k^{\mathsf{T}}Ck}dk,

SOURCE PDF p.54 · A1.p1.3
EN
the Gaussian probability density with mean vector m∈Rdm\in{\mathbb{R}}^{d} and positive-definite symmetric covariance matrix C=CT∈Rd×dC=C^{\mathsf{T}}\in{\mathbb{R}}^{d\times d} . We assume that
中
均值向量为 m∈Rdm\in{\mathbb{R}}^{d}、对称正定协方差矩阵为 C=CT∈Rd×dC=C^{\mathsf{T}}\in{\mathbb{R}}^{d\times d} 的高斯概率密度。假设
ρ0(x)=∑i=1N0pi0N(x∣mi0,Ci0),ρ1(x)=∑i=1N1pi1N(x∣mi1,Ci1)\rho_{0}(x)=\sum_{i=1}^{N_{0}}p^{0}_{i}{\sf N}(x|m^{0}_{i},C^{0}_{i}),\qquad\rho_{1}(x)=\sum_{i=1}^{N_{1}}p^{1}_{i}{\sf N}(x|m^{1}_{i},C^{1}_{i})

SOURCE PDF p.54 · A1.p1.4
EN
where N0,N1∈NN_{0},N_{1}\in{\mathbb{N}} , pi0>0p^{0}_{i}>0 with ∑i=1N0pi0=1\sum_{i=1}^{N_{0}}p_{i}^{0}=1 , mi0∈Rdm_{i}^{0}\in{\mathbb{R}}^{d} , Ci0=(Ci0)T∈Rd×dC_{i}^{0}=(C_{i}^{0})^{\mathsf{T}}\in{\mathbb{R}}^{d\times d} positive-definite, and similarly for pi1p_{i}^{1} , mi1m_{i}^{1} , and Ci1C_{i}^{1} . We have:
中
其中,N0,N1∈NN_{0},N_{1}\in{\mathbb{N}},pi0>0p^{0}_{i}>0 且 ∑i=1N0pi0=1\sum_{i=1}^{N_{0}}p_{i}^{0}=1,mi0∈Rdm_{i}^{0}\in{\mathbb{R}}^{d},Ci0=(Ci0)T∈Rd×dC_{i}^{0}=(C_{i}^{0})^{\mathsf{T}}\in{\mathbb{R}}^{d\times d} 为正定矩阵;pi1p_{i}^{1}、mi1m_{i}^{1} 与 Ci1C_{i}^{1} 也满足类似条件。于是有:

Proposition 51 . 命题 51

SOURCE PDF p.54 · Thmtheorem51.p1.1
EN
Consider the process xtx_{t} defined in ( 2.1 ) using the probability densities in ( A.2 ) and the interpolant in ( 4.1 ), i.e.
中
考虑式(2.1)定义的过程 xtx_{t},其中使用式(A.2)的概率密度和式(4.1)的插值,即
xtlin=α(t)x0+β(t)x1+γ(t)z,x^{\mathsf{lin}}_{t}=\alpha(t)x_{0}+\beta(t)x_{1}+\gamma(t)z,

SOURCE PDF p.54 · Thmtheorem51.p1.2
EN
where x0,∼ρ0x_{0},\sim\rho_{0} , x1∼ρ1x_{1}\sim\rho_{1} , and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) with x0⊥x1⊥zx_{0}\perp x_{1}\perp z , and α,β,γ2∈C2([0,1])\alpha,\beta,\gamma^{2}\in C^{2}([0,1]) satisfy the conditions in ( 4.2 ). Denote
中
其中,x0,∼ρ0x_{0},\sim\rho_{0}、x1∼ρ1x_{1}\sim\rho_{1}、z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}),且 x0⊥x1⊥zx_{0}\perp x_{1}\perp z;α,β,γ2∈C2([0,1])\alpha,\beta,\gamma^{2}\in C^{2}([0,1]) 满足式(4.2)的条件。记
mij(t)=α(t)mi0+β(t)mj1,Cij(t)=α2(t)Ci0+β2(t)Cj1+γ2(t)Id,m_{ij}(t)=\alpha(t)m^{0}_{i}+\beta(t)m^{1}_{j},\quad C_{ij}(t)=\alpha^{2}(t)C^{0}_{i}+\beta^{2}(t)C^{1}_{j}+\gamma^{2}(t)\text{\it Id},

SOURCE PDF p.54 · Thmtheorem51.p1.3
EN
where i=1,…,N0,i=1,\ldots,N_{0}, j=1,…,N1j=1,\ldots,N_{1} . Then the probability density ρ\rho of xtx_{t} is the Gaussian mixture density
中
其中 i=1,…,N0i=1,\ldots,N_{0}、j=1,…,N1j=1,\ldots,N_{1}。那么,xtx_{t} 的概率密度 ρ\rho 是下述高斯混合密度:
ρ(t,x)=∑i=1N0∑j=1N1pi0pj1N(x∣mij(t),Cij(t))\rho(t,x)=\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}{\sf N}(x|m_{ij}(t),C_{ij}(t))

SOURCE PDF p.54 · Thmtheorem51.p1.4
EN
and the velocity bb and the score ss defined in ( 2.10 ) and ( 2.14 ) are
中
而式(2.10)与(2.14)定义的速度 bb 和得分 ss 分别为
b(t,x)=∑i=1N0∑j=1N1pi0pj1(m˙ij(t)+12C˙ij(t)Cij−1(t)(x−mij(t)))N(x∣mij(t),Cij(t))∑i=1N0∑j=1N1pi0pj1N(x∣mij(t),Cij(t)),b(t,x)=\frac{\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}\left(\dot{m}_{ij}(t)+\tfrac{1}{2}\dot{C}_{ij}(t)C^{-1}_{ij}(t)(x-m^{ij}(t))\right){\sf N}(x|m_{ij}(t),C_{ij}(t))}{\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}{\sf N}(x|m_{ij}(t),C_{ij}(t))},

SOURCE PDF p.54 · Thmtheorem51.p1.5
EN
and
中
以及
s(t,x)=−∑i=1N0∑j=1N1pi0pj1Cij−1(t)(x−mij(t))N(x∣mij(t),Cij(t))∑i=1N0∑j=1N1pi0pj1N(x∣mij(t),Cij(t)).s(t,x)=-\frac{\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}C^{-1}_{ij}(t)(x-m_{ij}(t)){\sf N}(x|m_{ij}(t),C_{ij}(t))}{\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}{\sf N}(x|m_{ij}(t),C_{ij}(t))}.

SOURCE PDF p.55 · A1.p2.1
EN
This proposition implies that bb and ss grow at most linearly in xx , and are approximately linear in regions where the modes of ρ(t,x)\rho(t,x) remain well-separated. In particular, if ρ0\rho_{0} and ρ1\rho_{1} are both Gaussian densities, ρ0=N(m0,C0)\rho_{0}=\mathsf{N}(m_{0},C_{0}) and ρ1=N(m1,C1)\rho_{1}=\mathsf{N}(m_{1},C_{1}) , we have
中
这一命题意味着,bb 与 ss 随 xx 至多线性增长,并且在 ρ(t,x)\rho(t,x) 的模态保持良好分离的区域中近似为线性。特别地,若 ρ0\rho_{0} 与 ρ1\rho_{1} 都是高斯密度,即 ρ0=N(m0,C0)\rho_{0}=\mathsf{N}(m_{0},C_{0})、ρ1=N(m1,C1)\rho_{1}=\mathsf{N}(m_{1},C_{1}),则有
b(t,x)=m˙(t)+12C˙(t)C−1(t)(x−m(t)),b(t,x)=\dot{m}(t)+\tfrac{1}{2}\dot{C}(t)C^{-1}(t)(x-m(t)),

SOURCE PDF p.55 · A1.p2.2
EN
and
中
以及
s(t,x)=−C−1(t)(x−m(t)),s(t,x)=-C^{-1}(t)(x-m(t)),

SOURCE PDF p.55 · A1.p2.3
EN
where
中
其中
m(t)=α(t)m0+β(t)m1,C(t)=α2(t)C0+β2(t)C1+γ2(t)Id.m(t)=\alpha(t)m_{0}+\beta(t)m_{1},\quad C(t)=\alpha^{2}(t)C_{0}+\beta^{2}(t)C_{1}+\gamma^{2}(t)\text{\it Id}.

SOURCE PDF p.55 · A1.p2.4
EN
Note that the probability flow ODE ( 2.32 ) associated with the velocity ( A.7 ) is the linear ODE
中
注意,与速度(A.7)关联的概率流 ODE(2.32)是如下线性 ODE:
ddtXt=m˙(t)+12C˙(t)C−1(t)(Xt−m(t)).\frac{d}{dt}X_{t}=\dot{m}(t)+\tfrac{1}{2}\dot{C}(t)C^{-1}(t)(X_{t}-m(t)).

SOURCE PDF p.55 · A1.p2.5
EN
This equation can only be solved analytically if C˙(t)\dot{C}(t) and C(t)C(t) commute (which is the case e.g. if C0=IdC_{0}=\text{\it Id} ), but it is easy to see that it always guarantees that
中
只有在 C˙(t)\dot{C}(t) 与 C(t)C(t) 可交换时,这一方程才能解析求解,例如 C0=IdC_{0}=\text{\it Id} 时即属此种情形。但容易看出,它始终保证
E0Xt(x0)=m(t),E0[(Xt(x0)−m(t))(Xt(x0)−m(t))T]=C(t),{\mathbb{E}}_{0}X_{t}(x_{0})=m(t),\qquad{\mathbb{E}}_{0}\big[(X_{t}(x_{0})-m(t))(X_{t}(x_{0})-m(t))^{\mathsf{T}}\big]=C(t),

SOURCE PDF p.55 · A1.p2.6
EN
where Xt(x0)X_{t}(x_{0}) denotes the solution to ( A.10 ) for the initial condition Xt=0(x0)=x0X_{t=0}(x_{0})=x_{0} and E0{\mathbb{E}}_{0} denotes expectation over x0∼ρ0x_{0}\sim\rho_{0} . A similar statement is true if we solve ( A.10 ) with final conditions at t=1t=1 drawn from ρ1\rho_{1} . Similarly, the forward SDE ( 2.33 ) associated with the velocity ( A.7 ) and the score ( A.8 ) is the linear SDE
中
其中,Xt(x0)X_{t}(x_{0}) 表示式(A.10)在初始条件 Xt=0(x0)=x0X_{t=0}(x_{0})=x_{0} 下的解,E0 {\mathbb{E}}_{0} 表示对 x0∼ρ0x_{0}\sim\rho_{0} 取期望。若在 t=1t=1 从 ρ1\rho_{1} 抽取终值条件并求解式(A.10),类似结论也成立。同样,与速度(A.7)及得分(A.8)关联的前向 SDE(2.33)是如下线性 SDE:
dXtF=m˙(t)dt+(12C˙(t)−ϵ)C−1(t)(XtF−m(t))dt+2ϵdWt.dX^{\mathsf{F}}_{t}=\dot{m}(t)dt+\big(\tfrac{1}{2}\dot{C}(t)-\epsilon\big)C^{-1}(t)(X^{\mathsf{F}}_{t}-m(t))dt+\sqrt{2\epsilon}dW_{t}.

SOURCE PDF p.55 · A1.p2.7
EN
and its solutions are such that
中
并且它的解满足
E0EFx0XtF=m(t),E0EFx0[(XtF−m(t))(XtF−m(t))T]=C(t),{\mathbb{E}}_{0}{\mathbb{E}}^{x_{0}}_{\mathsf{F}}X_{t}^{\mathsf{F}}=m(t),\qquad{\mathbb{E}}_{0}{\mathbb{E}}^{x_{0}}_{\mathsf{F}}\big[(X^{\mathsf{F}}_{t}-m(t))(X_{t}^{\mathsf{F}}-m(t))^{\mathsf{T}}\big]=C(t),

SOURCE PDF p.55 · A1.p2.8
EN
where EFx0{\mathbb{E}}_{\mathsf{F}}^{x_{0}} denotes expectation over the solution of ( A.12 ) conditional on the event Xt=0F=x0X^{\mathsf{F}}_{t=0}=x_{0} and E0{\mathbb{E}}_{0} denotes expectation over x0∼ρ0x_{0}\sim\rho_{0} . A similar statement also holds for the backward SDE ( 2.34 ).
中
其中,EFx0 {\mathbb{E}}_{\mathsf{F}}^{x_{0}} 表示在事件 Xt=0F=x0X^{\mathsf{F}}_{t=0}=x_{0} 条件下,对式(A.12)的解取期望;E0 {\mathbb{E}}_{0} 表示对 x0∼ρ0x_{0}\sim\rho_{0} 取期望。后向 SDE(2.34)也满足类似结论。

Proof. 证明

SOURCE PDF p.55 · A1.p3.1
EN
The characteristic function of ρ(t,x)\rho(t,x) is given by
中
ρ(t,x)\rho(t,x) 的特征函数为
g(t,k)=Eeik⋅xt=∑i=1N0∑j=1N1pi0pj1eik⋅mij(t)−12kTCij(t)k.g(t,k)={\mathbb{E}}e^{ik\cdot x_{t}}=\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}e^{ik\cdot m_{ij}(t)-\tfrac{1}{2}k^{\mathsf{T}}C_{ij}(t)k}.

SOURCE PDF p.55 · A1.p3.2
EN
whose inverse Fourier transform is ( A.4 ). This automatically implies ( A.6 ) since we know from 2.14 that s=∇log⁡ρs=\nabla\log\rho . To derive ( A.7 ) use the function mm defined below in ( B.12 ):
中
其逆 Fourier 变换就是式(A.4)。由于根据式(2.14)有 s=∇log⁡ρs=\nabla\log\rho,这自动蕴含式(A.6)。为推导式(A.7),使用下文式(B.12)定义的函数 mm:
m(t,k)=∑i=1N0∑j=1N1pi0pj1(m˙ij(t)+12iC˙ij(t)k)eik⋅mij(t)−12kTCijγ(t)k.m(t,k)=\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}(\dot{m}_{ij}(t)+\tfrac{1}{2}i\dot{C}_{ij}(t)k)e^{ik\cdot m_{ij}(t)-\tfrac{1}{2}k^{\mathsf{T}}C_{ij}^{\gamma}(t)k}.

SOURCE PDF p.56 · A1.p3.3
EN
From ( B.13 ), we know that the inverse Fourier transform of this function is bρb\rho , so that we obtain
中
由式(B.13)可知,该函数的逆 Fourier 变换为 bρb\rho,因此得到
b(t,x)ρ(t,x)=∑i=1N0∑j=1N1pi0pj1(m˙ij(t)+12C˙ij(t)Cij−1(t)(x−mij(t)))N(x∣mij(t),Cijϵ(t)).b(t,x)\rho(t,x)=\sum_{i=1}^{N_{0}}\sum_{j=1}^{N_{1}}p^{0}_{i}p^{1}_{j}\left(\dot{m}_{ij}(t)+\tfrac{1}{2}\dot{C}_{ij}(t)C_{ij}^{-1}(t)(x-m_{ij}(t))\right){\sf N}(x|m_{ij}(t),C^{\epsilon}_{ij}(t)).

SOURCE PDF p.56 · A1.p3.4
EN
This gives ( A.5 ). ∎
中
由此得到式(A.5)。∎

Appendix B Proofs 附录 B 证明

SOURCE PDF p.56 · A2.p1.1
EN
In this appendix, we provide the details for proofs omitted from the main text. For ease of reading, a copy of the original theorem statement is provided with the proof.
中
本附录给出正文中略去的证明细节。为便于阅读,我们在证明之前附上原定理陈述的副本。

B.1 Proof of Theorems 6 , 7 , and 8 , and Corollary 10 . B.1 定理 6、7、8 与推论 10 的证明

SOURCE PDF p.56 · A2.SS1.p1.1
EN
See 6
中
见定理 6。

Proof. 证明

SOURCE PDF p.56 · A2.SS1.p2.3
EN
Let g(t,k)=Eeik⋅xtg(t,k)={\mathbb{E}}e^{ik\cdot x_{t}} , k∈Rdk\in{\mathbb{R}}^{d} , be the characteristic function of ρ(t,x)\rho(t,x) . From the definition of xtx_{t} in ( 2.1 ),
中
设 g(t,k)=Eeik⋅xtg(t,k)={\mathbb{E}}e^{ik\cdot x_{t}}(k∈Rdk\in{\mathbb{R}}^{d})是 ρ(t,x)\rho(t,x) 的特征函数。根据式(2.1)中 xtx_{t} 的定义,
g(t,k)=Eeik⋅(I(t,x0,x1)+γ(t)z).g(t,k)={\mathbb{E}}e^{ik\cdot(I(t,x_{0},x_{1})+\gamma(t)z)}.

SOURCE PDF p.56 · A2.SS1.p2.4
EN
Using the independence between (x0,x1)(x_{0},x_{1}) and zz , we have
中
利用 (x0,x1)(x_{0},x_{1}) 与 zz 的独立性,有
g(t,k)=E(eik⋅I(t,x0,x1))E(eiγ(t)k⋅z)≡g0(t,k)e−12γ2(t)∣k∣2g(t,k)={\mathbb{E}}\left(e^{ik\cdot I(t,x_{0},x_{1})}\right){\mathbb{E}}\left(e^{i\gamma(t)k\cdot z}\right)\equiv g_{0}(t,k)e^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}}

SOURCE PDF p.56 · A2.SS1.p2.5
EN
where we defined
中
其中定义了
g0(t,k)=E(eik⋅I(t,x0,x1))g_{0}(t,k)={\mathbb{E}}\left(e^{ik\cdot I(t,x_{0},x_{1})}\right)

SOURCE PDF p.56 · A2.SS1.p2.6
EN
The function g0(t,k)g_{0}(t,k) is the characteristic function of I(t,x0,x1)I(t,x_{0},x_{1}) with (x0,x1)∼ν(x_{0},x_{1})\sim\nu . From ( B.2 ), we have
中
函数 g0(t,k)g_{0}(t,k) 是 I(t,x0,x1)I(t,x_{0},x_{1}) 的特征函数,其中 (x0,x1)∼ν(x_{0},x_{1})\sim\nu。由式(B.2)可得
∣g(t,k)∣=∣g0(t,k)∣e−12γ2(t)∣k∣2≤e−12γ2(t)∣k∣2|g(t,k)|=|g_{0}(t,k)|e^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}}\leq e^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}}

SOURCE PDF p.57 · A2.SS1.p2.7
EN
Since γ(t)>0\gamma(t)>0 for all t∈(0,1)t\in(0,1) by assumption, this shows that
中
根据假设,对所有 t∈(0,1)t\in(0,1) 都有 γ(t)>0\gamma(t)>0,因此可知
∀p∈N  and  t∈(0,1):∫Rd∣k∣p∣g(t,k)∣dk<∞,\forall p\in{\mathbb{N}}\ \ \text{and}\ \ t\in(0,1)\quad:\quad\int_{{\mathbb{R}}^{d}}|k|^{p}|g(t,k)|dk<\infty,

SOURCE PDF p.57 · A2.SS1.p2.8
EN
implying that ρ(t,⋅)\rho(t,\cdot) is in Cp(Rd)C^{p}({\mathbb{R}}^{d}) for any p∈Np\in{\mathbb{N}} and all t∈(0,1)t\in(0,1) . From ( B.2 ), we also have
中
这意味着,对任意 p∈Np\in{\mathbb{N}} 和所有 t∈(0,1)t\in(0,1),ρ(t,⋅)\rho(t,\cdot) 都属于 Cp(Rd)C^{p}({\mathbb{R}}^{d})。由式(B.2)还可得
∣∂tg(t,k)∣2=∣E[(ik⋅∂tIt(x0,x1)−γ(t)γ˙(t)∣k∣2)eik⋅It(x0,x1)]∣2e−γ2(t)∣k∣2≤2(∣k∣2E[∣∂tIt(x0,x1)∣2]+∣γ(t)γ˙(t)∣2∣k∣4)e−γ2(t)∣k∣2≤2(∣k∣2M1+4∣γ(t)γ˙(t)∣2∣k∣4)e−γ2(t)∣k∣2\displaystyle|\partial_{t}g(t,k)|^{2} \qquad \displaystyle=\left|{\mathbb{E}}[(ik\cdot\partial_{t}I_{t}(x_{0},x_{1})-\gamma(t)\dot{\gamma}(t)|k|^{2})e^{ik\cdot I_{t}(x_{0},x_{1})}]\right|^{2}e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 2\left(|k|^{2}{\mathbb{E}}\big[|\partial_{t}I_{t}(x_{0},x_{1})|^{2}]+|\gamma(t)\dot{\gamma}(t)|^{2}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 2\left(|k|^{2}M_{1}+4|\gamma(t)\dot{\gamma}(t)|^{2}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}}

SOURCE PDF p.57 · A2.SS1.p2.9
EN
and
中
以及
∣∂t2g(t,k)∣2≤4(∣k∣2E[∣∂t2It(x0,x1)∣2]+(∣γ˙(t)∣2+γ(t)γ¨(t))2∣k∣4)e−γ2(t)∣k∣2+8(∣k∣2E[∣∂tIt(x0,x1)∣4]+(γ(t)γ˙(t))4∣k∣8)e−γ2(t)∣k∣2≤4(∣k∣2M2+(∣γ˙(t)∣2+γ(t)γ¨(t))2∣k∣4)e−γ2(t)∣k∣2+8(∣k∣2M1+(γ(t)γ˙(t))4∣k∣8)e−γ2(t)∣k∣2\displaystyle|\partial^{2}_{t}g(t,k)|^{2} \qquad \displaystyle\leq 4\left(|k|^{2}{\mathbb{E}}\big[|\partial^{2}_{t}I_{t}(x_{0},x_{1})|^{2}]+(|\dot{\gamma}(t)|^{2}+\gamma(t)\ddot{\gamma}(t))^{2}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle+8\left(|k|^{2}{\mathbb{E}}\big[|\partial_{t}I_{t}(x_{0},x_{1})|^{4}]+(\gamma(t)\dot{\gamma}(t))^{4}|k|^{8}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 4\left(|k|^{2}M_{2}+(|\dot{\gamma}(t)|^{2}+\gamma(t)\ddot{\gamma}(t))^{2}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle+8\left(|k|^{2}M_{1}+(\gamma(t)\dot{\gamma}(t))^{4}|k|^{8}\right)e^{-\gamma^{2}(t)|k|^{2}}

SOURCE PDF p.57 · A2.SS1.p2.10
EN
where in both cases we used ( 2.8 ) in Assumption 5 to get the last inequalities. These imply that
中
在这两种情形中,我们都利用假设 5 中的式(2.8)得到最后的不等式。由此可知
∀p∈N  and  t∈(0,1):∫Rd∣k∣p∣∂tg(t,k)∣dk<∞;∫Rd∣k∣p∣∂t2g(t,k)∣dk<∞\forall p\in{\mathbb{N}}\ \ \text{and}\ \ t\in(0,1)\quad:\quad\int_{{\mathbb{R}}^{d}}|k|^{p}|\partial_{t}g(t,k)|dk<\infty;\quad\int_{{\mathbb{R}}^{d}}|k|^{p}|\partial^{2}_{t}g(t,k)|dk<\infty

SOURCE PDF p.57 · A2.SS1.p2.11
EN
indicating that ∂tρ(t,⋅)\partial_{t}\rho(t,\cdot) and ∂t2ρ(t,⋅)\partial^{2}_{t}\rho(t,\cdot) are in Cp(Rd)C^{p}({\mathbb{R}}^{d}) for any p∈Np\in{\mathbb{N}} , i.e. ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d})) as claimed. To show that ρ\rho is also positive, denote by μ0(t,dx)\mu_{0}(t,dx) the unique (by the Fourier inversion theorem) probability measure associated with g0(t,k)g_{0}(t,k) , i.e. the measure such that
中
这表明,对任意 p∈Np\in{\mathbb{N}},∂tρ(t,⋅)\partial_{t}\rho(t,\cdot) 与 ∂t2ρ(t,⋅)\partial^{2}_{t}\rho(t,\cdot) 都属于 Cp(Rd)C^{p}({\mathbb{R}}^{d}),即如所声称的那样,ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d}))。为进一步证明 ρ\rho 为正,令 μ0(t,dx)\mu_{0}(t,dx) 表示与 g0(t,k)g_{0}(t,k) 对应的概率测度;根据 Fourier 反演定理,该测度唯一,即满足下式的测度:
g0(t,k)=∫Rdeik⋅xμ0(t,dx).g_{0}(t,k)=\int_{{\mathbb{R}}^{d}}e^{ik\cdot x}\mu_{0}(t,dx).

SOURCE PDF p.57 · A2.SS1.p2.12
EN
From ( B.2 ) and the convolution theorem it follows that we can express ρ\rho as
中
由式(B.2)和卷积定理可知,ρ\rho 可写为
ρ(t,x)=∫Rde−∣x−y∣2/(2γ2(t))(2πγ2(t))d/2μ0(t,dy),\rho(t,x)=\int_{{\mathbb{R}}^{d}}\frac{e^{-|x-y|^{2}/(2\gamma^{2}(t))}}{(2\pi\gamma^{2}(t))^{d/2}}\mu_{0}(t,dy),

SOURCE PDF p.57 · A2.SS1.p2.13
EN
This shows that ρ>0\rho>0 for all (t,x)∈(0,1)×Rd(t,x)\in(0,1)\times{\mathbb{R}}^{d} . Since xt=0=x0x_{t=0}=x_{0} and xt=1=x1x_{t=1}=x_{1} by definition of the interpolant, we also have ρ(0)=ρ0\rho(0)=\rho_{0} and ρ(1)=ρ1\rho(1)=\rho_{1} , which shows that ρ\rho is also positive and in Cp(Rd)C^{p}({\mathbb{R}}^{d}) at t=0,1t=0,1 by Assumption 5 . Note that since ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d})) and is positive, we also immediately deduce that s=∇log⁡ρ=∇ρ/ρ∈C1((0,1);(Cp(Rd))d)s=\nabla\log\rho=\nabla\rho/\rho\in C^{1}((0,1);(C^{p}({\mathbb{R}}^{d}))^{d}) .
中
这表明,对所有 (t,x)∈(0,1)×Rd(t,x)\in(0,1)\times{\mathbb{R}}^{d},都有 ρ>0\rho>0。根据插值的定义,xt=0=x0x_{t=0}=x_{0}、xt=1=x1x_{t=1}=x_{1},因此也有 ρ(0)=ρ0\rho(0)=\rho_{0}、ρ(1)=ρ1\rho(1)=\rho_{1};再由假设 5 可知,ρ\rho 在 t=0,1t=0,1 时同样为正,并属于 Cp(Rd)C^{p}({\mathbb{R}}^{d})。注意,由于 ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d})) 且为正,我们还立即得到 s=∇log⁡ρ=∇ρ/ρ∈C1((0,1);(Cp(Rd))d)s=\nabla\log\rho=\nabla\rho/\rho\in C^{1}((0,1);(C^{p}({\mathbb{R}}^{d}))^{d})。

SOURCE PDF p.57 · A2.SS1.p3.2
EN
To show that ρ\rho satisfies the TE ( 2.9 ), we take the time derivative of ( B.1 ) to deduce that
中
为证明 ρ\rho 满足输运方程 TE(2.9),我们对式(B.1)求时间导数,得到
∂tg(t,k)=ik⋅m(t,k)\partial_{t}g(t,k)=ik\cdot m(t,k)

SOURCE PDF p.57 · A2.SS1.p3.3
EN
where m:[0,1]×Rd→Cdm:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{C}}^{d} is the vector-valued function defined as
中
其中,m:[0,1]×Rd→Cdm:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{C}}^{d} 是如下定义的向量值函数:
m(t,k)=E((∂tI(t,x0,x1)+γ˙(t)z)eik⋅xt).m(t,k)={\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z)e^{ik\cdot x_{t}}\right).

SOURCE PDF p.58 · A2.SS1.p3.4
EN
By definition of the conditional expectation, m(t,k)m(t,k) can be expressed as
中
根据条件期望的定义,m(t,k)m(t,k) 可以写成
m(t,k)=∫RdE((∂tI(t,x0,x1)+γ˙(t)z)eik⋅xt∣xt=x)ρ(t,x)dx=∫Rdeik⋅xE((∂tI(t,x0,x1)+γ˙(t)z)∣xt=x)ρ(t,x)dx=∫Rdeik⋅xb(t,x)ρ(t,x)dx\displaystyle m(t,k) \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}{\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z)e^{ik\cdot x_{t}}|x_{t}=x\right)\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}e^{ik\cdot x}{\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z)|x_{t}=x\right)\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}e^{ik\cdot x}b(t,x)\rho(t,x)dx

SOURCE PDF p.58 · A2.SS1.p3.5
EN
where the last equality follows from the definition of bb in ( 2.10 ). Inserting ( B.13 ) in ( B.11 ), we deduce that this equation can be written in real space as the TE ( 2.9 ).
中
最后一个等号来自式(2.10)中 bb 的定义。将式(B.13)代入式(B.11),可知该方程在实空间中可写为输运方程 TE(2.9)。

SOURCE PDF p.58 · A2.SS1.p4.3
EN
Let us now investigate the regularity of bb . To that end, we go back to mm and use the independence between x0x_{0} , x1x_{1} , and zz , as well as Gaussian integration by parts to deduce that
中
现在考察 bb 的正则性。为此,我们回到 mm,利用 x0x_{0}、x1x_{1} 与 zz 之间的独立性,以及高斯分部积分,得到
m(t,k)=E((∂tI(t,x0,x1)−iγ(t)γ˙(t)k)eik⋅I(t,x1,x0))e−12γ2(t)∣k∣2,m(t,k)={\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})-i\gamma(t)\dot{\gamma}(t)k)e^{ik\cdot I(t,x_{1},x_{0})}\right)e^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}},

SOURCE PDF p.58 · A2.SS1.p4.4
EN
As a result
中
因此
∣m(t,k)∣2=∣E((∂tI(t,x0,x1)−iγ(t)γ˙(t)k)eik⋅I(t,x1,x0))∣2e−γ2(t)∣k∣2≤2(E[∣∂tI(t,x0,x1)∣2]+∣γ(t)γ˙(t)∣2∣k∣2)e−γ2(t)∣k∣2≤2M1e−γ2(t)∣k∣2,\displaystyle|m(t,k)|^{2} \qquad \displaystyle=\left|{\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})-i\gamma(t)\dot{\gamma}(t)k)e^{ik\cdot I(t,x_{1},x_{0})}\right)\right|^{2}e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 2\left({\mathbb{E}}\big[|\partial_{t}I(t,x_{0},x_{1})|^{2}\big]+|\gamma(t)\dot{\gamma}(t)|^{2}|k|^{2}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 2M_{1}e^{-\gamma^{2}(t)|k|^{2}},

SOURCE PDF p.58 · A2.SS1.p4.5
EN
and
中
以及
∣∂tm(t,k)∣2≤4(E[∣∂t2I(t,x0,x1)∣2+(γ(t)γ¨(t)+γ˙2(t))2)e−γ2(t)∣k∣2+8∣k∣2(E∣∂tI(t,x0,x1)∣4]+(γ(t)γ˙(t))4∣k∣4)e−γ2(t)∣k∣2≤4(M1+(γ(t)γ¨(t)+γ˙2(t))2)e−γ2(t)∣k∣2+8∣k∣2(M2+(γ(t)γ˙(t))4∣k∣4)e−γ2(t)∣k∣2,\displaystyle|\partial_{t}m(t,k)|^{2} \qquad \displaystyle\leq 4\left({\mathbb{E}}\big[|\partial^{2}_{t}I(t,x_{0},x_{1})|^{2}+(\gamma(t)\ddot{\gamma}(t)+\dot{\gamma}^{2}(t))^{2}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle+8|k|^{2}\left({\mathbb{E}}\big|\partial_{t}I(t,x_{0},x_{1})|^{4}\big]+(\gamma(t)\dot{\gamma}(t))^{4}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle\leq 4\left(M_{1}+(\gamma(t)\ddot{\gamma}(t)+\dot{\gamma}^{2}(t))^{2}\right)e^{-\gamma^{2}(t)|k|^{2}} \qquad \displaystyle+8|k|^{2}\left(M_{2}+(\gamma(t)\dot{\gamma}(t))^{4}|k|^{4}\right)e^{-\gamma^{2}(t)|k|^{2}},

SOURCE PDF p.58 · A2.SS1.p4.6
EN
where in both cases the last inequalities follow from ( 2.8 ). Therefore
中
这两种情形的最后一个不等式均由式(2.8)得到。因此,
∀p∈N  and  t∈(0,1):∫Rd∣k∣p∣m(t,k)∣dk<∞,∫Rd∣k∣p∣∂tm(t,k)∣dk<∞,\forall p\in{\mathbb{N}}\ \ \text{and}\ \ t\in(0,1)\quad:\quad\int_{{\mathbb{R}}^{d}}|k|^{p}|m(t,k)|dk<\infty,\quad\int_{{\mathbb{R}}^{d}}|k|^{p}|\partial_{t}m(t,k)|dk<\infty,

SOURCE PDF p.58 · A2.SS1.p4.7
EN
which implies that the inverse Fourier transform of mm is a function j:[0,1]×Rd→Rdj:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} that satisfies j(t,⋅)∈(Cp(Rd))dj(t,\cdot)\in(C^{p}({\mathbb{R}}^{d}))^{d} for any p∈Np\in{\mathbb{N}} and any t∈(0,1)t\in(0,1) and can be expressed as
中
这意味着,mm 的逆 Fourier 变换是一个函数 j:[0,1]×Rd→Rdj:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d};对于任意 p∈Np\in{\mathbb{N}} 和任意 t∈(0,1)t\in(0,1),它满足 j(t,⋅)∈(Cp(Rd))dj(t,\cdot)\in(C^{p}({\mathbb{R}}^{d}))^{d},并可表示为
j(t,x)=(2π)−d∫Rde−ik⋅xm(t,k)dk=E(∂tI(t,x0,x1)+γ˙(t)z∣xt=x)ρ(t,x)≡b(t,x)ρt(x)j(t,x)=(2\pi)^{-d}\int_{{\mathbb{R}}^{d}}e^{-ik\cdot x}m(t,k)dk={\mathbb{E}}\left(\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z|x_{t}=x\right)\rho(t,x)\equiv b(t,x)\rho_{t}(x)

SOURCE PDF p.58 · A2.SS1.p4.8
EN
where the last equality follows from the definition of bb in ( 2.10 ). We deduce that b∈C0([0,1];(Cp(Rd))d)b\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) for any p∈Np\in{\mathbb{N}} since j∈C0([0,1];(Cp(Rd))d)j\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d}) and ρ∈C1([0,1];Cp(Rd))\rho\in C^{1}([0,1];C^{p}({\mathbb{R}}^{d})) , and ρ>0\rho>0 .
中
最后一个等号来自式(2.10)中 bb 的定义。由于 j∈C0([0,1];(Cp(Rd))d)j\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d})、ρ∈C1([0,1];Cp(Rd))\rho\in C^{1}([0,1];C^{p}({\mathbb{R}}^{d})),且 ρ>0\rho>0,所以可推出:对任意 p∈Np\in{\mathbb{N}},b∈C0([0,1];(Cp(Rd))d)b\in C^{0}([0,1];(C^{p}({\mathbb{R}}^{d}))^{d})。

SOURCE PDF p.58 · A2.SS1.p5.3
EN
Finally, let us establish ( 2.11 ). By ( 2.8 ) we have
中
最后证明式(2.11)。由式(2.8)可得
∫Rd∣b(t,x)∣2ρ(t,x)dx=∫Rd∣E(∂tI(t,x0,x1)+γ˙(t)z∣xt=x)∣2ρ(t,x)dx≤2∫RdE(∣∂tI(t,x0,x1)∣2+∣γ˙(t)∣2∣z∣2∣xt=x)ρ(t,x)dx≤2E[∣∂tI(t,x0,x1)∣2+∣γ˙(t)∣2∣z∣2]<2M11/2+2d∣γ˙(t)∣2,\displaystyle\int_{{\mathbb{R}}^{d}}|b(t,x)|^{2}\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}|{\mathbb{E}}\left(\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z|x_{t}=x\right)|^{2}\rho(t,x)dx \qquad \displaystyle\leq 2\int_{{\mathbb{R}}^{d}}{\mathbb{E}}\left(|\partial_{t}I(t,x_{0},x_{1})|^{2}+|\dot{\gamma}(t)|^{2}|z|^{2}|x_{t}=x\right)\rho(t,x)dx \qquad \displaystyle\leq 2{\mathbb{E}}\big[|\partial_{t}I(t,x_{0},x_{1})|^{2}+|\dot{\gamma}(t)|^{2}|z|^{2}\big] \qquad \displaystyle<2M_{1}^{1/2}+2d|\dot{\gamma}(t)|^{2},

SOURCE PDF p.59 · A2.SS1.p5.4
EN
so that this integral is bounded for all t∈(0,1)t\in(0,1) . To analyze its behavior at the end points, notice that the decomposition ( 2.27 ) implies that
中
因此,这一积分对所有 t∈(0,1)t\in(0,1) 都有界。为分析其在端点的行为,注意分解式(2.27)意味着
b0(x)≡lim⁡t→0b(t,x)=E1[∂tI(0,x,x1)]−lim⁡t→0γ˙(t)γ(t)s0(x),b1(x)≡lim⁡t→1b(t,x)=E0[∂tI(0,x0,x)]−lim⁡t→1γ˙(t)γ(t)s1(x),\displaystyle b_{0}(x) \qquad \displaystyle\equiv\lim_{t\to 0}b(t,x)={\mathbb{E}}_{1}[\partial_{t}I(0,x,x_{1})]-\lim_{t\to 0}\dot{\gamma}(t)\gamma(t)s_{0}(x), \qquad \displaystyle b_{1}(x) \qquad \displaystyle\equiv\lim_{t\to 1}b(t,x)={\mathbb{E}}_{0}[\partial_{t}I(0,x_{0},x)]-\lim_{t\to 1}\dot{\gamma}(t)\gamma(t)s_{1}(x),

SOURCE PDF p.59 · A2.SS1.p5.5
EN
where s0=∇log⁡ρ0s_{0}=\nabla\log\rho_{0} , s1=∇log⁡ρ1s_{1}=\nabla\log\rho_{1} , E0{\mathbb{E}}_{0} and E1{\mathbb{E}}_{1} denote expectations over x0∼ρ0x_{0}\sim\rho_{0} and x1∼ρ1x_{1}\sim\rho_{1} , respectively, and we used the property that xt=0=x0x_{t=0}=x_{0} and xt=1=x1x_{t=1}=x_{1} . Since lim⁡t→0,1γ˙(t)γ(t)\lim_{t\to 0,1}\dot{\gamma}(t)\gamma(t) exists by our assumption that γ2∈C1([0,1])\gamma^{2}\in C^{1}([0,1]) , b0b_{0} and b1b_{1} are well defined, and
中
其中,s0=∇log⁡ρ0s_{0}=\nabla\log\rho_{0},s1=∇log⁡ρ1s_{1}=\nabla\log\rho_{1};E0{\mathbb{E}}_{0} 和 E1{\mathbb{E}}_{1} 分别表示对 x0∼ρ0x_{0}\sim\rho_{0} 和 x1∼ρ1x_{1}\sim\rho_{1} 取期望。这里还使用了 xt=0=x0x_{t=0}=x_{0}、xt=1=x1x_{t=1}=x_{1} 这一性质。由假设 γ2∈C1([0,1])\gamma^{2}\in C^{1}([0,1]) 可知,lim⁡t→0,1γ˙(t)γ(t)\lim_{t\to 0,1}\dot{\gamma}(t)\gamma(t) 存在,因此 b0b_{0} 和 b1b_{1} 都有良好定义,并且
∫Rd∣b0(x)∣2ρ0(x)dx<∞,∫Rd∣b1(x)∣2ρ1(x)dx<∞.\int_{{\mathbb{R}}^{d}}|b_{0}(x)|^{2}\rho_{0}(x)dx<\infty,\qquad\int_{{\mathbb{R}}^{d}}|b_{1}(x)|^{2}\rho_{1}(x)dx<\infty.

SOURCE PDF p.59 · A2.SS1.p5.6
EN
by Assumption 5 . As a result, the integral in ( B.19 ) is continuous at t=0t=0 and t=1t=1 , so it must be integrable on [0,1][0,1] , and ( 2.11 ) holds. ∎
中
这是由假设 5 得到的。因此,式 (B.19) 中的积分在 t=0t=0 和 t=1t=1 处连续,故它在 [0,1][0,1] 上必可积,于是式 (2.11) 成立。∎

SOURCE PDF p.59 · A2.SS1.p6.1
EN
See 7
中
见 7。

Proof. 证明

SOURCE PDF p.59 · A2.SS1.p7.3
EN
By definition of ρ\rho , the objective Lb\mathcal{L}_{b} defined in ( 2.13 ) can also be written as
中
根据 ρ\rho 的定义,式 (2.13) 定义的目标泛函 Lb\mathcal{L}_{b} 也可以写成
Lb[b^]=∫01∫Rd(12∣b^(t,x)∣2−E((∂tI(t,x0,x1)+γ˙(t)z∣xt=x)⋅b^(t,x))ρ(t,x)dxdt=∫01∫Rd(12∣b^(t,x)∣2−b(t,x)⋅b^(t,x))ρ(t,x)dxdt\displaystyle\mathcal{L}_{b}[\hat{b}] \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{b}(t,x)|^{2}-{\mathbb{E}}\left((\partial_{t}I(t,x_{0},x_{1})+\dot{\gamma}(t)z|x_{t}=x\right)\cdot\hat{b}(t,x)\right)\rho(t,x)dxdt \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{b}(t,x)|^{2}-b(t,x)\cdot\hat{b}(t,x)\right)\rho(t,x)dxdt

SOURCE PDF p.59 · A2.SS1.p7.4
EN
where we used the definition of bb in ( 2.10 ). This quadratic objective is bounded from below since
中
其中使用了式 (2.10) 中 bb 的定义。这个二次目标泛函有下界,因为
Lb[b^]=12∫01∫Rd∣b^(t,x)−b(t,x)∣2ρ(t,x)dxdt−12∫01∫Rd∣b(t,x)∣2ρ(t,x)dxdt≥−12∫01∫Rd∣b(t,x)∣2ρ(t,x)dxdt>−∞\displaystyle\mathcal{L}_{b}[\hat{b}] \qquad \displaystyle=\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{b}(t,x)-b(t,x)\right|^{2}\rho(t,x)dxdt-\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|b(t,x)\right|^{2}\rho(t,x)dxdt \qquad \displaystyle\geq-\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|b(t,x)\right|^{2}\rho(t,x)dxdt>-\infty

SOURCE PDF p.60 · A2.SS1.p7.5
EN
where the last inequality follows from ( 2.11 ). Since ρt\rho_{t} is positive the minimizer of ( B.22 ) is unique and given by b^=b\hat{b}=b .
中
其中最后一个不等式由式 (2.11) 得到。由于 ρt\rho_{t} 为正,式 (B.22) 的极小化解唯一,且为 b^=b\hat{b}=b。

SOURCE PDF p.60 · A2.SS1.p8.1
EN
∎
中
∎

SOURCE PDF p.60 · A2.SS1.p9.1
EN
See 8
中
见 8。

Proof. 证明

SOURCE PDF p.60 · A2.SS1.p10.1
EN
Since ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d})) and is positive by Theorem 6 , we already know that s=∇log⁡ρ=∇ρ/ρ∈C1((0,1);(Cp(Rd))d)s=\nabla\log\rho=\nabla\rho/\rho\in C^{1}((0,1);(C^{p}({\mathbb{R}}^{d}))^{d}) . To establish ( 2.14 ), note that, for t∈(0,1)t\in(0,1) where γ(t)>0\gamma(t)>0 , we have
中
由定理 6 可知,ρ∈C1((0,1);Cp(Rd))\rho\in C^{1}((0,1);C^{p}({\mathbb{R}}^{d})) 且为正,因此我们已经知道 s=∇log⁡ρ=∇ρ/ρ∈C1((0,1);(Cp(Rd))d)s=\nabla\log\rho=\nabla\rho/\rho\in C^{1}((0,1);(C^{p}({\mathbb{R}}^{d}))^{d})。为了证明式 (2.14),注意到对于满足 γ(t)>0\gamma(t)>0 的 t∈(0,1)t\in(0,1),有
E(zeiγ(t)k⋅z)=−γ−1(t)(i∂k)Eeiγ(t)k⋅z=−γ−1(t)(i∂k)e−12γ2(t)∣k∣2=iγ(t)ke−12γ2(t)∣k∣2.{\mathbb{E}}\left(ze^{i\gamma(t)k\cdot z}\right)=-\gamma^{-1}(t)(i\partial_{k}){\mathbb{E}}e^{i\gamma(t)k\cdot z}=-\gamma^{-1}(t)(i\partial_{k})e^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}}=i\gamma(t)ke^{-\tfrac{1}{2}\gamma^{2}(t)|k|^{2}}.

SOURCE PDF p.60 · A2.SS1.p10.2
EN
As a result, using the independence between x0x_{0} , x1x_{1} , and zz , we have
中
因此,利用 x0x_{0}、x1x_{1} 与 zz 的独立性,可得
E(zeik⋅xt)=iγ(t)kg(t,k){\mathbb{E}}\left(ze^{ik\cdot x_{t}}\right)=i\gamma(t)kg(t,k)

SOURCE PDF p.60 · A2.SS1.p10.3
EN
where gg is the characteristic function of xtx_{t} defined in ( B.1 ). Using the properties of the conditional expectation, the left-hand side of this equation can be written as
中
其中,gg 是式 (B.1) 定义的 xtx_{t} 的特征函数。利用条件期望的性质,这个等式的左侧可以写成
E(zeik⋅xt)=∫RdE(zeik⋅xt∣xt=x)ρ(t,x)dx=∫RdE(z∣xt=x)eikxtρ(t,x)dx{\mathbb{E}}\left(ze^{ik\cdot x_{t}}\right)=\int_{{\mathbb{R}}^{d}}{\mathbb{E}}\left(ze^{ik\cdot x_{t}}|x_{t}=x\right)\rho(t,x)dx=\int_{{\mathbb{R}}^{d}}{\mathbb{E}}\left(z|x_{t}=x\right)e^{ikx_{t}}\rho(t,x)dx

SOURCE PDF p.60 · A2.SS1.p10.4
EN
Since the left hand side of ( B.25 ) is the Fourier transform of −γ(t)∇ρ(t,x)-\gamma(t)\nabla\rho(t,x) , we deduce that
中
由于式 (B.25) 左侧是 −γ(t)∇ρ(t,x)-\gamma(t)\nabla\rho(t,x) 的傅里叶变换,我们推得
E(z∣xt=x)ρ(t,x)=−γ(t)∇ρ(t,x)=−γ(t)s(t,x)ρ(t,x).{\mathbb{E}}\left(z|x_{t}=x\right)\rho(t,x)=-\gamma(t)\nabla\rho(t,x)=-\gamma(t)s(t,x)\rho(t,x).

SOURCE PDF p.60 · A2.SS1.p10.5
EN
Since ρ(t,x)>0\rho(t,x)>0 , this implies ( 2.14 ) for t∈(0,1)t\in(0,1) where γ(t)>0\gamma(t)>0 .
中
由于 ρ(t,x)>0\rho(t,x)>0,这就说明,对于满足 γ(t)>0\gamma(t)>0 的 t∈(0,1)t\in(0,1),式 (2.14) 成立。

SOURCE PDF p.60 · A2.SS1.p11.2
EN
To establish ( 2.15 ), notice that
中
为了证明式 (2.15),注意到
∫Rd∣s(t,x)∣2ρ(t,x)dx=∫Rd∣E((γ−1(t)z∣xt=x)∣2ρ(t,x)dx≤∫Rdγ−2(t)E(∣z∣2∣xt=x)ρ(t,x)dx≤dγ−2(t).\displaystyle\int_{{\mathbb{R}}^{d}}|s(t,x)|^{2}\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}|{\mathbb{E}}\left((\gamma^{-1}(t)z|x_{t}=x\right)|^{2}\rho(t,x)dx \qquad \displaystyle\leq\int_{{\mathbb{R}}^{d}}\gamma^{-2}(t){\mathbb{E}}\left(|z|^{2}|x_{t}=x\right)\rho(t,x)dx \qquad \displaystyle\leq d\gamma^{-2}(t).

SOURCE PDF p.61 · A2.SS1.p11.3
EN
This means that this integral is bounded for all t∈(0,1)t\in(0,1) . Since the integral is also continuous at t=0t=0 and t=1t=1 , with values given by ( 2.7 ), it must be integrable on [0,1][0,1] and ( 2.15 ) holds.
中
这意味着该积分对于所有 t∈(0,1)t\in(0,1) 都有界。由于该积分在 t=0t=0 和 t=1t=1 处也连续,其值由式 (2.7) 给出,因此它在 [0,1][0,1] 上必可积,于是式 (2.15) 成立。

SOURCE PDF p.61 · A2.SS1.p12.3
EN
The objective Ls\mathcal{L}_{s} defined in ( 2.16 ) can also be written as
中
式 (2.16) 定义的目标泛函 Ls\mathcal{L}_{s} 也可以写成
Ls[s^]=∫01∫Rd(12∣s^(t,x)∣2+γ−1(t)E(z∣xt=x)⋅s^(t,x))ρ(t,x)dxdt=∫01∫Rd(12∣s^(t,x)∣2−s(t,x)⋅s^(t,x))ρ(t,x)dxdt,\displaystyle\mathcal{L}_{s}[\hat{s}] \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{s}(t,x)|^{2}+\gamma^{-1}(t){\mathbb{E}}\left(z|x_{t}=x\right)\cdot\hat{s}(t,x)\right)\rho(t,x)dxdt \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{s}(t,x)|^{2}-s(t,x)\cdot\hat{s}(t,x)\right)\rho(t,x)dxdt,

SOURCE PDF p.61 · A2.SS1.p12.4
EN
where we used the definition of ss in ( 2.14 ). This quadratic objective is bounded from below since
中
其中使用了式 (2.14) 中 ss 的定义。这个二次目标泛函有下界,因为
Ls[s^]=12∫01∫Rd∣s^(t,x)−s(t,x)∣2ρ(t,x)dxdt−12∫01∫Rd∣s(t,x)∣2ρ(t,x)dxdt≥−12∫01∫Rd∣s(t,x)∣2ρ(t,x)dxdt>−∞\displaystyle\mathcal{L}_{s}[\hat{s}] \qquad \displaystyle=\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{s}(t,x)-s(t,x)\right|^{2}\rho(t,x)dxdt-\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|s(t,x)\right|^{2}\rho(t,x)dxdt \qquad \displaystyle\geq-\tfrac{1}{2}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|s(t,x)\right|^{2}\rho(t,x)dxdt>-\infty

SOURCE PDF p.61 · A2.SS1.p12.5
EN
where the last inequality follows from ( 2.15 ). Since ρ\rho is positive the minimizer of ( B.29 ) is unique and given by s^=s\hat{s}=s . ∎
中
其中最后一个不等式由式 (2.15) 得到。由于 ρ\rho 为正,式 (B.29) 的极小化解唯一,且为 s^=s\hat{s}=s。∎

SOURCE PDF p.61 · A2.SS1.p13.1
EN
See 10
中
见 10。

Proof. 证明

SOURCE PDF p.61 · A2.SS1.p14.1
EN
The forward FPE  ( 2.20 ) and the backward FPE ( 2.22 ) are direct consequences of the TE ( 2.9 ) and ( 2.14 ), since the equality
中
正向 Fokker–Planck 方程 (2.20) 与反向 Fokker–Planck 方程 (2.22) 都直接由输运方程 (2.9) 和式 (2.14) 得到,因为等式
ϵ(t)Δρ=ϵ(t)∇⋅(ρ∇log⁡ρ)=ϵ(t)∇⋅(sρ)\epsilon(t)\Delta\rho=\epsilon(t)\nabla\cdot(\rho\nabla\log\rho)=\epsilon(t)\nabla\cdot(s\rho)

SOURCE PDF p.61 · A2.SS1.p14.2
EN
can be used to convert between these equations.
中
可以用来在这些方程之间进行转换。

SOURCE PDF p.61 · A2.SS1.p15.1
EN
∎
中
∎

B.2 Proof of Lemma 19 B.2 引理 19 的证明

SOURCE PDF p.61 · A2.SS2.p1.1
EN
See 19
中
见 19。

Proof. 证明

SOURCE PDF p.62 · A2.SS2.p2.5
EN
The SDE ( 2.33 ) and the ODE ( 2.32 ) are the evolution equations for the processes whose densities solve ( 2.20 ) and ( 2.9 ), respectively. The equation that requires some explanation is the backwards SDE ( 2.34 ), which can be solved backwards in time from t=1t=1 to t=0t=0 . As discussed in the main text, by definition, its solution is XtB=Z1−tFX^{\mathsf{B}}_{t}=Z^{\mathsf{F}}_{1-t} where ZtFZ^{\mathsf{F}}_{t} solves the forward SDE
中
随机微分方程 (2.33) 和常微分方程 (2.32) 分别是其概率密度满足式 (2.20) 和式 (2.9) 的过程所遵循的演化方程。需要稍作解释的是反向随机微分方程 (2.34),它可以从 t=1t=1 到 t=0t=0 沿时间反向求解。如正文所述,按照定义,其解为 XtB=Z1−tFX^{\mathsf{B}}_{t}=Z^{\mathsf{F}}_{1-t},其中 ZtFZ^{\mathsf{F}}_{t} 满足正向随机微分方程
dZtF=−bB(1−t,ZtF)dt+2ϵdWt.dZ^{\mathsf{F}}_{t}=-b_{\mathsf{B}}(1-t,Z^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon}dW_{t}.

SOURCE PDF p.62 · A2.SS2.p2.6
EN
To see how to write the backward Itô formula ( 2.36 ) note that given any f∈C1([0,1];C02(Rd))f\in C^{1}([0,1];C_{0}^{2}({\mathbb{R}}^{d})) , we have
中
为了说明如何写出反向 Itô 公式 (2.36),注意到,对任意 f∈C1([0,1];C02(Rd))f\in C^{1}([0,1];C_{0}^{2}({\mathbb{R}}^{d})),有
df(1−t,ZtF)=−∂tf(1−t,ZtF)dt+∇f(1−t,ZtF)⋅dZtF+ϵΔf(1−t,ZtF)dt=−∂tf(1−t,ZtF)dt+(−bB(1−t,ZtF)⋅∇f(1−t,ZtF)+ϵΔf(1−t,ZtF))dt+2ϵ∇f(1−t,ZtF)⋅dWt\displaystyle df(1-t,Z^{\mathsf{F}}_{t}) \qquad \displaystyle=-\partial_{t}f(1-t,Z^{\mathsf{F}}_{t})dt+\nabla f(1-t,Z^{\mathsf{F}}_{t})\cdot dZ^{\mathsf{F}}_{t}+\epsilon\Delta f(1-t,Z^{\mathsf{F}}_{t})dt \qquad \displaystyle=-\partial_{t}f(1-t,Z^{\mathsf{F}}_{t})dt+\left(-b_{\mathsf{B}}(1-t,Z^{\mathsf{F}}_{t})\cdot\nabla f(1-t,Z^{\mathsf{F}}_{t})+\epsilon\Delta f(1-t,Z^{\mathsf{F}}_{t})\right)dt \qquad \displaystyle+\sqrt{2\epsilon}\nabla f(1-t,Z^{\mathsf{F}}_{t})\cdot dW_{t}

SOURCE PDF p.62 · A2.SS2.p2.7
EN
In integral form, this equation can be written as
中
以积分形式,这个方程可以写成
f(1,Z1F)=f(1−t,Z1−tF)−∫1−t1(∂tf(1−s,ZsF)+bB(1−s,ZsF)⋅∇f(1−s,ZsF)−ϵΔf(1−s,ZsF))ds−2ϵ∫1−t1∇f(1−s,ZsF)⋅dWs.\displaystyle f(1,Z^{\mathsf{F}}_{1}) \qquad \displaystyle=f(1-t,Z^{\mathsf{F}}_{1-t}) \qquad \displaystyle-\int_{1-t}^{1}\left(\partial_{t}f(1-s,Z^{\mathsf{F}}_{s})+b_{\mathsf{B}}(1-s,Z^{\mathsf{F}}_{s})\cdot\nabla f(1-s,Z^{\mathsf{F}}_{s})-\epsilon\Delta f(1-s,Z^{\mathsf{F}}_{s})\right)ds \qquad \displaystyle-\sqrt{2\epsilon}\int_{1-t}^{1}\nabla f(1-s,Z^{\mathsf{F}}_{s})\cdot dW_{s}.

SOURCE PDF p.62 · A2.SS2.p2.8
EN
Using XtB=Z1−tFX^{\mathsf{B}}_{t}=Z^{\mathsf{F}}_{1-t} and WtB=−W1−tW^{\mathsf{B}}_{t}=-W_{1-t} and changing integration variable from ss to 1−s1-s , this is
中
利用 XtB=Z1−tFX^{\mathsf{B}}_{t}=Z^{\mathsf{F}}_{1-t} 和 WtB=−W1−tW^{\mathsf{B}}_{t}=-W_{1-t},并把积分变量由 ss 换成 1−s1-s,上式成为
f(1,X0B)=f(1−t,XtB)−∫t1(∂tf(s,XsB)+bB(s,XsB)⋅∇f(s,XsB)−ϵΔf(s,XsB))ds−2ϵ∫t1∇f(s,XsB)⋅dWsB,\displaystyle f(1,X^{\mathsf{B}}_{0}) \qquad \displaystyle=f(1-t,X^{\mathsf{B}}_{t})-\int_{t}^{1}\left(\partial_{t}f(s,X^{\mathsf{B}}_{s})+b_{\mathsf{B}}(s,X^{\mathsf{B}}_{s})\cdot\nabla f(s,X^{\mathsf{B}}_{s})-\epsilon\Delta f(s,X^{\mathsf{B}}_{s})\right)ds \qquad \displaystyle-\sqrt{2\epsilon}\int_{t}^{1}\nabla f(s,X^{\mathsf{B}}_{s})\cdot dW^{\mathsf{B}}_{s},

SOURCE PDF p.63 · A2.SS2.p2.9
EN
In differential form, this is equivalent to saying that
中
以微分形式,这等价于说
df(t,XtB)=∂tf(t,XtB)dt+∇f(t,XtB)⋅dXtB−ϵΔf(XtB)dt=(∂tf(t,XtB)+bB(t,XtB)⋅∇f(t,XtB)−ϵΔf(t,XtB))dt+2ϵ∇f(t,XtB)⋅dWt\displaystyle df(t,X^{\mathsf{B}}_{t}) \qquad \displaystyle=\partial_{t}f(t,X^{\mathsf{B}}_{t})dt+\nabla f(t,X^{\mathsf{B}}_{t})\cdot dX^{\mathsf{B}}_{t}-\epsilon\Delta f(X^{\mathsf{B}}_{t})dt \qquad \displaystyle=\left(\partial_{t}f(t,X^{\mathsf{B}}_{t})+b_{\mathsf{B}}(t,X^{\mathsf{B}}_{t})\cdot\nabla f(t,X^{\mathsf{B}}_{t})-\epsilon\Delta f(t,X^{\mathsf{B}}_{t})\right)dt+\sqrt{2\epsilon}\nabla f(t,X^{\mathsf{B}}_{t})\cdot dW_{t}

SOURCE PDF p.63 · A2.SS2.p2.10
EN
which is the backward Itô formula ( 2.36 ). Similarly, by the Itô isometries we have: for any g∈C0([0,1];(C00(Rd))d)g\in C^{0}([0,1];(C_{0}^{0}({\mathbb{R}}_{d}))^{d}) and t∈[0,1]t\in[0,1]
中
这就是反向 Itô 公式 (2.36)。类似地,由 Itô 等距性质可得:对任意 g∈C0([0,1];(C00(Rd))d)g\in C^{0}([0,1];(C_{0}^{0}({\mathbb{R}}_{d}))^{d}) 和 t∈[0,1]t\in[0,1],有
Ex∫1−t1g(s,ZsF)⋅dWs=0,Ex∣∫1−t1g(s,ZsF)⋅dWs∣2=∫1−t1Ex∣g(s,ZsF)∣2ds.{\mathbb{E}}^{x}\int_{1-t}^{1}g(s,Z^{\mathsf{F}}_{s})\cdot dW_{s}=0,\qquad{\mathbb{E}}^{x}\left|\int_{1-t}^{1}g(s,Z^{\mathsf{F}}_{s})\cdot dW_{s}\right|^{2}=\int_{1-t}^{1}{\mathbb{E}}^{x}|g(s,Z^{\mathsf{F}}_{s})|^{2}ds.

SOURCE PDF p.63 · A2.SS2.p2.11
EN
Written in terms of XtBX^{\mathsf{B}}_{t} , these are ( 2.37 ). ∎
中
用 XtBX^{\mathsf{B}}_{t} 表示时,这些关系就是式 (2.37)。∎

Derivation of ( 2.30 ). 式(2.30)的推导

SOURCE PDF p.63 · A2.SS2.SSS0.Px1.p1.1
EN
For any t∈[0,1]t\in[0,1] the score is the minimizer of
中
对任意 t∈[0,1]t\in[0,1],得分函数是下列目标的极小化解:
∫Rd∣s^(t,x)−∇log⁡ρ(t,x)∣2ρ(t,x)dx=∫Rd(∣s^(t,x)∣2−2s^(t,x)⋅∇log⁡ρ(t,x)+∣∇log⁡ρ(t,x)∣2)ρ(t,x)dx=∫Rd(∣s^(t,x)∣2+2∇⋅s^(t,x)+∣∇log⁡ρ(t,x)∣2)ρ(t,x)dx,\displaystyle\int_{{\mathbb{R}}^{d}}|\hat{s}(t,x)-\nabla\log\rho(t,x)|^{2}\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\left(|\hat{s}(t,x)|^{2}-2\hat{s}(t,x)\cdot\nabla\log\rho(t,x)+|\nabla\log\rho(t,x)|^{2}\right)\rho(t,x)dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\left(|\hat{s}(t,x)|^{2}+2\nabla\cdot\hat{s}(t,x)+|\nabla\log\rho(t,x)|^{2}\right)\rho(t,x)dx,

SOURCE PDF p.63 · A2.SS2.SSS0.Px1.p1.2
EN
where we used the identity s^⋅∇log⁡ρ ρ=s^⋅∇ρ\hat{s}\cdot\nabla\log\rho\,\rho=\hat{s}\cdot\nabla\rho and integration by parts to obtain the second equality. The last term involving ∣∇log⁡ρ∣2|\nabla\log\rho|^{2} is a constant in s^\hat{s} that can be neglected for optimization. Expressing the remaining terms as an expectation over xtx_{t} and integrating the result in time gives ( 2.30 ).
中
其中,为得到第二个等号,我们使用了恒等式 s^⋅∇log⁡ρ ρ=s^⋅∇ρ\hat{s}\cdot\nabla\log\rho\,\rho=\hat{s}\cdot\nabla\rho,并进行了分部积分。含 ∣∇log⁡ρ∣2|\nabla\log\rho|^{2} 的最后一项与 s^\hat{s} 无关,在优化时可以忽略。将其余各项表示为对 xtx_{t} 的期望,再对时间积分,即得到式 (2.30)。

B.3 Proofs of Lemmas 21 and 22 , and Theorem 23 . B.3 引理 21、22 与定理 23 的证明

SOURCE PDF p.63 · A2.SS3.p1.1
EN
See 21
中
见 21。

Proof. 证明

SOURCE PDF p.63 · A2.SS3.p2.1
EN
Using ( 2.38 ), we compute analytically
中
利用式 (2.38),我们可解析地计算出
ddtKL(ρ(t) ∥ ρ^(t))=ddt∫Rdlog⁡(ρρ^)ρdx=∫Rdρ^(∂tρρ^−ρ(ρ^)2∂tρ^)dx+∫log⁡(ρρ^)∂tρdx=−∫Rd(ρρ^)∂tρ^dx+∫Rdlog⁡(ρρ^)∂tρdx=∫Rd(ρρ^)∇⋅(b^ρ^)dx−∫log⁡(ρρ^)∇⋅(bρ)dx=−∫Rd∇(ρρ^)⋅b^ρ^dx+∫(∇log⁡ρ−∇log⁡ρ^)⋅bρdx=−∫Rd(∇ρρ^−ρ∇ρ^ρ^2)⋅b^ρ^dx+∫Rd(∇log⁡ρ−∇log⁡ρ^)⋅bρdx=∫Rd(∇log⁡ρ^−∇log⁡ρ)⋅b^ρdx+∫Rd(∇log⁡ρ−∇log⁡ρ^)⋅bρdx=∫Rd(∇log⁡ρ^−∇log⁡ρ)⋅(b^−b)ρdx.\displaystyle\frac{d}{dt}\mathsf{KL}(\rho(t)\>\|\>\hat{\rho}(t)) \qquad \displaystyle=\frac{d}{dt}\int_{{\mathbb{R}}^{d}}\log\left(\frac{\rho}{\hat{\rho}}\right)\rho dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\hat{\rho}\left(\frac{\partial_{t}\rho}{\hat{\rho}}-\frac{\rho}{(\hat{\rho})^{2}}\partial_{t}\hat{\rho}\right)dx+\int\log\left(\frac{\rho}{\hat{\rho}}\right)\partial_{t}\rho dx \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\left(\frac{\rho}{\hat{\rho}}\right)\partial_{t}\hat{\rho}dx+\int_{{\mathbb{R}}^{d}}\log\left(\frac{\rho}{\hat{\rho}}\right)\partial_{t}\rho dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\left(\frac{\rho}{\hat{\rho}}\right)\nabla\cdot\left(\hat{b}\hat{\rho}\right)dx-\int\log\left(\frac{\rho}{\hat{\rho}}\right)\nabla\cdot\left(b\rho\right)dx \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\nabla\left(\frac{\rho}{\hat{\rho}}\right)\cdot\hat{b}\hat{\rho}dx+\int\left(\nabla\log\rho-\nabla\log\hat{\rho}\right)\cdot b\rho dx \qquad \displaystyle=-\int_{{\mathbb{R}}^{d}}\left(\frac{\nabla\rho}{\hat{\rho}}-\frac{\rho\nabla\hat{\rho}}{\hat{\rho}^{2}}\right)\cdot\hat{b}\hat{\rho}dx+\int_{{\mathbb{R}}^{d}}\left(\nabla\log\rho-\nabla\log\hat{\rho}\right)\cdot b\rho dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\left(\nabla\log\hat{\rho}-\nabla\log\rho\right)\cdot\hat{b}\rho dx+\int_{{\mathbb{R}}^{d}}\left(\nabla\log\rho-\nabla\log\hat{\rho}\right)\cdot b\rho dx \qquad \displaystyle=\int_{{\mathbb{R}}^{d}}\left(\nabla\log\hat{\rho}-\nabla\log\rho\right)\cdot(\hat{b}-b)\rho dx.

SOURCE PDF p.64 · A2.SS3.p2.2
EN
where we omitted the argument (t,x)(t,x) of all functions for simplicity of notation. Integrating both sides from 00 to 11 completes the proof. ∎
中
其中为简化记号,省略了所有函数的自变量 (t,x)(t,x)。对等式两侧从 0 到 1 积分,即完成证明。∎

SOURCE PDF p.64 · A2.SS3.p3.1
EN
See 22
中
见 22。

Proof. 证明

SOURCE PDF p.64 · A2.SS3.p4.2
EN
Similar to the proof of Lemma 21 , we can use the FPE in ( 2.40 ) to compute ddtKL(ρ(t) ∥ ρ^(t))\frac{d}{dt}\mathsf{KL}(\rho(t)\>\|\>\hat{\rho}(t)) , which leads to the main result. Instead, we take a simpler approach, leveraging the result in Lemma 21 . We re-write the Fokker-Planck equations in ( 2.40 ) as the (score-dependent) transport equations
中
与引理 21 的证明类似,我们可以利用式 (2.40) 中的 Fokker–Planck 方程计算 ddtKL(ρ(t) ∥ ρ^(t))\frac{d}{dt}\mathsf{KL}(\rho(t)\>\|\>\hat{\rho}(t)),从而得到主要结论。这里我们采用更简单的办法,直接利用引理 21 的结果。将式 (2.40) 中的 Fokker–Planck 方程改写为下列依赖得分函数的输运方程:
∂tρ=−∇⋅((bF−ϵ∇log⁡ρ)ρ),∂tρ^=−∇⋅((b^F−ϵ∇log⁡ρ^)ρ^).\displaystyle\partial_{t}\rho \qquad \displaystyle=-\nabla\cdot((b_{\mathsf{F}}-\epsilon\nabla\log\rho)\rho), \qquad \displaystyle\partial_{t}\hat{\rho} \qquad \displaystyle=-\nabla\cdot((\hat{b}_{\mathsf{F}}-\epsilon\nabla\log\hat{\rho})\hat{\rho}).

SOURCE PDF p.64 · A2.SS3.p4.3
EN
Applying Lemma 21 directly, we find that
中
直接应用引理 21,得到
KL(ρ(1) ∥ ρ^(1))=∫01∫Rd[(∇log⁡ρ^−∇log⁡ρ)⋅([b^F−ϵ∇log⁡ρ^]−[bF−ϵ∇log⁡ρ])]ρdxdt.\displaystyle\mathsf{KL}(\rho(1)\>\|\>\hat{\rho}(1))=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left[\left(\nabla\log\hat{\rho}-\nabla\log\rho\right)\cdot\left(\left[\hat{b}_{\mathsf{F}}-\epsilon\nabla\log\hat{\rho}\right]-\left[b_{\mathsf{F}}-\epsilon\nabla\log\rho\right]\right)\right]\rho dxdt.

SOURCE PDF p.64 · A2.SS3.p4.4
EN
Expanding the above,
中
展开上式,
KL(ρ(1) ∥ ρ^(1))=∫01∫Rd[(∇log⁡ρ^−∇log⁡ρ)⋅(b^F−bF)]ρdxdt−ϵ∫01∫Rd[∣∇log⁡ρ−∇log⁡ρ^∣2]ρdxdt,\displaystyle\mathsf{KL}(\rho(1)\>\|\>\hat{\rho}(1)) \qquad \displaystyle=\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left[\left(\nabla\log\hat{\rho}-\nabla\log\rho\right)\cdot(\hat{b}_{\mathsf{F}}-b_{\mathsf{F}})\right]\rho dxdt \qquad \displaystyle-\epsilon\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left[\left|\nabla\log\rho-\nabla\log\hat{\rho}\right|^{2}\right]\rho dxdt,

SOURCE PDF p.65 · A2.SS3.p4.5
EN
which proves the first part of the lemma. Now, by Young’s inequality, it holds for any fixed η>0\eta>0 that
中
这就证明了引理的第一部分。现在,由 Young 不等式可知,对任意固定的 η>0\eta>0,都有
KL(ρ1 ∥ ρ^(1))≤12η∫01∫Rd∣b^F−bF∣2ρtdxdt+(12η−ϵ)∫01∫Rd∣∇log⁡ρt−∇log⁡ρ^t∣2ρtdxdt.\displaystyle\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1)) \qquad \displaystyle\leq\frac{1}{2\eta}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{b}_{\mathsf{F}}-b_{\mathsf{F}}\right|^{2}\rho_{t}dxdt \qquad \displaystyle\qquad+\left(\tfrac{1}{2}\eta-\epsilon\right)\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\nabla\log\rho_{t}-\nabla\log\hat{\rho}_{t}\right|^{2}\rho_{t}dxdt.

SOURCE PDF p.65 · A2.SS3.p4.6
EN
Hence, for η=2ϵ\eta=2\epsilon ,
中
因此,取 η=2ϵ\eta=2\epsilon 时,
KL(ρ1 ∥ ρ^(1))≤14ϵ∫01∫Rd∣b^F−bF∣2ρdxdt,\displaystyle\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1)) \qquad \displaystyle\leq\frac{1}{4\epsilon}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{b}_{\mathsf{F}}-b_{\mathsf{F}}\right|^{2}\rho dxdt,

SOURCE PDF p.65 · A2.SS3.p4.7
EN
which proves the second part of the lemma. ∎
中
这就证明了引理的第二部分。∎

SOURCE PDF p.65 · A2.SS3.p5.1
EN
See 23
中
见 23。

Proof. 证明

SOURCE PDF p.66 · A2.SS3.p6.1
EN
Observe that by Proposition 18 , the target density ρ1=ρ(1,⋅)\rho_{1}=\rho(1,\cdot) is the density of the process XtX_{t} that evolves according to SDE ( 2.33 ). By Lemma 22 and an additional application of Young’s inequality, we then have that
中
注意,由命题 18 可知,目标密度 ρ1=ρ(1,⋅)\rho_{1}=\rho(1,\cdot) 是按照随机微分方程 (2.33) 演化的过程 XtX_{t} 的概率密度。由引理 22,再应用一次 Young 不等式,便有
KL(ρ1 ∥ ρ^(1))≤12ϵ∫01∫Rd(∣b^−b∣2+ϵ2∣s−s^∣2)ρdxdt.\displaystyle\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1)) \qquad \displaystyle\leq\frac{1}{2\epsilon}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(|\hat{b}-b|^{2}+\epsilon^{2}\left|s-\hat{s}\right|^{2}\right)\rho dxdt.

SOURCE PDF p.66 · A2.SS3.p6.2
EN
Using the definition of Lb[b^]\mathcal{L}_{b}[\hat{b}] and Ls[s^]\mathcal{L}_{s}[\hat{s}] in ( 2.13 ), and ( 2.16 ), we conclude that
中
利用式 (2.13) 和式 (2.16) 中 Lb[b^]\mathcal{L}_{b}[\hat{b}] 与 Ls[s^]\mathcal{L}_{s}[\hat{s}] 的定义,我们得到
KL(ρ1 ∥ ρ^(1))≤12ϵ(Lb[b^]−min⁡b^Lb[b^])+ϵ2(Ls[s^]−min⁡s^Ls[s^]),\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1))\leq\frac{1}{2\epsilon}\left(\mathcal{L}_{b}[\hat{b}]-\min_{\hat{b}}\mathcal{L}_{b}[\hat{b}]\right)+\frac{\epsilon}{2}\left(\mathcal{L}_{s}[\hat{s}]-\min_{\hat{s}}\mathcal{L}_{s}[\hat{s}]\right),

SOURCE PDF p.66 · A2.SS3.p6.3
EN
which is ( 2.45 ). Using that b=v−γγ˙sb=v-\gamma\dot{\gamma}s and b^=v^−γγ˙s^\hat{b}=\hat{v}-\gamma\dot{\gamma}\hat{s} , we can write ( B.43 ) in this case as
中
这就是式 (2.45)。利用 b=v−γγ˙sb=v-\gamma\dot{\gamma}s 和 b^=v^−γγ˙s^\hat{b}=\hat{v}-\gamma\dot{\gamma}\hat{s},在这种情况下可将式 (B.43) 写成
KL(ρ1 ∥ ρ^(1))≤14ϵ∫01∫Rd∣v^−v−(γ(t)γ˙(t)−ϵ)(s^−s)∣2ρdxdt,≤12ϵ∫01∫Rd(∣v^−v∣2+(γ(t)γ˙(t)−ϵ)2∣s^−s∣2)ρdxdt,≤12ϵ(Lv[v^]−min⁡v^Lv[v^])+max⁡t∈[0,1](γ(t)γ˙(t)−ϵ)22ϵ(Ls[s^]−min⁡v^Ls[s^]),\displaystyle\mathsf{KL}(\rho_{1}\>\|\>\hat{\rho}(1)) \qquad \displaystyle\leq\frac{1}{4\epsilon}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left|\hat{v}-v-(\gamma(t)\dot{\gamma}(t)-\epsilon)(\hat{s}-s)\right|^{2}\rho dxdt, \qquad \displaystyle\leq\frac{1}{2\epsilon}\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\left|\hat{v}-v\right|^{2}+(\gamma(t)\dot{\gamma}(t)-\epsilon)^{2}\left|\hat{s}-s\right|^{2}\right)\rho dxdt, \qquad \displaystyle\leq\frac{1}{2\epsilon}\left(\mathcal{L}_{v}[\hat{v}]-\min_{\hat{v}}\mathcal{L}_{v}[\hat{v}]\right)+\frac{\max_{t\in[0,1]}(\gamma(t)\dot{\gamma}(t)-\epsilon)^{2}}{2\epsilon}\left(\mathcal{L}_{s}[\hat{s}]-\min_{\hat{v}}\mathcal{L}_{s}[\hat{s}]\right),

SOURCE PDF p.66 · A2.SS3.p6.4
EN
which is the final part of the theorem. ∎
中
这就是该定理的最后一部分。∎

B.4 Proofs of Lemma 25 and Theorem 26 B.4 引理 25 与定理 26 的证明

SOURCE PDF p.66 · A2.SS4.p1.1
EN
See 25
中
见 25。

Proof. 证明

SOURCE PDF p.67 · A2.SS4.p2.5
EN
If ρ^\hat{\rho} solves the TE ( 2.50 ) and Xs,tX_{s,t} solves the ODE ( 2.51 ), we have
中
如果 ρ^\hat{\rho} 满足输运方程 (2.50),且 Xs,tX_{s,t} 满足常微分方程 (2.51),则有
ddtρ^(t,Xs,t(x))=∂tρ^(t,Xs,t(x))+b(t,Xs,t(x))⋅∇ρ^(t,Xs,t(x))=−∇⋅b(t,Xs,t(x))ρ^(t,Xs,t(x))\displaystyle\frac{d}{dt}\hat{\rho}(t,X_{s,t}(x)) \qquad \displaystyle=\partial_{t}\hat{\rho}(t,X_{s,t}(x))+b(t,X_{s,t}(x))\cdot\nabla\hat{\rho}(t,X_{s,t}(x)) \qquad \displaystyle=-\nabla\cdot b(t,X_{s,t}(x))\hat{\rho}(t,X_{s,t}(x))

SOURCE PDF p.67 · A2.SS4.p2.6
EN
This equation implies that
中
这个等式意味着
ddt(exp⁡(∫st∇⋅b(τ,Xs,τ(x))dτ)ρ^(t,Xs,t(x)))=0.\displaystyle\frac{d}{dt}\left(\exp\left(\int_{s}^{t}\nabla\cdot b(\tau,X_{s,\tau}(x))d\tau\right)\hat{\rho}(t,X_{s,t}(x))\right)=0.

SOURCE PDF p.67 · A2.SS4.p2.7
EN
Integrating ( B.50 ) over [0,t][0,t] and setting s=ts=t in the result gives
中
在 [0,t][0,t] 上对式 (B.50) 积分,并在所得结果中令 s=ts=t,得到
ρ^(t,x)=exp⁡(−∫0t∇⋅b(τ,Xt,τ(x))dτ)ρ^(0,Xt,0(x))\displaystyle\hat{\rho}(t,x)=\exp\left(-\int_{0}^{t}\nabla\cdot b(\tau,X_{t,\tau}(x))d\tau\right)\hat{\rho}(0,X_{t,0}(x))

SOURCE PDF p.67 · A2.SS4.p2.8
EN
If we use the initial condition ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0} , this gives ( 2.52 ). Similarly, Integrating  ( B.50 ) on [t,1][t,1] and setting s=ts=t in the result gives
中
若使用初始条件 ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0},就得到式 (2.52)。类似地,在 [t,1][t,1] 上对式 (B.50) 积分,并在所得结果中令 s=ts=t,得到
ρ^(t,x)=exp⁡(∫t1∇⋅b(τ,Xt,τ(x))dτ)ρ^(1,Xt,1(x))\displaystyle\hat{\rho}(t,x)=\exp\left(\int_{t}^{1}\nabla\cdot b(\tau,X_{t,\tau}(x))d\tau\right)\hat{\rho}(1,X_{t,1}(x))

SOURCE PDF p.67 · A2.SS4.p2.9
EN
If we use the final condition ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1} , this gives ( 2.53 ).
中
若使用终端条件 ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1},就得到式 (2.53)。

SOURCE PDF p.67 · A2.SS4.p3.1
EN
∎
中
∎

SOURCE PDF p.67 · A2.SS4.p4.1
EN
See 26
中
见 26。

Proof. 证明

SOURCE PDF p.67 · A2.SS4.p5.4
EN
Evaluating dρ^F(t,YtB)d\hat{\rho}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t}) via the backward Itô formula ( 2.36 ) we obtain
中
利用反向 Itô 公式 (2.36) 计算 dρ^F(t,YtB)d\hat{\rho}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t}),得到
dρ^F(t,YtB)=∂tρ^F(t,YtB)dt+∇ρ^F(t,YtB)⋅dYtB−ϵΔρ^F(t,YtB)dt=∂tρ^F(t,YtB)dt+∇ρ^F(t,YtB)⋅b^F(t,YtB)dt+2ϵ∇ρ^F(t,YtB)⋅dWtB−ϵΔρ^F(t,YtB)dt=−∇⋅b^F(t,YtB)ρ^F(t,YtB)dt+2ϵ∇ρ^F(t,YtB)⋅dWtB.\displaystyle d\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}}) \qquad \displaystyle=\partial_{t}\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})dt+\nabla\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\cdot dY^{\mathsf{B}}_{t}-\epsilon\Delta\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})dt \qquad \displaystyle=\partial_{t}\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})dt+\nabla\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\cdot\hat{b}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt+\sqrt{2\epsilon}\nabla\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\cdot dW^{\mathsf{B}}_{t}-\epsilon\Delta\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})dt \qquad \displaystyle=-\nabla\cdot\hat{b}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})\hat{\rho}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt+\sqrt{2\epsilon}\nabla\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\cdot dW^{\mathsf{B}}_{t}.

SOURCE PDF p.68 · A2.SS4.p5.5
EN
where we used ( 2.56 ) in the second step and ( 2.57 ) in the last one. This equation can be written as a total differential in the form
中
其中,第二步使用了式 (2.56),最后一步使用了式 (2.57)。这个方程可以写成如下全微分形式:
d(exp⁡(−∫t1∇⋅b^F(τ,YτB)dτ)ρ^F(t,YtB))=2ϵexp⁡(−∫t1∇⋅b^F(τ,YτB)dτ)∇ρ^F(t,YtB)⋅dWtB,\displaystyle d\left(\exp\left(-\int_{t}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(\tau,Y^{\mathsf{B}}_{\tau})d\tau\right)\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\right) \qquad \displaystyle=\sqrt{2\epsilon}\exp\left(-\int_{t}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(\tau,Y^{\mathsf{B}}_{\tau})d\tau\right)\nabla\hat{\rho}_{\mathsf{F}}(t,Y_{t}^{\mathsf{B}})\cdot dW^{\mathsf{B}}_{t},

SOURCE PDF p.68 · A2.SS4.p5.6
EN
which after integration over t∈[0,1]t\in[0,1] becomes
中
在 t∈[0,1]t\in[0,1] 上积分后,它成为
ρ^F(1,Yt=1B)−exp⁡(−∫01∇⋅b^F(t,YtB)dt)ρ0(Yt=0B)=2ϵ∫01exp⁡(−∫t1∇⋅b^F(τ,YτB)dτ)∇ρ^(t,YtB)⋅dWtB.\displaystyle\hat{\rho}_{\mathsf{F}}(1,Y_{t=1}^{\mathsf{B}})-\exp\left(-\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt\right)\rho_{0}(Y^{\mathsf{B}}_{t=0}) \qquad \displaystyle=\sqrt{2\epsilon}\int_{0}^{1}\exp\left(-\int_{t}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(\tau,Y^{\mathsf{B}}_{\tau})d\tau\right)\nabla\hat{\rho}(t,Y_{t}^{\mathsf{B}})\cdot dW^{\mathsf{B}}_{t}.

SOURCE PDF p.68 · A2.SS4.p5.7
EN
where we used ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0} . Taking an expectation conditioned on the event Yt=1B=xY_{t=1}^{\mathsf{B}}=x and using that the term on the right-hand side has mean zero, we find that
中
其中使用了 ρ^(0)=ρ0\hat{\rho}(0)=\rho_{0}。以事件 Yt=1B=xY_{t=1}^{\mathsf{B}}=x 为条件取期望,并利用右侧项的均值为零,可得
ρ^F(1,Yt=1B)−EBxexp⁡(−∫01∇⋅b^F(t,YtB)dt)ρ0(Yt=0B)=0.\hat{\rho}_{\mathsf{F}}(1,Y_{t=1}^{\mathsf{B}})-{\mathbb{E}}^{x}_{\mathsf{B}}\exp\left(-\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{F}}(t,Y^{\mathsf{B}}_{t})dt\right)\rho_{0}(Y^{\mathsf{B}}_{t=0})=0.

SOURCE PDF p.68 · A2.SS4.p5.8
EN
This gives ( 2.58 ).
中
这就得到式 (2.58)。

SOURCE PDF p.68 · A2.SS4.p6.4
EN
Similarly, evaluating dρ^B(t,YtF)d\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t}) via Itô’s formula, we obtain
中
类似地,利用 Itô 公式计算 dρ^B(t,YtF)d\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t}),得到
dρ^B(t,YtF)=∂tρ^B(t,YtF)dt+∇ρ^B(t,YtF)⋅dYtF+ϵΔρ^B(t,YtF)dt=∂tρ^B(t,YtF)dt+∇ρ^B(t,YtF)⋅b^B(t,YtF)dt+2ϵ∇ρ^B(t,YtF)⋅dWt+ϵΔρ^B(t,YtF)dt=−∇⋅b^B(t,YtF)ρ^B(t,YtF)dt+2ϵ∇ρ^B(t,YtF)⋅dWt.\displaystyle d\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t}) \qquad \displaystyle=\partial_{t}\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt+\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot dY^{\mathsf{F}}_{t}+\epsilon\Delta\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt \qquad \displaystyle=\partial_{t}\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt+\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot\hat{b}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon}\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot dW_{t}+\epsilon\Delta\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt \qquad \displaystyle=-\nabla\cdot\hat{b}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt+\sqrt{2\epsilon}\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot dW_{t}.

SOURCE PDF p.69 · A2.SS4.p6.5
EN
where we used ( 2.55 ) in the second step and ( 2.59 ) in the last one. This equation can be written as a total differential in the form
中
其中,第二步使用了式 (2.55),最后一步使用了式 (2.59)。这个方程可以写成如下全微分形式:
d(exp⁡(∫0t∇⋅b^B(τ,YτF)dτ)ρ^B(t,YtF))=2ϵexp⁡(∫0t∇⋅b^B(τ,YτF)dτ)∇ρ^B(t,YtF)⋅dWt.\displaystyle d\left(\exp\left(\int_{0}^{t}\nabla\cdot\hat{b}_{\mathsf{B}}(\tau,Y^{\mathsf{F}}_{\tau})d\tau\right)\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\right) \qquad \displaystyle=\sqrt{2\epsilon}\exp\left(\int_{0}^{t}\nabla\cdot\hat{b}_{\mathsf{B}}(\tau,Y^{\mathsf{F}}_{\tau})d\tau\right)\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot dW_{t}.

SOURCE PDF p.69 · A2.SS4.p6.6
EN
Integrating the above on t∈[0,1]t\in[0,1] , we find that
中
在 t∈[0,1]t\in[0,1] 上对上式积分,得到
exp⁡(∫01∇⋅b^B(t,YtF)dt)ρ1(Y1F)−ρ^B(0,Yt=0F)=2ϵ∫01exp⁡(∫0t∇⋅b^B(τ,YτF)dτ)∇ρ^B(t,YtF)⋅dWt.\displaystyle\exp\left(\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt\right)\rho_{1}(Y^{\mathsf{F}}_{1})-\hat{\rho}_{\mathsf{B}}(0,Y^{\mathsf{F}}_{t=0}) \qquad \displaystyle=\sqrt{2\epsilon}\int_{0}^{1}\exp\left(\int_{0}^{t}\nabla\cdot\hat{b}_{\mathsf{B}}(\tau,Y^{\mathsf{F}}_{\tau})d\tau\right)\nabla\hat{\rho}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})\cdot dW_{t}.

SOURCE PDF p.69 · A2.SS4.p6.7
EN
where we used ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1} . Taking an expectation conditioned on the event Yt=0F=xY^{\mathsf{F}}_{t=0}=x and applying the Itô isometry, we deduce that
中
其中使用了 ρ^(1)=ρ1\hat{\rho}(1)=\rho_{1}。以事件 Yt=0F=xY^{\mathsf{F}}_{t=0}=x 为条件取期望,并应用 Itô 等距性质,推得
EFx(exp⁡(∫01∇⋅b^B(t,YtF)dt)ρ1(Yt=1F))−ρ^B(0,y)=0.{\mathbb{E}}_{\mathsf{F}}^{x}\left(\exp\left(\int_{0}^{1}\nabla\cdot\hat{b}_{\mathsf{B}}(t,Y^{\mathsf{F}}_{t})dt\right)\rho_{1}(Y^{\mathsf{F}}_{t=1})\right)-\hat{\rho}_{\mathsf{B}}(0,y)=0.

SOURCE PDF p.69 · A2.SS4.p6.8
EN
This gives ( 2.60 ).
中
这就得到式 (2.60)。

SOURCE PDF p.69 · A2.SS4.p7.1
EN
∎
中
∎

B.5 Proof of Theorem 31 B.5 定理 31 的证明

SOURCE PDF p.69 · A2.SS5.p1.1
EN
See 31
中
见 31。

Proof. 证明

SOURCE PDF p.69 · A2.SS5.p2.1
EN
Let us first consider what happens on the interval t∈[0,δ]t\in[0,\delta] where I(t,x0,x1)=x0I(t,x_{0},x_{1})=x_{0} by assumption and the stochastic interpolant ( 3.2 ) with x0x_{0} fixed and a(t)=a>0a(t)=a>0 reduces to
中
先考虑区间 t∈[0,δ]t\in[0,\delta] 上的情形。按照假设,此时 I(t,x0,x1)=x0I(t,x_{0},x_{1})=x_{0};固定 x0x_{0} 且令 a(t)=a>0a(t)=a>0 后,随机插值式 (3.2) 简化为
xt=x0+2at(1−t)zwithx0fixed, z∼N(0,Id).x_{t}=x_{0}+\sqrt{2at(1-t)}z\quad\text{with}\quad x_{0}\text{fixed},\ z\sim{\sf N}(0,\text{\it Id}).

SOURCE PDF p.69 · A2.SS5.p2.2
EN
The law of this process is simply
中
这个过程的分布就是
xt∼N(x0,2at(1−t)Id),x_{t}\sim{\sf N}(x_{0},2at(1-t)\text{\it Id}),

SOURCE PDF p.70 · A2.SS5.p2.3
EN
which means that its density satisfies for all t>0t>0 the FPE
中
这意味着其概率密度对所有 t>0t>0 都满足下列 Fokker–Planck 方程:
∂tρ+2at∇⋅(s(t,x)ρ)=aΔρ,\partial_{t}\rho+2at\nabla\cdot\left(s(t,x)\rho\right)=a\Delta\rho,

SOURCE PDF p.70 · A2.SS5.p2.4
EN
where s(t,x)=∇log⁡ρ(t,x)s(t,x)=\nabla\log\rho(t,x) is the score, which is explicitly given by
中
其中,s(t,x)=∇log⁡ρ(t,x)s(t,x)=\nabla\log\rho(t,x) 是得分函数,其显式表达为
s(t,x)=−x−x02at(1−t)for  t∈(0,δ].s(t,x)=-\frac{x-x_{0}}{2at(1-t)}\qquad\text{for}\ \ t\in(0,\delta].

SOURCE PDF p.70 · A2.SS5.p2.5
EN
This means that the drift term in the FPE ( B.63 ) can be written as
中
这意味着 Fokker–Planck 方程 (B.63) 中的漂移项可以写成
2ats(t,x)=−x−x01−tfor  t∈(0,δ].2ats(t,x)=-\frac{x-x_{0}}{1-t}\qquad\text{for}\ \ t\in(0,\delta].

SOURCE PDF p.70 · A2.SS5.p2.6
EN
and this equality also holds in the limit as t→0t\to 0 . It is also easy to check that
中
并且当 t→0t\to 0 时,这个等式在极限下依然成立。此外,也容易验证
−x−x02at(1−t)=−2at(1−t)E(z∣xt=x)for  t∈[0,δ]-\frac{x-x_{0}}{2at(1-t)}=-\frac{\sqrt{2at}}{\sqrt{(1-t)}}{\mathbb{E}}(z|x_{t}=x)\qquad\text{for}\ \ t\in[0,\delta]

SOURCE PDF p.70 · A2.SS5.p2.7
EN
which is consistent with the drift in ( 3.10 ) on t∈[0,δ]t\in[0,\delta] since ∂tI(t,x0,x1)=0\partial_{t}I(t,x_{0},x_{1})=0 on this interval. Since the right-hand side of ( B.65 ) is nonsingular at t=0t=0 it also means that the SDE ( 3.11 ) is well-defined for t∈[0,δ]t\in[0,\delta] and the law of its solutions coincide with that of the process xtx_{t} defined ( B.61 ), Xtd∼N(x0,2at(1−t)Id)X_{t}^{\mathsf{d}}\sim{\sf N}(x_{0},2at(1-t)\text{\it Id}) for t∈[0,δ]t\in[0,\delta] .
中
这与区间 t∈[0,δ]t\in[0,\delta] 上式 (3.10) 中的漂移项一致,因为在该区间上 ∂tI(t,x0,x1)=0\partial_{t}I(t,x_{0},x_{1})=0。由于式 (B.65) 的右侧在 t=0t=0 处没有奇异性,这还说明随机微分方程 (3.11) 在 t∈[0,δ]t\in[0,\delta] 上有良好定义,而且其解的分布与式 (B.61) 定义的过程 xtx_{t} 的分布相同,即对于 t∈[0,δ]t\in[0,\delta],有 Xtd∼N(x0,2at(1−t)Id)X_{t}^{\mathsf{d}}\sim{\sf N}(x_{0},2at(1-t)\text{\it Id})。

SOURCE PDF p.70 · A2.SS5.p3.1
EN
Considering next what happens on t∈(δ,1]t\in(\delta,1] , since γ(t)=2at(1−t)\gamma(t)=\sqrt{2at(1-t)} is only zero at the endpoint t=1t=1 where we assume that the density ρ1\rho_{1} satisfies Assumption 5 we can mimick all the arguments in the proof of of Theorem 6 and Corollaries 10 and 18 to terminate the proof. ∎
中
接下来考虑 t∈(δ,1]t\in(\delta,1] 上的情形。由于 γ(t)=2at(1−t)\gamma(t)=\sqrt{2at(1-t)} 仅在端点 t=1t=1 处为零,而我们假设该端点的密度 ρ1\rho_{1} 满足假设 5,因此可以仿照定理 6 以及推论 10、18 证明中的全部论证,完成证明。∎

SOURCE PDF p.70 · A2.SS5.p4.1
EN
Note that this proof shows that is enough to have ∂tI(t=0,x0,x1)=0\partial_{t}I(t=0,x_{0},x_{1})=0 , since this implies that I(t,x0,x1)=x0+O(t2)I(t,x_{0},x_{1})=x_{0}+O(t^{2}) . It also shows that, while it is key to use an SDE on t∈[0,δ]t\in[0,\delta] so that the generative process can spread the mass away from x0x_{0} , the diffusive noise is no longer necessary and we could switch back to a probability flow ODE on t∈(δ,1]t\in(\delta,1] (using a time-dependent a(t)a(t) to that effect with a(t)=0a(t)=0 for t∈(δ,1]t\in(\delta,1] ).
中
注意,这个证明表明,只要有 ∂tI(t=0,x0,x1)=0\partial_{t}I(t=0,x_{0},x_{1})=0 就足够了,因为它蕴含 I(t,x0,x1)=x0+O(t2)I(t,x_{0},x_{1})=x_{0}+O(t^{2})。证明还表明,虽然在 t∈[0,δ]t\in[0,\delta] 上使用随机微分方程至关重要,以便生成过程能将质量从 x0x_{0} 向外扩散,但此后扩散噪声不再必要,我们可以在 t∈(δ,1]t\in(\delta,1] 上切换回概率流常微分方程;为此可使用随时间变化的 a(t)a(t),并令其在 t∈(δ,1]t\in(\delta,1] 上满足 a(t)=0a(t)=0。

B.6 Proof of Lemma 40 and Theorem 41 . B.6 引理 40 与定理 41 的证明

SOURCE PDF p.70 · A2.SS6.p1.1
EN
See 40
中
见 40。

Proof. 证明

SOURCE PDF p.70 · A2.SS6.p2.1
EN
By definition of the map TT in ( 3.36 ), if x0∼ρ0x_{0}\sim\rho_{0} and x1∼ρ1x_{1}\sim\rho_{1} , then T−1(0,x0)∼N(0,Id)T^{-1}(0,x_{0})\sim{\sf N}(0,\text{\it Id}) and T−1(1,x1)∼N(0,Id)T^{-1}(1,x_{1})\sim{\sf N}(0,\text{\it Id}) . As a result, since x0x_{0} , x1x_{1} , and zz are independent, and z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}) , we have
中
根据式 (3.36) 中映射 TT 的定义,若 x0∼ρ0x_{0}\sim\rho_{0} 且 x1∼ρ1x_{1}\sim\rho_{1},则 T−1(0,x0)∼N(0,Id)T^{-1}(0,x_{0})\sim{\sf N}(0,\text{\it Id}),T−1(1,x1)∼N(0,Id)T^{-1}(1,x_{1})\sim{\sf N}(0,\text{\it Id})。因此,利用 x0x_{0}、x1x_{1} 与 zz 相互独立,且 z∼N(0,Id)z\sim{\sf N}(0,\text{\it Id}),可得
α(t)T−1(0,x0)+β(t)T−1(1,x1)+γ(t)z∼N(0,α2(t)Id+β2(t)Id+γ2(t)Id)=N(0,Id)\alpha(t)T^{-1}(0,x_{0})+\beta(t)T^{-1}(1,x_{1})+\gamma(t)z\sim{\sf N}(0,\alpha^{2}(t)\text{\it Id}+\beta^{2}(t)\text{\it Id}+\gamma^{2}(t)\text{\it Id})={\sf N}(0,\text{\it Id})

SOURCE PDF p.71 · A2.SS6.p2.2
EN
where the second equality follows from the condition α2(t)+β2(t)+γ2(t)=1\alpha^{2}(t)+\beta^{2}(t)+\gamma^{2}(t)=1 . Therfore, using again the definition of the map TT
中
其中第二个等号由条件 α2(t)+β2(t)+γ2(t)=1\alpha^{2}(t)+\beta^{2}(t)+\gamma^{2}(t)=1 得到。因此,再次利用映射 TT 的定义,
T(t,α(t)T−1(0,x0)+β(t)T−1(1,x1)+γ(t)z)∼ρ(t),T(t,\alpha(t)T^{-1}(0,x_{0})+\beta(t)T^{-1}(1,x_{1})+\gamma(t)z)\sim\rho(t),

SOURCE PDF p.71 · A2.SS6.p2.3
EN
and we are done. ∎
中
证明完毕。∎

SOURCE PDF p.71 · A2.SS6.p3.1
EN
See 41
中
见 41。

Proof. 证明

SOURCE PDF p.71 · A2.SS6.p4.4
EN
Denote by ρ^(t,x)\hat{\rho}(t,x) the density of x^t\hat{x}_{t} and define the current ȷ^:[0,1]×Rd→Rd\hat{\jmath}:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} as
中
用 ρ^(t,x)\hat{\rho}(t,x) 表示 x^t\hat{x}_{t} 的密度,并将概率流 ȷ^:[0,1]×Rd→Rd\hat{\jmath}:[0,1]\times{\mathbb{R}}^{d}\to{\mathbb{R}}^{d} 定义为
ȷ^(t,x)=E(∂tI^t+γ(t)z∣x=x^t)ρ^(t,x).\hat{\jmath}(t,x)={\mathbb{E}}\big(\partial_{t}\hat{I}_{t}+\gamma(t)z|x=\hat{x}_{t}\big)\hat{\rho}(t,x).

SOURCE PDF p.71 · A2.SS6.p4.5
EN
The max-min problem ( 3.38 ) can then be formulated as the constrained optimization problem:
中
于是,最大—最小问题 (3.38) 可以表述为下列约束优化问题:
max⁡ρ^,ȷ^min⁡u^∫01∫Rd(12∣u^(t,x)∣2ρ^(t,x)−u^(t,x)⋅ȷ^(t,x))dxdtsubject to:∂tρ^+∇⋅ȷ^=ϵΔρ^,ρ^(t=0)=ρ0,ρ^(t=1)=ρ1\displaystyle\max_{\hat{\rho},\hat{\jmath}}\min_{\hat{u}} \qquad \displaystyle\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{u}(t,x)|^{2}\hat{\rho}(t,x)-\hat{u}(t,x)\cdot\hat{\jmath}(t,x)\right)dxdt \qquad \displaystyle\text{subject to:} \qquad \displaystyle\partial_{t}\hat{\rho}+\nabla\cdot\hat{\jmath}=\epsilon\Delta\hat{\rho},\quad\hat{\rho}(t=0)=\rho_{0},\quad\hat{\rho}(t=1)=\rho_{1}

SOURCE PDF p.71 · A2.SS6.p4.6
EN
To solve this problem we can use the extended objective
中
为求解此问题,可以使用扩展目标泛函
max⁡ρ^,ȷ^min⁡u^(∫01∫Rd(12∣u^(t,x)∣2ρ^(t,x)−u^(t,x)⋅ȷ^(t,x))dxdt−∫01∫Rdλ(t,x)(∂tρ^(t,x)+∇⋅ȷ^(t,x)−ϵΔρ^(t,x))dxdt+∫Rdη0(x)(ρ^(0,x)−ρ0(x))dx−∫Rdη1(x)(ρ^(1,x)−ρ1(x))dx)\displaystyle\max_{\hat{\rho},\hat{\jmath}}\min_{\hat{u}} \qquad \displaystyle\Bigg(\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\left(\tfrac{1}{2}|\hat{u}(t,x)|^{2}\hat{\rho}(t,x)-\hat{u}(t,x)\cdot\hat{\jmath}(t,x)\right)dxdt \qquad \displaystyle-\int_{0}^{1}\int_{{\mathbb{R}}^{d}}\lambda(t,x)\left(\partial_{t}\hat{\rho}(t,x)+\nabla\cdot\hat{\jmath}(t,x)-\epsilon\Delta\hat{\rho}(t,x)\right)dxdt \qquad \displaystyle+\int_{{\mathbb{R}}^{d}}\eta_{0}(x)\left(\hat{\rho}(0,x)-\rho_{0}(x)\right)dx-\int_{{\mathbb{R}}^{d}}\eta_{1}(x)\left(\hat{\rho}(1,x)-\rho_{1}(x)\right)dx\Bigg)

SOURCE PDF p.71 · A2.SS6.p4.7
EN
where λ(t,x)\lambda(t,x) , η0(x)\eta_{0}(x) , and η1(x)\eta_{1}(x) are Lagrange multipliers used to enforce the constraints. The unique minimizer (ρ,j,λ)(\rho,j,\lambda) of this optimization problem solves the Euler-Lagrange equations:
中
其中,λ(t,x)\lambda(t,x)、η0(x)\eta_{0}(x) 和 η1(x)\eta_{1}(x) 是用于施加约束的拉格朗日乘子。这个优化问题的唯一极小化解 (ρ,j,λ)(\rho,j,\lambda) 满足如下 Euler–Lagrange 方程:
∂tρ+∇⋅j=ϵΔρ,ρ(t=0)=ρ0ρ(t=1)=ρ1∂tλ+12∣u∣2=−ϵΔλ,j=uρu=∇λ\displaystyle\partial_{t}\rho+\nabla\cdot j=\epsilon\Delta\rho,\quad\rho(t=0)=\rho_{0}\quad\rho(t=1)=\rho_{1} \qquad \displaystyle\partial_{t}\lambda+\tfrac{1}{2}|u|^{2}=-\epsilon\Delta\lambda, \qquad \displaystyle j=u\rho \qquad \displaystyle u=\nabla\lambda

SOURCE PDF p.72 · A2.SS6.p4.8
EN
We can use the last two equations to write the first two as ( 3.35 ), with u=∇λu=\nabla\lambda . Since under Assumption 39 there is an interpolant that realizes the density ρ(t)\rho(t) that solves ( 3.35 ), we conclude that an optimizer (I,u)(I,u) of the the max-min problem ( 3.38 ) exists. For any optimizer, II will be such that ρ(t)\rho(t) is the density of xt=I(t,x0,x1)+γ(t)zx_{t}=I(t,x_{0},x_{1})+\gamma(t)z , and uu will satisfy u=∇λu=\nabla\lambda . ∎
中
利用最后两个方程,可将前两个方程写为式 (3.35),其中 u=∇λu=\nabla\lambda。在假设 39 下,存在一个插值函数能够实现满足式 (3.35) 的密度 ρ(t)\rho(t),因此我们断定最大—最小问题 (3.38) 存在一个最优解 (I,u)(I,u)。对于任意最优解,其中的 II 都使得 ρ(t)\rho(t) 是 xt=I(t,x0,x1)+γ(t)zx_{t}=I(t,x_{0},x_{1})+\gamma(t)z 的密度,而 uu 满足 u=∇λu=\nabla\lambda。∎

B.7 Proof of Theorem 45 B.7 定理 45 的证明

SOURCE PDF p.72 · A2.SS7.p1.1
EN
See 45
中
见 45。

Proof. 证明

SOURCE PDF p.72 · A2.SS7.p2.3
EN
Use
中
利用
β(tj+1)β−1(tj)=1+β˙(tj)β−1(ti)(tj+1−tj)+O((tj+1−tj)2)\beta(t_{j+1})\beta^{-1}(t_{j})=1+\dot{\beta}(t_{j})\beta^{-1}(t_{i})(t_{j+1}-t_{j})+O\big((t_{j+1}-t_{j})^{2}\big)

SOURCE PDF p.72 · A2.SS7.p2.4
EN
and
中
以及
α(tj+1)−α(tj)β(tj+1)β−1(tj)=(α˙(tj)−α(tj)β˙(tj)β−1(ti))(tj+1−tj)+O((tj+1−tj)2)\alpha(t_{j+1})-\alpha(t_{j})\beta(t_{j+1})\beta^{-1}(t_{j})=\big(\dot{\alpha}(t_{j})-\alpha(t_{j})\dot{\beta}(t_{j})\beta^{-1}(t_{i}))(t_{j+1}-t_{j})+O\big((t_{j+1}-t_{j})^{2}\big)

SOURCE PDF p.72 · A2.SS7.p2.5
EN
to deduce that ( 5.14 ) implies
中
可推知式 (5.14) 蕴含
Xj+1den=Xjden+β˙(tj)β−1(tj)Xjden(tj+1−tj)+(α˙(tj)−α(tj)β˙(tj)β−1(ti))ηzos(tj,Xjden)(tj+1−tj)+O((tj+1−tj)2).\displaystyle X^{\mathsf{den}}_{{j+1}} \qquad \displaystyle=X^{\mathsf{den}}_{j}+\dot{\beta}(t_{j})\beta^{-1}(t_{j})X^{\mathsf{den}}_{j}(t_{j+1}-t_{j}) \qquad \displaystyle+\big(\dot{\alpha}(t_{j})-\alpha(t_{j})\dot{\beta}(t_{j})\beta^{-1}(t_{i}))\eta^{\mathsf{os}}_{z}(t_{j},X^{\mathsf{den}}_{j})(t_{j+1}-t_{j})+O\big((t_{j+1}-t_{j})^{2}\big).

SOURCE PDF p.72 · A2.SS7.p2.6
EN
or equivalently
中
或等价地,
Xj+1den−Xjdentj+1−tj=β˙(tj)β−1(tj)Xjden+(α˙(tj)−α(tj)β˙(tj)β−1(ti))ηzos(tj,Xjden)+O(tj+1−tj).\displaystyle\frac{X^{\mathsf{den}}_{{j+1}}-X^{\mathsf{den}}_{j}}{t_{j+1}-t_{j}}=\dot{\beta}(t_{j})\beta^{-1}(t_{j})X^{\mathsf{den}}_{j}+\big(\dot{\alpha}(t_{j})-\alpha(t_{j})\dot{\beta}(t_{j})\beta^{-1}(t_{i}))\eta^{\mathsf{os}}_{z}(t_{j},X^{\mathsf{den}}_{j})+O(t_{j+1}-t_{j}).

SOURCE PDF p.72 · A2.SS7.p2.7
EN
Taking the limit as N,j→∞N,j\to\infty with j/N→t∈[0,1]j/N\to t\in[0,1] , we recover ( 5.15 ) and deduce that Xjden→XtX^{\mathsf{den}}_{j}\to X_{t} . ∎
中
令 N,j→∞N,j\to\infty,同时满足 j/N→t∈[0,1]j/N\to t\in[0,1],取此极限便恢复式 (5.15),并推得 Xjden→XtX^{\mathsf{den}}_{j}\to X_{t}。∎

SOURCE PDF p.72 · A2.SS7.p3.1
EN
Note that the proof shows that the result of Theorem 45 also holds if we use a nonuniform grid of times tjt_{j} , j∈{1,…,N}j\in\{1,\ldots,N\} .
中
注意,这个证明表明,如果使用非均匀时间网格 tjt_{j},j∈{1,…,N}j\in\{1,\ldots,N\},定理 45 的结论仍然成立。

B.8 Proof of Theorem 47 B.8 定理 47 的证明

SOURCE PDF p.72 · A2.SS8.p1.1
EN
See 47
中
见 47。

Proof. 证明

SOURCE PDF p.73 · A2.SS8.p2.1
EN
The first part of the statement can be established by following the same steps as in the proof of Theorem 6 and Corollary 10 . For the proof of the second part, use first ( 5.17 ) written as xtrec=M(t,z)x^{\mathsf{rec}}_{t}=M(t,z) in ( 5.22 ) to deduce that
中
该陈述的第一部分可以按照定理 6 与推论 10 证明中的相同步骤建立。对于第二部分,先将式 (5.17) 写成 xtrec=M(t,z)x^{\mathsf{rec}}_{t}=M(t,z),并在式 (5.22) 中使用它,得到
brec(t,xtrec)=α˙(t)N(t,M(t,z))+β˙(t)Xt=1(N(t,M(t,z)))=α˙(t)z+β˙(t)Xt=1(z)=x˙trecb^{\mathsf{rec}}(t,x^{\mathsf{rec}}_{t})=\dot{\alpha}(t)N(t,M(t,z))+\dot{\beta}(t)X_{t=1}(N(t,M(t,z)))=\dot{\alpha}(t)z+\dot{\beta}(t)X_{t=1}(z)=\dot{x}^{\mathsf{rec}}_{t}

SOURCE PDF p.73 · A2.SS8.p2.2
EN
This shows that ( 5.22 ) is the unique minimizer of ( 5.19 ). Next, use ( 5.23 ) written as Xtrec(x)=M(t,x)X^{\mathsf{rec}}_{t}(x)=M(t,x) in ( 5.22 ) to deduce that
中
这说明式 (5.22) 是式 (5.19) 的唯一极小化解。接着,将式 (5.23) 写成 Xtrec(x)=M(t,x)X^{\mathsf{rec}}_{t}(x)=M(t,x),并在式 (5.22) 中使用它,得到
brec(t,Xtrec(x))=α˙(t)N(t,M(t,x))+β˙(t)Xt=1(N(t,M(t,x)))=α˙(t)x+β˙(t)Xt=1(x)b^{\mathsf{rec}}(t,X^{\mathsf{rec}}_{t}(x))=\dot{\alpha}(t)N(t,M(t,x))+\dot{\beta}(t)X_{t=1}(N(t,M(t,x)))=\dot{\alpha}(t)x+\dot{\beta}(t)X_{t=1}(x)

SOURCE PDF p.73 · A2.SS8.p2.3
EN
This implies that ( 5.23 ) solves ( 5.21 ), and since the solution of this ODE is unique, we are done. ∎
中
这表明式 (5.23) 满足式 (5.21)。由于该常微分方程的解唯一,证明完毕。∎

原始表格数据(按行):

| | ImageNet 32 ×\times 32 | Flowers | Flowers (Mirror) | | Dimension | 32 ×\times 32 | 128 ×\times 128 | 128 ×\times 128 | | # Training point | 1,281,167 | 315,123 | 315,123 | | Batch Size | 512 | 64 | 64 | | Training Steps | 8 ×\times 10 5 | 3.5 ×\times 10 5 | 8 ×\times 10 5 | | Hidden dim | 256 | 128 | 128 | | Attention Resolution | 64 | 64 | 64 | | Learning Rate (LR) | 0.00020.0002 | 0.00020.0002 | 0.00020.0002 | | LR decay (1k epochs) | 0.995 | 0.995 | 0.985 | | U-Net dim mult | [1,2,2,2] | [1,1,2,3,4] | [1,1,2,3,4] | | Learned tt sinusoidal embedding | Yes | Yes | Yes | | t0,tft_{0},t_{f} for t∼Unif[t0,tf]t\sim\text{Unif}[t_{0},t_{f}] , learning η\eta | [0.0, 1.0] | n/a | n/a | | t0,tft_{0},t_{f} for t∼Unif[t0,tf]t\sim\text{Unif}[t_{0},t_{f}] , learning ss | n/a | [.0002, .9998] | [.0002, .9998] | | t0,tft_{0},t_{f} when sampling with ODE | [0.0, 1.0] | [0.0001, 0.9999] | [.0001, .9999] | | t0,tft_{0},t_{f} when sampling with SDE, η\eta | [0.0, 0.97] + denoising | n/a | n/a | | t0,tft_{0},t_{f} when sampling with SDE, ss | n/a | [.0001, .9999] | [.0001, .9999] | | γ(t)\gamma(t) in xtx_{t} | (t(1−t)\sqrt{(t(1-t)} | (t(1−t)\sqrt{(t(1-t)} | (10t(1−t)\sqrt{(10t(1-t)} | | EMA decay rate | 0.9999 | 0.9999 | 0.9999 | | EMA start iteration | 10000 | 10000 | 10000 | | #\# GPUs | 2 | 4 | 2 |

Original caption: Table 3 : Hyperparameters and architecture for image datasets.

中
表 3:图像数据集的超参数与网络架构。

Appendix C Experimental Specifications 附录 C 实验配置

SOURCE PDF p.73 · A3.p1.1
EN
Details for the experiments in Section 7.1 are provided here. Feed forward neural networks of depth 44 and width 512512 are used for each model of the velocities bb , vv , and ss . Training was done for 70007000 iterations on batches comprised of 2525 draws from the base, 400400 draws from the target, and 100100 time slices. At each iteration, we used a variance reduction technique based on antithetic sampling, in which two samples ±z\pm z are used for each evaluation of the loss. The objectives given in ( 2.13 ) and ( 2.16 ) were optimized using the Adam optimizer. The learning rate was set to .002.002 and was dropped by a factor of 22 every 15001500 iterations of training. To integrate the ODE/SDE when drawing samples, we used the Heun-based integrator as suggested in Karras et al. (2022) .
中
这里给出第 7.1 节实验的详细设置。对于 bb、vv 和 ss 的每一个模型,均采用深度为 4、宽度为 512 的前馈神经网络。训练共进行 7000 次迭代;每批包含从基分布抽取的 25 个样本、从目标分布抽取的 400 个样本,以及 100 个时间切片。每次迭代都使用基于对偶采样的方差缩减技术,即每次计算损失时都使用两个样本 ±z\pm z。式 (2.13) 与式 (2.16) 给出的目标泛函使用 Adam 优化器进行优化。学习率设为 0.002,并在训练中每隔 1500 次迭代减半。在生成样本时,为积分常微分方程或随机微分方程,我们使用了 Karras 等人(2022)建议的基于 Heun 方法的积分器。

C.1 Image Experiments C.1 图像实验

Network Architectures. 网络架构

SOURCE PDF p.73 · A3.SS1.SSS0.Px1.p1.1
EN
For all image generation experiments, the U-Net architecture originally proposed in Ho et al. (2020) is used. The specification of architecture hyperparameters as well as training hyperparameters are given in Table 3 . The same architecture is used regardless of whether learning b,v,s,b,v,s, or η\eta .
中
所有图像生成实验都采用 Ho 等人(2020)最初提出的 U-Net 架构。架构超参数与训练超参数的具体设置见表 3。不论学习的是 bb、vv、ss 还是 η\eta,均使用相同架构。

SOURCE PDF p.73 · A3.SS1.SSS0.Px1.p2.1
EN
When using the SDE and learning ηz\eta_{z} , we found that integrating to a time slightly before tf=1.0t_{f}=1.0 and using the denoising formula ( 5.14 ) beyond this point provided the best results, as described in the main text.
中
在使用随机微分方程并学习 ηz\eta_{z} 时,我们发现,先积分到略早于 tf=1.0t_{f}=1.0 的时刻,再在此后使用去噪公式 (5.14),能够获得最佳结果,具体如正文所述。

References 参考文献

  • Albergo and Vanden-Eijnden (2023) Michael S. Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. In International Conference on Learning Representations , 2023.

  • Albergo et al. (2023) Michael S. Albergo, Mark Goldstein, Nicholas M. Boffi, Rajesh Ranganath, and Eric Vanden-Eijnden. Stochastic interpolants with data-dependent couplings. arXiv , October 2023.

  • Anderson (1982) Brian D.O. Anderson. Reverse-time diffusion equation models. Stochastic Processes and their Applications , 12(3):313–326, 1982.

  • Bakry and Émery (1985) Dominique Bakry and Michel Émery. Diffusions hypercontractives. In Jacques Azéma and Marc Yor, editors, Séminaire de Probabilités XIX 1983/84 , pages 177–206, Berlin, Heidelberg, 1985. Springer Berlin Heidelberg. ISBN 978-3-540-39397-9.

  • Ben-Hamu et al. (2022) Heli Ben-Hamu, Samuel Cohen, Joey Bose, Brandon Amos, Maximilian Nickel, Aditya Grover, Ricky T. Q. Chen, and Yaron Lipman. Matching normalizing flows and probability paths on manifolds. In International Conference on Machine Learning, ICML 2022, 17-23 July 2022, Baltimore, Maryland, USA , volume 162 of Proceedings of Machine Learning Research , pages 1749–1763. PMLR, 2022.

  • Benamou and Brenier (2000) Jean-David Benamou and Yann Brenier. A computational fluid mechanics solution to the monge-kantorovich mass transfer problem. Numerische Mathematik , 84(3):375–393,

  • Boffi and Vanden-Eijnden (2023) Nicholas M Boffi and Eric Vanden-Eijnden. Probability flow solution of the fokker–planck equation. Machine Learning: Science and Technology , 4(3):035012, jul 2023.

  • Bortoli et al. (2021) Valentin De Bortoli, James Thornton, Jeremy Heng, and Arnaud Doucet. Diffusion schrödinger bridge with applications to score-based generative modeling. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems , 2021.

  • Brenier (1991) Yann Brenier. Polar factorization and monotone rearrangement of vector-valued functions. Communications on Pure and Applied Mathematics , 44(4):375–417, 1991.

  • Bunne et al. (2022) Charlotte Bunne, Ya-Ping Hsieh, Marco Cuturi, and Andreas Krause. The Schr\”odinger Bridge between Gaussian Measures has a Closed Form. arXiv:2202.05722 , February 2022.

  • Chen et al. (2022a) Hongrui Chen, Holden Lee, and Jianfeng Lu. Improved analysis of score-based generative modeling: User-friendly bounds under minimal smoothness assumptions. ICML , 2022a.

  • Chen et al. (2018) Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems , volume 31. Curran Associates, Inc., 2018.

  • Chen and Gopinath (2000) Scott Chen and Ramesh Gopinath. Gaussianization. In T. Leen, T. Dietterich, and V. Tresp, editors, Advances in Neural Information Processing Systems , volume 13. MIT Press, 2000.

  • Chen et al. (2023) Sitan Chen, Sinho Chewi, Jerry Li, Yuanzhi Li, Adil Salim, and Anru Zhang. Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptions. In The Eleventh International Conference on Learning Representations , 2023.

  • Chen et al. (2022b) Tianrong Chen, Guan-Horng Liu, and Evangelos Theodorou. Likelihood training of schrödinger bridge using forward-backward SDEs theory. In International Conference on Learning Representations , 2022b.

  • Chen et al. (2021) Yongxin Chen, Tryphon T. Georgiou, and Michele Pavon. Stochastic control liaisons: Richard sinkhorn meets gaspard monge on a schrödinger bridge. SIAM Review , 63(2):249–313, 2021.

  • Dinh et al. (2017) Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real NVP. In International Conference on Learning Representations , 2017.

  • Dockhorn et al. (2022) Tim Dockhorn, Arash Vahdat, and Karsten Kreis. Score-based generative modeling with critically-damped langevin diffusion. In International Conference on Learning Representations (ICLR) , 2022.

  • Doob (1984) Joseph L. Doob. Classical potential theory and its probabilistic counterpart , volume 262 of Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences] . Springer-Verlag, New York, 1984. ISBN 0-387-90881-1.

  • Durkan et al. (2019) Conor Durkan, Artur Bekasov, Iain Murray, and George Papamakarios. Neural spline flows. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems , volume 32. Curran Associates, Inc., 2019.

  • El Alaoui and Montanari (2022) Ahmed El Alaoui and Andrea Montanari. An information-theoretic view of stochastic localization. IEEE Trans. Inf. Theory , 68(11):7423–7426, 2022.

  • Eldan (2013) Ronen Eldan. Thin shell implies spectral gap up to polylog via a stochastic localization scheme. Geometric and Functional Analysis , 23(2):532–569, 2013.

  • Finlay et al. (2020) Chris Finlay, Joern-Henrik Jacobsen, Levon Nurbekyan, and Adam Oberman. How to train your neural ODE: the world of Jacobian and kinetic regularization. In Hal Daumé III and Aarti Singh, editors, Proceedings of the 37th International Conference on Machine Learning , volume 119 of Proceedings of Machine Learning Research , pages 3154–3164. PMLR, 13–18 Jul 2020.

  • Friedman (1987) Jerome H. Friedman. Exploratory projection pursuit. Journal of the American Statistical Association , 82(397):249–266, 1987.

  • Grathwohl et al. (2019) Will Grathwohl, Ricky T. Q. Chen, Jesse Bettencourt, and David Duvenaud. Scalable reversible generative models with free-form continuous dynamics. In International Conference on Learning Representations , 2019.

  • Ho et al. (2020) Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems , volume 33, pages 6840–6851. Curran Associates, Inc., 2020.

  • Hoogeboom et al. (2023) Emiel Hoogeboom, Jonathan Heek, and Tim Salimans. simple diffusion: End-to-end diffusion for high resolution images. In International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA , 2023.

  • Huang et al. (2018) Chin-Wei Huang, David Krueger, Alexandre Lacoste, and Aaron Courville. Neural autoregressive flows. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learning , volume 80 of Proceedings of Machine Learning Research , pages 2078–2087. PMLR, 10–15 Jul 2018.

  • Huang et al. (2021) Chin-Wei Huang, Ricky T. Q. Chen, Christos Tsirigotis, and Aaron Courville. Convex potential flows: Universal probability distributions with optimal transport and convex optimization. In International Conference on Learning Representations , 2021.

  • Hyvärinen (2005) Aapo Hyvärinen. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research , 6(24):695–709, 2005.

  • Hyvärinen (1999) Aapo Hyvärinen. Sparse code shrinkage: Denoising of nongaussian data by maximum likelihood estimation. Neural Computation , 11(7):1739–1768,

  • Kadkhodaie and Simoncelli (2021) Zahra Kadkhodaie and Eero P. Simoncelli. Solving linear inverse problems using the prior implicit in a denoiser. arXiv:2007.13640 , 2021.

  • Karras et al. (2022) Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. In Proc. NeurIPS , 2022.

  • Kim and Milman (2010) Young-Heon Kim and Emanuel Milman. A generalization of caffarelli’s contraction theorem via (reverse) heat flow. Mathematische Annalen , 354:827–862, 2010.

  • Kingma et al. (2021) Diederik P Kingma, Tim Salimans, Ben Poole, and Jonathan Ho. On density estimation with diffusion models. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems , 2021.

  • LeCun et al. (2007) Yann LeCun, Sumit Chopra, and Raia Hadsell. A tutorial on energy-based learning. In Gökhan BakIr, Thomas Hofmann, Alexander J Smola, Bernhard Schölkopf, and Ben Taskar, editors, Predicting structured data , chapter 10. MIT press, 2007.

  • Lee et al. (2022) Holden Lee, Jianfeng Lu, and Yixin Tan. Convergence for score-based generative modeling with polynomial complexity. arXiv:2206.06227 , 2022.

  • Lee et al. (2023) Holden Lee, Jianfeng Lu, and Yixin Tan. Convergence of score-based generative modeling for general data distributions. In Shipra Agrawal and Francesco Orabona, editors, Proceedings of The 34th International Conference on Algorithmic Learning Theory , volume 201 of Proceedings of Machine Learning Research , pages 946–985, 2023.

  • Léonard (2014) Christian Léonard. A survey of the schrödinger problem and some of its connections with optimal transport. Discrete and Continuous Dynamical Systems , 34(4):1533–1574, 2014.

  • Lipman et al. (2023) Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations , 2023.

  • Liu et al. (2023a) Guan-Horng Liu, Arash Vahdat, De-An Huang, Evangelos A Theodorou, Weili Nie, and Anima Anandkumar. I 2 sb: Image-to-image schrödinger bridge. arXiv preprint arXiv:2302.05872 , 2023a.

  • Liu (2022) Qiang Liu. Rectified flow: A marginal preserving approach to optimal transport. arXiv:2209.14577 , 2022.

  • Liu et al. (2022) Xingchao Liu, Lemeng Wu, Mao Ye, and Qiang Liu. Let us build bridges: Understanding and extending diffusion generative models. arXiv:2208.14699 , 2022.

  • Liu et al. (2023b) Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In The Eleventh International Conference on Learning Representations , 2023b.

  • Lu et al. (2022) Cheng Lu, Kaiwen Zheng, Fan Bao, Jianfei Chen, Chongxuan Li, and Jun Zhu. Maximum likelihood training for score-based diffusion ODEs by high order denoising score matching. In Proceedings of the 39th International Conference on Machine Learning , 2022.

  • Maoutsa et al. (2020) Dimitra Maoutsa, Sebastian Reich, and Manfred Opper. Interacting particle solutions of fokker–planck equations through gradient–log–density estimation. Entropy , 22(8), 2020.

  • Montanari (2023) Andrea Montanari. Sampling, diffusions, and stochastic localization. arXiv:2305.10690 , 2023.

  • Nair and Hinton (2010) Vinod Nair and Geoffrey E. Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th International Conference on International Conference on Machine Learning , ICML’10, page 807–814, Madison, WI, USA, 2010. Omnipress. ISBN 9781605589077.

  • Nilsback and Zisserman (2006) Maria-Elena Nilsback and Andrew Zisserman. A visual vocabulary for flower classification. In IEEE Conference on Computer Vision and Pattern Recognition , volume 2, pages 1447–1454, 2006.

  • Onken et al. (2021) Derek Onken, Samy Wu Fung, Xingjian Li, and Lars Ruthotto. Ot-flow: Fast and accurate continuous normalizing flows via optimal transport. Proceedings of the AAAI Conference on Artificial Intelligence , 35(10):9223–9232, May 2021.

  • Otto (2000) Felix Otto. Generalization of an inequality by talagrand and links with the logarithmic sobolev inequality. Journal of Functional Analysis , 173(2):361–400, 2000.

  • Papamakarios et al. (2017) George Papamakarios, Theo Pavlakou, and Iain Murray. Masked autoregressive flow for density estimation. In Proceedings of the 31st International Conference on Neural Information Processing Systems , NIPS’17, page 2335–2344, Red Hook, NY, USA, 2017. Curran Associates Inc. ISBN 9781510860964.

  • Peluchetti (2022) Stefano Peluchetti. Non-denoising forward-time diffusions. https://openreview.net/forum?id=oVfIKuhqfC , 2022.

  • Rezende and Mohamed (2015) Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning , volume 37 of Proceedings of Machine Learning Research , pages 1530–1538, Lille, France, 07–09 Jul 2015. PMLR.

  • Simoncelli and Adelson (1996) Eero P. Simoncelli and Edward H. Adelson. Noise removal via bayesian wavelet coring. In Proceedings of 3rd IEEE International Conference on Image Processing , volume 1, pages 379–382 vol.1, 1996.

  • Sohl-Dickstein et al. (2015) Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning , volume 37 of Proceedings of Machine Learning Research , pages 2256–2265, Lille, France, 07–09 Jul 2015. PMLR.

  • Somnath et al. (2023) Vignesh Ram Somnath, Matteo Pariset, Ya-Ping Hsieh, Maria Rodriguez Martinez, Andreas Krause, and Charlotte Bunne. Aligned diffusion schrödinger bridges. In The 39th Conference on Uncertainty in Artificial Intelligence , 2023.

  • Song and Ermon (2019) Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems , volume 32. Curran Associates, Inc., 2019.

  • Song and Kingma (2021) Yang Song and Diederik P. Kingma. How to train your energy-based models. arXiv:2101.03288 , 2021.

  • Song et al. (2021a) Yang Song, Conor Durkan, Iain Murray, and Stefano Ermon. Maximum likelihood training of score-based diffusion models. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems , volume 34, pages 1415–1428. Curran Associates, Inc., 2021a.

  • Song et al. (2021b) Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations , 2021b.

  • Song et al. (2023) Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency Models. ICML , 2023.

  • Stein (1981) Charles M. Stein. Estimation of the Mean of a Multivariate Normal Distribution. The Annals of Statistics , 9(6):1135 – 1151, 1981.

  • Su et al. (2023) Xuan Su, Jiaming Song, Chenlin Meng, and Stefano Ermon. Dual diffusion implicit bridges for image-to-image translation. In The Eleventh International Conference on Learning Representations , 2023.

  • Tabak and Turner (2013) Esteban G. Tabak and Cristina V. Turner. A family of nonparametric density estimation algorithms. Communications on Pure and Applied Mathematics , 66(2):145–164, 2013.

  • Tabak and Vanden-Eijnden (2010) Esteban G. Tabak and Eric Vanden-Eijnden. Density estimation by dual ascent of the log-likelihood. Communications in Mathematical Sciences , 8(1):217 – 233, 2010.

  • Tong et al. (2020) Alexander Tong, Jessie Huang, Guy Wolf, David Van Dijk, and Smita Krishnaswamy. TrajectoryNet: A dynamic optimal transport network for modeling cellular dynamics. In Hal Daumé III and Aarti Singh, editors, Proceedings of the 37th International Conference on Machine Learning , volume 119 of Proceedings of Machine Learning Research , pages 9526–9536. PMLR, 13–18 Jul 2020.

  • Tong et al. (2023) Alexander Tong, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Kilian Fatras, Guy Wolf, and Yoshua Bengio. Conditional flow matching: Simulation-free dynamic optimal transport. arXiv:2302.00482 , 2023.

  • Vempala and Wibisono (2019) Santosh S. Vempala and Andre Wibisono. Rapid convergence of the unadjusted langevin algorithm: Log-sobolev suffices. arXiv:1903.08568 , 2019.

  • Villani (2009) Cédric Villani. Optimal transport: old and new , volume 338. Springer, 2009.

  • Vincent (2011) Pascal Vincent. A Connection Between Score Matching and Denoising Autoencoders. Neural Computation , 23(7):1661–1674,

  • Xiao et al. (2022) Zhisheng Xiao, Karsten Kreis, and Arash Vahdat. Tackling the generative learning trilemma with denoising diffusion GANs. In International Conference on Learning Representations , 2022.

  • Yang and Karniadakis (2022) Liu Yang and George Em Karniadakis. Potential flow generator with l2 optimal transport regularity for generative models. IEEE Transactions on Neural Networks and Learning Systems , 33(2):528–538, 2022.

  • Zhang et al. (2018) Linfeng Zhang, Weinan E, and Lei Wang. Monge-Ampère flow for generative modeling. arXiv.org:1809.10188 , 2018.

术语表

English 中文
stochastic interpolant 随机插值
probability flow 概率流
score 密度对数梯度/得分
denoiser 去噪器
coupling 耦合
transport equation 输运方程
Schrödinger bridge Schrödinger 桥
mirror interpolant 镜像插值
Fisher divergence Fisher 散度
展开术语校勘与原文笔误记录 (Translation & Notation Notes)

固定版本与许可

2026-11-25 核对 arXiv 摘要页:2303.08797v4,提交修订时间2025-10-09;作者三人和标题均与PDF一致。英文原版80页,为JMLR 26(209):1–80(2025)。摘要页的 view license 链接为 arXiv 非独占分发许可,但实际PDF首页明示 CC-BY 4.0并指向JMLR署名要求,因此本次采用完整逐段精译,而非深读手册。没有用旧版替换当前版。

原文权利人:Michael S. Albergo、Nicholas M. Boffi、Eric Vanden-Eijnden。原文出处:https://arxiv.org/abs/2303.08797v4 ;正式条目:https://jmlr.org/papers/v26/23-1605.html 。许可:https://creativecommons.org/licenses/by/4.0/ 。改编包括中文翻译、双语排版、显式译注,以及5个原SVG图的栅格化;不表示作者认可译注。

结构与完整性

495个源段均保留原文和中文,含正文、致谢、附录A–C;15图、3表、5算法保留于相关位置,图注和算法输入、循环、返回说明均中文化。140个标题保留英文并补中文。参考文献保持规范英文书目信息,以保证可检索性。公式与编号沿用当前版本,行内公式和独立公式均本地展开后印刷。

source_map.json 的官方HTML锚点精确对应源块。PDF页号以规范化英文前缀匹配;缺少足够英文的短段依相邻段定位,confidence中区分这两种情况。页号不是OCR推测,精确原句可始终通过版本化HTML锚点回查。

需要注意的原文疑点

  • S016:概述段关于随机桥一般等价性先引用3.4,相关展开亦见3.1;保留原交叉引用并加说明。
  • S112 / 第2.4节:原句写 ηz=−s/γ,与式(2.18) s=−ηz/γ 不符。译文明示按(2.18)应为 ηz=−γs,没有更改英文原句。
  • S158:交叉熵段的条件期望下标与所条件化的路径名称有冲突,译文标记原文并明确对应条件事件。
  • S182:式(3.7)之后写 u−s=b;一般扩散系数 a 时应结合方程理解为 u−a s=b。译文保留原式并指出系数条件。
  • S209:镜像插值的端点条件与显示构造存在矛盾,按译段明示原句,避免静默选择一套条件。
  • S254:高斯标准化条件依赖系数平方和,阅读时连同表1及相应单侧/双侧设置,不把不同插值的条件混用。
  • S290:原文对条件均值估计使用 SURE 名称;这里保留其称谓,数学上的条件均值最优性与通常的Stein无偏风险估计量应分辨。
  • S301 / S304 / S355:分别保留原抽取中的 beta(0)w=0 多出的 w、N(t,·,) 的多逗号、x₀,∼ 的多逗号;不静默补猜变量。
  • S305:原文把全局可逆与 Jacobian 处处非零称为等价;一般而言后者只保证局部可逆,不单独推出全局可逆。
  • S340 / S346:原文称 dopri5 为四阶,译文按其陈述保留;不据此改变积分器名称。
  • S348:ηz(t) 省略了空间自变量 x,按上下文理解。
  • S424:源文 R_d 的下标记号照录;常见定义中的环境空间为 R^d。

这些译注不替代论文的原假设。尤其应区分生成时间与物理时间、概率状态空间散度与真实流场的空间散度;“相同边缘密度”也不等于“相同粒子轨迹”。

另:官方HTML把式(2.2)的某个分段数学节点截在布局空格命令的单独反斜杠处(共3次出现);仅删除该无内容的末尾反斜杠,以让排版器严格解析,原始抽取仍可在源HTML核对。

印刷与质检

渲染器:本机Edge无头、--disable-gpu,所有数学预先KaTeX严格展开并内嵌字体;原SVG图经PyMuPDF栅格化,最终assets均为PNG。PyMuPDF逐页核验文本、页数、替换字符、残留LaTeX/BibTeX宏,并渲染代表性页面检查。具体结果与抽帧路径记录在 verification.json。原论文的数值为作者报告,本次未重新训练网络。