High-accuracy sampling for diffusion models and log-concave distributions
High-accuracy sampling for diffusion models and log-concave distributions
面向扩散模型与对数凹分布的高精度采样
Fan Chen Affiliation: MIT Email: fanchen@mit.edu Sinho Chewi Affiliation: Yale University Email: sinho.chewi@yale.edu Constantinos Daskalakis Affiliation: MIT Email: costis@csail.mit.edu Alexander Rakhlin Affiliation: MIT Email: rakhlin@mit.edu
Abstract
摘要
We present algorithms for diffusion model sampling which obtain -error in steps, given access to -accurate score estimates in . This is an exponential improvement over all previous results. Specifically, under minimal data assumptions, the complexity is where is the dimension of the data; under a non-uniform -Lipschitz condition, the complexity is ; and if the data distribution has intrinsic dimension , then the complexity reduces to . Our approach also yields the first complexity sampler for general log-concave distributions using only gradient evaluations.
我们给出扩散模型采样算法:在仅能访问 意义下 精度的 score 估计时,可在 步内达到 误差。这相对此前所有结果是指数级改进。具体而言,在对数据几乎不做假设时,复杂度为 ( 为数据维数);在非一致 -Lipschitz 条件下为 ;若数据分布本征维为 ,则可降到 。同一思路还给出首个仅用梯度求值、对一般对数凹分布达到 复杂度的采样器。
1 Introduction
1 引言
What is the complexity of sampling from a continuous probability distribution, given access to evaluations of the gradient of the log-density? In particular, can one design algorithms whose iteration complexity scales as , where is the target accuracy, or must they necessarily take steps?
给定对数密度的梯度求值,从连续概率分布中采样的复杂度是什么?特别是,能否设计迭代复杂度随 缩放的算法( 为目标精度),还是必须走 步?
Complexity bounds which scale as , indicating that algorithms converge exponentially fast, are known as “high-accuracy” guarantees, as they ensure that one can draw an extremely accurate sample without too many iterations. When access to the log-density of the target distribution is available, and not just its gradient, then high-accuracy samplers abound, based on accept-reject mechanisms such as rejection sampling or the Metropolis–Hastings filter.
复杂度按 缩放、意味着算法指数收敛的界,通常称为「高精度」保证:它们确保不必过多迭代就能抽出极高精度的样本。当目标分布的对数密度本身可求值(而不只是梯度)时,基于拒绝采样或 Metropolis–Hastings 滤波等接受–拒绝机制的高精度采样器已经很多。
Without density evaluations, the answer is less clear. In this setting, existing sampling methods are typically based on discretizations of stochastic differential equations, and the need to control the discretization error precludes high-accuracy guarantees. (Note that this is unlike the setting of optimization, in which gradient descent enjoys a high-accuracy guarantee under strong convexity—there, discretization does not bias the algorithm.) A notable exception is discretization of piecewise deterministic Markov processes (PDMPs), for which 38 show that evaluations of the gradient suffice from a warm-start.
若不能求密度,情况就不那么清楚。此时现有采样方法多基于随机微分方程的离散化,而控制离散化误差会妨碍高精度保证。(这与优化不同:在强凸设定下梯度下降本身就有高精度保证——那里离散化不会给算法带来偏置。)一个显著例外是分段确定性 Markov 过程(PDMP)的离散化:38 证明,从 warm-start 出发, 次梯度求值就够。
This question has become particularly interesting in light of recent developments on diffusion-based generative modeling. Such models are based on implementing a certain reverse Markov process, in which each iteration requires evaluation of a score function—the gradient of the log-density along a diffusion process. Since these models only learn the score function and not the density function itself (unlike earlier approaches such as energy-based models), it is natural to ask what the best achievable complexity is using score evaluations alone.
随着基于扩散的生成建模兴起,这一问题变得尤为有趣。这类模型实现某种反向 Markov 过程,每一步都需要求 score 函数——即沿扩散过程对数密度的梯度。由于它们只学习 score、不学习密度本身(不同于更早的能量模型等),自然要问:仅用 score 求值,能达到的最好复杂度是什么。
More precisely, we are interested in bounding the number of steps (and queries to the score function) required to sample from a distribution such that
更精确地说,我们关心从分布 采样所需的步数(以及对 score 的查询次数),使得
where is a measure of discrepancy, is the target accuracy, measures the error in the score function estimates, and is a target approximation factor.
其中 是某种差异度量, 是目标精度, 度量 score 估计误差, 是目标近似因子。
The initial work of 7; 27 showed that with -accurate score estimates, Denoising Diffusion Probabilistic Models (DDPMs) achieve a query complexity of in total variation distance for sampling from an early stopped distribution, provided that has bounded support, and with an overhead that is polynomial in the dimension and radius and with . By a standard argument, this can be converted to guarantees for sampling from itself in a weaker metric. Importantly, these results impose almost no assumptions on the data distribution, providing strong theoretical justification for diffusion models.
早期工作 7;27 表明:在 精确的 score 估计下,若 有界支撑,则去噪扩散概率模型(DDPM)对早停分布可在总变差距离下达到 的查询复杂度,开销对维数与半径多项式,且 。用标准论证可换成在更弱度量下对 本身的保证。重要的是,这些结果几乎不对数据分布做假设,为扩散模型提供了有力的理论背书。
Since then, there has been an explosion of works aimed at extending and refining these guarantees (5; 32; 4; 15; 11; 22; 35; 6; 33; 16; 18, e.g.,), which we cannot fully survey here. However, it is known that the complexity of is unimprovable for DDPM (25), which motivates changing the algorithm. Under minimal assumptions, the algorithm of 30 achieves a query complexity of . Other works achieved similar speed-ups assuming that the Jacobian of the score error is bounded (31; 36).
此后涌现大量扩展与精炼这些保证的工作(如 5;32;4;15;11;22;35;6;33;16;18),此处无法尽述。但已知对 DDPM, 的复杂度不可改进(25),这促使换算法。在最小假设下,30 的算法达到 查询复杂度。另一些工作在 score 误差的 Jacobian 有界时得到类似加速(31;36)。
A recent line of works (18; 19; 36, e.g.,) studied higher-order discretization methods, with the resulting query complexity scaling roughly as , where is the chosen acceleration order, and hides dependence on other problem parameters[^1] along with an implicit (often exponential) dependence on . These results show that diffusion sampling can be performed with sub-polynomial dependence on ,[^2] but they still fall well short of the desired poly-logarithmic complexity.[^3]
近期一系工作(如 18;19;36)研究高阶离散化,查询复杂度大致按 缩放,其中 为所选加速阶, 掩盖其他问题参数[^1],并对 常有隐含(往往指数)依赖。这些结果表明扩散采样可以对 达到亚多项式依赖[^2],但仍远未达到所期望的多对数复杂度。[^3]
Meanwhile, the works 20; 42 propose to use density evaluations to achieve high-accuracy samplers. As discussed above, this is not compatible with the current practice of diffusion sampling, which only learns score estimates.
与此同时,20;42 提出用密度求值实现高精度采样器。如前所述,这与当前只学 score 估计的扩散采样实践并不兼容。
Therefore, we state our main question of interest:
因此,我们陈述关心的核心问题:
Is there a diffusion model sampler which achieves a high-accuracy guarantee using only score evaluations, under minimal assumptions on both the data distribution and the score error?
是否存在仅用 score 求值、在对数据分布与 score 误差几乎不做假设时,仍能给出高精度保证的扩散模型采样器?
1.1 Our contribution
1.1 我们的贡献
We answer this question affirmatively via a new meta-algorithm, which we call first-order rejection sampling (FORS); see Algorithm 1. This algorithm aims at simulating rejection sampling using only first-order (gradient) queries. We give consequences of our method for diffusion sampling and for log-concave sampling.
我们给出肯定答复:提出称为一阶拒绝采样(first-order rejection sampling,FORS)的元算法,见算法 1。该算法旨在仅用一阶(梯度)查询模拟拒绝采样。我们给出其对扩散采样与对数凹采样的推论。
Diffusion sampling
We show the following results, where the error is measured in the bounded Lipschitz metric and denotes the -error of the score estimates (Definition 2.1).
扩散采样
我们证明如下结果:误差以有界 Lipschitz 度量衡量, 表示 score 估计的 误差(定义 2.1)。
- • Under minimal data assumptions—namely, has a finite second moment —we obtain error in queries with , where .
- • 在最小数据假设下——即 有有限二阶矩 ——我们以 次查询达到 误差,且 ,其中 。
This result strictly improves upon all prior results in the literature in this setting.
该结果严格改进了该设定下文献中此前所有结果。
Beyond this setting, many works in the literature aim to sample with a number of steps which is sublinear in the dimension (6; 24; 25; 43). In an orthogonal direction, other works aim to show that the number of steps depend on the intrinsic dimension of the data (2; 21; 34; 40; 29; 37; 41). We also incorporate these advances into our framework.
除此设定外,许多工作追求步数对维数亚线性(6;24;25;43)。另一正交方向则希望步数依赖数据的本征维(2;21;34;40;29;37;41)。我们也把这些进展纳入框架。
- • Assuming Lipschitz score functions—where we use the significantly weaker notion of a “non-uniform” Lipschitz constant (4.3)—we obtain error in steps, where is the Lipschitz constant, and with .
- • 假定Lipschitz score 函数——我们使用弱得多的「非一致」Lipschitz 常数 (4.3)——则以 步达到 误差,其中 为 Lipschitz 常数,且 。
- • For low-dimensional data distributions, we obtain error in steps, where is the intrinsic dimension (Definition 4.5), and with under a slightly stronger notion of error in the score estimates.
- • 对低维数据分布,以 步达到 误差,其中 为本征维(定义 4.5);在略强的 score 误差概念下,。
Log-concave sampling
For sampling from log-concave (and isoperimetric) densities with gradient evaluations of the log-density, we recover state-of-the-art results from 13, except that we do not require density evaluations; see Section 5.
对数凹采样
对带对数密度梯度求值的对数凹(及等周)密度采样,我们恢复了 13 中的当前最优结果,但不需要密度求值;见第 5 节。
1.2 Related work
1.2 相关工作
As we do not have space to survey the vast literature on diffusion model guarantees, we focus on the ones most relevant to our work.
扩散模型保证的文献浩繁,篇幅所限,我们只聚焦与本文最相关者。
High-accuracy diffusion sampling
Prior to this work, 20; 42 studied diffusion sampling with additional zeroth-order queries. Specifically, given access to estimates of the log-densities with bounded error, query complexity bounds of (20) and (42) under additional Lipschitz conditions on the score functions. Both works resort to standard high-accuracy sampling methods (e.g., Metropolis-adjusted Langevin). However, estimating the densities can be extremely challenging in practice.
高精度扩散采样
在本文之前,20;42 研究了带额外零阶查询的扩散采样。具体地,给定有界误差的对数密度估计,在 score 另有 Lipschitz 条件下,查询复杂度界分别为 (20)与 (42)。两文都诉诸标准高精度采样方法(例如 Metropolis 调整 Langevin)。但在实践中估计密度可能极为困难。
Concurrent work
In concurrent work, 17 also obtains a high-accuracy guarantee for diffusion sampling. Assuming that is a Gaussian convolution, i.e., where is supported on a ball of radius , and that the score errors are bounded in the sub-exponential norm, they obtain a query complexity of . While their assumptions are stronger than ours, the final complexity bounds are incomparable. We defer a lengthier comparison to Section A.1.
同期工作
同期工作 17 也为扩散采样给出了高精度保证。假定 是高斯卷积,即 ,其中 支撑在半径 的球上,且 score 误差在次指数范数下有界,他们得到查询复杂度 。其假设强于我们,最终复杂度界则不可直接比较。更长的对照见附录 A.1。
Log-concave sampling
Our application to log-concave sampling is based on the proximal sampler (28; 8), and our results can be compared to 1; 13. See the book draft 10 for an overview of the subject.
对数凹采样
我们对对数凹采样的应用基于近端采样器(28;8),结果可与 1;13 比较。该主题概述见书稿 10。
1.3 Notation
1.3 记号
We make use of the following divergences between probability distributions: the total variation (TV) distance ; the Hellinger distance ; the KL divergence ; the chi-squared divergence ; and the Wasserstein distance . In addition, we consider the bounded Lipschitz metric which metrizes weak convergence:
我们使用下列概率分布之间的散度:总变差(TV)距离 ;Hellinger 距离 ;KL 散度 ;卡方散度 ;以及 Wasserstein 距离 。此外,我们考虑度量弱收敛的有界 Lipschitz 度量:
We define
我们定义
We use and to hide absolute constant, i.e., (and ) if there is an absolute constant such that . The notation hides logarithmic factors.
我们用 与 隐藏绝对常数,即若存在绝对常数使 ,则 (以及 )。记号 隐藏对数因子。
2 Background on diffusion models
2 扩散模型背景
Recall that Denoising Diffusion Probabilistic Models (DDPMs) are based on the following forward process that transforms a sample to noise:
回顾去噪扩散概率模型(DDPM)基于如下前向过程,把样本 变成噪声:
Note that this is a Markov chain, and it is easy to see that , where
这是一条 Markov 链,易见 ,其中
Conversely, given the parameter sequence , the corresponding is given by
反之,给定参数序列 ,对应的 由下式给出
We say that the DDPM is variance-preserving if , and hence , .
若 ,则称该 DDPM 为方差保持的,从而 ,。
We let be the probability density function of , and let be the probability density function of the backward transition kernel . Then, by Bayes rule, it holds that
令 为 的概率密度,令 为反向转移核 的概率密度。则由 Bayes 法则有
In this work, we focus on the task of sampling from with extremely small values of and . This corresponds to early stopping; see Section 4.1 for further discussion.
本文聚焦在 与 极小的情形下从 采样。这对应于早停;进一步讨论见第 4.1 节。
Score function and estimates
As above, we assume that we have access to approximate score functions such that with controlled mean-squared error. Recall that by Tweedie’s identity,
Score 函数与估计
如上,我们假定可访问近似 score 函数 ,使得 ,且均方误差受控。回顾由 Tweedie 恒等式,
where the conditional expectation is taken over , .
其中条件期望对 、 取。
Definition 2.1(Score estimation error).
Given the score estimates , we define
定义 2.1(Score 估计误差)。
给定 score 估计 ,我们定义
Roadmap
To approximately generate a sample from , we learn approximate score functions . DDPM uses the approximation , yielding
路线图
为近似生成 的样本,我们学习近似 score 函数 。DDPM 使用近似 ,从而得到
In our work, we develop algorithms for sampling from (2) directly. In Section 3, we motivate our approach by assuming that is exact, which has implications for log-concave sampling described in Section 5. In Section 4, we instantiate our methods on diffusion sampling and show that the convergence guarantees are robust with respect to the error in the score function estimates.
本文中,我们直接为从 (2) 采样设计算法。第 3 节先假定 精确,以引出方法,其对对数凹采样的含义见第 5 节。第 4 节把方法实例化到扩散采样,并证明收敛保证对 score 函数估计误差是稳健的。
3 Key subroutine: Gaussian tilts
3 关键子程序:高斯倾斜
In this section, we focus on the problem of sampling from a Gaussian tilt of the form
本节聚焦从如下形式的高斯倾斜中采样
where we assume access to first-order queries for . For our eventual application to diffusion models, we will choose in view of Eq. 2 and approximate .
其中假定可对 做一阶查询。最终用于扩散模型时,将取 (见式 2),并用 近似。
3.1 First-order rejection sampling (FORS)
3.1 一阶拒绝采样(FORS)
We motivate our approach by considering the simple problem of sampling from a density , where , , and . Our goal is to develop a high-accuracy sampler—a sampler whose sampled distribution has error in total variation distance to —in steps, using only queries to .
我们用一个简单问题引出方法:从密度 采样,其中 ,,且 。目标是仅用对 的查询,在 步内得到高精度采样器——其采样分布相对 的总变差误差为 。
Consider performing rejection sampling with the base measure . To do so, we must generate randomness for any given . However, we only have access to . The identity , written as
考虑以基测度 做拒绝采样。为此,对任意给定 ,需生成随机性 。但我们只有 。恒等式 可写成
suggests an unbiased estimate of . Is it possible to sample from if we have access to an unbiased estimate of ? A general version of this question is known as the “Bernoulli factory” problem (26; 39). For our purposes, this can be stated as the following abstract task:
这提示了 的无偏估计。若有 的无偏估计,能否从 采样?该问题的一般形式即「Bernoulli 工厂」问题(26;39)。对我们而言,可陈述为如下抽象任务:
Task: Given i.i.d. random variables in , generate a sample .
任务: 给定取值于 的 i.i.d. 随机变量 ,生成样本 。
To solve this, we write the Taylor series as
为此,把 Taylor 级数写成
Suppose that is independent of the i.i.d. sequence . Then we notice that
设 独立于 i.i.d. 序列 。则注意到
and simply set . Indeed, .
并直接取 。的确,。
In summary, we can generate a sample without having to compute or accurately approximate (this requires the integration step and can be expensive). Instead, it is sufficient to have access to (a random number of) unbiased estimates of . The latter can be achieved with derivative information, in view of (6).
总之,我们可以生成样本 ,不必计算或高精度近似 (那需要积分步 ,可能很昂贵)。只需(随机次数的) 无偏估计即可;由 (6),这可用导数信息做到。
We now generalize this setup via the following meta-algorithm, called first-order rejection sampling (FORS). Given a proposal distribution and a tilt function , the goal of Algorithm 1 is to produce a sample from without having access to the value . Instead, for each , we can generate i.i.d. samples such that . Let denote the conditional distribution of given .
我们把上述设定推广为如下元算法,称为一阶拒绝采样(FORS)。给定提议分布 与倾斜函数 ,算法 1 的目标是在无法访问数值 的情况下,从 产生样本。取而代之,对每个 ,我们可生成 i.i.d. 样本 ,满足 。记 为给定 时 的条件分布。
Input: Parameter , proposal distribution over , estimator distributions supported on
for do
Sample .
Sample .
Sample i.i.d. .
Output with probability .
end for
Algorithm 1 First-order rejection sampling (FORS)
输入: 参数 ,提议分布 (定义在 上),估计量分布 (支撑在 )
for do
从 采样 。
采样 。
独立同分布采样 。
以概率 输出 。
end for
算法 1 一阶拒绝采样(FORS)
Theorem 3.1(FORS guarantee).
Algorithm 1**outputs a random point with density . The number of sampled ’s is bounded, with probability at least , by .
定理 3.1(FORS 保证)。
算法 1**输出的随机点密度为 。以至少 的概率,所采样的 个数至多为 。
Moreover, if Algorithm 1 is called times, then with probability at least , the total number of sampled ’s is .
此外,若算法 1 被调用 次,则以至少 的概率,采样的 总数为 。
3.2 Sampling from Gaussian tilts with an exact oracle
3.2 用精确 oracle 从高斯倾斜采样
To perform rejection sampling, we have to appropriately choose the proposal distribution . By Taylor’s expansion, for a fixed , we have
要做拒绝采样,需恰当选择提议分布 。由 Taylor 展开,对固定的 ,有
and hence it is natural to choose so that
因此自然取 ,从而
Then, we can express
于是可写
In particular, we can set
特别地,可取
so that
从而
where the expectation is taken over .
其中期望 对 取。
Further, assuming that is -Lipschitz, we can bound . Therefore, as long as and , we can guarantee that with high probability over . This implies the following distribution is a good approximation of :
进一步,若 是 -Lipschitz,则可界住 。因此,只要 且 ,就能保证对 以高概率有 。这意味着下列分布是 的良好近似:
where and is a tuneable parameter.
其中 , 为可调参数。
General path integral
We can generalize the above pipeline with any path integral and demonstrate (a) that in the gradient Lipschitz case, we in fact only need to ensure , and (b) the Lipschitz continuity of can be weakened to Hölder continuity for any exponent .
一般路径积分
可用任意路径积分推广上述流程,并证明:(a) 在梯度 Lipschitz 情形,实际上只需保证 ;(b) 的 Lipschitz 连续性可弱化为任意指数 的 Hölder 连续性。
Fix a distribution (to be determined later) over and a path function such that and is independent of . Then we can express any smooth function as
固定分布 (稍后确定)以及路径函数 ,满足 且 与 无关。则任意光滑函数 可写成
$$\displaystyle\begin{aligned} h(x)-\En_{z\sim P}[h(\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}(z))]=&\int_{0}^{1}\En_{z\sim P}\langle\dot{\gamma}{z,r}(x),\nabla h(\gamma{z,r}(x))\rangle,dr\\En_{z\sim P,,r\sim\mathsf{Unif}([0,1])}\langle\dot{\gamma}{z,r}(x),\nabla h(\gamma{z,r}(x))\rangle,,\end{aligned} \tag{7}$$
=&
where is the path derivative with respect to . This inspires us to consider
其中 为相对 的路径导数。这启发我们考虑
so that
从而
where the expectation is taken over and . Again, we will truncate to ensure that the estimator lies in .
其中期望 对 与 取。同样,我们将截断 ,以保证估计量落在 。
For better dimension dependence, we consider the following path function ():
为获得更好的维数依赖,我们考虑如下路径函数():
$$\displaystyle\begin{aligned} &~\gamma_{z,r}(x)=a_{r}x+(1-a_{r})\widehat{x}+b_{r}z,,\
&~a_{r}=\sin(\pi r/2),,~~b_{r}=\cos(\pi r/2),,\end{aligned} \tag{9}$$
so that .
从而 。
Assumption 3.2.
There exists and such that for all .
假设 3.2。
存在 与 ,使得对所有 有 。
Theorem 3.3.
Suppose that 3.2 holds, , and .
定理 3.3。
设 3.2 成立,,且 。
Consider instantiating Algorithm 1 with the choices , and the law of , where is defined in (8)-(9) and , . Then, the law of Algorithm 1 satisfies , provided that
考虑用如下选择实例化算法 1:, 为 的定律,其中 由 (8)–(9) 定义,且 ,。则算法 1 的定律 满足 ,只要
Note that when , that is, the requirement of Theorem 3.3 is that we can approximately take a proximal step on from .
注意当 时 ,亦即定理 3.3 的要求是:我们能从 对 近似走一步近端步。
Theorem 3.3 interpolates between the Lipschitz case , which requires , and the smooth case , which requires . This recovers the result of 13, except that we only use first-order queries; we spell out the implications for log-concave sampling in Section 5.
定理 3.3 在 Lipschitz 情形 (需 )与光滑情形 (需 )之间插值。这恢复了 13 的结果,但我们只用一阶查询;对对数凹采样的含义在第 5 节展开。
4 Diffusion sampling
4 扩散采样
A key insight is that sampling from the backward transition kernel (2), given access to score estimate , is a special case of the setup of Section 3, except that we only have approximately correct first-order evaluations. This leads to the template Algorithm 2 for high-accuracy diffusion sampling. In the following subsections, we show how to choose and for .
关键洞察是:在可访问 score 估计 时,从反向转移核 (2) 采样是第 3 节设定的特例,只不过一阶求值仅近似正确。这导向高精度扩散采样的模板算法 2。以下各小节说明如何为 选择 与 。
Input: Score estimates , initial distribution , parameters
Sample .
for do
Sample .
end for
Output:
Algorithm 2 Backward diffusion sampling
输入: Score 估计 ,初始分布 ,参数
从 采样 。
for do
采样 。
end for
输出:
算法 2 反向扩散采样
4.1 A simple method
4.1 一种简单方法
We first propose a simple method that uses as a proposal the Gaussian portion of (2). We state all our guarantees for sampling from the early stopped distribution , the law of with ; see the discussion after the theorem.
我们先提出一种简单方法:以 (2) 中的高斯部分作为提议。所有保证都针对从早停分布 采样陈述, 即 ()的定律;见定理后的讨论。
Theorem 4.1.
Suppose that , , and
定理 4.1。
设 ,,且
Consider instantiating the subroutine FORS in Algorithm 2 with the following choices: , where , and is the law of
考虑在算法 2 中用如下选择实例化子程序 FORS:,其中 ,且 为如下随机变量的定律
for .
其中 。
Let be the law of generated by Algorithm 2. Then,
令 为算法 2 生成的 的定律。则
Next, we describe the implications of Theorem 4.1 for diffusion model sampling. We should always choose and we denote for a sufficiently large constant from Eq. 10. Then, in the variance-preserving setting:
接下来说明定理 4.1 对扩散模型采样的含义。应始终取 ,并记 ,其中 为式 10 中足够大的常数。则在方差保持设定下:
- • Recall that and .
- • 回顾 以及 。
- • The condition reduces to .
- • 条件 化为 。
- • This implies that as long as , we can guarantee that .
- • 这意味着只要 ,就能保证 。
- • From known results on the convergence of the forward process, and imply that .
- • 由前向过程收敛的已知结果, 与 蕴含 。
By the above calculation, we can show the following corollary. We denote to be the second moment of .
由上述计算可得如下推论。记 为 的二阶矩。
Corollary 4.2.
In the variance-preserving setting, for any , , there exists a schedule such that
推论 4.2。
在方差保持设定下,对任意 、,存在日程 使得
where , and Algorithm 2 can be instantiated with , so that
其中 ,且算法 2 可用 实例化,使得
Further, the number of queries made by Algorithm 2 is with probability at least .
此外,以至少 的概率,算法 2 的查询次数为 。
This governs the complexity of sampling from the early stopped distribution . To convert this into a guarantee for sampling from itself, we can note that . This can be made at most by choosing .
这支配从早停分布 采样的复杂度。要换成对 本身的保证,可注意 。取 即可使其至多为 。
In terms of the bounded Lipschitz metric, this implies that with a total complexity of
就有界 Lipschitz 度量而言,这意味着 ,总复杂度为
Note that this guarantee imposes no assumptions on beyond a second moment bound. This improves upon prior works 4; 11 which achieved under these assumptions, and 22; 35 which recently improved the complexity to .
注意该保证除二阶矩有界外,对 不做假设。这改进了在同样假设下达到 的先前工作 4;11,以及近期把复杂度改进到 的 22;35。
4.2 A DDPM-like method
4.2 类 DDPM 方法
Next, we present a method which we call a “DDPM-like” method because the proposal takes the form , which is similar but slightly different from a step of DDPM (4).
接下来给出我们称为「类 DDPM」的方法:提议 取形式 ,与 DDPM 的一步 (4) 相似但略有不同。
We show that our method, similar to the one from Section 3, achieves -complexity under the non-uniform Lipschitz condition, following 24; 25.
我们证明:与第 3 节类似,在非一致 Lipschitz 条件下,该方法达到 复杂度,遵循 24;25。
Assumption 4.3(Non-uniform Lipschitz condition).
For any , there is a parameter such that for any ,
假设 4.3(非一致 Lipschitz 条件)。
对任意 ,存在参数 ,使得对任意 ,
We note that by Proposition E.8, 4.3 holds unconditionally with . In other words, the score function is smooth “with high probability”. Further, when is Gaussian, 4.3 holds with for any . As shown in 25, when is a mixture of Gaussian distributions, it holds that (see also Proposition E.7).
由命题 E.8,4.3 无条件成立且 。换言之,score 函数 「以高概率」光滑。进一步,当 为高斯时,对任意 有 。如 25 所示,当 为 个高斯混合时,(亦见命题 E.7)。
Theorem 4.4.
Suppose that 4.3 holds, , , and
定理 4.4。
设 4.3 成立,,,且
Consider instantiating the subroutine FORS in Algorithm 2 with the following choices: , where , and is the law of
考虑在算法 2 中用如下选择实例化子程序 FORS:,其中 ,且 为如下随机变量的定律
where , , and denotes the path function
其中 ,, 表示路径函数
Let be the law of generated by Algorithm 2. Then
令 为算法 2 生成的 的定律。则
Following the reasoning of the preceding subsection, Theorem 4.4 implies a complexity of
沿用上一小节的推理,定理 4.4 蕴含复杂度
to reach . Note that the dependence on the score error is worse; we do not know if this is fundamental.
以达到 。注意对 score 误差的依赖更差;我们尚不知这是否本质。
4.3 Adaptation to low-dimensional structure
4.3 适应低维结构
While Theorem 4.4 improves the dependence on the ambient dimension to , ideally, we would like to choose according to the intrinsic dimension of the data distribution (34) (cf. Definition 4.5).
定理 4.4 虽把对环境维数的依赖改进到 ,理想情形下我们希望按数据分布 的本征维选取 (34)(参见定义 4.5)。
The key observation is that for , we can write, for , ,
关键观察是:对 ,可写,对 、,
and hence, when has low-dimensional structure, we may expect the shifted Hessian to be well-behaved. This motivates adapting Theorem 4.4 by replacing the score function with the shifted score function .
因此当 有低维结构时,可期望移位 Hessian 性态良好。这启发我们改写定理 4.4:用移位 score 替换 score 函数。
Definition 4.5(Intrinsic dimension).
Suppose that the data distribution has support . Let be the covering number of under Euclidean norm, and we define the intrinsic dimension of as .
定义 4.5(本征维)。
设数据分布 的支撑为 。令 为 在欧氏范数下的覆盖数,定义 的本征维为 。
Theorem 4.6.
Suppose that , , and
定理 4.6。
设 ,,且
Consider instantiating the subroutine FORS in Algorithm 2 with the following choices: , where , , , and is the law of
考虑在算法 2 中用如下选择实例化子程序 FORS:,其中 ,,,且 为如下随机变量的定律
where , , and is the path function given in (13)–(14).
其中 ,, 为 (13)–(14) 给出的路径函数。
Let be the law of generated by Algorithm 2. Then
令 为算法 2 生成的 的定律。则
where for each , we define
其中对每个 ,定义
This implies a complexity of
这蕴含复杂度
to reach . Again, the dependence on the score error is worse.
以达到 。对 score 误差的依赖再次更差。
5 Application to log-concave sampling
5 对对数凹采样的应用
In this section, we briefly describe the implications of our results (Theorem 3.3) for the problem of sampling from a log-concave density . The key connection lies in the proximal sampler (28; 8), which is an instance of the Gibbs sampler in which the target distribution is the augmented density
本节简要说明我们的结果(定理 3.3)对从对数凹密度 采样的含义。关键联系在于近端采样器(28;8):它是 Gibbs 采样器的实例,目标为增广密度
See Algorithm 3.
见算法 3。
Input: Gradient , step size
for do
Sample .
Sample .
end for
Output .
Algorithm 3 Proximal sampler
输入: 梯度 ,步长
for do
采样 。
采样 。
end for
输出 。
算法 3 近端采样器
Algorithm 3 hinges on being able to implement the restricted Gaussian oracle (RGO):
算法 3 的关键在于能否实现受限高斯 oracle(RGO):
Convergence of Algorithm 3 was shown in 28 under log-concavity of , and in 8 under weaker isoperimetric assumptions. On the other hand, note that the RGO is exactly a Gaussian tilt distribution, which we considered in Section 3. Hence, implementing the RGO step using FORS leads to novel high-accuracy sampling results for log-concave (and isoperimetric) distributions, without assuming access to zeroth-order queries for . Almost all previous approaches (e.g., rejection sampling, Metropolis–Hastings) required zeroth-order queries, whereas algorithms using only first-order queries typically arise as discretizations of diffusion processes and the resulting discretization error degraded their accuracy guarantees. A notable exception is the result of 38 on the zigzag sampler, an example of a PDMP, which achieved a complexity of evaluations of partial derivatives of , under strong-log-concavity and given a warm start, where is the condition number.
28 在 对数凹下证明了算法 3 的收敛,8 在更弱的等周假设下证明。另一方面,RGO 恰是第 3 节讨论的高斯倾斜分布。因此用 FORS 实现 RGO 步,可得到对数凹(及等周)分布上新颖的高精度采样结果,不假定对 有零阶查询。几乎所有先前方法(如拒绝采样、Metropolis–Hastings)都需要零阶查询;而仅用一阶查询的算法通常来自扩散过程的离散化,离散化误差会削弱精度保证。一个显著例外是 38 关于 zigzag 采样器(一类 PDMP)的结果:在强对数凹并给定 warm start 时,对 的偏导数达到 次求值复杂度,其中 为条件数。
We only summarize some representative results here, and defer a full presentation to Appendix F. Let , denote the initialization and output of Algorithm 3, and in all cases we track the number of queries to a first-order and proximal oracle for in expectation.
此处只摘要若干代表性结果,完整陈述见附录 F。令 、 分别表示算法 3 的初始化与输出;所有情形下我们跟踪对 的一阶与近端 oracle 的期望查询次数。
Suppose that is smooth ( in 3.2).
设 光滑(3.2 中 )。
- • Under a log-Sobolev inequality, we obtain in queries, where and .
- • 在对数 Sobolev 不等式下,以 次查询达到 ,其中 ,。
- • Under a Poincaré inequality, we obtain using queries, where and .
- • 在 Poincaré 不等式下,以 次查询达到 ,其中 ,。
- • Under log-concavity, we obtain in queries.
- • 在对数凹下,以 次查询达到 。
Suppose now that is Lipschitz ( in 3.2).
现设 为 Lipschitz(3.2 中 )。
- • Under a Poincaré inequality, we obtain in queries.
- • 在 Poincaré 不等式下,以 次查询达到 。
- • Under log-concavity, we obtain in queries.
- • 在对数凹下,以 次查询达到 。
6 Conclusion
6 结论
In this work, we have presented high-accuracy algorithms for diffusion sampling which operate under minimal data assumptions (Theorem 4.1), with improved dimension dependence under a Lipschitz score assumption (Theorem 4.4) and low-dimensional data (Theorem 4.6). With regards to the dependence on the target accuracy, our results improve exponentially over all prior works. Our framework also has implications for log-concave sampling (Section 5) using only first-order queries.
本文给出了在最小数据假设下的高精度扩散采样算法(定理 4.1),并在 Lipschitz score 假设(定理 4.4)与低维数据(定理 4.6)下改进了维数依赖。就目标精度依赖而言,我们的结果相对此前所有工作是指数级改进。该框架对仅用一阶查询的对数凹采样也有含义(第 5 节)。
Although this is a primarily theoretical work, we are working toward implementation and experimental evaluation, which will be left as future work.
尽管本文以理论为主,我们正推进实现与实验评估,留作未来工作。
Acknowledgments
致谢
We acknowledge support from ARO through award W911NF-21-1-0328, Simons Foundation and the NSF through awards DMS-2031883 and PHY-2019786, the DARPA AIQ program, and AFOSR FA9550-25-1-0375. CD is supported by a Simons Investigator Award, a Simons Collaboration on Algorithmic Fairness, ONR MURI grant N00014-25-1-2116, and ONR grant N00014-25-1-2296.
感谢 ARO 资助 W911NF-21-1-0328,Simons Foundation 与 NSF 资助 DMS-2031883、PHY-2019786,DARPA AIQ 项目,以及 AFOSR FA9550-25-1-0375。CD 受 Simons Investigator Award、Simons Collaboration on Algorithmic Fairness、ONR MURI 资助 N00014-25-1-2116 与 ONR 资助 N00014-25-1-2296 支持。
References
参考文献
Altschuler and Chewi (2024) J. M. Altschuler and S. Chewi Faster high-accuracy log-concave sampling via algorithmic warm starts . J. ACM 71 ( 3 ). Cited by: Appendix F , Appendix F , §1.2 .
Azangulov et al. (2024) I. Azangulov, G. Deligiannidis, and J. Rousseau Convergence of diffusion models under the manifold hypothesis in high-dimensions . arXiv preprint arXiv:2409.18804 . Cited by: §1.1 .
Bakry et al. (2014) D. Bakry, I. Gentil, and M. Ledoux Analysis and geometry of Markov diffusion operators . Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences] , Vol. 348 , Springer, Cham . Cited by: §B.1 .
Benton et al. (2024) J. Benton, V. D. Bortoli, A. Doucet, and G. Deligiannidis Nearly d d -linear convergence bounds for diffusion models via stochastic localization . In The Twelfth International Conference on Learning Representations , Cited by: §1 , §4.1 .
Chen et al. (2023a) H. Chen, H. Lee, and J. Lu Improved analysis of score-based generative modeling: user-friendly bounds under minimal smoothness assumptions . In International Conference on Machine Learning , pp. 4735–4763 . Cited by: §1 .
Chen et al. (2023b) S. Chen, S. Chewi, H. Lee, Y. Li, J. Lu, and A. Salim The probability flow ODE is provably fast . In Advances in Neural Information Processing Systems , A. Oh, T. Neumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.) , Vol. 36 , pp. 68552–68575 . Cited by: §1.1 , §1 .
Chen et al. (2023c) S. Chen, S. Chewi, J. Li, Y. Li, A. Salim, and A. R. 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 , Cited by: §1 .
Chen et al. (2022) Y. Chen, S. Chewi, A. Salim, and A. Wibisono Improved analysis for a proximal algorithm for sampling . In Proceedings of Thirty Fifth Conference on Learning Theory , P. Loh and M. Raginsky (Eds.) , Proceedings of Machine Learning Research , Vol. 178 , pp. 2984–3014 . Cited by: Appendix F , §1.2 , §5 , §5 .
Chewi et al. (2024) S. Chewi, M. A. Erdogdu, M. (. Li, R. Shen, and M. S. Zhang Analysis of Langevin Monte Carlo from Poincaré to log-Sobolev . Found. Comput. Math. , pp. . Cited by: Appendix F .
Chewi (2026) S. Chewi Log-concave sampling . Forthcoming . Note: Available online at https://chewisinho.github.io/ Cited by: §B.1 , §1.2 .
Conforti et al. (2025) G. Conforti, A. Durmus, and M. Gentiloni Silveri KL convergence guarantees for score diffusion models under minimal data assumptions . SIAM J. Math. Data Sci. 7 ( 1 ), pp. 86–109 . Cited by: §1 , §4.1 .
Duchi (2023) J. C. Duchi Lecture notes on statistics and information theory . Cited by: §B.2 .
Fan et al. (2023) J. Fan, B. Yuan, and Y. Chen Improved dimension dependence of a proximal algorithm for sampling . In Proceedings of Thirty Sixth Conference on Learning Theory , G. Neu and L. Rosasco (Eds.) , Proceedings of Machine Learning Research , Vol. 195 , pp. 1473–1521 . Cited by: Appendix F , Appendix F , §1.1 , §1.2 , §3.2 .
Foster et al. (2024) D. J. Foster, Y. Han, J. Qian, and A. Rakhlin Online estimation via offline estimation: an information-theoretic framework . In Advances in Neural Information Processing Systems , A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Eds.) , Vol. 37 , pp. 42840–42898 . Cited by: §B.2 .
Gao et al. (2025) X. Gao, H. M. Nguyen, and L. Zhu Wasserstein convergence guarantees for a general class of score-based generative models . Journal of machine learning research 26 ( 43 ), pp. 1–54 . Cited by: §1 .
Gao and Zhu (2024) X. Gao and L. Zhu Convergence analysis for general probability flow odes of diffusion models in wasserstein distances . arXiv preprint arXiv:2401.17958 . Cited by: §1 .
Gatmiry et al. (2026) K. Gatmiry, S. Chen, and A. Salim High-accuracy and dimension-free sampling with diffusions . arXiv preprint arXiv:2601.10708 . Cited by: 1st item , §A.1 , §A.1 , §1.2 .
Huang et al. (2025a) D. Z. Huang, J. Huang, and Z. Lin Convergence analysis of probability flow ODE for score-based generative models . IEEE Transactions on Information Theory . Cited by: §1 , §1 , footnote 1 , footnote 3 .
Huang et al. (2025b) D. Z. Huang, J. Huang, and Z. Lin Fast convergence for high-order ODE solvers in diffusion probabilistic models . arXiv preprint arXiv:2506.13061 . Cited by: §1 , footnote 1 , footnote 3 .
Huang et al. (2024a) X. Huang, D. Zou, H. Dong, Z. Zhang, Y. Ma, and T. Zhang Reverse transition kernel: a flexible framework to accelerate diffusion inference . Advances in Neural Information Processing Systems 37 , pp. 95515–95578 . Cited by: §1.2 , §1 , footnote 1 .
Huang et al. (2024b) Z. Huang, Y. Wei, and Y. Chen Denoising diffusion probabilistic models are optimally adaptive to unknown low dimensionality . arXiv preprint arXiv:2410.18784 . Cited by: §E.4 , §1.1 .
Jain and Zhang (2025) N. Jain and T. Zhang A sharp KL-convergence analysis for diffusion models under minimal assumptions . arXiv preprint 2508.16306 . Cited by: §1 , §4.1 .
Jayram (2009) T. S. Jayram Hellinger strikes back: a note on the multi-party information complexity of AND . In Approximation, randomization, and combinatorial optimization , Lecture Notes in Comput. Sci. , Vol. 5687 , pp. 562–573 . Cited by: §B.2 .
Jiao and Li (2024) Y. Jiao and G. Li Instance-dependent convergence theory for diffusion models . arXiv preprint arXiv:2410.13738 . Cited by: §1.1 , §4.2 .
Jiao et al. (2025) Y. Jiao, Y. Zhou, and G. Li Optimal convergence analysis of DDPM for general distributions . arXiv preprint arXiv:2510.27562 . Cited by: §1.1 , §1 , §4.2 , §4.2 .
Keane and O’Brien (1994) M. Keane and G. L. O’Brien A Bernoulli factory . ACM Transactions on Modeling and Computer Simulation (TOMACS) 4 ( 2 ), pp. 213–219 . Cited by: §3.1 .
Lee et al. (2023) H. Lee, J. Lu, and Y. Tan Convergence of score-based generative modeling for general data distributions . In Proceedings of the 34th International Conference on Algorithmic Learning Theory , S. Agrawal and F. Orabona (Eds.) , Proceedings of Machine Learning Research , Vol. 201 , pp. 946–985 . Cited by: §1 .
Lee et al. (2021) Y. T. Lee, R. Shen, and K. Tian Structured logconcave sampling with a restricted Gaussian oracle . In Proceedings of Thirty Fourth Conference on Learning Theory , M. Belkin and S. Kpotufe (Eds.) , Proceedings of Machine Learning Research , Vol. 134 , pp. 2993–3050 . Cited by: §1.2 , §5 , §5 .
Li et al. (2025a) G. Li, C. Cai, and Y. Wei Dimension-free convergence of diffusion models for approximate Gaussian mixtures . arXiv preprint arXiv:2504.05300 . Cited by: §1.1 .
Li and Cai (2024) G. Li and C. Cai Provable acceleration for diffusion models under minimal assumptions . arXiv preprint arXiv:2410.23285 . Cited by: §1 .
Li et al. (2024a) G. Li, Y. Huang, T. Efimov, Y. Wei, Y. Chi, and Y. Chen Accelerating convergence of score-based diffusion models, provably . In Proceedings of the 41st International Conference on Machine Learning , R. Salakhutdinov, Z. Kolter, K. Heller, A. Weller, N. Oliver, J. Scarlett, and F. Berkenkamp (Eds.) , Proceedings of Machine Learning Research , Vol. 235 , pp. 27942–27954 . Cited by: §1 .
Li et al. (2023) G. Li, Y. Wei, Y. Chen, and Y. Chi Towards faster non-asymptotic convergence for diffusion-based generative models . arXiv preprint arXiv:2306.09251 . Cited by: §1 .
Li et al. (2024b) G. Li, Y. Wei, Y. Chi, and Y. Chen A sharp convergence theory for the probability flow odes of diffusion models . arXiv preprint arXiv:2408.02320 . Cited by: §1 .
Li and Yan (2024) G. Li and Y. Yan Adapting to unknown low-dimensional structures in score-based diffusion models . Advances in Neural Information Processing Systems 37 , pp. 126297–126331 . Cited by: §1.1 , §4.3 .
Li and Yan (2025) G. Li and Y. Yan O ( d / T ) O(d/T) convergence theory for diffusion probabilistic models under minimal assumptions . In The Thirteenth International Conference on Learning Representations , Cited by: §1 , §4.1 .
Li et al. (2025b) G. Li, Y. Zhou, Y. Wei, and Y. Chen Faster diffusion models via higher-order approximation . arXiv preprint arXiv:2506.24042 . Cited by: §1 , §1 , footnote 3 .
Liang et al. (2025) J. Liang, Z. Huang, and Y. Chen Low-dimensional adaptation of diffusion models: convergence in total variation . arXiv preprint arXiv:2501.12982 . Cited by: §1.1 .
Lu and Wang (2022) J. Lu and L. Wang Complexity of zigzag sampling algorithm for strongly log-concave distributions . Stat. Comput. 32 ( 3 ), pp. Paper No. 48, 12 . Cited by: §1 , §5 .
Nacu and Peres (2005) Ş. Nacu and Y. Peres Fast simulation of new coins from old . Cited by: §3.1 .
Potaptchik et al. (2024) P. Potaptchik, I. Azangulov, and G. Deligiannidis Linear convergence of diffusion models under the manifold hypothesis . arXiv preprint arXiv:2410.09046 . Cited by: §1.1 .
Tang and Yan (2025) J. Tang and Y. Yan Adaptivity and convergence of probability flow ODEs in diffusion generative models . arXiv preprint arXiv:2501.18863 . Cited by: §1.1 .
Wainwright (2025) M. J. Wainwright Score-based sampling without diffusions: guidance from a simple and modular scheme . arXiv preprint arXiv:2512.24152 . Cited by: §1.2 , §1 .
Zhang et al. (2025) M. S. Zhang, S. Huan, J. Huang, N. M. Boffi, S. Chen, and S. Chewi Sublinear iterations can suffice even for DDPMs . arXiv preprint arXiv:2511.04844 . Cited by: §1.1 .
Appendix A Discussion
附录 A 讨论
A.1 Concurrent work
A.1 同期工作
In independent and concurrent work, 17 study an accelerated ODE flow and remarkably obtain a high-accuracy guarantee under a set of structural assumptions. This is highly non-trivial since, as discussed in the introduction, prior works based on higher-order methods incur implicit exponential dependencies on problem parameters and the order of the method. Their results rely on the following conditions:
在独立同期工作中,17 研究加速 ODE 流,并在一组结构假设下出色地得到高精度保证。这并非平凡:如引言所述,基于高阶方法的先前工作对问题参数与方法阶数常有隐含指数依赖。其结果依赖下列条件:
(A1) The data distribution satisfies , where is supported on a ball of radius .
(A1) 数据分布满足 ,其中 支撑在半径 的球上。
(A2) Sub-exponential score error: for some ,
(A2) 次指数 score 误差:对某个 ,
(A3) The score estimates are Lipschitz.
(A3) Score 估计 为 Lipschitz。
Under these assumptions, 17 propose a method with query complexity .
在这些假设下,17 提出查询复杂度为 的方法。
In comparing with our results, we make the following remarks:
与我们的结果比较时,我们有如下评注:
- • The query complexity, which scales with , is incomparable to ours. On one hand, when is constant, then their guarantee is dimension-free. On the other, could be large in many settings. For example, as noted by 17, (A1) indeed holds in the early stopping regime, i.e., their data distribution actually corresponds to the early stopped distribution . However, for this case, achieving distributional closeness to the real data distribution typically requires , and then we should expect dependence, instead of a high-accuracy dependence. Further, the bound may also scale with in some settings.
- • 按 缩放的查询复杂度与我们不可直接比较。一方面,当 为常数时,其保证是与维数无关的。另一方面,在许多设定中 可能很大。例如 17 指出,(A1) 的确在早停体制下成立,即其数据分布实际对应早停分布 。但对真实数据分布 要达到分布接近,通常需要 ,此时应期望 依赖,而非高精度的 。此外,在某些设定中界 也可能随 缩放。
- • Assumption (A2) is substantially stronger than our average error condition (Definition 2.1). It is unclear whether standard statistical learning procedures can achieve convergence guarantees expressed in terms of sub-exponential tail bounds.
- • 假设 (A2) 远强于我们的平均误差条件(定义 2.1)。标准统计学习流程能否以次指数尾界表达收敛保证,尚不清楚。
Finally, while their analysis is specific to accelerated ODE-based diffusion models, our approach applies more broadly to general first-order sampling methods, including log-concave sampling (Section 5).
最后,其分析专属于加速 ODE 型扩散模型,而我们的方法更广泛适用于一般一阶采样方法,包括对数凹采样(第 5 节)。
Appendix B Additional notation and technical tools
附录 B 补充记号与技术工具
For any function such that , we define to be the distribution over with density .
对任意满足 的函数 ,定义 为 上密度为 的分布。
For , let denote the Rényi divergence of order .
对 ,令 表示阶为 的 Rényi 散度。
B.1 Functional inequalities
B.1 泛函不等式
Definition B.1(PI).
A probability distribution on satisfies a Poincaré inequality (PI) with constant if for all smooth and compactly supported functions ,
定义 B.1(PI)。
称 上的概率分布 满足常数为 的 Poincaré 不等式(PI),若对所有光滑且紧支撑的函数 ,
We let to be the smallest constant such that satisfies PI with constant .
令 为使 满足 PI 的最小常数 。
Definition B.2(LSI).
A probability distribution on satisfies a log-Sobolev inequality (LSI) with constant if for all smooth and compactly supported functions ,
定义 B.2(LSI)。
称 上的概率分布 满足常数为 的对数 Sobolev 不等式(LSI),若对所有光滑且紧支撑的函数 ,
We let to be the smallest constant such that satisfies LSI with constant .
令 为使 满足 LSI 的最小常数 。
The following facts are standard, see 3 or 10.
下列事实是标准的,见 3 或 10。
Lemma B.3(Bakry–Émery).
If is -strongly log-concave, then .
引理 B.3(Bakry–Émery)。
若 为 -强对数凹,则 。
Lemma B.4(Holley–Stroock perturbation principle).
Let and be probability measures such that for some parameter . Then .
引理 B.4(Holley–Stroock 扰动原理)。
设概率测度 、 满足 (某个 )。则 。
B.2 Lemmas
B.2 引理
Lemma B.5.
Lemma B.5.
For ,
对 ,
Further, for ,
进一步,对 ,
Proof. The first two statements are standard. For the third, for any , we can calculate
证明。 前两条陈述是标准的。对第三条,对任意 ,可计算
where . Noting that , we can bound
其中 。注意到 ,可界住
where we use for . Therefore, we have shown
其中对 使用 。因此我们证明了
as long as . Then, by rescaling and requiring , we have
只要 。然后把 重标为 ,并要求 ,即得
Suitably choosing gives, for all ,
适当选取 即得:对所有 ,
∎
Lemma B.6.
Suppose that and . Then, it holds that
引理 B.6。
设 且 。则有
**Proof.**We use the inequality for . Therefore, as long as , it holds that
证明。我们使用不等式 ()。因此,只要 ,就有
where the second inequality follows from Lemma B.5. ∎
其中第二个不等式由引理 B.5 得出。∎
Lemma B.7.
For any , it holds that
引理 B.7。
对任意 ,有
where .
其中 。
**Proof.**By definition,
证明。由定义,
Note that for any random variable , we have
注意对任意随机变量 ,有
Combining these inequalities and taking infimum over completes the proof. ∎
合并这些不等式并对 取下确界即完成证明。∎
Lemma B.8.
Lemma B.8.
**Proof.**We define . Then, we know that , and hence
证明。定义 。则 ,从而
where we use the Donsker–Varadhan variational inequality. ∎
其中使用了 Donsker–Varadhan 变分不等式。∎
Lemma B.9.
Suppose that and , such that . Then it holds that
引理 B.9。
设 且 ,满足 。则有
**Proof.**By definition,
证明。由定义,
Note that , and hence
注意 ,从而
Hence, we can rewrite
因此可改写
∎
Lemma B.10.
Suppose that , where . Then for any distribution , it holds that
引理 B.10。
设 ,其中 。则对任意分布 ,有
**Proof.**By definition,
证明。由定义,
where . It holds that because
其中 。有 ,因为
Also,
另外,
Combining the inequalities above with completes the proof. ∎
把上述不等式与 合并即完成证明。∎
Lemma B.11.
Suppose that such that for any . Then
引理 B.11。
设 且对任意 有 。则
**Proof.**By definition,
证明。由定义,
Note that for any . Now, we can verify that
注意对任意 有 。现可验证
where . Specifically, when , this reduces to ; when , this reduces to ; and when , this reduces to , and we can use which holds for all . Applying this inequality gives
其中 。具体地,当 时化为 ;当 时化为 ;当 时化为 ,并可使用对所有 成立的 。应用该不等式得
∎
Lemma B.12.
For any , it holds that
引理 B.12。
对任意 ,有
**Proof.**By definition, we can write
证明。由定义可写
Therefore, we have
因此有
Similarly,
类似地,
Combining both inequalities completes the proof. ∎
合并两个不等式即完成证明。∎
The following lemma can be regarded as a “chain rule” of Hellinger distance (23), see also 12 or 14.
下列引理可视为 Hellinger 距离的「链式法则」(23),亦见 12 或 14。
Lemma B.13(Sub-additivity for squared Hellinger distance).
Suppose that is a Markov chain. Given a family of transition kernels , we let be the law of under , . Then, for any families of transition kernels , it holds that
引理 B.13(平方 Hellinger 距离的次可加性)。
设 为 Markov 链。给定一族转移核 ,令 为在 、 下 的定律。则对任意两族转移核 ,有
where we regard and .
其中把 且 。
Appendix C Proof of Theorem 3.1
附录 C 定理 3.1 的证明
Proof of Theorem 3.1. Let denote the output of Algorithm 1. On a given iteration of the algorithm, conditional on the draw , the probability that the algorithm terminates on that iteration is
定理 3.1 的证明。 令 表示算法 1 的输出。在算法的给定迭代中,条件于抽取 ,该迭代终止的概率为
Thus, the acceptance probability of a given iteration is . Then,
因此,给定迭代的接受概率为 。于是,
For the second statement, let be an i.i.d. sequence of random variables. The probability that the number of draws from exceeds is , where is the number of iterations of the algorithm. For any , we take and bound
对第二条陈述,令 为 i.i.d. 的 随机变量。从 抽取的次数 超过 的概率为 ,其中 为算法迭代次数。对任意 ,取 并界住
Note that if any , then , so the first term is bounded by . The second term, using a concentration bound for the Poisson random variable, is bounded by . Setting and suffices to bound both terms by .
注意若某个 ,则 ,故第一项由 界住。第二项用 Poisson 随机变量的浓度界,由 界住。取 与 足以使两项均不超过 。
Note that this also implies for an absolute constant , where is the total number of draw from . So, the last statement follows immediately. ∎
注意这也蕴含对某个绝对常数 有 ,其中 为从 抽取的总数。于是最后一条陈述立即得出。∎
Appendix D Proofs for Section 3
附录 D 第 3 节的证明
In the following, we prove a slightly stronger version of Theorem 3.3.
下文证明定理 3.3 的一个略强版本。
Theorem D.1.
Suppose that 3.2 holds, and Algorithm 1 is instantiated as in Theorem 3.3. Let , , , and
定理 D.1。
设 3.2 成立,且算法 1 如定理 3.3 实例化。令 ,,,且
Then the law of Algorithm 1 satisfies
则算法 1 的定律 满足
Proof of Theorem D.1. We recall that , where we denote .
定理 D.1 的证明。 回顾 ,其中记 。
By Theorem 3.1, the output of Algorithm 1 with the specified choices samples from , such that
由定理 3.1,以指定选择运行的算法 1 从 采样,使得
In the following, we denote and define
下文记 并定义
Then, , where
则 ,其中
where we recall . Then, using Lemma B.12, we can bound
其中回顾 。然后用引理 B.12,可界住
$$\displaystyle\begin{aligned} \max\left{D_{\ell}\left(\nu,|,\widehat{\nu}\right),D_{\ell}\left(\widehat{\nu},|,\nu\right)\right}\leq&~\En_{x\sim\widehat{\nu}}[e^{2\ell V(x)}-1]\leq e^{2B}\En_{x\sim q}[e^{2\ell V(x)}-1]\
\leq&~e^{2B}\En_{x\sim q}\En_{z,r}[e^{2\ell\tau_{B}(W_{r,z,x})}-1],,\end{aligned} \tag{18}$$
where we use for and the convexity of .
其中对 使用 ,以及对 的凸性。
In the following, we proceed to prove the following claims.
下文继续证明下列断言。
Claim 1
It holds that for any fixed and ,
断言 1
对任意固定的 以及 ,有
Proof of Claim 1
Recall that ,
断言 1 的证明
回顾 ,
Hence, under and , are jointly distributed as
因此,在 与 下, 的联合分布为
$$\displaystyle[\gamma_{z,r}(x);\dot{\gamma}_{z,r}(x)]\sim\mathsf{N}\left(\begin{bmatrix}\widehat{x}\
0\end{bmatrix},\begin{bmatrix}\eta I&\
&(\pi/2)^{2}\eta I\end{bmatrix}\right),.$$
Hence, as long as ,
因此,只要 ,
where the second line uses Lemma B.5, and the last line uses Lemma B.6. This completes the proof of Claim 1.
其中第二行用引理 B.5,最后一行用引理 B.6。断言 1 证毕。
Finally, we use Claim 1 to prove the following claim, from which Theorem D.1 follows immediately.
最后用断言 1 证明下列断言,由此定理 D.1 立即得出。
Claim 2
Suppose that
断言 2
设
Then for any , it holds that
则对任意 ,有
Proof of Claim 2
Using Claim 1, for any fixed and , we can upper bound
断言 2 的证明
由断言 1,对任意固定 以及 ,可上界
Therefore, the desired upper bound follows from setting
因此,取如下参数即得所求上界
Combining Claim 2 above with Eq. 18, we can deduce the desired upper bound. ∎
把上述断言 2 与式 18 合并,即得所求上界。∎
Appendix E Proofs for Section 4
附录 E 第 4 节的证明
E.1 Proof of Theorem 4.1
E.1 定理 4.1 的证明
Proof of Theorem 4.1. The process generated by Algorithm 2 is a Markov chain such that , and . The chain rule for the KL divergence yields
定理 4.1 的证明。 算法 2 生成的过程 是 Markov 链,满足 ,且 。KL 散度的链式法则给出
Given and , Algorithm 1 is instantiated with base measure . Consider the target , and by Theorem 3.1,
给定 与 ,算法 1 以基测度 实例化。考虑目标 ,由定理 3.1,
and hence
从而
where we used for . Applying Lemma B.11 gives
其中对 使用 。应用引理 B.11 得
Taking expectation over and using the fact that , we can conclude that
对 取期望,并用 ,可结论
By Proposition E.1 (1), it holds that for any ,
由命题 E.1 (1),对任意 有
where we use .
其中使用 。
By Proposition E.1 (2) and the fact that for , it holds that for any ,
由命题 E.1 (2) 以及 (),对任意 有
Combining these inequalities completes the proof. ∎
合并这些不等式即完成证明。∎
Proposition E.1.
Suppose that and , and $P=\bar{P}\mathsf{N}\left(0,\sigma^{2}I\right)$.*
命题 E.1。
设 且 ,以及 $P=\bar{P}\mathsf{N}\left(0,\sigma^{2}I\right)$。*
(1) For any and , it holds that
(1) 对任意 与 ,有
(2) For any and , it holds that
(2) 对任意 与 ,有
Proof. (1) Fix any , and let be the distribution of under , , and . In other words, where . We consider the -divergence . Then, as long as , we can calculate
证明。 (1) 固定任意 ,令 为在 、 与 下 的分布。换言之,,其中 。考虑 -散度 。则只要 ,可计算
In particular, as long as , it holds that
特别地,只要 ,有
Now, consider the following distribution of :
现考虑 的如下分布:
By the data-processing inequality, we know
由数据处理不等式,可知
In particular, choosing gives . Applying Lemma B.7 completes the proof.
特别地,取 得 。应用引理 B.7 即完成证明。
(2) We denote . By Proposition E.8, for , we can bound
(2) 记 。由命题 E.8,对 ,可界住
Next, recalling the definition of , we can write
接下来,回顾 的定义,可写
By the Cauchy–Schwarz inequality,
由 Cauchy–Schwarz 不等式,
where we use that under , . Note that the distribution of is exactly . Hence, this implies that as long as ,
其中使用:在 下,。注意 的分布恰为 。因此,只要 ,即有
Taking gives
取 得
∎
E.2 Analysis of a DDPM-like method
E.2 类 DDPM 方法的分析
In this subsection, our goal is to sample from the tilt measure
本小节目标是从倾斜测度
given an estimated score function . We carry out our analysis under the following assumption, which will hold true in the diffusion model setting.
采样,给定估计的 score 函数 。我们在下列假设下分析,该假设在扩散模型设定中成立。
Assumption E.2.
The distribution takes the form . We write .
假设 E.2。
分布 取形式 。记 。
For the diffusion model applications, we take , where is the distribution of , . Further, under the true diffusion process, we have .
对扩散模型应用,取 ,其中 为 ()的分布。进一步,在真实扩散过程下,。
Notation
We decompose for some . For Theorem 4.4, we can take the simple choice , but our proof of Theorem 4.6 requires taking . To unify the analyses of the two results, we consider a general choice of here.
记号
我们把 分解,其中某个 。对定理 4.4,可取简单选择 ,但定理 4.6 的证明需要 。为统一两个结果的分析,此处考虑一般的 。
We fix the parameter , and we denote ,
固定参数 ,并记 ,
We also write .
亦记 。
In the following, we abbreviate .
下文简写 。
Distributions
By Theorem 3.1, Algorithm 1 instantiated with the choices and
分布
由定理 3.1,以选择 以及
samples from the distribution , where
实例化的算法 1 从分布 采样,其中
We write for the density corresponding to score , i.e.,
记 为对应 score 的密度,即
Using Eq. 7, we can also write
用式 7,亦可写
where we recall .
其中回顾 。
Proposition E.3(Convergence under true score).
Suppose that E.2 holds and , , , . We define the set
命题 E.3(真实 score 下的收敛)。
设 E.2 成立且 ,,,。定义集合
Let be the probability density defined in (22). Then it holds that
令 为 (22) 中定义的概率密度。则有
Proposition E.4(Score error).
Fix any , . Suppose that E.2 holds.
命题 E.4(Score 误差)。
固定任意 、。设 E.2 成立。
Let be the probability density of defined in (21) with score function . Then, the following holds.
令 为 (21) 中用 score 函数 定义的 的概率密度。则下列成立。
(1) It holds that
(1) 有
where we denote .
其中记 。
(2) Suppose that . Then, it holds that
(2) 设 。则有
We give the proofs of Proposition E.3 and Proposition E.4 in Section E.6 and Section E.7 respectively.
命题 E.3 与命题 E.4 的证明分别见第 E.6 节与第 E.7 节。
E.3 Proof of Theorem 4.4
E.3 定理 4.4 的证明
As a direct corollary of Proposition E.3, we have the following result.
作为命题 E.3 的直接推论,有如下结果。
Corollary E.5.
Suppose that E.2 holds, , , , , and
推论 E.5。
设 E.2 成立,,,,,且
where is a sufficiently large constant.
其中 为足够大的常数。
Suppose that given , Algorithm 1 is instantiated with (20), and let be the output distribution (given input ). Then it holds that
设给定 时算法 1 以 (20) 实例化,令 为输出分布(给定输入 )。则有
where is the titled measure defined in Eq. 19, and .
其中 为式 19 中定义的倾斜测度,且 。
Proof of Corollary E.5. Fix any and . We write to be the probability distribution of under and . Define
推论 E.5 的证明。 固定任意 与 。记 为在 、 下 的概率分布。定义
By Proposition E.8 in Section E.5 and Lemma B.5, it holds that , where
由第 E.5 节命题 E.8 与引理 B.5,有 ,其中
Now, suppose that
现设
We argue that . This is because for and , we can bound
我们论证 。因为对 与 ,可界住
This immediately gives , and hence
这立即给出 ,从而
Note that and by Proposition E.8,
注意 ,且由命题 E.8,
Then, by Proposition E.3, it holds that
然后由命题 E.3,有
where is defined in Eq. 22. Finally, applying Proposition E.4 (2) gives the desired result. ∎
其中 定义于式 22。最后应用命题 E.4 (2) 即得所求结果。∎
Proof of Theorem 4.4. To prove Theorem 4.4, we recall that the process generated by Algorithm 2 is a Markov chain such that , and , where is the conditional distribution of given . The chain rule for the Hellinger distance (Lemma B.13) yields
定理 4.4 的证明。 为证明定理 4.4,回顾算法 2 生成的过程 是 Markov 链,满足 ,且 ,其中 为给定 时 的条件分布。Hellinger 距离的链式法则(引理 B.13)给出
Note that under , it holds that . Hence, Corollary E.5 implies that for , it holds that
注意在 下,有 。因此推论 E.5 蕴含:对 ,
The proof of Theorem 4.4 is then completed by combining inequalities above. ∎
合并上述不等式即完成定理 4.4 的证明。∎
E.4 Proof of Theorem 4.6
E.4 定理 4.6 的证明
As a direct corollary of Proposition E.3 and Proposition E.7, we have the following result.
作为命题 E.3 与命题 E.7 的直接推论,有如下结果。
Corollary E.6.
Suppose that E.2 holds, , , , and
推论 E.6。
设 E.2 成立,,,,且
where is a sufficiently large constant.
其中 为足够大的常数。
Suppose that given , Algorithm 1 is instantiated with (20), and let be the output distribution (given input ). Then it holds that
设给定 时算法 1 以 (20) 实例化,令 为输出分布(给定输入 )。则有
where we denote .
其中记 。
Proof of Corollary E.6. We write to be the probability distribution of under and . Fix and write , .
推论 E.6 的证明。 记 为在 、 下 的概率分布。固定 ,并记 ,。
Recall that and . Consider the following set:
回顾 以及 。考虑下列集合:
where is an absolute constant such that by Proposition E.7, it holds that for .
其中 为绝对常数,使得由命题 E.7,对 有 。
Now, note that for PSD matrix , it holds that , and . This immediately implies that with the choice , it holds that . This immediately implies that for any , it holds that
现注意对 PSD 矩阵 ,有 ,以及 。这立即蕴含:取 时有 。从而对任意 ,
Applying Proposition E.3 with gives
Applying Corollary E.6 completes the proof. ∎
应用推论 E.6 即完成证明。∎
Proof of Theorem 4.6. The proof is the same as the proof of Theorem 4.4, except that we use Corollary E.6 instead. ∎
定理 4.6 的证明。 证明与定理 4.4 相同,只是改用推论 E.6。∎
The following proposition generalizes the argument of 21 that bounds the posterior covariance matrix in terms of the intrinsic dimension. As a remark, we also note that this argument can recover Proposition E.8 (2) easily.
下列命题推广了 21 中用本征维界住后验协方差矩阵的论证。作为评注,我们也指出该论证可轻易恢复命题 E.8 (2)。
Proposition E.7.
Suppose that the data distribution has support . Let be the covering number of under Euclidean norm, and we denote .
命题 E.7。
设数据分布 的支撑为 。令 为 在欧氏范数下的覆盖数,并记 。
In the following, we consider $p=p_{\mathsf{data}}\mathsf{N}\left(0,\sigma^{2}I\right)H(x)\vcentcolon=\sigma^{2}\nabla^{2}\log p(x)+I\succeq 0$.*
下文考虑 $p=p_{\mathsf{data}}\mathsf{N}\left(0,\sigma^{2}I\right)H(x)\vcentcolon=\sigma^{2}\nabla^{2}\log p(x)+I\succeq 0$。*
For , we write to the probability of under , . Then, the following holds for any and any :
对 ,记 为在 、 下 的概率。则对任意 与任意 ,有:
where is an absolute constant.
其中 为绝对常数。
**Proof.**We first recall that by definition,
证明。我们先由定义回顾,
where the conditional covariance is over the joint distribution of , . Then,
其中条件协方差对 、 的联合分布取。则,
and by the definition of covariance, we can bound as follows:
并由协方差的定义,可如下界住 :
$$\displaystyle\begin{aligned} \sigma^{2}\mathrm{tr}(H(\bar{x}+V))\leq&~\frac{\En_{X_{0}\sim p_{\mathsf{data}}}\left[|X_{0}-\bar{x}|^{2}\exp\left(-\frac{|\bar{x}+V-X_{0}|^{2}}{2\sigma^{2}}\right)\right]}{\En_{X_{0}\sim p_{\mathsf{data}}}\left[\exp\left(-\frac{|\bar{x}+V-X_{0}|^{2}}{2\sigma^{2}}\right)\right]}\
\leq&~M^{2}+\frac{\En_{X_{0}\sim p_{\mathsf{data}}}\left[\left(|X_{0}-\bar{x}|^{2}-M^{2}\right){+}\exp\left(-\frac{|\bar{x}+V-X{0}|^{2}}{2\sigma^{2}}\right)\right]}{\En_{X_{0}\sim p_{\mathsf{data}}}\left[\exp\left(-\frac{|\bar{x}+V-X_{0}|^{2}}{2\sigma^{2}}\right)\right]}\
=&~M^{2}+\frac{\En_{X_{0}\sim p_{\mathsf{data}}}\left[\left(|X_{0}-\bar{x}|^{2}-M^{2}\right){+}\exp\left(-\frac{|\bar{x}-X{0}|^{2}+2\langle V,\bar{x}-X_{0}\rangle}{2\sigma^{2}}\right)\right]}{\En_{X_{0}\sim p_{\mathsf{data}}}\left[\exp\left(-\frac{|\bar{x}-X_{0}|^{2}+2\langle V,\bar{x}-X_{0}\rangle}{2\sigma^{2}}\right)\right]},.\end{aligned} \tag{25}$$
Let . Fix a -covering of :
令 。固定 的一个 -覆盖:
where and are balls of radius and centers .
其中 , 为半径 、中心 的球。
Let , and let .
令 ,并令 。
We make the following claims.
我们做出下列断言。
Claim 1. Define , ,
断言 1。 定义 ,,
Then for any , it holds that .
则对任意 ,有 。
Proof of Claim 1. By Gaussian concentration, it is clear that for .
断言 1 的证明。 由高斯浓度,显然对 有 。
Further, for any , it holds that for . Hence, by a union bound, we can show that , where
进一步,对任意 ,对 有 。因此由并集界可证 ,其中
Note that for any , it is clear that for any , , we can bound
注意对任意 ,显然对任意 、、,可界住
This implies that , and the proof of Claim 1 is hence completed. ∎
这意味着 ,断言 1 证毕。∎
Next, we proceed to bound by combining Claim 1 and Eq. 25. Fix . Suppose that and . Using and , as long as , we know
接下来结合断言 1 与式 25 界住 。固定 。设 且 。利用 以及 ,只要 ,就有
and hence in this case . This immediately implies that
从而此时 。这立即蕴含
where we use the fact that is decreasing over .
其中使用 在 上递减。
On the other hand, suppose that and such that . Note that for any , , and hence we can bound
另一方面,设 且 满足 。注意对任意 ,,从而可界住
This implies that
这意味着
Combining the above bounds, we can conclude that as long as and , with , it holds that
合并上述界可得:只要 且 ,取 ,就有
Note that , and hence
注意 ,从而
Rescaling and plugging in the definition of completes the proof of Eq. 23.
把 重标为 并代入 的定义,即完成式 23 的证明。
Similarly, we note that for ,
类似地,注意对 ,
Our argument above then shows that
上述论证于是表明
where is an absolute constant. Rescaling gives Eq. 24. ∎
其中 为绝对常数。重标 即得式 24。∎
E.5 Technical lemmas
E.5 技术引理
Proposition E.8.
Suppose that $p=\overline{p}\mathsf{N}\left(0,\sigma^{2}I\right)\breve{p}=\overline{p}\mathsf{N}\left(0,{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}}^{2}I\right)\lvert{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}}^{2}-\sigma^{2}\rvert\leq\frac{\sigma^{2}}{2}$.
命题 E.8。
设 $p=\overline{p}\mathsf{N}\left(0,\sigma^{2}I\right)\breve{p}=\overline{p}\mathsf{N}\left(0,\overline{\sigma}^{2}I\right)\lvert\overline{\sigma}^{2}-\sigma^{2}\rvert\leq\frac{\sigma^{2}}{2}$。
(1) It holds that
(1) 有
(2) It holds that
(2) 有
(3) Suppose that . For any , it holds that
(3) 设 。对任意 ,有
**Proof.**We first prove (3). Denote and . We denote . Then, as long as and ,
证明。我们先证 (3)。记 ,。记 。则只要 且 ,
where we use for . Then, by the data-processing inequality, this gives
其中对 使用 。再由数据处理不等式得
Then, using Lemma B.7 and , we know
然后用引理 B.7 与 ,可知
This proves (3). Next, we turn toward the proofs of (1) and (2).
这证明了 (3)。接下来转向 (1) 与 (2) 的证明。
We denote . Then, we can express, for , ,
记 。则可写,对 、,
For , we can bound
对 ,可界住
Therefore, for , we have
因此对 ,有
where we use . We can then choose to complete the proof.
其中使用 。然后可取 完成证明。
Similarly, for , we can bound
类似地,对 ,可界住
The upper bound then follows similarly. ∎
上界可类似得出。∎
As a direct corollary of Proposition E.8 (1) and (2), we have the following moment bounds.
作为命题 E.8 (1)(2) 的直接推论,有下列矩界。
Lemma E.9.
Suppose that E.2 holds, , and . Then the following holds with an absolute constant : For any integer , and parameter , it holds that
引理 E.9。
设 E.2 成立,,且 。则以下以绝对常数 成立:对任意整数 与参数 ,有
E.6 Proof of Proposition E.3
E.6 命题 E.3 的证明
We denote
我们记
Then,
则,
Therefore,
因此,
where
其中
$$\displaystyle h_{B}(y)=\begin{cases}1,,&y>B,,\
0,,&y\in[-B,B],,\
-1,,&y<-B,,\end{cases}$$
is the derivative of . By elementary calculation,
为 的导数。由初等计算,
By Lemma B.3 and Lemma B.4, we know that . Hence,
由引理 B.3 与引理 B.4,可知 。从而,
Taking expectation over and using Hölder’s inequality, we know that
对 取期望并用 Hölder 不等式,可知
where is the expectation over , , , .
其中 为对 、、、 的期望。
Bounds on the moments
Fix any . We note that under this distribution,
矩的界
固定任意 。注意在该分布下,
Therefore, we can bound
因此可界住
where we use Lemma E.9 and
其中使用引理 E.9 以及
Bound on the tail
Next, we bound . We write and . By definition,
尾部的界
接下来界住 。记 ,。由定义,
Note that
注意
where we use the convexity of . Hence,
其中使用 的凸性。从而,
Note that for any fixed ,
注意对任意固定的 ,
and we can bound
并可界住
To summarize, we have shown that
总结起来,我们已证
Bound on the tail probability
Now, we fix any and consider the joint distribution of under
尾概率的界
现固定任意 ,并考虑在下列定律下 的联合分布
We define , and the properties of are summarized in Lemma E.10.
定义 , 的性质总结于引理 E.10。
In the following, we analyze the concentration of conditional on . We denote . Then, for any , we can bound , and hence
下文分析条件于 时 的浓度。记 。则对任意 ,可界住 ,从而
where are absolute constants and we use . Hence,
其中 为绝对常数,且使用 。从而,
This is the desired upper bound. ∎
这即所求上界。∎
Lemma E.10.
Fix . Consider the joint distribution of under
引理 E.10。
固定 。考虑在下列定律下 的联合分布
Under this law, we consider the random variables
在该定律下,考虑随机变量
Then, the following holds.
则下列成立。
(1) are jointly Gaussian and independent of , and marginally with .
(1) 联合高斯且独立于 ,边缘上 且 。
(2) The conditional distribution of can be written as
(2) 的条件分布可写为
$$\displaystyle[U;W]\mid V\sim\mathsf{N}\left([c_{U}V,c_{W}V],\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}\right),,\qquad\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}=\begin{bmatrix}\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}{U}^{2}I&\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}{UW}I\
\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}{UW}I&\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}{W}^{2}I\end{bmatrix},,$$
so that and
从而 且
(3) Suppose that the symmetric matrix is a function of . Then it holds that
(3) 设对称矩阵 为 的函数。则有
where is an absolute constant.
其中 为绝对常数。
**Proof.**By definition, we can consider , , and then
证明。由定义,可考虑 、,然后
where are independent Gaussian vectors, and is independent of . Then, we can rewrite
其中 为独立高斯向量,且 独立于 。于是可改写
Hence, under this distribution, are jointly Gaussian and independent of . The key fact is that (because for ), and hence . Therefore, the joint distribution of can be written
因此在该分布下, 联合高斯且独立于 。关键事实是 (因为对 有 ),从而 。因此 的联合分布可写为
$$\displaystyle\begin{bmatrix}V\
U\
W\end{bmatrix}\sim\mathsf{N}\left(\begin{bmatrix}0\
0\
0\end{bmatrix},\begin{bmatrix}\sigma_{V}^{2}I&\sigma_{VU}I&\sigma_{VW}I\
\sigma_{VU}I&\sigma_{U}^{2}I&0\
\sigma_{VW}I&0&\sigma_{W}^{2}I\end{bmatrix}\right),,$$
and we can calculate
并可计算
In particular, we know , , , and . Further, we can write down
特别地,可知 ,,,以及 。进一步可写下
The desired statement (2) then follows.
于是所求陈述 (2) 得出。
Finally, to prove (3), we condition on and apply Gaussian concentration (Lemma B.5) to the matrix and the Gaussian vector , where . Note that , , , and . Therefore, by Lemma B.5, for ,
最后,为证 (3),我们条件于 ,并对矩阵 与高斯向量 (其中 )应用高斯浓度(引理 B.5)。注意 ,,,以及 。因此由引理 B.5,对 ,
The desired upper bound then follows from bounding and . ∎
所求上界随后由界住 、 以及 得出。∎
E.7 Proof of Proposition E.4
E.7 命题 E.4 的证明
We denote
我们记
Then, we can abbreviate
则可简写
Decomposition of KL divergence
As an intermediate distribution, we consider the density with
KL 散度的分解
作为中间分布,考虑密度 ,满足
Note that for , it holds that
注意对 ,有
Therefore, using Lemma B.8, Lemma B.9, and the fact that for and , we know that for any ,
因此,用引理 B.8、引理 B.9,以及 、 时 ,可知对任意 ,
Next, we note that we can write , where
接下来注意可写 ,其中
Then, using Lemma B.10, we can bound
然后用引理 B.10,可界住
Combining the inequalities above immediately implies
合并上述不等式立即蕴含
$$\displaystyle\begin{aligned} \En_{x_{0}\sim\breve{p}}D_{\mathsf{KL}}\left(\nu_{x_{0}}(\cdot),|,\widehat{\rho}{x{0}}(\cdot)\right)\leq&8e^{2B}\En_{x_{0}\sim\breve{p}}D_{\mathsf{KL}}\left(\nu_{x_{0}}(\cdot),|,\rho^{\star}{x{0}}(\cdot)\right)\+\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}e^{4B}\En_{x_{0}\sim\breve{p}}|\mathsf{s}^{\star}(x_{0})-\mathsf{s}(x_{0})|^{2}+8e^{2B}\En_{x_{0}\sim\breve{p},,x\sim\nu_{x_{0}}(\cdot)}[h_{x_{0}}(x)^{2}],.\end{aligned} \tag{27}$$
&
Further, using , we can upper bound
进一步,用 ,可上界
$$\displaystyle\begin{aligned} \En_{x_{0}\sim\breve{p}}D^{2}{\mathsf{H}}\left(\nu{x_{0}}(\cdot),\widehat{\rho}{x{0}}(\cdot)\right)\leq&8e^{2B}\En_{x_{0}\sim\breve{p}}D_{\mathsf{KL}}\left(\nu_{x_{0}}(\cdot),|,\rho^{\star}{x{0}}(\cdot)\right)\+e^{4B}\En_{x_{0}\sim\breve{p}}\min{\macc@depth\char 1\relax\macc@set@skewchar\macc@nested@a 111{}|\mathsf{s}^{\star}(x_{0})-\mathsf{s}(x_{0})|^{2},1}+8e^{2B}\En_{x_{0}\sim\breve{p},,x\sim\nu_{x_{0}}(\cdot)}[h_{x_{0}}(x)^{2}],.\end{aligned} \tag{28}$$
&
Upper bound on
We denote
对 的上界
我们记
In the following, we will show that can be upper bounded by .
下文将证明 可由 上界。
We upper bound
我们上界
where the expectation is taken over , , .
其中期望 对 、、 取。
We fix and first analyze , . Note that is jointly Gaussian and independent of , and we can write down the distribution of as such that
固定 ,先分析 、。注意 联合高斯且独立于 ,并可写下 的分布为 ,满足
Applying Lemma E.11 to the function gives
对函数 应用引理 E.11 得
where we recall that we denote . Similarly, we can bound
其中回顾记 。类似地可界住
Combining these inequalities, we can conclude that
合并这些不等式,可结论
where is defined in Eq. 29.
其中 定义于式 29。
Putting everything together
We first prove Proposition E.4 (1). Combining Eq. 27, Eq. 30 and the definition of in Eq. 29, we get
汇总
我们先证命题 E.4 (1)。合并式 27、式 30 与式 29 中 的定义,得
where we use .
其中使用 。
Similarly, combining Eq. 28, Eq. 30, we can bound
类似地,合并式 28、式 30,可界住
Combining the inequality above with Proposition E.8 (3) completes the proof of Proposition E.4 (2). ∎
把上述不等式与命题 E.8 (3) 合并,即完成命题 E.4 (2) 的证明。∎
Lemma E.11.
Suppose that $p=\overline{p}\mathsf{N}\left(0,\sigma^{2}I\right)x\sim p(U,W)\sim\mathsf{N}\left(0,\Sigma\right)x\Sigma=\begin{bmatrix}\sigma_{U}^{2}I&\sigma_{UW}I\ \sigma_{UW}I&\sigma_{W}^{2}I\end{bmatrix}\delta\in(0,1)$,*
引理 E.11。
设 $p=\overline{p}\mathsf{N}\left(0,\sigma^{2}I\right)x\sim p(U,W)\sim\mathsf{N}\left(0,\Sigma\right)x\Sigma=\begin{bmatrix}\sigma_{U}^{2}I&\sigma_{UW}I\ \sigma_{UW}I&\sigma_{W}^{2}I\end{bmatrix}\delta\in(0,1)$,有*
**Proof.**We consider the joint distribution of
证明。我们考虑下列联合分布
We write . Then, is independent of and the conditional distribution can be written as
记 。则 独立于 ,且条件分布 可写为
where , .
其中 ,。
Now, note that for random vector and a fixed vector , we can bound
现注意对随机向量 与固定向量 ,可界住
Then, we can bound
于是可界住
Further, by Lemma B.5, we know that . This implies
进一步,由引理 B.5,可知 。这意味着
Combining the inequalities, we can conclude
合并不等式,可结论
This gives the desired upper bound. ∎
这给出所求上界。∎
Appendix F Log-concave sampling
附录 F 对数凹采样
Here, we apply Theorem 3.3 at each step of Algorithm 3 to sample from the RGO distribution. Note that Theorem 3.3 requires the choice of a point which is close to . For simplicity, we assume that this error is zero, which amounts to assuming that we have access to the proximal oracle for . When is -smooth and , then computation of the proximal map is a convex optimization problem, and error analysis can be done as in 1. Otherwise, one could generalize the analysis to consider obtaining a stationary point of the proximal map optimization as in 13.
此处在算法 3 的每一步应用定理 3.3,以从 RGO 分布采样。注意定理 3.3 要求选取接近 的点 。为简单起见,我们假定该误差为零,这等价于假定可访问 的近端 oracle。当 为 -光滑且 时,近端映射的计算是凸优化问题,误差分析可如 1 进行。否则,可推广分析以考虑如 13 那样获得近端映射优化的驻点。
We recall the definitions of PI and LSI in Definition B.1 and Definition B.2.
我们回顾定义 B.1 与定义 B.2 中的 PI 与 LSI。
Theorem F.1.
Let be a fixed constant, and . Suppose that and that satisfies 3.2. Choose
定理 F.1。
令 为固定常数,。设 且 满足 3.2。选取
for a sufficiently large universal constant . Let denote the law of the output of Algorithm 3 initialized at , where in each step the RGO is implemented by Algorithm 1 via Theorem 3.3. Then, the following holds.
其中 为足够大的万有常数。令 表示以 初始化的算法 3 输出的定律,其中每一步的 RGO 经由定理 3.3 由算法 1 实现。则下列成立。
- Suppose thatsatisfies a log-Sobolev inequality with constant, which can only hold if(i.e.,is smooth). Then,using at most whereis the condition number.
- 设满足常数为的对数 Sobolev 不等式(这仅当即光滑时可能成立)。则用至多 达到,其中为条件数。
- Suppose thatsatisfies a Poincaré inequality with constant. Then,using at most first-order queries in expectation.
- 设满足常数为的 Poincaré 不等式。则用至多 期望一阶查询次数达到。*
- Suppose thatis log-concave. Then,using at most
- 设对数凹。则用至多 达到。*
**Proof.**This follows from tracking the error of the RGO implementation and choosing appropriately, exactly as in 1, and is therefore omitted. ∎
证明。这由跟踪 RGO 实现的误差并适当选取 得出,恰如 1,故从略。∎
This theorem can be generalized in several directions. One could assume that satisfies a Latała–Oleszkiewicz inequality which interpolates between Poincaré and log-Sobolev, as in 8; 9. One could also consider RGO implementations under more complicated settings, such as composite settings (13). For brevity, we omit such extensions.
该定理可向若干方向推广。可假定 满足在 Poincaré 与对数 Sobolev 之间插值的 Latała–Oleszkiewicz 不等式,如 8;9。亦可考虑更复杂设定下的 RGO 实现,例如复合设定(13)。为简洁起见,此类扩展从略。