HyperAIHyperAI

Command Palette

Search for a command to run...

17일 전
확산 모델

확산 모델 및 로그 오목 분포를 위한 고정밀 샘플링

Fan Chen Sinho Chewi Constantinos Daskalakis Alexander Rakhlin

초록

본 연구는 L2L^2L2에서 O~(δ)\widetilde{O}(\delta)O(δ)-정확도의 점수 추정값에 접근할 수 있을 때, polylog(1/δ)\mathrm{polylog}(1/\delta)polylog(1/δ) 단계 내에 δ\deltaδ-오차를 달성하는 확산 모델 샘플링 알고리즘을 제시한다. 이는 기존의 모든 결과에 비해 지수적인 개선에 해당한다. 특히, 최소한의 데이터 가정 하에서 복잡도는 O~(dpolylog(1/δ))\widetilde{O}(d_{\star} \mathrm{polylog}(1/\delta))O(dpolylog(1/δ))이며, 여기서 dd_{\star}d는 데이터의 내재적 차원이다. 또한, 비균일 L-립시츠 조건 하에서는 복잡도가 O~(Lpolylog(1/δ))\widetilde{\mathcal{O}}(L \mathrm{polylog}(1/\delta))O(Lpolylog(1/δ))로 감소한다. 우리의 접근 방식은 일반적인 로그 오목 분포에 대해 최초로 polylog(1/δ)\mathrm{polylog}(1/\delta)polylog(1/δ) 복잡도를 갖는 샘플러를 제공한다.

One-sentence Summary

Researchers from MIT and Yale present a diffusion sampling method that obtains δ\deltaδ-error in polylog(1/δ)\mathrm { p o l y l o g } ( 1 / \delta )polylog(1/δ) steps using O~(δ)\widetilde O ( \delta )O(δ)-accurate score estimates in L2L ^ { 2 }L2, an exponential speedup over all previous results, with complexity O~(dpolylog(1/δ))\widetilde { O } ( d _ { \star } \mathrm { p o l y l o g } ( 1 / \delta ) )O(dpolylog(1/δ)) or O~(Lpolylog(1/δ))\widetilde { \cal O } ( L \mathrm { p o l y l o g } ( 1 / \delta ) )O(Lpolylog(1/δ)) under a non-uniform LLL-Lipschitz condition, and further achieve the first polylog(1/δ)\mathrm { p o l y l o g } ( 1 / \delta )polylog(1/δ) sampler for log-concave distributions via gradient evaluations.

Key Contributions

  • Given O~(δ)\widetilde{O}(\delta)O(δ)-accurate score estimates in L2L^2L2, the sampling algorithm achieves complexity O~(dpolylog(1/δ))\widetilde{O}(d_\star \operatorname{polylog}(1/\delta))O(dpolylog(1/δ)) under minimal data assumptions, where dd_\stard is the intrinsic dimension, an exponential improvement in accuracy dependence over prior methods.
  • Under a non-uniform LLL-Lipschitz score condition, the complexity reduces to O~(Lpolylog(1/δ))\widetilde{O}(L \operatorname{polylog}(1/\delta))O(Lpolylog(1/δ)), replacing the dimension dependence with the Lipschitz constant.
  • The framework yields the first polylog(1/δ)\operatorname{polylog}(1/\delta)polylog(1/δ)-complexity sampler for general log-concave distributions using only gradient evaluations.

Introduction

The authors tackle a central question in diffusion-based generative modeling: can sampling be performed with high accuracy—meaning only polylogarithmic steps in the inverse target error—using only gradient (score) evaluations, without access to the density? Standard high-accuracy samplers rely on accept/reject methods that require density evaluations, while score-only discretizations of stochastic processes suffer from a bias that forces a polynomial dependence on 1/δ. Existing diffusion samplers, even with higher-order discretizations, achieve at best sub-polynomial but still polynomially bounded query complexity. The authors overcome this barrier by introducing first-order rejection sampling (FORS), a meta-algorithm that simulates rejection sampling using only gradient queries. Applied to diffusion models, FORS yields a query complexity of O(dlog3((d+M22)/δ))O(\mathsf{d}_\star \log^3((d + \mathsf{M}_2^2)/\delta))O(dlog3((d+M22)/δ)) under minimal data assumptions, and near-dimension-free guarantees under a Lipschitz score condition, representing an exponential improvement over prior work in the dependence on the accuracy parameter.

Method

The authors develop a unified high-accuracy sampling framework that operates solely with first-order (gradient) queries. The central building block is a novel subroutine called first-order rejection sampling (FORS), which allows exact sampling from a tilted distribution p^(x)q(x)ew(x)\widehat{p}(x) \propto q(x) e^{w(x)}p(x)q(x)ew(x) without ever evaluating the log‑density w(x)w(x)w(x). Instead, for each candidate xxx, FORS draws i.i.d. unbiased estimates W1,W2,W_1, W_2, \dotsW1,W2, such that E[W1x]=w(x)\mathbb{E}[W_1 \mid x] = w(x)E[W1x]=w(x), and uses a Bernoulli‑factory technique to accept or reject xxx with the correct probability. Concretely, writing ew(x)=e1eE[1+W1]e^{w(x)} = e^{-1} e^{\mathbb{E}[1 + W_1]}ew(x)=e1eE[1+W1] and sampling a Poisson random variable JJJ, the probability of acceptance is recovered as Ej=1J1+Wj2\mathbb{E}\prod_{j=1}^J \frac{1+W_j}{2}Ej=1J21+Wj. The number of gradient queries per acceptance is bounded with high probability, making the procedure efficient when the estimates are suitably bounded.

This FORS subroutine is then specialised to Gaussian tilt distributions of the form

ν(x)exp(f(x)xx022η),\nu(x) \propto \exp\Bigl(-f(x) - \frac{\|x - x_0\|^2}{2\eta}\Bigr),ν(x)exp(f(x)2ηxx02),

which arise naturally in both diffusion model sampling and log‑concave sampling. The key idea is to choose a Gaussian proposal q=N(x0ηf(x+),ηI)q = \mathcal{N}(x_0 - \eta \nabla f(x_+), \eta \mathbf{I})q=N(x0ηf(x+),ηI) that approximates ν\nuν via a local linearisation of fff. A path‑integral representation expresses the log‑ratio logν(x)logq(x)\log \nu(x) - \log q(x)logν(x)logq(x) as an expectation:

w(x)=ErUnif,zPγ˙z,r(x),f(x+)f(γz,r(x)),w(x) = \mathbb{E}_{r \sim \text{Unif}, z \sim P} \bigl\langle \dot{\gamma}_{z,r}(x),\, \nabla f(x_+) - \nabla f(\gamma_{z,r}(x)) \bigr\rangle,w(x)=ErUnif,zPγ˙z,r(x),f(x+)f(γz,r(x)),

where γz,r(x)\gamma_{z,r}(x)γz,r(x) is a carefully designed curve with γz,1(x)=x\gamma_{z,1}(x)=xγz,1(x)=x and γz,0(x)=γˉ(z)\gamma_{z,0}(x)=\bar{\gamma}(z)γz,0(x)=γˉ(z) independent of xxx. Under a Hölder‑smoothness assumption f(x)f(y)βsxys\|\nabla f(x)-\nabla f(y)\| \le \beta_s \|x-y\|^s∥∇f(x)f(y)βsxys, the estimators are clipped to a constant interval [B,B][-B,B][B,B], and Theorem 3.3 guarantees that the resulting law ν^\widehat{\nu}ν is very close to the true tilt in χ2\chi^2χ2 divergence provided the step size η\etaη is chosen appropriately (e.g., η1β1dlog(1/δ)\eta^{-1} \gg \beta_1 \sqrt{d} \log(1/\delta)η1β1dlog(1/δ) in the smooth case).

The framework is then lifted to diffusion sampling. The backward transition kernel of the diffusion can be written as a Gaussian tilt, so each reverse step becomes an application of FORS with a score estimate sk\mathsf{s}_ksk. The proposal distribution is chosen as

ρˉk(Xk+1)=N(αk1Xk+1+αkηksk+1(Xk+1),ηˉkI),\bar{\rho}_k(\cdot \mid X_{k+1}) = \mathcal{N}\bigl(\alpha_k^{-1} X_{k+1} + \alpha_k \eta_k \mathsf{s}_{k+1}(X_{k+1}),\, \bar{\eta}_k \mathbf{I}\bigr),ρˉk(Xk+1)=N(αk1Xk+1+αkηksk+1(Xk+1),ηˉkI),

which corresponds to an exponential integrator approximation and is almost the KL‑minimiser to the true transition. The “corrector” distribution that supplies the unbiased estimates is built from a path function γz,r,x^(x)\gamma_{z,r,\widehat{x}}(x)γz,r,x(x) with coefficients ar,bra_r,b_rar,br that satisfy a norm preservation identity, ensuring dimension‑free variance bounds.

A central concept is the intrinsic dimension of the data distribution:

dimσ2(p)=1infr0(logN(p;r)+r2σ2)d,\dim_{\sigma^2}(p) = 1 \vee \inf_{r\ge 0} \Bigl(\log N(p;r) + \frac{r^2}{\sigma^2}\Bigr) \wedge d,dimσ2(p)=1r0inf(logN(p;r)+σ2r2)d,

and d=dimσ02/α02(pdata)\mathsf{d}_\star = \dim_{\sigma_0^2/\alpha_0^2}(p_{\mathsf{data}})d=dimσ02/α02(pdata). This quantity captures low‑dimensional structure, small support size, or bounded radius, and is never larger than the ambient dimension ddd. Using dd_\stard, the step size condition becomes σk2/ηkdlog(1/δ)+log2(1/δ)\sigma_k^2/\eta_k \gg \mathsf{d}_\star \log(1/\delta) + \log^2(1/\delta)σk2/ηkdlog(1/δ)+log2(1/δ), leading to a diffusion sampling complexity of order

dlog3 ⁣(d+M22δ2)\mathsf{d}_\star \cdot \log^3\!\Bigl(\frac{d + \mathsf{M}_2^2}{\delta^2}\Bigr)dlog3(δ2d+M22)

for the bounded‑Lipschitz metric. When the data distribution is log‑smooth the same scheme yields a KL guarantee with ddd replacing d\mathsf{d}_\stard.

A further refinement uses non‑uniform Lipschitz conditions. Under the assumption that the score Jacobian mτ(Yτ)\nabla m_\tau(Y_\tau)mτ(Yτ) has bounded operator norm with high probability (which holds unconditionally with Lop,δ=O(d+log(1/δ))L_{\mathrm{op},\delta} = O(\mathsf{d}_\star + \log(1/\delta))Lop,δ=O(d+log(1/δ)) and becomes constant for log‑concave or mixture models), the effective Frobenius norm bound LF,δL_{\mathrm{F},\delta}LF,δ can be substantially smaller than d\sqrt{d}d. This reduces the required step size condition to σk2/ηkLF,δlog(d/δ)+log2(1/δ)\sigma_k^2/\eta_k \gg L_{\mathrm{F},\delta} \log(\mathsf{d}_\star/\delta) + \log^2(1/\delta)σk2/ηkLF,δlog(d/δ)+log2(1/δ), resulting in a complexity as low as min{dLop,d2/3Lop1/3}\min\{\sqrt{d L_{\mathrm{op}}},\, \mathsf{d}_\star^{2/3} L_{\mathrm{op}}^{1/3}\}min{dLop,d2/3Lop1/3} times polylogarithmic factors. The analysis also verifies that the same Lipschitz parameter controls the smoothness of the score under the one‑step DDPM distribution, closing the loop of the induction.

Finally, the authors apply the same Gaussian tilt technique to log‑concave sampling via the proximal sampler. The restricted Gaussian oracle (RGO) that appears in the Gibbs step is exactly a tilt distribution, so FORS replaces zeroth‑order queries with first‑order ones. Under log‑concavity, strong log‑concavity, or isoperimetric assumptions, the resulting outer loop of the proximal sampler combined with FORS yields high‑accuracy guarantees whose complexities scale with dimension only through d\sqrt{d}d (for smooth potentials) or are dimension‑free in the Lipschitz case. This unifies the treatment of diffusion models and classical log‑concave sampling within a single first‑order query framework.

Experiment

The evaluation applies the proximal sampler, where the restricted Gaussian oracle is realized via FORS, to sampling from log-concave and isoperimetric targets using only first-order queries. For smooth potentials (s=1), it attains high-accuracy guarantees in chi-squared or KL divergence under log-Sobolev, Poincaré, or log-concavity, with query complexity that scales polynomially with the condition number, dimension (often d^{1/2}), and the initial distributional distance. For Lipschitz potentials (s=0), analogous guarantees are derived under Poincaré and log-concavity, requiring no zeroth-order queries and avoiding discretization-error degradation. Overall, the results demonstrate that first-order sampling can achieve high precision without the limitations of diffusion-based discretization or zeroth-order oracles.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp