On Complexity of Gaussian Sampling

Huanjian Zhou, Taiji SuzukiarXiv 2026

TL;DR

This paper establishes near-optimal lower bounds for the number of matrix-vector queries required to sample from a $d$-dimensional Gaussian distribution. By introducing a novel "hidden determinant sign" construction, the authors prove that high-accuracy sampling is fundamentally difficult, providing a lower bound that finally matches known upper bounds across a wide range of condition numbers and error tolerances.

What Problem Does This Paper Address?

Gaussian sampling—generating a random vector from $N(0, A^{-1})$—is a cornerstone of modern computational science, appearing in everything from Bayesian inference to spatial statistics. In many high-stakes applications, we face two challenges: ill-conditioning (where the precision matrix $A$ has a large condition number $\kappa$) and the need for high accuracy (where the total variation error $\varepsilon$ must be very small).

While we have algorithms that can do this using $O(\min\{d, \sqrt{\kappa} \log(d/\varepsilon)\})$ matrix-vector products, our theoretical understanding of the minimum number of queries required was incomplete. Previous lower bounds didn't account for the accuracy parameter $\varepsilon$ (they didn't grow as $\varepsilon \to 0$) and only matched the upper bounds for very specific, well-behaved regimes. This paper closes that gap, asking: Can we establish sharp lower bounds that hold uniformly across all dimensions and accuracies?

Methods

The authors employ two primary theoretical constructions to prove their lower bounds:

  1. Hidden Determinant Sign: This is the paper's most significant contribution. The authors construct two families of Gaussian distributions where the precision matrices are identical except for the sign of a "hidden" determinant component. They prove that any algorithm making fewer than a certain number of queries cannot distinguish between these two families. However, the resulting Gaussian distributions are far apart in total variation distance because the determinant sign affects the expected norm of the samples. This "indistinguishability vs. separation" argument forces the $\log(1/\varepsilon)$ dependence into the lower bound.
  2. Hidden Eigenbasis Extension: The authors extend a recent technique that uses a fixed set of eigenvalues (based on Chebyshev nodes) but a random rotation (the eigenbasis). This allows them to prove that even if an algorithm knows the exact spectrum of the matrix, the task remains difficult because it must still "find" the correct eigenvectors.

Datasets

This is a theoretical paper in computational complexity; therefore, no empirical datasets were used for training or evaluation. The "data" consists of mathematically constructed families of "hard" Gaussian instances designed to thwart sampling algorithms.

Key Insights and Ideas

  • The $\varepsilon$ Bottleneck: The most striking insight is that the cost of high accuracy is not just an algorithmic artifact but a fundamental information-theoretic limit. The "hidden sign" trick elegantly demonstrates why we must pay more queries as $\varepsilon$ shrinks.
  • Spectrum Knowledge Doesn't Save You: A common intuition is that knowing the eigenvalues of a matrix makes sampling easier. This paper shows that for a wide range of condition numbers ($\kappa \le d^{1-\delta}$), the $\sqrt{\kappa} \log d$ query complexity is unavoidable even with a public spectrum, because the unknown rotation of the eigenbasis hides too much information.
  • Uniformity: Unlike previous results that only worked for specific ratios of $d$ and $\kappa$, the new lower bound in Theorem 3.1 is remarkably robust, holding for all $d \ge 1$ and $\kappa \ge 4$.

Key Results

The paper's main result is a new lower bound for the query complexity $Q_G$: $$\Omega\left(\min\left\{d, \sqrt{\kappa} \log\left(1 + \frac{d}{\sqrt{\kappa}\varepsilon}\right)\right\}\right)$$ This result is significant because it matches the best-known upper bound up to constant factors for most practical regimes (specifically whenever $\kappa \le d^{2-\delta}$ or when $\varepsilon$ is polynomially small in $d$).

The authors provide a comprehensive comparison of their results against the state-of-the-art in the following table:

Comparison of upper and lower query bounds for Gaussian sampling.

As shown in the table, Theorem 3.1 provides the first lower bound that scales with $\varepsilon$, while Theorem 4.1 extends the "hidden eigenbasis" logic to much larger condition numbers than previously possible.

Limitations and Future Work

  • The Constant Accuracy Gap: While the bounds are tight for high accuracy, a small gap remains at constant accuracy (e.g., $\varepsilon = 1/10$) when the condition number is very large ($\kappa > d^2$). Closing this specific gap remains an open problem.
  • Beyond Gaussians: The authors note that their lower bounds apply to the broader class of strongly log-concave sampling. However, the best-known upper bounds for that broader class are currently much higher than for Gaussians. It remains to be seen if non-quadratic potentials are inherently harder to sample from, or if better algorithms for the general case are yet to be discovered.
  • Fixed Spectrum $\varepsilon$-dependence: The current analysis for the "hidden eigenbasis" (Theorem 4.1) does not show a dependence on $\varepsilon$. The authors suggest that different thresholding techniques might be needed to bring the $\log(1/\varepsilon)$ term into the fixed-spectrum regime.

Summary updated

BibTeX
@misc{zhou2026complexity,
  author = {Huanjian Zhou and Taiji Suzuki},
  title = {{On Complexity of Gaussian Sampling}},
  year = {2026},
  eprint = {2610.20492},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.20492},
}
Figure