Paper note

Smoothed Score Queries and Complexity of Sampling

Authors: Jingbo Liu · Year: 2026

This is a recent work by Jingbo Liu I found to be very thought-provoking: maybe we can use the score function for something other than diffusion-based sampling! Below I try to summarize my main takeaways.

1. Gaussian Sampling Setup

Target distribution.

q=N(0,Σ)=N(0,Λ1),ΛΣ10(precision matrix).q = \mathcal{N}(0,\Sigma) = \mathcal{N}(0,\Lambda^{-1}), \qquad \Lambda \coloneqq \Sigma^{-1} \succ 0 \quad \text{(precision matrix).}
  • Goal: Sample from qq.
  • Method: Approximate Λ1/2Z\Lambda^{-1/2}Z for ZN(0,I)Z \sim \mathcal{N}(0,I).
  • Why: If Y=Λ1/2ZY=\Lambda^{-1/2}Z, then YN(0,Λ1)Y\sim\mathcal{N}(0,\Lambda^{-1}) because Cov(Y)=Λ1/2IΛ1/2=Λ1\operatorname{Cov}(Y)=\Lambda^{-1/2}I\Lambda^{-1/2}=\Lambda^{-1}.
  • Assume: spec(Λ)[1,κ]\operatorname{spec}(\Lambda)\subseteq[1,\kappa]; up to diagonalization, its eigenvalues lie between 11 and κ\kappa.

2. Approximate Λ1/2Z\Lambda^{-1/2}Z with Non-Annealed Score s0s_0

Non-annealed score. For q=N(0,Λ1)q=\mathcal{N}(0,\Lambda^{-1}),

s0(x)logq(x)=Λx.s_0(x)\triangleq\nabla\log q(x)=-\Lambda x.
  • Idea: Since s0(x)=Λxs_0(x)=-\Lambda x, score queries give polynomial approximations Λ1/2Zp(Λ)Z\Lambda^{-1/2}Z\approx p(\Lambda)Z, where p(Λ)Z=a0Z+a1ΛZ++akΛkZp(\Lambda)Z=a_0Z+a_1\Lambda Z+\cdots+a_k\Lambda^kZ.
  • Need: p(λ)λ1/2p(\lambda)\approx\lambda^{-1/2} uniformly for λ[1,κ]\lambda\in[1,\kappa].
  • Known: Chebyshev polynomials achieve this with degree k=O~(κ)k=\widetilde{O}(\sqrt{\kappa}).
  • Conclusion: Non-annealed score access samples from qq using O~(κ)\widetilde{O}(\sqrt{\kappa}) queries.

3. Paper Contribution: Smoothed Score sτs_\tau

Smoothed score.

qτ=qN(0,τI)=N(0,Λ1+τI),sτ(x)=(Λ1+τI)1x.q_\tau=q*\mathcal{N}(0,\tau I) =\mathcal{N}(0,\Lambda^{-1}+\tau I), \qquad s_\tau(x)=-(\Lambda^{-1}+\tau I)^{-1}x.

Algorithm 1 big idea:

  • Score \Rightarrow resolvent: τZ+τ2sτ(Z)=(Λ+τ1I)1Z\tau Z+\tau^2s_\tau(Z)=(\Lambda+\tau^{-1}I)^{-1}Z.
  • Idea: Approximate Λ1/2\Lambda^{-1/2} by jJcj(Λ+αjI)1\sum_{j\in J}c_j(\Lambda+\alpha_jI)^{-1} for some cj,αj>0c_j,\alpha_j>0.
  • Succeeds if: r(λ)jJcjλ+αjλ1/2r(\lambda)\triangleq\sum_{j\in J}\frac{c_j}{\lambda+\alpha_j}\approx\lambda^{-1/2} uniformly for λ[1,κ]\lambda\in[1,\kappa], since each eigenvector is mapped as vr(λ)vv\mapsto r(\lambda)v.
  • Why reasonable: x1/2=01πα1/21x+αdαx^{-1/2}=\int_0^\infty\frac{1}{\pi}\alpha^{-1/2}\frac{1}{x+\alpha}\,d\alpha, so a change of variables and finite quadrature give a sum of shifted inverses.

4. Algorithm 1: Exact Rational Sampler

Algorithm 1: Exact Rational Sampler

Input: δTV(0,1)\delta_{\mathrm{TV}}\in(0,1) and κ1\kappa\geq1.

  1. Set η=δTV4d\eta=\frac{\delta_{\mathrm{TV}}}{4\sqrt d}, compute h,M,N,J,αj,cjh,M,N,J,\alpha_j,c_j as in Section B.1 of the paper, and set τjαj1\tau_j\coloneqq\alpha_j^{-1}.
  2. Draw ZN(0,Id)Z\sim\mathcal{N}(0,I_d).
  3. For each jJj\in J, query sτj(Z)s_{\tau_j}(Z) and form Xj=τjZ+τj2sτj(Z)X_j=\tau_jZ+\tau_j^2s_{\tau_j}(Z).
  4. Output Y=jJcjXjY=\sum_{j\in J}c_jX_j.

Since Xj=(Λ+αjI)1ZX_j=(\Lambda+\alpha_jI)^{-1}Z, the output is Y=r(Λ)ZΛ1/2ZY=r(\Lambda)Z\approx\Lambda^{-1/2}Z.

Theorem 1

For a centered target q=N(0,Λ1)q=\mathcal{N}(0,\Lambda^{-1}) with spec(Λ)[1,κ]\operatorname{spec}(\Lambda)\subseteq[1,\kappa], Algorithm 1 satisfies

dTV ⁣(L(Y),q)δTV,J=O ⁣([logκ+log ⁣(edδTV)]log ⁣(edδTV))d_{\mathrm{TV}}\!\left(\mathcal{L}(Y),q\right) \leq\delta_{\mathrm{TV}}, \qquad |J| = O\!\left( \left[ \log\kappa+ \log\!\left(\frac{e\sqrt d}{\delta_{\mathrm{TV}}}\right) \right] \log\!\left(\frac{e\sqrt d}{\delta_{\mathrm{TV}}}\right) \right)

using exact smoothed-score queries. The condition-number dependence improves from roughly κ\sqrt{\kappa} to logκ\log\kappa.


5. Polynomial vs. Rational Oracle Access

Ordinary Score: Polynomial Access

  • One query: s0(v)=Λvs_0(v)=-\Lambda v.
  • After kk queries: pk(Λ)Z==0kaΛZp_k(\Lambda)Z=\sum_{\ell=0}^k a_\ell\Lambda^\ell Z.
  • Scalar basis: 1,x,x2,,xk1,x,x^2,\ldots,x^k.

Smoothed Score: Rational Access

  • One query at τ=α1\tau=\alpha^{-1}: (Λ+αI)1v(\Lambda+\alpha I)^{-1}v.
  • After kk queries: rk(Λ)Z=j=1kcj(Λ+αjI)1Zr_k(\Lambda)Z=\sum_{j=1}^k c_j(\Lambda+\alpha_jI)^{-1}Z.
  • Scalar basis: 1x+α1,,1x+αk\frac{1}{x+\alpha_1},\ldots,\frac{1}{x+\alpha_k}.

Why This Matters

pk(x)x1/2:k=O~(κ)vs.rk(x)x1/2:k=O(logκ).p_k(x)\approx x^{-1/2}: \quad k=\widetilde{O}(\sqrt{\kappa}) \qquad\text{vs.}\qquad r_k(x)\approx x^{-1/2}: \quad k=O(\log\kappa).

Shifted inverses capture the inverse-like shape of x1/2x^{-1/2} directly.


6. Main Point of the Paper

  • Claim: Rational functions are a richer approximation class than polynomials. Smoothed-score queries provide access to rational functions, while non-annealed score queries provide access only to polynomials.
  • Consequence: Smoothed scores reduce the condition-number dependence of Gaussian sampling from O~(κ)\widetilde{O}(\sqrt{\kappa}) to roughly O(logκ)O(\log\kappa), up to additional logarithmic factors in dimension and accuracy.