arXiv:2610.20492cs.CCOct 2026Cited by 1 paper on PaperVantage
Manuscript Offprint
arXiv:2610.20492
On Complexity of Gaussian Sampling
Huanjian Zhou, Taiji Suzuki
Abstract
We study the number of exact matrix-vector queries needed to sample a centered d-dimensional Gaussian with condition number at most κ to total variation error ε. The best known algorithm uses O(min{d,κlog(εd)}) queries, while the known lower bounds do not grow as ε→0 and match this bound only for κ≤d1/5−δ at constant accuracy. We introduce a construction based on a hidden determinant sign and prove a lower bound of Ω(min{d,κlog(1+κεd)}) uniformly for all d≥1, κ≥4, and 0<ε≤161. This bound matches the known upper bound up to constant factors whenever κ≤d2−δ for fixed δ∈(0,2), or ε≤d−c for fixed c>0. We also extend a recent fixed-spectrum construction with a hidden eigenbasis from κ=2 to 2≤κ≤d1−δ, for any fixed δ∈(0,1). This gives an Ωδ(κlogd) lower bound at constant accuracy that holds even when the spectrum of the precision matrix is known to the algorithm.
1 Introduction 3
1.1 Our results 4
2 Preliminaries 5
3 Lower Bound via Hidden Determinant Sign 6
3.1 The Hard Gaussian Family 6
3.2 Properties of the Construction 7
3.3 Proof of Theorem 3.1 7
4 Lower Bound via Hidden Eigenbasis 9
4.1 The Hard Family 9
4.2 Properties of the Hard Family 9
4.3 Proof of Theorem 4.1 11
4.4 Limitations of the Analysis 12
5 Conclusion 13
A Useful Facts 17
A.1 Two Spherical Poisson Identities 17
B Proofs for Section 3 17
B.1 Indistinguishability: Proof of Lemma 3.2 17
B.2 Separation: Proof of Lemma 3.3 20
B.3 Regularity 25
C Proofs for Section 4 26
C.1 Proof of Lemma 4.3 26
C.2 Proof of Lemma 4.4 29
C.3 Proof of Lemma 4.5 34
C.4 Proof of Lemma 4.6 36
1 Introduction
We study the problem of sampling from a centered Gaussian distribution given query access to its unnormalized density. Gaussian sampling is a fundamental algorithmic task with applications in Bayesian inference [BCM16], numerical simulation [CS14], and randomized approximation algorithms [GW95].
The target is πA=N(0,A−1), where the unknown precision matrix A satisfies Id⪯A⪯κId. An algorithm accesses A through matrix-vector product queries. At each step, it chooses a vector x∈Rd and observes Ax. The goal of the algorithm is to output a random vector whose distribution is within ε of πA in total variation (TV) distance. We ask how many queries required for sampling from d-dimensional Gaussian distribution to accuracy ε with the condition number κ.
Gaussian sampling has a long history, with methods based on polynomial approximations to matrix square roots and inverse square roots [Fix86, Dav87], Krylov subspaces and conjugate gradients [PF12, AEP13, CS14], and Markov chain Monte Carlo, including Gibbs sampling and Hamiltonian Monte Carlo [RS97, FP18, AGS24]. In the first-order oracle model considered here, [LST20] obtained a query bound of O(κdlog3(εκd)) for Metropolized Hamiltonian Monte Carlo. For Gaussian targets, [AGS24] improved this to O(κd1/4log(ε1)) using long, randomized integration times, with initialization included in the query count. Analyses of Hit-and-Run also yield an O(κdlog(εκd)) query bound, since each exact Gaussian line update requires only one matrix-vector query [ALZ24, BREO25]. A sharper worst-case upper bound is provided by the polynomial sampler of [CdDPL+24], which requires O(min{d,κlog(εd)}) queries for total variation error ε. At a sufficiently small constant total variation error, they proved a lower bound of Ω(min{d,κ}) against arbitrary randomized adaptive algorithms. They further obtained Ωδ(κlogd) when κ≤d1/5−δ, for any fixed δ∈(0,1/5), matching their upper bound at constant accuracy in this regime. They conjectured that Ω(κlogd) queries are necessary whenever κlogd≤d. A recent preprint [Ope26] gives an Ω(logd) lower bound for κ=2 and ε=101, using instances with a fixed spectrum and a random eigenbasis. None of these lower bounds grows as ε→0, and for κ≥d1/5 they are below the upper bound by a factor of order log(d/ε).
However, both regimes arise in applications. Large condition numbers arise naturally in spatial statistics and Gaussian process regression [ABW94, BDT13, LCW17]. On a bounded domain, the covariance matrices of a fixed Matérn model satisfy κ=Ω(d) as the number d of sampling locations increases [SCA12]. Sparse precision matrices arising from SPDE-based Gaussian Markov random field approximations of Matérn fields can likewise become ill-conditioned under mesh refinement [LRL11, PD19]. For example, a regular-grid discretization of the Matérn SPDE with ν=1 on a fixed two-dimensional periodic domain satisfies κ=Θ(d2) under uniform refinement.
High sampling accuracy matters for estimating a rare failure probability p [LLZ15], since TV error ε allows relative bias up to ε/p. High accuracy matters in Gibbs samplers with Gaussian conditionals [BCM16, NS23], where uncorrected sampling errors can bias the chain [GMI14]. From a common initial law, a uniform per-update TV error of ε accumulates to at most Nε over N updates. In neither regime do the known bounds determine the query complexity. This leads to the following question.
Can we establish sharp lower bounds for high-accuracy sampling from ill-conditioned Gaussians, uniformly over all dimensions?
1.1 Our results
Our first result is the following lower bound, which holds for every κ≥4 and increases as ε decreases to zero.
Table 1: Upper and lower query bounds for sampling from N(0,A−1) with Id⪯A⪯κId, using an exact first-order oracle and a fixed worst-case query budget, to total variation accuracy ε. Here d is the dimension and κ≥2 is the condition-number bound.
Reference
Regime
Query bound
Technique
Upper bounds
[CdDPL+24]
all d,κ, 0<ε≤101
O(min{d,κlog(εd)})
approximation of A−1/2
Lower bounds
[CdDPL+24]
all d,κ, 0<ε≤c
Ω(min{d,κ})
hidden minimum eigenvalue
[CdDPL+24]
κ≤d1/5−δ,0<ε≤ε0
Ωδ(κlogd)
hidden eigenvalue multiplicities
[Ope26]
d≥d0,κ=2,ε=101
Ω(logd)
hidden eigenbasis
Theorem 3.1
d≥1,κ≥4,0<ε≤161
Ω(min{d,κlog(1+κεd)})
hidden determinant sign
Theorem 4.1
d≥d0(δ),2≤κ≤d1−δ,0<ε≤101
Ωδ(κlogd)
hidden eigenbasis (extended from [Ope26])
Here c,ε0>0 are sufficiently small universal constants. d0(δ) is a sufficiently large constant which depends on δ. In the second lower-bound row, δ∈(0,1/5) is fixed; in the last row, δ∈(0,1) is fixed. Constants implicit in Ωδ, and the dimension threshold in the last row, may depend on δ.
Theorem 1.1 (Informal; see Theorem 3.1). For every integer d≥1, κ≥4, and 0<ε≤1/16, any Gaussian sampler requires Ω(min{d,κlog(1+κεd)}) queries.
Our lower bound matches the known upper bound of O(min{d,κlog(εd)}) up to constant factors whenever κ≤d2−δ for any fixed δ∈(0,2). At constant accuracy, the two bounds were previously known to match only for κ≤d1/5−δ. This confirms the conjecture of [CdDPL+24] that Ω(κlogd) queries are necessary at constant accuracy whenever κlogd≤d. It also matches the upper bound for every κ≥4 whenever ε≤d−c for any fixed c>0. For κ≥d2, it yields the optimal Θ(d) query complexity.
We also extend the hidden-eigenbasis construction of [Ope26] to obtain an Ωδ(κlogd) lower bound for 2≤κ≤d1−δ. We summarize the comparisons in Table 1.
Theorem 1.2 (Informal; see Theorem 4.1). For every fixed δ∈(0,1), sufficiently large d, 2≤κ≤d1−δ, and 0<ε≤1/10, any Gaussian sampler requires Ωδ(κlogd) queries.
This bound is tight at constant accuracy and, more generally, whenever d−C≤ε≤1/10 for a fixed C>0, with matching constants depending on δ and C. For κ≥4 and ε≤161 it is implied by
Theorem 3.1 while the new cases are 2≤κ<4 and 161<ε≤101. We include it because its hard instances have a fixed spectrum, so the bound holds even for algorithms that know the spectrum of the precision matrix. Section 4.4 explains why the analysis of these instances gives no dependence on ε and does not extend beyond κ=d1−δ.
Remark 1.3 (Connection to strongly log-concave sampling). Our lower bounds also apply to sampling from π∝e−V with Id⪯∇2V⪯κId using exact value-and-gradient queries, even when the minimizer is known. For κ=2 and TV accuracy 1/10, [Ope26] establishes an Oη(dη) upper bound for every fixed η>0, leaving a gap from the Ω(logd) lower bound, whereas Gaussian sampling has complexity Θ(logd) in this regime. For general condition numbers and high accuracy, [CCLZ26] obtain TV error ε using O(κd1/4polylog(1/ε)) expected gradient queries with a warm start. Thus, our results provide an improved lower bounds for general strongly log-concave sampling with almost tight lower bounds for Gaussian subclass.
2 Preliminaries
We write ∥⋅∥ for the Euclidean norm and Id for the d×d identity matrix. For symmetric matrices A and B, the notation A⪯B means that B−A is positive semidefinite.
Let O(n):={O∈Rn×n:O⊤O=In} denote the real orthogonal group, equipped with Haar probability measure. It has two components, {detO=+1}, {detO=−1}, and each have Haar probability 1/2. For b∈{−1,+1}, we write μn,b for Haar probability measure conditioned on detO=b.
Targets and oracle. We restrict the target class to centered Gaussians. This restriction removes the hardness of locating the target and isolates the difficulty of sampling with an unknown covariance. For an integer d≥1 and a parameter κ≥1, without loss of generality, we normalize the spectral bounds to 1 and κ by rescaling and consider the precision class
Ad,κ:={A∈Rd×d:A=A⊤,Id⪯A⪯κId}.
An input A∈Ad,κ specifies the quadratic potential fA(x):=21x⊤Ax and the target distribution πA:=N(0,A−1). At a point x∈Rd, the exact first-order oracle returns
FOA(x):=(fA(x),∇fA(x))=(21x⊤Ax,Ax).(1)
On this class, exact first-order access is equivalent to exact matrix-vector access. Indeed, a first-order response contains Ax, while a matrix-vector response determines both the gradient Ax and the function value 21⟨x,Ax⟩. Thus the exact value-and-gradient, gradient-only, and matrix-vector query complexities coincide.
Randomized algorithms. A randomized algorithm chooses its queries and stopping decisions as Borel functions of its internal randomness and previous oracle responses, where the randomness is independent of the input. Its output may be any Rd-valued Borel function of the same information. The algorithm has fixed query budget T if it makes at most T queries for every admissible input and every realization of its internal randomness.
Accuracy measures. For probability measures P and Q on a common measurable space, their total variation distance is
TV(P,Q):=Bsup∣P(B)−Q(B)∣=21∫∣p−q∣dλ,
where the supremum ranges over measurable sets, and p and q are the densities of P and Q with respect to any common dominating measure λ. In particular, ∣EPh−EQh∣≤TV(P,Q) for every measurable function h taking values in [0,1].
Sampling accuracy and query complexity. For a fixed input A, let ρAAlg denote the law of the algorithm's output, with all internal randomness included. For 0<ε<1, define
The accuracy requirement is uniform over inputs and concerns the output law after averaging over the algorithm's seed. Throughout the paper, query budgets are deterministic caps on the number of queries in each run, rather than bounds on the expected number of queries.
3 Lower Bound via Hidden Determinant Sign
In this section, we establish a Gaussian sampling lower bound that holds uniformly for all dimensions d≥1, arbitrarily large condition-number bounds κ≥4, and arbitrarily small total variation errors 0<ε≤1/16.
Theorem 3.1 (Gaussian sampling lower bound). For every integer d≥1, κ≥4, and 0<ε≤1/16,
QG(d,κ,ε)≥2561min{d,κlog(1+κεd)}.(3)
In the remainder of this section, we present the construction in Section 3.1, state its three key properties in Section 3.2, and use them to prove Theorem 3.1 in Section 3.3. The proofs of these properties are deferred to Sections B.1, B.2 and B.3.
3.1 The Hard Gaussian Family
Fix κ≥4. Let 3≤n≤d be the block dimension and k:=⌊d/n⌋ the number of blocks. In the proof of the main theorem, we choose n=2T+1, where T is the algorithm's query budget. This choice applies when T≥1 and 2T+1≤d. The remaining cases are treated separately. For O∈O(n), define
AO:=2κ+1In−4κ−1(O+O⊤).(4)
For O=(O1,…,Ok)∈O(n)k, set
AO:=diag(AO1,…,AOk,Id−kn).(5)
For each b∈{−1,+1}, draw O1,…,Ok independently from μn,b, and let Db denote the law of AO. Thus the orthogonal matrices share the same determinant sign.
Writing Pb:=EO∼μn,b[N(0,AO−1)] for the single-block target mixture, the averaged target under Db is
πˉb:=EA∼Db[πA]=Pb⊗k⊗N(0,Id−kn).(6)
When kn=d, the identity block and the final Gaussian factor are omitted.
3.2 Properties of the Construction
This subsection states the three lemmas used in the proof of Theorem 3.1. Lemma 3.2 shows that an algorithm with fewer than n/2 queries has the same average output law under the two priors, Lemma 3.3 shows that the two averaged targets are far apart in total variation, and Lemma 3.4 verifies that the hard family belongs to Ad,κ. All proofs are deferred to Appendix B.
Why the priors are indistinguishable. A first-order query can be simulated by observing Ov and O⊤v in each block and each of these two observations fixes at most one new direction of the unknown orthogonal map. Conditionally on the history, the rest of Oj is Haar distributed subject to its determinant sign, and as long as two dimensions are unexplored the next response has the same law under either sign. The condition 2T<n ensures this at every observation, including when queries depend on responses from other blocks. The proof is in Section B.1.
Lemma 3.2 (Indistinguishability). For every randomized first-order algorithm Alg with query budget T<n/2,
EA∼D+1[ρAAlg]=EA∼D−1[ρAAlg].(7)
Why the target mixtures remain separated. Although low query budget algorithm cannot detect the determinant sign, the norm of a target sample carries information about it. Comparing the expectations of the radial test function x↦e−λ∥x∥2 under the two single-block mixtures gives TV(P+1,P−1)≥21e−5n/κ. A sample from the full target consists of k blocks that are independent given the common sign, and tensorization of the Hellinger affinity amplifies the single-block separation to the bound below. Adding blocks does not help the algorithm, since a single query already acts on all blocks and Lemma 3.2 holds for every k. We summarize this property in Lemma 3.3, whose proof is given in Section B.2.
Lemma 3.3 (Separation). The averaged targets satisfy
TV(πˉ+1,πˉ−1)≥1−exp{−8kexp(−κ10n)}.(8)
Why the construction satisfies the regularity assumptions. The symmetric part (O+O⊤)/2 has spectrum in [−1,1]. The affine transformation in Eq. (4) therefore places the spectrum of AO in [1,κ]. Forming a block-diagonal matrix and adding an identity block preserves these bounds. This gives the following lemma with proof in Section B.3.
Lemma 3.4 (Regularity). For every O∈O(n)k, AO∈Ad,κ. The potential fAO has unique minimizer 0 and minimum value 0.
3.3 Proof of Theorem 3.1
Let Alg have fixed query budget T and satisfy TV(ρAAlg,πA)≤ε for every A∈Ad,κ.
Zero-query cases. A zero-query algorithm has the same output distribution on A0=Id and A1=diag(κ,1,…,1). However, evaluating the event {∣x1∣≤1/2} and using κ≥4 gives
contradicting the triangle inequality. Thus T≥1. If 2T+1>d, integrality gives T≥d/2, which proves the claimed bound. Henceforth assume 2T+1≤d.
Comparing the two priors. Choose n:=2T+1 and k:=⌊d/n⌋. Then 3≤n≤d and 2T<n, so Lemma 3.2 gives a common averaged output distribution ρˉ under the two priors. By Lemma 3.4 and convexity of total variation under mixing,
TV(ρˉ,πˉb)≤EA∼Db[TV(ρAAlg,πA)]≤ε,b∈{−1,+1}.
The triangle inequality and Lemma 3.3 therefore imply
1−exp{−8ke−10n/κ}≤TV(πˉ+1,πˉ−1)≤2ε.
Rearranging yields
ke−10n/κ≤−8log(1−2ε)≤32ε,(9)
where the last inequality uses −log(1−2ε)=∫02ε(1−t)−1dt≤4ε.
Bounding the query budget. Since k≥d/(2n) and n=2T+1≤3T, Eq. (9) gives
Taking logarithms and using concavity of the logarithm,
T≥60κlog(1+16κε5d)≥192κlog(1+κεd).
The second inequality follows by writing 1+5d/(16κε)=(11/16)+(5/16)(1+d/(κε)).
Combining this with the alternative T≥d/2 yields
T≥2561min{d,κlog(1+κεd)}.
Since Alg was arbitrary, this proves the bound for QG(d,κ,ε).
4 Lower Bound via Hidden Eigenbasis
The preprint [Ope26] proved an Ω(logd) query lower bound for centered Gaussian sampling with Id⪯A⪯2Id at total variation accuracy ε=101. We subsequently examine the limitations of this analysis for establishing accuracy-dependent lower bounds in Section 4.4.
Theorem 4.1 (Extension to general κ). For every fixed δ∈(0,1), there exists d0(δ) such that, for every integer d≥d0(δ), 2≤κ≤d1−δ, and 0<ε≤1/10,
QG(d,κ,ε)≥256δκlogd.
Compared with Theorem 3.1, this bound also covers 2≤κ<4 and 161<ε≤101, and it holds even when the spectrum of A is known to the algorithm. On the other hand, it does not grow as ε→0 and it requires κ≤d1−δ.
4.1 The Hard Family
We use a construction similar to that in [Ope26, Section 9.2], with a cosine eigenvalue grid (Chebyshev nodes) and a random orthogonal rotation, while extending the spectral interval from [1, 2] to [1, κ]. For d≥2 and κ≥2, define
Draw O∼Haar(O(d)), independently of the algorithm's private randomness, and set A=OΛO⊤. The associated potential and target are fA(x)=x⊤Ax/2 and πA=N(0,A−1).
The spectrum is deterministic and may be supplied to the algorithm. In particular, the Gaussian normalizing constant is known. The unknown component is the random eigenbasis represented by O.
Remark 4.2 (Comparison with κ=2 case). At κ=2, the spectrum in Eq. (11) recovers the original construction in [Ope26]. More generally, if A2 denotes the original precision matrix with the same rotation O, then A=(κ−1)A2−(κ−2)Id. Thus one matrix-vector reply for either matrix determines the corresponding reply for the other. The proof compares ∑icos(nθi)⟨x,Oei⟩2 with ∥x∥2, where n=2q+1. For the output of a q-query algorithm, the ratio is at most d−Ω(1) in absolute value (Lemma 4.4), whereas under the target the ratio of the means has absolute value e−Θ(n/κ) (Lemma 4.5). Hence the test works for n up to order κlogd, rather than logd as at κ=2, which is the source of the factor κ in Theorem 4.1.
4.2 Properties of the Hard Family
This subsection states the four lemmas used in the proof of Theorem 4.1. Lemma 4.3 places the output of any q-query algorithm in a block Krylov space generated by independent Gaussian vectors, Lemma 4.4 bounds a quadratic form with cosine weights uniformly over this space, Lemma 4.5 evaluates the same quadratic form under the target, and Lemma 4.6 verifies that the hard family is admissible. All proofs are deferred to Appendix C.
Krylov representation of the output. We first control the information revealed by adaptive queries via a standard Krylov argument. The deferred-rotation argument of [Ope26, Lemma 9.2] uses the rotational symmetry of the undisclosed eigenbasis to represent the algorithm's output in a block Krylov space generated by independent Gaussian vectors.
For vectors g1,…,gq+1∈Rd and Λ=diag(λ1,…,λd), define
Kq(g1,…,gq+1)=span{Λjga:1≤a≤q+1,0≤j≤q}.
Lemma 4.3 (Krylov representation). Fix an integer q≥0 with 2q+1<d and let X be the output. There exist independent vectors g1,…,gq+1∼N(0,Id) such that
O⊤X∈Kq(g1,…,gq+1)almostsurely.
The additional starting vector accounts for the output, which may lie outside the span of the query points and oracle replies. Equivalently, the lemma gives a representation O⊤X=∑a=1q+1pa(Λ)ga, where each pa has degree at most q. The polynomial coefficients may depend on the entire extended experiment. We therefore control the output through an estimate that holds simultaneously for every vector in Kq. The proof of Lemma 4.3 is deferred to Appendix C.1.
A uniform bound on the Krylov space. We next control a high-frequency cosine statistic uniformly over the space in Lemma 4.3. For a query budget q, set
n=2q+1,Dn=diag(cos(nθ1),…,cos(nθd)).
The choice of n places this statistic above all frequencies arising from products of two degree-q cosine polynomials.
Lemma 4.4 (Uniform bound on the Krylov space). There is an absolute constant C > 0 such that the following holds. Let q≥0 satisfy 2q+1<d, let g1,…,gq+1 be independent N(0,Id) vectors, and let Kq=Kq(g1,…,gq+1). Define
τd,q=C[(q+1)dlogd+d(q+1)(q+1+logd)logd].
If τd,q≤1/2, then, with probability at least 0.99,
∣u⊤Dnu∣≤2τd,q∥u∥2foreveryu∈Kq.
The proof is deferred to Appendix C.2. Since λi is a nonconstant affine function of cosθi, the space Kq is equivalently spanned by the vectors ((ga)icos(jθi))i=1d, with a≤q+1 and j≤q. Consequently, the estimate is independent of κ.
On the event in Lemma 4.4, the output representation in Lemma 4.3 therefore gives
X⊤ODnO⊤X≤2τd,q∥X∥2.
Target moments. We now evaluate the same cosine statistic under the target Gaussian.
Lemma 4.5 (Moments under the target). Let κ≥2, U∼N(0,Λ−1), and ϱκ=κ+1κ−1. For an integer 1≤n<d, put Dn=diag(cos(nθi)), M=E∥U∥2, and μn=E[U⊤DnU]. Then
Moreover, both Var(∥U∥2) and Var(U⊤DnU) are at most 2M≤2d/κ.
If d−n≥κ, then
(1−e−4)e−3n/κ≤M∣μn∣≤e−2n/κ.
The proof is deferred to Appendix C.3. For an exact sample Y∣O∼πA, the vector U=O⊤Y has law N(0,Λ−1), with ∥Y∥2=∥U∥2 and Y⊤ODnO⊤Y=U⊤DnU. The lemma therefore gives the means and variances of ∥Y∥2 and Y⊤ODnO⊤Y under the target.
Admissibility and oracle equivalence. We finally verify that the hard family belongs to the prescribed class. The proof is deferred to Appendix C.4.
Lemma 4.6 (Admissibility). For every O∈O(d), the matrix A=OΛO⊤ satisfies Id⪯A⪯κId.
4.3 Proof of Theorem 4.1
We compare the probabilities of a single test event under algorithmic outputs and target samples.
Proof of Theorem 4.1. Fix δ∈(0,1), 2≤κ≤d1−δ, and 0<ε≤1/10. Suppose that an algorithm uses at most q≤(δ/256)κlogd queries and satisfies TV(ρAAlg,πA)≤ε for every admissible A. Lemma 4.6 makes the hard family admissible.
Set n=2q+1 and τ=τd,q. Define statistic SA and the associated test event EA as
where Tn is the degree-n Chebyshev polynomial of the first kind.
Geometrically, for x=0, the weights wi(x)=∣⟨x,Oei⟩∣2/∥x∥2 describe the fractions of its energy ∥x∥2 carried by the eigenvectors Oei of A. Using Tn(cosθi)=cos(nθi), the event x∈EA is equivalent to (−1)n∑iwi(x)cos(nθi)>2τ. So EA is the event that the cosine coefficient ∑iwi(x)cos(nθi) of these weights at frequency n exceeds 2τ in absolute value and has the sign that it has under the target.
Algorithmic outputs rarely pass the test. The bound on q gives q+1≤d(1−δ)/2logd, so n=o(d). Substituting this bound into the definition of τ yields
τ≲d−δ/2(logd)3/2+d−δ(logd)3≲d−δ/2(logd)3⟶0
Thus n<d and τ≤1/2 for sufficiently large d depending only on δ, and the Lemma 4.3 and Lemma 4.4 apply. Let X be the algorithmic output on the random input A=OΛO⊤. Lemma 4.3 places O⊤X in Kq on an extension preserving the joint law of (O,X). Lemma 4.4 then gives
∣X⊤ODnO⊤X∣≤2τ∥X∥2
with probability at least 0.99. On this event, SA(X)≤0. Consequently,
EA[ρAAlg(EA)]≤0.01.
Target samples typically pass the test. Let M=tr(Λ−1) denote the target mean squared norm, and let μn=tr(DnΛ−1) denote the target mean of the cosine statistic. Write β=∣μn∣/M for the normalized target bias.
Since n=o(d) and κ≤d(1−δ)/2=o(d), we have d−n≥κ for sufficiently large d. Lemma 4.5 and the bound on q therefore give
β≥(1−e−4)e−3n/κ≥bd−δ/4,b=(1−e−4)e−3,
where we used 3n/κ≤3+(3δ/128)logd. Moreover, ϱκ≤e−1/κ and d≥κ imply ϱκ2d≤e−2<1/3. The formula for M in the same lemma yields M≥d/(2κ)≥d(1+δ)/2/2. Together with the bound on τ above, these estimates imply
βτ≤bC′d−δ/4(logd)3⟶0,Mβ2≥2b2d⟶∞.
All estimates are uniform over the stated parameter range. We may therefore choose d0(δ) so that the conditions for the algorithmic bound above hold and, additionally, τ≤β/4 and Mβ2≥320.
Now fix A, draw Y∼πA, and set Z=SA(Y). Lemma 4.5 gives mean (−1)nμn=βM for the signed cosine quadratic form and mean M for ∥Y∥2. Both variances are at most 2M. Hence, using the L2 triangle inequality for centered variables,
EZ=(β−2τ)M≥2βM,Var(Z)≤(2M+2τ2M)2≤8M.
Chebyshev's inequality gives, for every A in the hard family,
πA(EA)=P(Z>0)≥1−(EZ)2Var(Z)≥1−Mβ232≥0.9.
Contradiction. Finally, the per-input TV guarantee implies πA(EA)−ρAAlg(EA)≤ε. Averaging over the random input and using the two probability bounds gives
0.89≤EA[πA(EA)−ρAAlg(EA)]≤ε≤0.1,
a contradiction.
4.4 Limitations of the Analysis
Theorem 4.1 is restricted to 2≤κ≤d1−δ for fixed δ∈(0,1). Although it applies to every ε≤1/10, its lower bound does not grow as ε decreases. We discuss two limitations of the analysis that affect extensions to larger condition numbers and higher accuracy.
Limitation on κ. Our approach does not extend the Ω(κlogd) lower bound to condition numbers κ≳d/log2d. Our proof controls the output of the algorithm by first applying Lemma 4.3 to place O⊤X in Kq, and then bounding the cosine statistic uniformly over this space. However, the enlarged space Kq has (q+1)2 generating vectors. Since the eigenvalues of Λ are distinct, these vectors span a space of the following dimension.
Lemma 4.7 (Dimension of the Krylov space). For every integer q≥0 and independent g1,…,gq+1∼N(0,Id),
dimKq=min{d,(q+1)2}almostsurely.
Once (q+1)2≥d with q=Ω(κlogd), we have Kq=Rd almost surely. For n=2q+1<d, the definition of θi gives ∑idcos2(nθi)=d/2, so at least one coordinate satisfies ∣cos(nθi)∣≥1/2. Taking its coordinate unit vector yields
u∈Kq\{0}sup∥u∥2∣u⊤Dnu∣≥21.
Our separating test in Lemma 4.4 requires this supremum to be at most 1/2, which is incompatible with the displayed bound. Thus an argument based on a uniform bound over Kq cannot apply once (q+1)2≥d.
Limitation on accuracy. Our test compares the ratio (−1)nx⊤ODnO⊤x/∥x∥2 with a threshold t. Lemma 4.4 puts every output of the algorithm below t only if t≥a, where a is the uniform bound on Kq that the lemma provides. Chebyshev's inequality with Lemma 4.5 puts samples from the target above t only if t<∣μn∣/M. Thus ∣μn∣/M>a, whatever the threshold. At the same time, the Bernstein calculation in the proof of Fact C.6 requires a≥c/d even to certify a failure probability below one. Finally, Lemma 4.5 gives ∣μn∣/M≤e−2n/κ. Since n=2q+1, we must have
dc≤a<M∣μn∣≤e−2(2q+1)/κ.
Taking logarithms yields q=O(κlogd), independently of ε. A different choice of the threshold or of the constants therefore cannot give a bound that grows as ε→0.
Remark 4.8 (Scope of the limitations). These limitations concern our proof. We do not know whether the same fixed-spectrum family supports stronger lower bounds. Our analysis therefore leaves open whether the same fixed-spectrum family supports stronger lower bounds.
5 Conclusion
We proved an Ω(min{d,κlog(1+κεd)}) query lower bound for Gaussian sampling. The bound comes from a construction with a hidden determinant sign and matches the known upper bound whenever κ≤d2−δ or ε≤d−c, for fixed δ∈(0,2) and c>0. We also extended the hidden-eigenbasis construction to growing condition numbers.
Closing the remaining gap for all condition numbers κ≤d2−δ at constant accuracy remains open. Our lower bounds also apply to strongly log-concave sampling, where the known upper bounds are much larger. It is open whether non-quadratic potentials are harder than Gaussians.
AI Disclosure
AI tools were used to assist with literature searches, the development and verification of proof arguments, the presentation of proofs, the polishing of the exposition, and typesetting. The authors independently verified all mathematical arguments and take full responsibility for the content of the paper.
Acknowledgment
We thank Anming Gu and Taoli Zheng for helpful discussions. TS was partially supported by JST CREST (JPMJCR2115) and JSPS KAKENHI (24K02905). This work was partially supported by JST ERATO (JPMJER2601). This research is supported by the National Research Foundation, Singapore and the Ministry of Digital Development and Information under the AI Visiting Professorship Programme (award number AIVP-2024-004). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore and the Ministry of Digital Development and Information.
References
[ABW94] Rachid Ababou, Amvrossios C Bagtzoglou, and Eric F Wood. On the condition number of covariance matrices in kriging, estimation, and simulation of random fields. Mathematical Geology, 26(1):99–133, 1994.
[ABW01] Sheldon Axler, Paul Bourdon, and Ramey Wade. Harmonic function theory, volume 137. Springer Science & Business Media, 2001.
[AEP13] Erlend Aune, Jo Eidsvik, and Yvo Pokern. Iterative numerical methods for sampling from high dimensional gaussian distributions. Statistics and Computing, 23(4):501–521, 2013.
[AGS24] Simon Apers, Sander Gribling, and Dániel Szilágyi. Hamiltonian monte carlo for efficient gaussian sampling: long and random steps. Journal of Machine Learning Research, 25(348):1–30, 2024.
[ALZ24] Filippo Ascolani, Hugo Lavenant, and Giacomo Zanella. Entropy contraction of the gibbs sampler under log-concavity. arXiv preprint arXiv:2410.00858, 2024.
[BCM16] Anirban Bhattacharya, Antik Chakraborty, and Bani K Mallick. Fast sampling with gaussian scale mixture priors in high-dimensional regression. Biometrika, page asw042, 2016.
[BDT13] Anjishnu Banerjee, David B Dunson, and Surya T Tokdar. Efficient gaussian process regression for large datasets. Biometrika, 100(1):75–89, 2013.
[BREO25] Nawaf Bou-Rabee, Andreas Eberle, and Stefan Oberdörster. Accelerated convergence in hit-and-run monte carlo and a coordinate-free randomized kaczmarz algorithm. Electronic Journal of Probability, 30:1–28, 2025.
[CCLZ26] Fan Chen, Sinho Chewi, Jianfeng Lu, and Matthew S Zhang. Accelerated high-accuracy sampling from a warm start via the proximal bouncy particle sampler. arXiv preprint arXiv:2609.06905, 2026.
[CdDPL +24] 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):1–42, 2024.
[CS14] Edmond Chow and Yousef Saad. Preconditioned krylov subspace methods for sampling multivariate gaussian distributions. SIAM Journal on Scientific Computing, 36(2):A588–A608, 2014.
[Dav87] Michael W Davis. Generating large stochastic simulations—the matrix polynomial approximation method. Mathematical Geology, 19(2):99–107, 1987.
[Fix86] Marshall Fixman. Construction of langevin forces in the simulation of hydrodynamic interaction. Macromolecules, 19(4):1204–1207, 1986.
[FP18] Colin Fox and Albert Parker. Accelerated gibbs sampling of normal distributions using matrix splittings and polynomials. Bernoulli, pages 3711–3743, 2018.
[GMI14] Clément Gilavert, Saïd Moussaoui, and Jérôme Idier. Efficient gaussian sampling for solving large-scale inverse problems using mcmc. IEEE Transactions on Signal Processing, 63(1):70–80, 2014.
[GW95] Michel X Goemans and David P Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM (JACM), 42(6):1115–1145, 1995.
[LCW17] Chae Young Lim, Chien-Hung Chen, and Wei-Ying Wu. Numerical instability of calculating inverse of spatial covariance matrices. Statistics & Probability Letters, 129:182–188, 2017.
[LLZ15] Jingchen Liu, Jianfeng Lu, and Xiang Zhou. Efficient rare event simulation for failure problems in random media. SIAM Journal on Scientific Computing, 37(2):A609–A624, 2015.
[LRL11] Finn Lindgren, Håvard Rue, and Johan Lindström. An explicit link between gaussian fields and gaussian markov random fields: the stochastic partial differential equation approach. Journal of the royal statistical society: Series b (statistical methodology), 73(4):423–498, 2011.
[LST20] Yin Tat Lee, Ruoqi Shen, and Kevin Tian. Logsmooth gradient concentration and tighter runtimes for metropolized hamiltonian monte carlo. In Conference on learning theory, pages 2565–2597. PMLR, 2020.
[NS23] Akihiko Nishimura and Marc A Suchard. Prior-preconditioned conjugate gradient method for accelerated gibbs sampling in “large n, large p” bayesian sparse regression. Journal of the American Statistical Association, 118(544):2468–2481, 2023.
[Ope26] OpenAI. Subpolynomial query complexity for well-conditioned log-concave sampling. OpenAI Math Release preprint OAI:Subpolynomial-query-complexity-for-well-conditioned-log-concave-sampling-September-26-2026, 2026.
[PD19] Mike Pereira and Nicolas Desassis. Efficient simulation of gaussian markov random fields by chebyshev polynomial approximation. Spatial Statistics, 31:100359, 2019.
[PF12] Albert Parker and Colin Fox. Sampling gaussian distributions in krylov spaces with conjugate gradients. SIAM Journal on Scientific Computing, 34(3):B312–B334, 2012.
[RS97] Gareth O Roberts and Sujit K Sahu. Updating schemes, correlation structure, blocking and parameterization for the gibbs sampler. Journal of the Royal Statistical Society Series B: Statistical Methodology, 59(2):291–317, 1997.
[SCA12] Michael L Stein, Jie Chen, and Mihai Anitescu. Difference filter preconditioning for large covariance matrices. SIAM Journal on Matrix Analysis and Applications, 33(1):52–72, 2012.
A Useful Facts
A.1 Two Spherical Poisson Identities
Both identities below are instances of the Poisson integral formula for the unit ball of Rn, applied at the point re1 to the harmonic functions 1 and y↦y1.
Lemma A.1 (Spherical Poisson identities). Let n≥2, and ζ=(ζ1,…,ζn) be a uniform random point on Sn−1, and let U=ζ1 be its first coordinate., where n≥3. For every 0<r<1,
Proof. Let σ be normalized surface measure on Sn−1. By the Poisson representation formula [ABW01, Theorem 1.21], every function h harmonic on the unit ball and continuous on its closure satisfies
h(a)=∫Sn−1h(u)∥u−a∥n1−∥a∥2dσ(u),∥a∥<1.
Apply this formula with a=re1 and, respectively, h(x)=1 and h(x)=x1. Since ∥u−re1∥2=1+r2−2ru1, the two applications prove the lemma after division by 1−r2.
B Proofs for Section 3
B.1 Indistinguishability: Proof of Lemma 3.2
In this section, we prove Lemma 3.2. Throughout this section, 2T<n.
Lemma B.1 (Indistinguishability (Lemma 5 restated)). For every randomized first-order algorithm Alg with query budget T<n/2,
EA∼D+1[ρAAlg]=EA∼D−1[ρAAlg].(13)
Oracle reduction. Consider the oracle
OO(j,v,τ):={Ojv,Oj⊤v,τ=f,τ=i,j∈{1,…,k},v∈Rn.
We call a query (j,v,τ) to this oracle a primitive query; it is forward if τ=f, and inverse if τ=i. For a first-order query x=(x1,…,xk,z), we have
Thus T first-order queries can be simulated using at most 2T primitive queries per block and it suffices to prove transcript indistinguishability for adaptive primitive queries when 2T<n.
Single-observation Haar laws. When at least two dimensions remain, a forward or inverse observation has a sign-independent law. The following lemma also identifies the conditional Haar law of the remaining map.
Lemma B.2 (Conditional law of Wgiven Wu). Let m≥2, b∈{−1,+1}, and W∼μm,b. Write σm−1 for uniform probability measure on Sm−1. Choose Borel maps z↦Qz∈SO(m) satisfying Qze1=z. For every u∈Sm−1,
Wu∼σm−1,L(W∣Wu=z)=L(Qz(100V)Qu⊤),V∼μm−1,b,
for σm−1-almost every z. The same identities hold with W replaced by W⊤.
Proof. The Borel completions Qz can be obtained by fixed-order Gram–Schmidt, followed by a sign correction on the last column. Let Z∼σm−1 and V∼μm−1,b be independent, and set W:=QZdiag(1,V)Qu⊤. Then Wu=Z and detW=b.
For R∈SO(m),
QRz⊤RQz=(100SR(z)),SR(z)∈SO(m−1).
Rotational invariance of Z and Haar invariance of V give (RZ,SR(Z)V)=d(Z,V), hence
RW=QRZdiag(1,SR(Z)V)Qu⊤=dW.
Thus W∼μm,b by uniqueness of invariant probability measure on the determinant component. Since Wu=Z, conditioning on Z=z yields both identities. Finally, W⊤∼μm,b, so the same argument applies to inverse observations.
Adaptive posterior laws. We now apply Lemma B.2 to adaptive queries across blocks, maintaining the conditional Haar law of each residual map.
Lemma B.3 (Adaptive posterior factorization). Fix b∈{−1,+1} and let O1,…,Ok be independent with law μn,b. Consider a deterministic adaptive primitive-query algorithm making at most 2T<n queries to each block. Let Ht be its complete history and ℓj,t the number of queries to block j. There exist history-measurable frames QD,j,t,QR,j,t∈SO(n) and integers rj,t≤ℓj,t such that
The frames and exposed dimensions are chosen by rules independent of b.
Proof. At t=0, take QD,j,0=QR,j,0=In, rj,0=ℓj,0=0, and Wj,0=Oj. The assertion follows from the independence of the blocks.
Assume the assertion holds at time t. Fix a nonterminal history h and its next query (j,v,τ). For the selected block, suppress j, t and write QD=[UD,E], QR=[UR,F], and m=n−r. The two query types give
Here a∈Rr and c∈Rm are the coordinates of v in the corresponding frame: a=UD⊤v, c=E⊤v for a forward query, and a=UR⊤v, c=F⊤v for an inverse query. If c=0, the response Y is determined by h, so the query reveals nothing about W. In this case we leave the frames, the exposed dimension, and the residual map unchanged.
Suppose c=0. The algorithm makes at most 2T queries to each block, and the next query is addressed to block j, so ℓj,t≤2T−1. Together with r≤ℓj,t and 2T<n, this gives
m=n−r≥n−2T+1≥2.
Write c=∥c∥u with u∈Sm−1. For a forward query, Y=URa+∥c∥F(Wu), so given h the response Y and the vector z:=Wu=F⊤Y/∥c∥ determine each other. For an inverse query the same holds with z:=W⊤u=E⊤Y/∥c∥. By Lemma B.2, conditionally on this response,
All updated frames belong to SO(n) and depend only on (h,Y).
Leave the other blocks unchanged and set ri+=ri+1{i=j}1{c=0}. These dimensions are determined by h. Let Kb(h,⋅) be the conditional response law. The induction hypothesis and the single-block update yield
Indeed, only the selected residual map enters the response, and the other residual maps are conditionally independent of it. Disintegrating with respect to Y, and using Ht+1=(Ht,(j,v,τ),Y), proves the posterior identity at time t+1. Moreover, ri+≤ℓi,t+1.
After stopping, pad the history with an absorbing symbol and leave all states unchanged. This completes the induction.
Transcript indistinguishability. The residual Haar laws give a response kernel independent of the determinant sign. Iterating this kernel yields identical transcript laws.
Lemma B.4 (Transcript indistinguishability). In the setting of Lemma B.3, the padded transcript HM, with M=2Tk, satisfies
L+1(HM)=L−1(HM).
Proof. Fix a nonterminal history h and its next query αt(h)=(j,v,τ). Use the history-measurable frames from Lemma B.3, and write QD=[UD,E],QR=[UR,F] for the selected block. Its residual dimension satisfies
m=n−rj,t≥n−ℓj,t≥n−2T+1≥2.
By Lemmas B.3 and B.2, the conditional response law under either sign is the kernel
These formulas also cover zero residual query vectors. At terminal histories, set αt(h)=† and Kt(h,⋅)=δ†. The resulting Borel kernel is independent of b and extend it arbitrarily outside legal histories.
Since Ht+1=(Ht,αt(Ht),Yt+1), for every measurable set B of histories,
Thus L+1(Ht)=L−1(Ht) implies L+1(Ht+1)=L−1(Ht+1). Starting from the common empty history proves the assertion.
Proof of Lemma 3.2. Let ξ be the algorithm's entire random seed. For each fixed seed, the oracle reduction gives a deterministic primitive-query algorithm with at most 2T<n queries per block. Applying Lemma B.4 and integrating over the common seed law yields
L+1(ξ,HM)=L−1(ξ,HM),
where M=2Tk. The output is a Borel function Ψ(ξ,HM), so its law is identical under both signs. Hence
EA∼D+1[ρAAlg]=EA∼D−1[ρAAlg].
B.2 Separation: Proof of Lemma 3.3
In this section, we prove Lemma 3.3.
Lemma B.5 (Separation (Lemma 6 restated)). The averaged targets satisfy
TV(πˉ+1,πˉ−1)≥1−exp{−8kexp(−κ10n)}.(14)
We first separate the single-block mixtures using a bounded radial test, and then amplify this separation across independent blocks. The single-block argument combines a cancellation identity for Gaussian normalization factors with two spherical Poisson identities. Throughout this section, n≥3, κ≥4, and O is Haar distributed on the full orthogonal group O(n). Write U:=O11, let pO be the density of N(0,AO−1), and let pb be the density of Pb, for b∈{−1,+1}.
B.2.1 Determinant Cancellation
The difference between averages over the two determinant components can be expressed as a Haar expectation weighted by det(O). The next lemma evaluates this signed expectation when the integrand contains the Gaussian normalization factor detAO and otherwise depends only on U.
Lemma B.6 (Determinant cancellation). For every Borel function h with E∣h(U)∣<∞,
Thus (κ+1)In−tO is invertible throughout this interval. Its determinant is positive at t=0 and remains positive by continuity. Hence Eq. (16) implies
detAO=2n1det((κ+1)In−(κ−1)O).(17)
Multiplying the matrix inside the determinant by O⊤, and using det(O⊤)=det(O), yields
We next identify the principal minors that survive averaging. For S⊆{1,…,n}, write OS,S for the corresponding principal submatrix, with detO∅,∅=1. If S contains an index i≥2, the row reflection Di:=In−2eiei⊤ satisfies
so this expectation is zero. All expectations are finite because ∣detOS,S∣≤1. Thus only S=∅ and S={1} contribute when we expand Eq. (18) in principal minors:
We distinguish P+1 and P−1 using a test of the form x↦e−λ∥x∥2. After Gaussian integration and determinant cancellation, its expectation difference reduces to a spherical integral. The following identities evaluate that integral.
Choosing λ so that these identities apply gives the following quantitative separation.
Proposition B.7 (Single-block separation). For n≥3 and κ≥4,
Since the two determinant components have Haar probability 1/2,
H(λ)=21(EP+1hλ−EP−1hλ).
As 0<hλ≤1, it follows that
TV(P+1,P−1)≥2∣H(λ)∣.(20)
We compute H(λ) and then choose λ>0.
For every Q∈O(n), conjugation preserves Haar measure and the determinant sign, while AQQQ⊤=QAOQ⊤ and pQQQ⊤(Qx)=pO(x). Consequently, for every x∈Rn,
E[det(O)pO(x)]=E[det(O)pO(∥x∥e1)].
At ∥x∥e1, the Gaussian exponent depends on O only through U, since e1⊤AOe1=(κ+1−(κ−1)U)/2. Moreover, In⪯AO⪯κIn gives the integrable bound
hλ(x)pO(∥x∥e1)≤(2πκ)n/2e−∥x∥2/2.
Using ∣det(O)∣=1, Fubini's theorem, and Gaussian integration, we obtain
Since Oe1 is uniform on Sn−1, Lemma A.1 applies to U.
We now match the denominator with a positive multiple of 1+r2−2rU. At λ=0, this matching gives r=(κ−1)/(κ+1), but H(0)=0 because both target distributions have total mass one. We therefore decrease r by a factor 1−1/n and set
Hence ((κ−1)/(κ+1))n≥e−3n/κ. Using 1+t≤et, we also have
2+(κ+1)24nκ≤2+κ4n≤2e2n/κ.
Therefore,
TV(P+1,P−1)≥2e2n/κe−3n/κ=21e−5n/κ.
☐
B.2.3 Amplification Across Blocks
Under each prior, the k blocks of a target sample are independent and have the same single-block mixture law. We convert the preceding separation into an upper bound on Hellinger affinity, which multiplies across independent blocks.
Proof of Lemma 3.3. Let a denote the single-block Hellinger affinity:
In this section, we verify that the precision matrices in our construction belong to Ad,κ. The spectral bounds follow from orthogonality within each block and are preserved by the block-diagonal construction.
Lemma B.8 (Regularity). For every O∈O(n)k, AO∈Ad,κ. The potential fAO has unique minimizer 0 and minimum value 0.
Proof of Lemma 3.4. For O∈O(n) and v∈Rn, orthogonality gives ∥Ov∥=∥v∥. Hence, by Cauchy-Schwarz, ∣⟨v,Ov⟩∣≤∥v∥2. Since
v⊤AOv=2κ+1∥v∥2−2κ−1⟨v,Ov⟩,
we obtain ∥v∥2≤v⊤AOv≤κ∥v∥2. Together with AO=AO⊤, this proves
In⪯AO⪯κIn.(26)
Now let x=(x1,…,xk,z)∈Rd, where xj∈Rn and z∈Rd−kn. Applying Eq. (26) to each block yields
The last inequality uses κ≥1. When kn=d, the terms involving z are omitted. Since AO is symmetric, these inequalities imply Id⪯AO⪯κId, and therefore AO∈Ad,κ.
Finally, fAO(0)=0, whereas for every x=0,
fAO(x)=21x⊤AOx≥21∥x∥2>0.
Thus 0 is the unique minimizer and the minimum value is 0.
C Proofs for Section 4
C.1 Proof of Lemma 4.3
To explain the argument, distinguish the original coordinates from the hidden eigenbasis: u=O⊤x expresses x in the latter coordinates, where the matrix acts by u↦Λu. Thus a query at xi has hidden coordinates ui=O⊤xi and returns Axi=OΛui. The algorithm observes xi and Axi but the latent vector ui is introduced for the analysis. The function value f(xi)=⟨xi,Axi⟩/2 is determined by this pair and adds no information.
The difficulty is that xi may depend on earlier replies and hence on O. We handle this dependence by revealing O successively. Conditional on an enlarged history, O is known on a revealed latent subspace and remains a Haar isometry between the complementary subspaces. Whenever the unrevealed component of O⊤xi is nonzero, its direction is uniform in the latent complement. We convert these directions into independent standard Gaussian vectors and propagate the resulting span relations under multiplication by Λ. The extra vector gq+1 accounts for the output X, which is treated as one final preimage revelation.
Throughout, for subspaces F,G⊆Rd of equal dimension, we use the following notation:
PF is the orthogonal projection onto F, S(F) is the unit sphere of F, and Unif(S(F)) is the uniform law on it.
Iso(F,G) is the set of linear isometries from F onto G, and O(F)=Iso(F,F). For J∈Iso(F,G), J⊤:G→F denotes the adjoint, so J⊤=J−1.
Haar(Iso(F, G)) is the unique probability law on Iso(F, G) invariant under J↦UJQ⊤ for all U∈O(G) and Q∈O(F). Equivalently, it is the law of UJ0 for U∼Haar(O(G)) and any fixed J0∈Iso(F,G). If J has this law, then J−1 has law Haar(Iso(G, F)).
• L(Y∣H) is the conditional law of a random element Y given a σ-algebra H.
The key observation is that revealing one image–preimage pair of a Haar isometry preserves rotational symmetry on the orthogonal complements. Once Jv=w is known, orthogonal transformations fixing v and w preserve both this identity and the Haar law. Consequently, the remaining restriction is still a Haar isometry from F∩v⊥ onto G∩w⊥. The following fact makes this observation precise, conditionally on the information already available.
Fact C.1 (Haar revelation). Let F,G be H-measurable subspaces with dimF=dimG, and let L(J∣H)=Haar(Iso(F,G)). For an H-measurable w∈S(G), put v=J⊤w. Then
Symmetrically, for an H-measurable s∈S(F) and t=Js, the vector t is uniform on S(G) and, given (H,t), J∣F∩s⊥ is Haar on Iso(F∩s⊥,G∩t⊥).
Proof. Condition on H. For any Q∈O(F), invariance gives JQ⊤=dJ, hence Qv=dv, so v is uniform on S(F).
Next, let U be Haar on the stabilizer {U∈O(G):Uw=w}≅O(G∩w⊥), independent of J, and set J′=UJ. Then J′=dJ and J′⊤w=J⊤U⊤w=v, so (J′,v)=d(J,v). Given J, the restriction J′∣F∩v⊥=U∣G∩w⊥∘J∣F∩v⊥ is Haar on Iso(F∩v⊥,G∩w⊥) by definition. This law depends on J only through v, so it is also the law given v, and since (J′,v)=d(J,v) the same holds for J.
The symmetric statement follows by applying the above to J⊤=J−1, which is Haar on Iso(G,F).
Haar states. To apply Fact C.1 repeatedly along an adaptive transcript, we need to keep track of which part of O has been revealed and how the remaining part is distributed. We record the available information by a σ-algebra H and the revealed directions in the hidden eigenbasis by a subspace E. The history should determine both E and the action of O on E, represented by OPE, while the restriction of O to E⊥ should remain Haar between the corresponding orthogonal complements. The following definition packages these requirements into a state that we will preserve after each revelation.
Definition C.2 (Haar state). Let H be a σ-algebra and E⊆Rd a random subspace. We call (H,E) a Haar state if E and OPE are H-measurable and
L(O∣E⊥∣H)=Haar(Iso(E⊥,(OE)⊥)).
We next show that the Haar-state property is preserved by the revelations needed to process an oracle query. For a query point x chosen using the current history, we first reveal its hidden coordinates u=O⊤x, and then reveal the reply Ax=OΛu. These two steps add u and Λu, respectively, to the revealed latent subspace. We will also introduce independent auxiliary randomness for the Gaussian construction below. The following fact verifies that all three updates preserve a Haar state and identifies the uniform direction arising from a preimage revelation.
Fact C.3 (One revelation step). Let (H,E) be a Haar state, and write T=OPE and W=OE.
(i) (Auxiliary randomness.) If Z is independent of σ(H,O), then (H∨σ(Z),E) is a Haar state.
(ii) (Revealing an image.) If b∈Rd is H-measurable, then (H∨σ(Ob),span(E,b)) is a Haar state.
(iii) (Revealing a preimage.) If x∈Rd is H-measurable, then (H∨σ(O⊤x),span(E,O⊤x)) is a Haar state. Moreover, writing x⊥=PW⊥x,
O⊤x=T⊤x+∥x⊥∥v,v:={O⊤x⊥/∥x⊥∥,0,x⊥=0,x⊥=0,(27)
and L(v∣H)=Unif(S(E⊥)) on the event {x⊥=0}.
Proof. (i) Since O∣E⊥ is σ(H,O)-measurable and Z is independent of σ(H,O), conditioning additionally on Z does not change the conditional law of O∣E⊥.
(iii) Since OPE=PWO, we have T⊤x=PEO⊤x=O⊤PWx, which gives (27). In particular H+:=H∨σ(O⊤x)=H∨σ(v). The event {x⊥=0} belongs to H, so we may treat it and its complement separately. On {x⊥=0}, the vector O⊤x=T⊤x∈E is H-measurable and nothing changes. On {x⊥=0}, the unit vector w=x⊥/∥x⊥∥∈S(W⊥) is H-measurable and v=(O∣E⊥)⊤w. Fact C.1 with J=O∣E⊥, F=E⊥, G=W⊥ gives L(v∣H)=Unif(S(E⊥)) and
L(O∣E⊥∩v⊥∣H+)=Haar(Iso(E⊥∩v⊥,W⊥∩w⊥)).
Let E+=span(E,O⊤x)=E⊕span{v}. Then (E+)⊥=E⊥∩v⊥, (OE+)⊥=W⊥∩w⊥, and OPE+=T+wv⊤ is H+-measurable. Hence (H+,E+) is a Haar state.
(ii) Let r=PE⊥b, and set t=Or/∥r∥ if r=0 and t=0 otherwise. Then Ob=Tb+∥r∥t, so H∨σ(Ob)=H∨σ(t). The rest is as in (iii), using the symmetric part of Fact C.1 with s=r/∥r∥∈S(E⊥) on {r=0}: the new revealed space is E⊕span{s}=span(E,b), and OPspan(E,b)=T+ts⊤.
Fact C.4 (Gaussianizing a uniform direction). Let E⊆Rd be a fixed subspace with dimE<d, and let Z∼N(0,Id) and v∼Unif(S(E⊥)) be independent. Then
Proof. The vectors PEZ∼N(0,PE) and PE⊥Z∼N(0,PE⊥) are independent. A Gaussian vector with law N(0,PE⊥) has independent norm and direction, with the direction uniform on S(E⊥). Hence ∥PE⊥Z∥∼N(0,PE⊥), independently of PEZ, and g∼N(0,PE+PE⊥)=N(0,Id). Finally, ∥PE⊥Z∥>0 almost surely and ∥PE⊥Z∥∼g−PEZ with PEZ∈E.
Proof of Lemma 4.3. Setup. Collect the algorithm's private randomness in a seed R independent of O. Padding with dummy queries x=0, we may assume that the algorithm makes exactly q queries x1,…,xq. A query at x returns Ax=OΛO⊤x and ⟨x,Ax⟩/2, and the latter is a function of (x,Ax). Write xq+1=X and ui=O⊤xi for 1≤i≤q+1. Then xi is a measurable function of R and the replies OΛu1,…,OΛui−1. Extend the probability space by i.i.d. vectors Z1,…,Zq+1∼N(0,Id) independent of (R,O) and this does not change the joint law of O, R, the transcript, and X.
Histories. Let E0={0} and H0=σ(R), and for 1≤i≤q let
Also let Hq+1=Hq∨σ(Zq+1,uq+1). Then xi+1 is Hi-measurable for 0≤i≤q. We claim that (Hi,Ei) is a Haar state for 0≤i≤q. For i=0 this holds because O is Haar and independent of R. For the induction step, apply Fact C.3 three times: part (i) with Z=Zi, part (iii) with x=xi, and part (ii) with b=Λui. Note that dimEi≤2i≤2q<d.
Gaussian vectors. Fix 1≤i≤q+1 and write E=Ei−1. Let xi⊥ and vi be the vectors x⊥ and v of (27) for the Haar state (Hi−1∨σ(Zi),E) and x=xi, and define
gi={PEZi+∥PE⊥Zi∥vi,Zi,xi⊥=0,xi⊥=0.
Then gi is Hi-measurable. On {xi⊥=0}, Fact C.3(iii) gives L(vi∣Hi−1∨σ(Zi))=Unif(S(E⊥)). Thus, conditionally on Hi−1, the vectors Zi and vi are independent with laws N(0,Id) and Unif(S(E⊥)), and Fact C.4 gives
where the inclusion uses (27). On {xi⊥=0}, (28) holds trivially since ui∈Ei−1.
Independence. By (28), the conditional law of gi given Hi−1 is non-random, so gi is independent of Hi−1. Since g1,…,gi−1 are Hi−1-measurable, the vectors g1,…,gq+1 are mutually independent.
Krylov span. Let S0={0} and Si=span{Λjga:1≤a≤i,0≤j≤i}. If Ei−1⊆Si−1, then by (28)
The vectors γ1,…,γd are independent N(0,Ir). Let B∈Rd×r2 have ith row d−1/2(γi⊗ti)⊤.
Our strategy is to write u=Bc and control ∥u∥2 through B⊤B, and u⊤Dnu through B⊤DnB. The following fact verifies that the columns of B span Kq and shows that these two matrices have expectations Ir2 and 0, respectively. We will then prove concentration around these expectations to obtain a uniform bound on Kq.
Fact C.5 (Cosine basis and moment identities). The matrix B satisfies
range(B)=Kq,E[B⊤B]=Ir2,E[B⊤DnB]=0.
Moreover,
∥ti∥2≤2r,i∑titi⊤=dIr,i∑cos(nθi)titi⊤=0.
Proof. range(B)=Kq. Since λi=(κ+1)/2+(κ−1)cosθi/2, the identity cos(jθ)=Tj(cosθ) expresses cos(jθi) as a degree-j polynomial in λi with nonzero leading coefficient. For each a, the change of basis between ((ga)icos(jθi))i=1d and Λjga, 0≤j≤q, is therefore triangular and invertible. The nonzero column normalizations in B do not change its range, proving the first identity.
E[B⊤B]=Ir2. Recall that θi=(i−21)π/d. For every integer k with 0<∣k∣<2d,
Indeed, 0<j+k≤2q<2d, while j−k=0 exactly when j=k; otherwise 0<∣j−k∣<2d. By symmetry, these calculations cover all matrix entries, and hence ∑ititi⊤=dIr.
Since E[γiγi⊤]=Ir, the row definition of B now gives
We next bound the deviations of the two matrices from their expectations in operator norm. These simultaneous bounds will control both ∥Bc∥2 and c⊤B⊤DnBc for every coefficient vector c.
Fact C.6 (Simultaneous Gram-matrix concentration). For a sufficiently large absolute constant C in the definition of τd,q, with probability at least 0.995,
∥B⊤B−Ir2∥op≤τd,q,∥B⊤DnB∥op≤τd,q.
Proof. Truncation and its bias. Set L=2r+3log(1000d) and Ri=∥γi∥2. Since EeRi/3=3r/2, Markov's inequality gives, for x≥0,
P(Ri>2r+3x)≤exp(2rlog3−32r−x)≤e−x,
where the last inequality uses (log3)/2<2/3. Consequently, the event
T={Ri≤Lforeveryi}
has probability at least 1−d/(1000d)=0.999.
For s≥0, the same tail bound gives P(Ri>L+s)≤e−s/3/(1000d). Hence
The same bound holds for cos(nθi)Zi, since ∣cos(nθi)∣≤1.
The Gaussian fourth moments give
E[Riγiγi⊤]=(r+2)Ir.
Indeed, the off-diagonal entries vanish by sign symmetry, while each diagonal entry equals 3+(r−1)=r+2. Since (γiγi⊤)2=Riγiγi⊤ and (titi⊤)2=∥ti∥2titi⊤, we have
Yi2=d2Ri∥ti∥2(γiγi⊤⊗titi⊤)1{Ri≤L}.
Dropping the truncation indicator in this positive semidefinite expression yields
the sequence (Zi)i has variance parameter at most
v∗:=d2r(r+2).
The same is true for (cos(nθi)Zi)i, because
E[(cos(nθi)Zi)2]=cos2(nθi)EZi2⪯EZi2.
Applying matrix Bernstein. Both sequences consist of independent, centered, self-adjoint matrices. The two-sided bounded matrix Bernstein inequality gives, for t > 0,
Pi∑Ziop>t≤2r2exp(−2(v∗+R∗t/3)t2),
and the same bound holds for ∑icos(nθi)Zi.
Set
z=log(1000r2),Δ=2v∗z+32R∗z.
A direct expansion gives
Δ2−2z(v∗+R∗Δ/3)=32R∗z2v∗z≥0.
Therefore each matrix bound fails with probability at most 2r2e−z=0.002. By a union bound, with probability at least 0.996,
i∑Ziop≤Δ,i∑cos(nθi)Ziop≤Δ.
On T, the original and truncated sums agree. Using their expectations computed above, we obtain
B⊤B−Ir2=i∑Zi−(1−a)Ir2,B⊤DnB=i∑cos(nθi)Zi.
Intersecting T with the two concentration events therefore gives, with probability at least 1 - 0.001 - 0.004 = 0.995,
∥B⊤B−Ir2∥op≤Δ+(1−a),∥B⊤DnB∥op≤Δ.
Simplifying the bound. Since 2q+1<d, we have d≥2 and 2r≤d. Thus z=O(logd) and L+3=O(r+logd), with absolute implicit constants. Together with r+2≤3r, these estimates imply
for an absolute constant c>0. Since r=q+1, choosing the absolute constant C in τd,q so that C≥c gives Δ+(1−a)≤τd,q. This proves both asserted bounds.
Proof of Lemma 4.4. Choose the absolute constant C sufficiently large for Fact C.6 to apply. Then, with probability at least 0.995,
∥B⊤B−Ir2∥op≤τd,q,∥B⊤DnB∥op≤τd,q.
On this event, let u∈Kq. By Fact C.5, we can write u=Bc. The two matrix bounds give
Since τd,q≤1/2, combining these inequalities yields
∣u⊤Dnu∣≤1−τd,qτd,q∥u∥2≤2τd,q∥u∥2.
These inequalities hold for every c on the same event, so the conclusion holds simultaneously for every u∈Kq. Since 0.995≥0.99, the lemma follows.
C.3 Proof of Lemma 4.5
Recall that θi=(i−21)π/d and λi=(κ+1)/2+(κ−1)cosθi/2. We first expand the inverse spectrum in cosine modes and sum this expansion over the grid. We then bound the variances and the normalized cosine bias.
Fact C.7 (Cosine expansion of the inverse spectrum). For every θ∈R,
κ+1+(κ−1)cosθ2=κ1(1+2j≥1∑(−ϱκ)jcos(jθ)).
The series converges absolutely and uniformly in θ.
Proof. Since 0<ϱκ<1, the geometric-series identity gives
The first inner sum is nonzero precisely when j=n or j=2ad+n with a≥1; its value is respectively d or d(−1)a. The second inner sum is nonzero precisely when j=2ad−n with a≥1, and then equals d(−1)a. These three classes are disjoint because 1≤n<d. Moreover, (−ϱκ)2ad±n=(−1)nϱκ2ad±n. Consequently,
Proof of Lemma 4.5. Fact C.8 gives the two asserted means.
Variance bounds. Since Λ is diagonal, the coordinates of U are independent. Each Ui is centered Gaussian with variance 1/λi, so EUi4=3/λi2 and Var(Ui2)=2/λi2. Also, λi≥(κ+1)/2−(κ−1)/2=1. Hence
Here we used κ≥2. Exponentiating these bounds gives
e−3n/κ≤ϱκn≤e−2n/κ.
If d−n≥κ, the lower bound on log(1/ϱκ) also gives
ϱκ2(d−n)=exp(−2(d−n)logϱκ1)≤e−4(d−n)/κ≤e−4.
Consequently, (1−e−4)ϱκn≤∣μn∣/M≤ϱκn. Combining this with the bounds on ϱκn proves
(1−e−4)e−3n/κ≤M∣μn∣≤e−2n/κ.
C.4 Proof of Lemma 4.6
Proof of Lemma 4.6. Since 0<θi<π, we have −1<cosθi<1, and hence 1<λi<κ. As A=OΛO⊤ with O orthogonal, this gives Id⪯A⪯κId.
The potential VA(x)=21x⊤Ax is C∞ with Hessian ∇2VA(x)=A. Thus it is 1-strongly convex and κ-smooth. Moreover, VA(0)=0 and VA(x)≥21∥x∥2>0 for x=0, so 0 is its unique minimizer.
The associated target is N(0,A−1). Gaussian integration gives
ZA=(2π)d/2(detA)−1/2=(2π)d/2(detΛ)−1/2.
Since Λ is fixed, ZA is independent of O and is known whenever the spectrum is public.