Skip to content

Anatomy and Severity of a Sign Problem

A sign problem occurs when the exact weight cannot be used as a nonnegative probability measure in the chosen representation. Its practical severity is not one number: phase cancellation controls the denominator of reweighting, overlap controls whether important target configurations are sampled, and correctness controls whether a replacement process computes the intended integral. Confusing these mechanisms produces confident but invalid error estimates.

Required background. Chemical potential on the Euclidean lattice supplies the complex determinant and charge convention.

Helpful background. Probability, random variables, and conditional expectation supplies variance and importance sampling. Complete lattice error budgets supplies the distinction between statistical and method bias.

Convention and regulator card. Work at finite lattice spacing and finite spatial volume VsV_s, with inverse temperature βT\beta_T. Write the regulated weight as w(x)=w(x)eiϕ(x)w(x)=|w(x)|e^{i\phi(x)} and assume Zpq=dxw(x)Z_{\rm pq}=\int dx\,|w(x)| is finite and nonzero. The subscript “pq” means this precisely defined phase-quenched measure; it is not automatically the same physical theory with one parameter changed.

For any integrable observable,

O=dxweiϕOdxweiϕ=Oeiϕpqeiϕpq.\langle O\rangle =\frac{\int dx\,|w|e^{i\phi}O}{\int dx\,|w|e^{i\phi}} =\frac{\langle Oe^{i\phi}\rangle_{\rm pq}} {\langle e^{i\phi}\rangle_{\rm pq}}.

The average phase is a partition-function ratio,

meiϕpq=ZZpq.m\equiv\langle e^{i\phi}\rangle_{\rm pq} =\frac{Z}{Z_{\rm pq}}.

When the two ensembles admit thermodynamic free-energy densities ff and fpqf_{\rm pq},

m=exp[βTVsΔf+o(Vs)],Δf=Reffpq0.|m|=\exp[-\beta_TV_s\Delta f+o(V_s)], \qquad \Delta f=\operatorname{Re}f-f_{\rm pq}\ge0.

The inequality follows from ZZpq|Z|\le Z_{\rm pq}. The statement is asymptotic and representation dependent because ZpqZ_{\rm pq} changes when the decomposition into magnitude and phase changes.

For NN independent phase samples uk=eiϕku_k=e^{i\phi_k}, the sample mean uˉ\bar u has

Euˉm2=1m2N.\mathbb E|\bar u-m|^2=\frac{1-|m|^2}{N}.

Its relative mean-square error is therefore

Euˉm2m2=1m2Nm2.\frac{\mathbb E|\bar u-m|^2}{|m|^2} =\frac{1-|m|^2}{N|m|^2}.

If meβTVsΔf|m|\sim e^{-\beta_TV_s\Delta f}, keeping this relative error fixed requires Ne2βTVsΔfN\sim e^{2\beta_TV_s\Delta f} independent samples. Autocorrelation multiplies the cost through the integrated autocorrelation time. Ratio observables can be better or worse depending on covariance between numerator and denominator, so the phase-only estimate is a severity baseline, not a universal error bar.

The figure separates this cancellation law from overlap, ordinary instability, and worst-case complexity. Inspect the arrows: they share a complex measure, but none is logically interchangeable with another.

A complex measure yields separate diagnostics for phase-estimator variance, observable overlap, representation cost, and explicitly quantified asymptotic complexity; none is a universal severity score.

The sign problem has distinct diagnostics. The average phase fixes direct phase-estimator signal-to-noise and may scale as eβTVsΔfe^{-\beta_TV_s\Delta f}; overlap depends on the target observable and proposal measure; a variable change can trade phase for nonlocality or hard observables; and worst-case complexity requires a separately specified problem family. The map is schematic, not a quantitative performance comparison.

Let p(x)p(x) be the proposal distribution and let AA be a region important for the target numerator. If p(A)=ε1p(A)=\varepsilon\ll1, then the probability of seeing no sample in AA after NN independent draws is

(1ε)NeNε.(1-\varepsilon)^N\simeq e^{-N\varepsilon}.

Thus N1/εN\gg1/\varepsilon is necessary even before phase cancellation is considered. A useful diagnostic is the distribution of log-weight differences, not merely the mean phase. For positive importance weights r=p/pr=p_*/p, the population effective fraction

NeffN(Epr)2Epr2=eD2(pp)\frac{N_{\rm eff}}{N}≈ \frac{(\mathbb E_p r)^2}{\mathbb E_p r^2} =e^{-D_2(p_*\Vert p)}

is governed by a Rényi divergence when the moments exist. Complex weights do not define a unique effective sample size; one should report a phase statistic and a separate magnitude/overlap statistic.

An observable can be supported in a tail invisible to a global average phase. Conversely, a small average phase need not make every symmetry-protected ratio impossible if numerator and denominator correlations are exploited with a justified estimator. The reliability question is always: which configurations dominate this observable, and how were they sampled?

Use the one-angle weight

w(θ;μ)=ecosθ(1+0.2eμ+iθ)(1+0.2eμiθ)w(\theta;\mu)=e^{\cos\theta} \bigl(1+0.2e^{\mu+i\theta}\bigr) \bigl(1+0.2e^{-\mu-i\theta}\bigr)

and define z=ππwdθz=\int_{-\pi}^{\pi}w\,d\theta, zpq=ππwdθz_{\rm pq}=\int_{-\pi}^{\pi}|w|\,d\theta, and r=z/zpqr=z/z_{\rm pq}. For VV independent copies,

ZV=zV,Zpq,V=zpqV,eiΦpq,V=rV.Z_V=z^V, \qquad Z_{{\rm pq},V}=z_{\rm pq}^V, \qquad \langle e^{i\Phi}\rangle_{{\rm pq},V}=r^V.

This is an exact demonstration of exponential suppression: V1logeiΦ=logr-V^{-1}\log|\langle e^{i\Phi}\rangle|=-\log r. Direct quadrature of zpqz_{\rm pq} and the Bessel-function formula for zz are independent calculations. At imaginary μ=iμIμ=i\mu_I with h=0.2h=0.2, the bracket is 1.04+0.4cos(θ+μI)>01.04+0.4\cos(\theta+\mu_I)>0, so r=1r=1; continuation can still fail outside its analytic domain even though sampling at the imaginary points is sign-free.

At the prescribed real points, direct quadrature gives r(0)=1r(0)=1, r(0.5)=0.99301849r(0.5)=0.99301849, r(1)=0.96823563r(1)=0.96823563, and r(1.5)=0.91485248r(1.5)=0.91485248. Raising the last value to the independent-copy volumes gives r4=0.70049r^{4}=0.70049, r16=0.24078r^{16}=0.24078, and r64=0.0033610r^{64}=0.0033610. These numbers reproduce the severity measure without fitting a free-energy slope; a Monte Carlo implementation should recover both the one-copy ratios and their exact powers.

To expose overlap independently, estimate

Oc(θ)=1θπ<0.05O_c(\theta)=\mathbf 1_{|\theta-\pi|<0.05}

under a proposal concentrated near θ=0θ=0. A sampler can reproduce zz and its average phase while never visiting the support of OcO_c. This deliberate failure distinguishes partition-function cancellation from an observable-specific rare event.

Use the following classification before choosing a method.

  • Negative or complex weight: the integrand is not a probability in the selected variables. This is an algebraic property of the representation.
  • Cancellation severity: m|m|, its volume slope, cumulants of φφ, and the covariance of the actual ratio estimator quantify statistical loss in reweighting.
  • Overlap failure: important target regions are rare or absent in the proposal ensemble. Tail probabilities, weight distributions, sector occupancy, and forward/reverse comparisons diagnose it.
  • Ordinary numerical instability: overflow, ill-conditioned linear solves, long autocorrelation, and optimizer failure can occur with positive weights. These require numerical remedies, not sign-problem rhetoric.
  • Correctness failure: a complex stochastic or contour method converges to the wrong integral because an integration-by-parts boundary term, missing sector, Jacobian, or reconstruction tail was omitted. More samples do not remove this bias. A worst-case computational obstruction is a further, hypothesis-dependent statement, as the explicit reduction of Troyer and Wiese 2005 illustrates.

A tiny error bar around zero phase. Suppose all samples come from one phase mode and give a precise uˉ\bar u. If a second mode with exponentially small proposal probability contributes comparably to ZZ, the quoted variance is conditional on the wrong support. Multiple starts, sector-resolved weights, and an exact small-volume result are required.

A stable result from a modified measure. Clipping large reweighting factors, discarding configurations near determinant zeros, or replacing a complex Jacobian by its magnitude may stabilize estimates. Each operation changes the target unless its correction is included and controlled.

Exponential fit from too little range. A straight line in logm-\log|m| over two volumes does not establish an asymptotic free-energy difference. Add volumes, check finite-size terms, and compare at fixed physical temperature and parameters.

  • Report the exact phase-quenched measure, m|m|, its uncertainty, autocorrelation, and volume dependence.
  • For the actual observable, inspect numerator–denominator covariance, reweighting-factor tails, sector occupancy, and at least one overlap stress test.
  • Compare an exact or sign-free limit and a deliberately hostile observable or parameter point.
  • Separate statistical variance, autocorrelation, overlap bias, truncation, and method-correctness uncertainty.
  • Repeat the analysis after a legitimate representation change; changed severity is expected, while the exact observable must agree.

Assume m=ecV|m|=e^{-cV} and independent unit-modulus phase samples. How must NN scale to keep the relative root-mean-square error of uˉ\bar u below εε?

Solution

The squared relative error is (1m2)/(Nm2)(1-|m|^2)/(N|m|^2). Hence

N1e2cVϵ2e2cV=ϵ2(e2cV1).N\ge\frac{1-e^{-2cV}}{\epsilon^2e^{-2cV}} =\epsilon^{-2}(e^{2cV}-1).

For large VV, Nϵ2e2cVN\sim\epsilon^{-2}e^{2cV}. Correlation replaces NN by the number of effectively independent samples.

A proposal assigns probability 10510^{-5} to the region that supplies half of an observable’s numerator. How many independent samples are needed for at least 95% probability of visiting it once?

Solution

Require 1(1105)N0.951-(1-10^{-5})^N\ge0.95. Thus

Nlog0.05log(1105)2.996×105.N\ge\frac{\log0.05}{\log(1-10^{-5})}\simeq2.996\times10^5.

One visit is not enough for a precise contribution; this is only a necessary support test.

After working this page, you should be able to:

  • Derive the relative variance of the average-phase estimator and extract its measured volume-cost exponent with autocorrelation included.
  • Given sampling evidence for an observable, classify the limiting failure as cancellation, overlap, ordinary numerical instability, or correctness bias and name a discriminating test.

Basis dependence and computational complexity asks which of these diagnostics survive a representation change. The method pages then replace the generic warning with explicit correctness contracts.

  • Troyer, Matthias, and Uwe-Jens Wiese. “Computational Complexity and Fundamental Limitations to Fermionic Quantum Monte Carlo Simulations.” Physical Review Letters 94 (2005): 170201. doi:10.1103/PhysRevLett.94.170201.