betaFeedback

WorksMathematics

Tight Sampling Complexity with Stochastic Gradient Oracles in Fixed Dimensions

Abstract

We establish the stochastic-gradient query complexity of sampling smooth strongly log-concave distributions in every fixed dimension d≥1d\geq1. For μμ-strongly convex, LL-smooth potentials with unknown minimizers xf⋆x_f^\star in the ball B(0,μ−1/2)\mathbb{B}(0,μ^{-1/2}), and unbiased gradient oracles with variance at most σ2σ^2, the minimax worst-case expected query complexity is Θ(log⁡(1+κ)+σ2με)Θ\left(\log(1+κ)+\frac{σ^2}{μ\varepsilon}\right), jointly optimal for the condition number κ:=L/μκ:=L/μ, variance σ2≥0σ^2\ge 0, and TV accuracy 0<ε≤1/100<\varepsilon\leq 1/10. In the noiseless setting σ=0σ=0, this tight complexity Θ(log⁡(1+κ))Θ\left(\log(1+κ)\right) is independent of ε\varepsilon. Moreover, a gradient-only sampler generates an exact sample with O(log⁡(1+κ)){O}(\log(1+κ)) worst-case expected queries. Without previous ball B(0,μ−1/2)\mathbb{B}(0,μ^{-1/2}), exact sampling from any initial point x0x_0 can be implemented with expected cost O(log⁡(1+κ)+log⁡(1+μ∥x0−xf⋆∥)){O}\left(\log(1+κ)+\log(1+\sqrtμ\|x_0-x_f^\star\|)\right), without knowing the initial distance. We also show that dependence on initial distance is generally unavoidable.

Introduction

Sampling from a density proportional to e−fe^{-f} is central to Bayesian inference and uncertainty quantification. When full gradients are costly, stochastic gradients offer a natural source of information about the target [24]. For μ\mu-strongly convex, LL-smooth potentials, a basic question is how many gradient queries are needed to attain total-variation (TV) accuracy ε\varepsilon. Both ε\varepsilon and the condition number κ=L/μ\kappa= L/\mu enter nonasymptotic sampling guarantees [14].

Recent work has clarified the optimal accuracy dependence. In High-accuracy log-concave sampling with stochastic queries, Chen et al. [7] establish polylogarithmic accuracy dependence under sub-exponential gradient noise. Under only a variance ceiling σ2\sigma^2, their strongly convex upper bound in Rd\mathbb{R}^d has order O~(κd[1+σ2/(με)])\widetilde{O}(\kappa\sqrt{d}[1 + \sigma^2/(\mu\varepsilon)]), with logarithmic and initialization factors suppressed. At fixed positive variance, their lower bound matches the 1/ε1/\varepsilon exponent but not the upper bound’s multiplicative κ\kappa dependence. Thus accuracy optimality, up to logarithmic factors, does not give joint optimality in ε\varepsilon and κ\kappa.

This distinction matters for ill-conditioned targets. An accuracy-optimal bound can still overestimate the cost by a large factor when κ\kappa grows, and it does not determine whether curvature must multiply the statistical cost. The joint ε\varepsilon–κ\kappa dependence is left open by these bounds. Resolving it requires upper and lower bounds that match as both parameters vary, not merely the correct power of 1/ε1/\varepsilon.

Noise adaptivity is equally important. Gradient estimators can have very different variances, and averaging reduces variance only by spending additional queries. A useful complexity characterization should improve as the variance ceiling σ2\sigma^2 decreases, distinguish noise-dominated from nearly noiseless regimes, and recover the exact-gradient benchmark at σ2=0\sigma^2 = 0. Fixing a positive noise level in an accuracy asymptotic can hide this transition. Merely removing a stochastic term from a lower bound can also leave no meaningful noiseless guarantee.

We therefore seek matching expected query bounds under unbiased, variance-bounded gradient access without potential values. Here noise-adaptive means dependence on the supplied variance ceiling, including zero; it does not mean that this ceiling is unknown to the algorithm. This leads to our central question:

Can we obtain tight sampling complexity jointly in ε\varepsilon and κ\kappa, with a guarantee that also adapts to the noise level?

Our contributions. We resolve this question in the fixed-dimensional setting, under the oracle, localization, and expected-cost conventions of § 2.

  1. For every fixed d≥1d \ge1, we establish the minimax rate Θ(log⁡(1+κ)+σ2/(με))\Theta(\log(1+\kappa) + \sigma^2/(\mu\varepsilon)), jointly in ε\varepsilon, κ\kappa, and all σ2≥0\sigma^2 \ge0, with constants depending only on dd (Theorems 2.3 and 2.4).

  1. We construct a gradient-only sampler with fully charged geometric preprocessing and variance-controlled Poisson acceptance, including all failed histories and transcript markers (Algorithms 1–2 and Section 3).

  1. We give a zero-noise exact sampler, its radius-free extension, and a fixed-curvature lower bound isolating logarithmic worst-case location cost (§ 5).

Closest related work

The bounded-variance comparison above uses Chen et al. [7], Theorem 3.4(i) and Remark 5, with their lower bound in Proposition 4.1 and Remark 6. Their bounds already track noise strength; neither the 1/ε1/\varepsilon exponent nor the rare-informative-reply mechanism is new here. Our contribution is joint fixed-dimensional optimality, without multiplicative curvature or logarithmic losses, under the conditional oracle and stopping conventions below.

For exact information, Chewi et al. [12] obtain a Θ(log⁡log⁡κ)\Theta(\log\log\kappa) scalar benchmark with a known mode and potential values. Chewi et al. [13] give value-and-gradient query bounds and fixed-dimensional ellipsoidal preprocessing. Their geometry also permits accuracy-independent expected value-based exact rejection, as derived in Appendix § 13. Our noiseless contribution is therefore gradient-only exact sampling with a coarsely localized unknown mode, not accuracy-independent expected rejection cost alone.

Poisson rejection and randomized gradient integration have precedents in the first-order framework of Chen et al. [6] and the exact-diffusion constructions of Beskos et al. [3]. We analyze these principles with noisy, history-dependent replies and explicitly charge geometric preprocessing and random stopping. Appendix § 8 gives the extended comparison, including recent exact-gradient methods and the relevant oracle, initialization, and error-metric distinctions.

Model and main minimax results

Fix an integer d≥1d \ge1 and public parameters 0<μ≤L<∞0 < \mu\le L < \infty, σ2≥0\sigma^2 \ge0, and 0<ε≤1/100 < \varepsilon\le1/10. Norms are Euclidean and logarithms are natural unless a base is displayed. With dd fixed, constants hidden in OO, Ω\Omega, Θ\Theta may depend on dd but are uniform in the other parameters unless stated otherwise. The notation CdC_d denotes a finite constant depending only on dd and may change between bounds. Write B(a,r)={x∈Rd:∥x−a∥≤r}\mathbb{B}(a,r) = \{x \in\mathbb{R}^d : \lVert x-a\rVert\le r\} and Bd=B(0,1)\mathbb{B}_d = \mathbb{B}(0,1) for the closed Euclidean balls.

Definition 2.1 (Potential class). The class Cd(L,μ)\mathcal{C}_d(L,\mu) consists of all f∈C1(Rd)f \in C^1(\mathbb{R}^d) such that

μ2∥x−y∥2≤f(x)−f(y)−⟨∇f(y),x−y⟩≤L2∥x−y∥2(x,y∈Rd),(1)\frac{\mu}{2}\lVert x-y\rVert^2 \le f(x)-f(y)-\langle\nabla f(y),x-y\rangle\le\frac{L}{2}\lVert x-y\rVert^2 \qquad(x,y \in\mathbb{R}^d), \tag*{(1)}

and whose unique minimizer satisfies ∥x⋆∥≤μ−1/2\lVert x^\star\rVert\le\mu^{-1/2}. The target is νf(dx)=Zf−1e−f(x)dx\nu_f(dx) = Z_f^{-1}e^{-f(x)}dx, where Zf=∫Rde−f(x)dxZ_f = \int_{\mathbb{R}^d}e^{-f(x)}dx.

Strong convexity ensures 0<Zf<∞0 < Z_f < \infty. The curvature endpoints are public bounds, not a requirement that every function attain them; no second derivative is assumed. The ball localizes the unknown mode, not the target’s support. Additive constants in ff are irrelevant. For initialization extensions, Ud(L,μ)\mathcal{U}_d(L,\mu) denotes the same curvature class without localization, and Cd(L,μ;x0,R)\mathcal{C}_d(L,\mu;x_0,R) restricts its modes to B(x0,R)\mathbb{B}(x_0,R).

Oracle and stopping conventions. A physical query at xtx_t returns a full vector gtg_t. Let Htin\mathcal{H}^{\mathrm{in}}_t be the complete information σ\sigma-field after xtx_t is selected and immediately before its reply is generated. It contains xtx_t, all previous queries and replies, and all internal randomness already generated, but no future random draws. Every admissible conditional kernel satisfies, almost surely,

E[gt∣Htin]=∇f(xt),E[∥gt−∇f(xt)∥2∣Htin]≤σ2.(2)\mathbb{E}[g_t \mid\mathcal{H}^{\mathrm{in}}_t] = \nabla f(x_t), \qquad\mathbb{E}[\lVert g_t-\nabla f(x_t)\rVert^2 \mid\mathcal{H}^{\mathrm{in}}_t] \le\sigma^2. \tag*{(2)}

This is a total vector variance bound; successive replies need not be independent or identically distributed. Potential values, Hessians, proximal oracles, and convex-body sampling oracles are unavailable. Exact real arithmetic and internal random generation are free.

The call count is a stopping time for the physical filtration

Ft=σ(x1,g1,…,xt,gt),F0={∅,Ω}.(3)\mathcal{F}_t = \sigma(x_1,g_1,\ldots,x_t,g_t), \qquad\mathcal{F}_0 = \{\varnothing,\Omega\}. \tag*{(3)}

The output may use private randomness. Since that randomness is not itself in Ft\mathcal{F}_t, we encode private branch decisions in charged query locations before stopping. This stricter convention is explicit: it accounts for the exact one-call lower bound below, and costs only a constant-factor overhead in our construction.

Remark 2.2. Conditioning on Htin\mathcal{H}^{\mathrm{in}}_t fixes the current query as well as the randomness already used to select it. This matters because a fresh random query need not be Ft−1\mathcal{F}_{t-1}-measurable. For example, an exact oracle for f(x)=x2/2f(x)=x^2/2, queried first at either 11 or −1-1 with equal probability, satisfies (2.2), whereas E[g1∣F0]=0≠∇f(x1)\mathbb{E}[g_1\mid\mathcal{F}_0]=0\ne\nabla f(x_1). Fresh-data oracles satisfy (2.2) when their pointwise moments obey these bounds and their new data are independent of the incoming history. The assumption also permits history-dependent reply laws; it does not require independent replies. The physical filtration (Ft)(\mathcal{F}_t) serves the separate stopping requirement.

Minimax quantity and normalization. Write ∥P−Q∥TV=sup⁡D∣P(D)−Q(D)∣\lVert P-Q\rVert_{\mathrm{TV}}=\sup_D\lvert P(D)-Q(D)\rvert for any two probability distributions PP and QQ. The complexity is

NTV⋆(d,L,μ,σ,ε)=inf⁡Asup⁡f∈Cd(L,μ), OEf,O,A[T],(4)N_{\mathrm{TV}}^{\star}(d,L,\mu,\sigma,\varepsilon)=\inf_{\mathcal{A}}\sup_{f\in\mathcal{C}_d(L,\mu),\,\mathcal{O}}\mathbb{E}_{f,\mathcal{O},\mathcal{A}}[T], \tag*{(4)}

where the infimum is over measurable, almost surely terminating algorithms obeying the information and stopping rules, with TV error at most ε\varepsilon for every ff and every oracle O\mathcal{O} satisfying (2.2). An empty infimum is +∞+\infty. Normalize without changing query count by

z=μ x,F(z)=f(z/μ),G=g/μ,κ=L/μ,A=σ2/μ.(5)z=\sqrt{\mu}\,x,\qquad F(z)=f(z/\sqrt{\mu}),\qquad G=g/\sqrt{\mu},\qquad\kappa=L/\mu,\qquad A=\sigma^2/\mu. \tag*{(5)}

Then FF has curvature bounds 1,κ1,\kappa, its mode x⋆=μx⋆x_\star=\sqrt{\mu}x^\star is in B(0,1)\mathbb{B}(0,1), and normalized noise has total variance at most AA. Inverse scaling preserves TV and physical stopping. Throughout, put

X=A/ε,S=1+log⁡(1+κ)+X.(6)X=A/\varepsilon,\qquad S=1+\log(1+\kappa)+X. \tag*{(6)}

Sampling procedure and guarantees

In this section, we describe the algorithms achieving the required upper bound, including Algorithms 1 and 2. A call Oracle⁡(y)\operatorname{Oracle}(y) queries y/μy/\sqrt{\mu} and divides the reply by μ\sqrt{\mu}. All calls are sequential and charged, including repeated locations. Fresh random draws are generated only when needed, after preceding replies. The algorithms mainly consist of several ingredients below:

Geometric preprocessing, step 1: CenterPilot⁡(κ,A,B,δm)\operatorname{CenterPilot}(\kappa,A,B,\delta_m). Given the center tolerance BB and failure budget δm\delta_m, initialize E=cE+QEBd=2BdE=c_E+Q_EB_d=2B_d. At each round inspect the symmetric vertices zi±=cE±γQEeiz_i^{\pm}=c_E\pm\gamma Q_Ee_i, where γ>0\gamma>0 is a fixed geometric parameter depending only on dd. A vertex outside 2Bd2B_d gives the separating normal v=zi±v=z_i^{\pm} without an oracle call. Otherwise form fresh means gˉi,b±=b−1∑ℓ=1bOracle⁡(zi±)\bar{g}_{i,b}^{\pm}=b^{-1}\sum_{\ell=1}^{b}\operatorname{Oracle}(z_i^{\pm}) at all 2d2d vertices and the scores

References

  1. [1]Jason M. Altschuler and Sinho Chewi. Faster high-accuracy log-concave sampling via algorithmic warm starts. Journal of the ACM, 71(3):24:1–24:55, 2024. doi: 10.1145/3653446. URL https://arxiv.org/abs/2302.10249.
  2. [2]Christophe Andrieu and Gareth O. Roberts. The pseudo-marginal approach for efficient Monte Carlo computations. The Annals of Statistics, 37(2):697–725, 2009. doi: 10.1214/07-AOS574. URL https://arxiv.org/abs/0903.5480.
  3. [3]Alexandros Beskos, Omiros Papaspiliopoulos, and Gareth O. Roberts. Retrospective exact simulation of diffusion sample paths with applications. Bernoulli, 12(6):1077–1098, 2006. doi: 10.3150/bj/1165260511. URL https://discovery.ucl.ac.uk/10050411/1/Beskos_PapaspiliopoulosRoberts06.pdf.DOI
  4. [4]Niladri Chatterji, Nicolas Flammarion, Yian Ma, Peter Bartlett, and Michael Jordan. On the theory of variance reduction for stochastic gradient Monte Carlo. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 764–773. PMLR, 2018. URL https://proceedings.mlr.press/v80/chatterji18a.html.arxiv.org/abs/1802.05431
  5. [5]Niladri S. Chatterji, Peter L. Bartlett, and Philip M. Long. Oracle lower bounds for stochastic gradient sampling algorithms. Bernoulli, 28(2):1074–1092, 2022. doi: 10.3150/21-BEJ1377. URL https://arxiv.org/abs/2002.00291.
  6. [6]Fan Chen, Sinho Chewi, Constantinos Daskalakis, and Alexander Rakhlin. High-accuracy sampling for diffusion models and log-concave distributions. In Proceedings of the 43rd International Conference on Machine Learning, 2026. doi: 10.48550/arXiv.2602.01338. URL https://arxiv.org/abs/2602.01338. Extended version: arXiv:2602.01338v2, April 27, 2026.
  7. [7]Fan Chen, Sinho Chewi, Constantinos Daskalakis, and Alexander Rakhlin. High-accuracy log-concave sampling with stochastic queries. In Proceedings of the Thirty Ninth Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 1341–1372. PMLR, 2026. URL https://proceedings.mlr.press/v336/chen26g.html. Extended version: arXiv:2602.14342v2, May 14, 2026.arxiv.org/abs/2602.14342
  8. [8]Fan Chen, Sinho Chewi, Jianfeng Lu, and Matthew S. Zhang. Accelerated high-accuracy sampling from a warm start via the proximal bouncy particle sampler, 2026. URL https://arxiv.org/abs/2609.06905. Version 1, September 7, 2026.
  9. [9]Fan Chen, Sinho Chewi, Jianfeng Lu, and Matthew S. Zhang. Smoothed picard hamiltonian monte carlo, 2026. URL https://arxiv.org/abs/2609.06906. Version 1, September 7, 2026.
  10. [10]Fan Chen, Sinho Chewi, Alexander Rakhlin, and Matthew S. Zhang. Exact simulation of diffusions and improved algorithms for log-concave sampling. arXiv:2608.05022, 2026. URL https://arxiv.org/abs/2608.05022. Version 1, August 5, 2026.
  11. [11]Yongxin Chen, Sinho Chewi, Adil Salim, and Andre Wibisono. Improved analysis for a proximal algorithm for sampling. In Proceedings of the Thirty Fifth Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 2984–3014. PMLR, 2022. URL https://proceedings.mlr.press/v178/chen22c.html.arxiv.org/abs/2202.06386
  12. [12]Sinho Chewi, Patrik R. Gerber, Chen Lu, Thibaut Le Gouic, and Philippe Rigollet. The query complexity of sampling from strongly log-concave distributions in one dimension. In Proceedings of the Thirty Fifth Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 2041–2059. PMLR, 2022. URL https://proceedings.mlr.press/v178/chewi22b.html.arxiv.org/abs/2105.14163
  13. [13]Sinho Chewi, Jaume de Dios Pont, Jerry Li, Chen Lu, and Shyam Narayanan. Query lower bounds for log-concave sampling. Journal of the ACM, 71(4):29:1–29:42, 2024. doi: 10.1145/3673651. URL https://arxiv.org/abs/2304.02599. Preliminary version in FOCS 2023, pp. 2139–2148.
  14. [14]Arnak S. Dalalyan. Theoretical guarantees for approximate sampling from smooth and log-concave densities. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 79(3):651–676, 2017. doi: 10.1111/rssb.12183. URL https://arxiv.org/abs/1412.7392.
  15. [15]Arnak S. Dalalyan and Avetik Karagulyan. User-friendly guarantees for the Langevin Monte Carlo with inaccurate gradient. Stochastic Processes and their Applications, 129(12):5278–5311, 2019. doi: 10.1016/j.spa.2019.02.016. URL https://arxiv.org/abs/1710.00095.
  16. [16]Alain Durmus and Éric Moulines. Nonasymptotic convergence analysis for the unadjusted Langevin algorithm. The Annals of Applied Probability, 27(3):1551–1587, 2017. doi: 10.1214/16-AAP1238. URL https://arxiv.org/abs/1507.05021.
  17. [17]Alain Durmus, Szymon Majewski, and Błażej Miasojedow. Analysis of Langevin Monte Carlo via convex optimization. Journal of Machine Learning Research, 20(73):1–46, 2019. URL https://jmlr.org/papers/v20/18-173.html.
  18. [18]Jiaojiao Fan, Bo Yuan, and Yongxin Chen. Improved dimension dependence of a proximal algorithm for sampling. In Proceedings of the Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 1473–1521. PMLR, 2023. URL https://proceedings.mlr.press/v195/fan23a.html.arxiv.org/abs/2302.10081
  19. [19]W. R. Gilks and P. Wild. Adaptive rejection sampling for Gibbs sampling. Journal of the Royal Statistical Society: Series C (Applied Statistics), 41(2):337–348, 1992. doi: 10.2307/2347565. URL https://rss.onlinelibrary.wiley.com/doi/10.2307/2347565.DOI
  20. [20]M. S. Keane and G. L. O’Brien. A Bernoulli factory. ACM Transactions on Modeling and Computer Simulation, 4(2):213–219, 1994. doi: 10.1145/175007.175019. URL https://doi.org/10.1145/175007.175019.
  21. [21]Yin Tat Lee, Ruoqi Shen, and Kevin Tian. Structured logconcave sampling with a restricted Gaussian oracle. In Proceedings of the Thirty Fourth Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 2993–3050. PMLR, 2021. URL https://proceedings.mlr.press/v134/lee21a.html.arxiv.org/abs/2010.03106
  22. [22]László Lovász and Santosh Vempala. The geometry of logconcave functions and sampling algorithms. Random Structures & Algorithms, 30(3):307–358, 2007. doi: 10.1002/rsa.20135. URL https://doi.org/10.1002/rsa.20135.
  23. [23]Şerban Nacu and Yuval Peres. Fast simulation of new coins from old. The Annals of Applied Probability, 15(1A):93–115, 2005. doi: 10.1214/105051604000000549. URL https://arxiv.org/abs/math/0309222.
  24. [24]Max Welling and Yee Whye Teh. Bayesian learning via stochastic gradient Langevin dynamics. In Proceedings of the 28th International Conference on Machine Learning, pages 681–688, 2011. URL https://icml.cc/2011/papers/398_icmlpaper.pdf.

Paper details

vlnc:W_qx4g8gyq
Version
v2 · latest
Published
Added
License
CC BY 4.0
Usage

views · 15

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents