- Home
- Library
- Computational Quantum Field Theory
- What Euclidean Data Can Resolve
- Maximum Entropy and Positive Reconstructions
Maximum Entropy and Positive Reconstructions
A positive reconstruction can fit every measured Euclidean time and still place spectral weight in the wrong energy region. Maximum entropy makes the choice among such spectra explicit: it favors a specified default distribution while penalizing disagreement with the data. The resulting estimate is unique under useful finite-dimensional assumptions, but uniqueness is not the same as spectral resolution.
We derive an estimator in bin-mass coordinates, solve it through a sixteen-variable convex dual, and examine default, regularization and bin-width dependence. Numerical stopping failures remain part of the example. An independent optimizer also reports success while remaining far from a stationary point.
Preparation. Correlated Gaussian least squares and the ill-conditioned Laplace inverse problem. The Bayesian page treats posterior probabilities in a specified spectral family; here we compute an entropy-regularized point estimate.
Positive spectra and the observation model
For a connected zero-temperature diagonal channel of a Hermitian operator, use
Positivity follows from squared matrix elements in this channel. The benchmark supplies compact support and unit normalization. Signed cross-correlators require a different reconstruction domain. The site's positive-frequency spectral convention is .
The continuous truth is a two-triangle mixture,
with primary parameters . Sixteen times are . One observation is , with known covariance
is fixed at the primary truth and is not updated during fitting. The noise scales are ; no hidden configuration count appears in (3). The exact continuous triangle transform generates the data independently of the reconstruction bins.
For Monte Carlo correlators, the covariance of the estimated mean must instead be constructed appropriately. The correlated likelihood and that distinction are developed in Asakawa, Hatsuda and Nakahara, §3.1, Eqs. (3.5)–(3.10) (PDF). Here the supplied covariance separates covariance estimation from spectral regularization.
Entropy belongs to masses
Divide into equal bins of width . Let denote bin mass:
The exact bin-averaged kernel is
The implementation evaluates the numerator with to avoid cancellation. No midpoint approximation enters this forward kernel.
A default density supplies strictly positive normalized masses . Define
Normalization gives the second equality. Mass coordinates make the logarithm dimensionless and preserve entropy when a constant-density bin is split. Forgetting the bin width in a density-sample formula changes the regularizer under refinement. The measure and mass discretization are explicit in Asakawa et al., §3.2, Eqs. (3.11)–(3.14) (PDF).
For fixed , minimize
Increasing makes departures from the default more expensive. We compare a uniform default, normalized , and a Gaussian centered at with width , restricted and normalized on . Their integrated bin masses enter (6).
In the interior,
This is positive on every nonzero normalization-preserving direction. The simplex is compact and extends continuously to zero, so a minimizer exists. Transferring infinitesimal mass into an empty bin has entropy derivative tending to , while the finite quadratic term has finite derivative. The minimum is therefore interior and strictly unique.
This proves uniqueness for the specified finite estimator, not identification of a continuum spectrum from finite data. The related curvature argument appears in Asakawa et al., §3.5 (PDF); our normalization constraint and bin model are explicit.
A dual with sixteen variables
Write , and . Introduce a dual variable through
At fixed , the remaining linear-plus-entropy minimization over the simplex gives
There is one component per observed time, regardless of the bin count. The implementation uses log-sum-exp and retains logarithmic masses if exponentiation underflows. It introduces no arbitrary mass floor.
Maximize , or minimize , with derivatives
The bracket is a categorical covariance matrix. Thus the Hessian is at least . Centering the columns of before assembling its covariance avoids subtracting two nearly equal positive matrices.
Every retained solve starts at . It uses a Cholesky Newton solve and an Armijo line search with coefficient and step halvings. The fixed limits are 100 Newton steps and 60 halvings per step; the stopping target is .
A useful exact diagnostic is
Indeed, substitute into and complete the square. A small dual gradient therefore gives a small primal–dual gap in exact arithmetic. The unscaled primal residual can be larger: with equality multiplier ,
Large columns of the whitened kernel amplify the residual. Direct subtraction of nearly equal objective values has a separate rounding error. The companion records the dual gradient, KKT residual, stable gap and direct-subtraction discrepancy separately.
Good forward fits can miss narrow features
The representative observation is replica zero at , fixed before fitting. The scan includes , all three defaults, and . No choice is selected afterward by its distance from the truth.
Use the normalized Gaussian windows on defined on the smearing page. Their estimates are
These are average spectral densities, not bin probabilities. At with uniform default, the narrow central target illustrates the tradeoff:
| Forward | |||
|---|---|---|---|
| 0.01 | 8.2192 | 1.6067 | 0.1521 |
| 0.1 | 8.2628 | 0.8938 | 0.3464 |
| 1 | 8.3948 | 0.6862 | 0.4122 |
| 10 | 9.0621 | 0.6070 | 0.4373 |
| 100 | 16.8816 | 0.5148 | 0.4796 |
The true central window is small because it lies between the separated peaks. A modest forward residual does not validate the reconstructed valley. At primary , changing the default gives for the exponential and for the Gaussian, versus for the uniform default. Agreement among these smooth defaults would not itself bound reconstruction error.
All curves use the same representative observation and uniform default. Repeated-data errors use fixed , and include flagged stopping failures. Regularization bias remains visible despite modest forward residuals.
The repeated-data study uses 128 independent observations per noise/default pair. For uniform default at , the three narrow-target RMSEs are ; the broad targets give . Repetition-based standard errors are retained in the output. These are errors of a point estimator, not posterior credible intervals. Restricting the spectrum to the correct two-triangle family can yield much smaller errors, but supplies additional information.
For the first sixteen observations of each noise/default pair, increasing from 80 to 160 changes any target by at most . This is small compared with the narrow-target biases. Bin convergence supports the finite estimator; it does not remove its default dependence or demonstrate recovery of an unknown spectrum.
Numerical success needs a defining test
Of the 45 representative scan cells, 40 meet the gradient target and five stagnate. Across all 1,476 unique dual solves, 1,306 meet it, 169 stagnate, and one exhausts its iteration budget. All outputs and statuses remain available; the RMSE summaries include the failed cells. Some small masses underflow in binary64 while their logarithms remain finite.
For the primary representative estimate, the dual-gradient maximum is about and the stable gap is , whereas the unscaled KKT maximum is about . Equation (13) explains the amplification. Direct objective-gap subtraction is separately limited by rounding.
Mathematical controls check entropy derivatives on simplex directions, the dual gradient and Hessian by finite differences, entropy invariance under bin splitting, and the exact optimum for . The derivative errors decrease quadratically over the retained step scan.
A separately specified primal SLSQP solve is useful as a failure. It uses 40 bins, the representative observation, uniform default, , an equality constraint and a numerical lower bound . It returns success after five reported iterations but only one objective evaluation. Its objective is about , versus for the dual solution; its normalization-tangent KKT residual is about . The artificial bounds are inactive. It does not independently reproduce the optimum. The preset run is retained without a favorable rescaling or larger-budget retry. The SciPy 1.13.1 SLSQP documentation describes its objective tolerance and iteration options; a success message is not a substitute for the defining stationarity test.
An entropy mode is not a complete posterior
A formal prior proportional to still needs a measure, normalization and treatment of . A density with respect to bin masses differs from one with respect to their logarithms. Posterior modes are not invariant under coordinate changes without the appropriate Jacobian.
Evidence integration, averaging over , posterior uncertainty and the singular-space algorithm often associated with MEM are further constructions; see Asakawa et al., §3.3, Eqs. (3.15)–(3.19) (PDF). Our small dual solves the stated finite optimization problem. The default and scans are sensitivity studies, not calibrated uncertainty bands or a full Bayesian reconstruction.
Summary
Bin-mass entropy reconstruction has a precise default, a strictly convex objective and a small convex dual. Its gap is computable, but rounding and kernel scaling require separate diagnostics. The example shows that bin refinement and satisfactory forward fits can coexist with large narrow-feature errors. Interpretation depends on both the estimator's assumptions and the observable resolution.
Exercises
1. Derive the dual and its gap
Starting from (7), use (9) and a multiplier for to derive (10). Prove (12), and explain why the dual Hessian has no negative eigenvalue.
Solution
At fixed , differentiate :
Thus . Normalization fixes the last factor to and gives . Substitution gives the minimum , leading to in (10).
Let . Since ,
For any vector , the covariance term in (11) has quadratic form . Therefore . A numerical Cholesky failure would call for investigation, not a physical interpretation as nonconvexity.
2. Split a bin without changing the density
A bin of width has mass and default mass . Split it into widths and , keeping both densities constant. Show entropy invariance. What goes wrong if density entropy values are summed without bin widths?
Solution
The new masses are and . Their contribution is
Equivalently, the correct density expression is , with and . The split widths sum to . Without those widths, splitting a constant bin doubles its contribution, changing the effective regularization despite leaving the continuous spectrum unchanged.
For the constant density on this bin, exact kernel integration also preserves its forward contribution. A midpoint approximation would introduce an additional quadrature error.
References
- M. Asakawa, T. Hatsuda and Y. Nakahara, “Maximum Entropy Analysis of the Spectral Functions in Lattice QCD,” Progress in Particle and Nuclear Physics 46 (2001), 459–508, arXiv:hep-lat/0011040v2 (PDF). §§3.1–3.3: likelihood, entropy, measure and hyperparameters; §3.5: strict curvature.
- SciPy developers, SLSQP minimization, SciPy 1.13.1. Documented interface and stopping options for the independent diagnostic.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.