Efficient Mass Matrix Estimation with Gaussian Cooling
Anonymous authors
ICLR 2027
TL;DR. We present a rigorous framework for preconditioning Markov chain Monte Carlo (MCMC) methods, complete with query complexity bounds and numerical experiments.
Abstract. We introduce an algorithm for efficiently preconditioning log-concave and log-smooth distributions that scales logarithmically with the condition number of the underlying distribution. Based on Gaussian cooling, our multistage method approximately samples from a sequence of well-conditioned distributions to construct a preconditioner for each subsequent stage of the cooling schedule. This method is motivated by existing practical approaches for mass matrix estimation in Markov chain Monte Carlo (MCMC), in which an effective preconditioner for the target distribution is estimated from samples produced during a warm-up period. However, our approach is conceptually distinct from existing approaches and moreover permits theoretical analysis. Our algorithmic framework is flexible, allowing essentially any log-concave sampling algorithm to act as the subroutine within each cooling stage. For instance, using first-order rejection sampling (FORS) as the sampler, the first-order query complexity of our method is for a large class of log-concave and log-smooth distributions with condition number and for translation-invariant distributions. In the translation-invariant setting, we provide numerical experiments for the lattice model, a simple lattice field theory.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:01 UTC.
- Rating
- 3/4
- Confidence
- 2/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 3/3
Read review
Summary
This paper proposes a Gaussian cooling framework for efficient mass matrix estimation in strongly log-concave and smooth distributions. The method constructs a sequence of regularized distributions and recursively estimates their covariance matrices to precondition subsequent sampling stages. Under a structural assumption on the target Hessian, the authors establish logarithmic dependence on the original condition number, achieving first-order query complexities of in general and for translation-invariant distributions using FORS. Experiments on ill-conditioned Gaussian distributions and lattice models demonstrate effective preconditioning, with performance comparable to conventional stagewise empirical preconditioning.
Strengths
- The proposed Gaussian cooling scheme maintains a bounded condition number at each stage through recursive covariance estimation, independently of the original condition number . Under the stated structural assumptions, this yields an effective preconditioner in stages, providing a rigorous justification for multistage preconditioning.
- By leveraging Fourier diagonalization, the method reduces the sample complexity of covariance estimation from linear to logarithmic dependence on dimension, improving the overall query complexity from to .
Weaknesses
- In Figures 1–5, Gaussian cooling performs nearly identically to conventional stagewise empirical preconditioning across both Gaussian and lattice experiments, despite introducing an additional cooling schedule. While this demonstrates the effectiveness of the proposed approach, the experiments do not establish a clear practical benefit of Gaussian cooling over existing methods, particularly in terms of downstream sampling efficiency.
- In the proof of Corollary F.3 (lines 1948–1950), the authors appear to equate the error relative to the true target covariance with the sampling fluctuation around the covariance of the approximate sampling distribution, thereby omitting the approximation bias. Although earlier results on covariance stability under -divergence may help address this gap, the current proof does not establish how the two error sources are combined while preserving the claimed complexity bounds.
Questions for the authors
- In Lines 1948–1950, the proof appears to equate the empirical covariance error relative to the true target distribution with the sampling error relative to the approximate distribution , omitting the discrepancy between their covariance matrices. How is this approximation bias controlled, given that the true Fourier variances are defined under in Lines 1817–1822?
- The concentration arguments in Lemmas F.8–F.9 appear to establish only one-sided deviation bounds, whereas Corollary F.3 requires control of absolute deviations. Furthermore, Lines 1911–1912 omit the negative-tail event when bounding the squared sample mean. Could the authors provide the complete two-sided concentration argument?
- Since Corollary F.3 is used to establish Theorem 3.3 and the translation-invariant complexity bound in Corollary 3.1, can the authors demonstrate that correcting the covariance approximation and concentration arguments preserves the claimed query complexity? In particular, does the correction introduce any additional dependence on the conditioning parameter or the estimation accuracy ?
4 comments
Questions
-
Approximation Bias vs. Concentration Error. As noted above, Appendices E and F have been rewritten to make the distinction between the sampler’s approximation bias (Lemma F.7) and the finite-sample concentration error (Lemmas F.8–F.9), which Corollary F.3 combines, more explicit.
-
Two-Sided Concentration Argument. The previous versions of Lemmas F.8 and F.9 did establish two-sided control of the tail event where the sample covariance fails to concentrate, but this consequence was not presented particularly clearly. We apologize again for the confusion, and the updated Equation (48) preceding Lemma F.9 makes the fact that we control the absolute deviations of explicit.
-
Asymptotic Translation-Invariant Query Complexity. The above clarifications to the proofs in Appendices E and F preserve the claimed query complexity in the translation-invariant setting, with no additional dependence on either or . In Appendix E, we now provide a complete proof of Theorem 3.3 that makes the (unchanged) dependence on both and explicit.
I thank the authors for the response. I will keep my initial positive rating.
We thank the reviewer for their helpful comments and suggestions, which improved the clarity of our work.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes an annealing scheme that learns a linear preconditioner (mass matrix) for a strongly log-concave, smooth target . It samples from the potentials , . At each stage, it draws approximate samples from the current target, preconditioned by the previous covariance estimate, and uses them to estimate the next covariance. The key assumption is for an unknown matrix . Under this assumption every stage is well conditioned and stages suffice. With FORS as the inner sampler, the total cost is gradient queries for constant , and when the covariance is translation-invariant.
Strengths
-
Warm-up mass-matrix adaptation is used in essentially every HMC package (e.g., Stan), yet, as the paper notes, no analysis captures its benefit. The paper gives a staged procedure in the same spirit, with a non-asymptotic guarantee whose dependence on is only logarithmic. In the paper's first-order oracle model, this improves on the closest analysis of learned preconditioners (Hird et al., 2026), which needs polynomial dependence on .
-
The introduction explains Stan's success by mixing along different eigendirections at different time scales. The cooling path makes this idea precise.
-
Some of the tools are useful beyond this paper. Appendix F shows that if approximate samples are close to a log-concave target in chi-squared distance, their covariance is close to the true one. This is exactly what one needs whenever covariances are estimated from MCMC output. The procedure also works with any inner sampler, so it benefits automatically from better samplers.
-
The method scales well. For translation-invariant targets, estimating the covariance in Fourier space cuts the number of samples per stage from about to about , and the method runs on lattices with about 260,000 variables.
Weaknesses
-
I might be wrong but it seems the theory does not cover the main application. With the lattice parameters used in the experiments, is roughly . Since the bounds grow like a high power of , they are much worse here than simply running the sampler without a preconditioner. So the experiments, which motivate the paper seem not supported by the theory. This matters because if this the case it makes the application outside of the theory's domain.
-
Rounding along an annealing schedule is classical in log-concave sampling and volume computation (Lovász & Vempala, 2006; Jia, Laddha, Lee & Vempala, 2021). There, samples from each phase put the next phase in near-isotropic position, and the number of phases is logarithmic in the initial roundness. The paper does not discuss this line of work, which weakens its novelty claim.
Questions for the authors
- Since in the lattice experiments, which of your results applies there?
5 comments
We thank the reviewer for their time and helpful comments. Below, we respond to the weaknesses and questions from the review.
Weaknesses
-
Application Beyond Theory. We agree that the lattice experiments in the first draft of the paper did not quite convey the utility of our theoretical framework. We have included a new set of lattice experiments in Section 4.2, with parameters , , and variable. Under this new choice of lattice parameters (alongside a fixed truncation radius ), we have that , while increasing increases the condition number of the target distribution linearly. In other words, the new set of experiments better captures the regime in which our theoretical results predict the query complexity of translation-invariant Gaussian cooling to scale well with the underlying dimension and target condition number, as is a fixed constant. The newly included Figures 5 and 6 show exactly this, with translation-invariant Gaussian cooling and empirical preconditioning continuing to obtain relative condition number as grows. We have left the original experiments in the paper because we believe that demonstrating our method's robust empirical performance across several different lattice parameter choices may still be of interest.
-
Prior Literature on Rounding Along an Annealing Schedule. In our revised submission, we have added this additional background to our related work section (Section 1.2). We thank the reviewer for pointing out the additional connection to the log-concave sampling and volume estimation literature. The main novelty of our method is not the high-level idea behind Gaussian cooling, which we acknowledge is inspired by a long line of related annealing algorithms, but rather the broad theoretical framework that we develop for its application to affine-invariant sampling and mass matrix estimation. In our setting, the fact that we require stages of Gaussian cooling is related to the results that the reviewer points out, but beyond this parallel, our theoretical framework is entirely distinct.
Question
As noted above, we have included new lattice experiments to which our theoretical results directly apply: as increases, and translation-invariant Gaussian cooling continues to perform well even when . In the paper's conclusion, we have added a remark on the limitations of our theoretical framework in explaining the success of Gaussian cooling as , warranting future work in this direction (as is also the case for empirical preconditioning).
I thank the authors for clarification.
While the regime in the experiments seems to be cover the outside of theory, I don't think it changes the papers contributions significantly because these are experiments to show the effectiveness of gaussian cooling outside of theory. One weakness could be that the theory does not cover strong quartic term in the energy (interaction tern), that is, the settings mostly cover when the distribution is close to Gaussian because could be tiny since Hessian changes too much from one point to another (please correct me if I am wrong ).
I think making this study in the context of lattice field theory is a strong reason why I would want to see this paper in the conference. Previously, these problems have been considered in the context of volume estimation, optimization, bayesian estimation, etc. While of course these techniques are known applied in high energy or condensed matter literature, this study opens up questions that can be studied rigorously for the log-concave sampling within this context and bridges these fields.
We thank the reviewer for the follow-up response, and we also hope that our work will spur additional mathematical study of the difficult sampling problems that arise in high energy and condensed matter physics.
The quartic interaction term in the lattice potential poses an issue, but not simply because the resulting distribution is non-Gaussian. The reviewer is correct that the condition that with effectively captures the notion that the Hessian cannot fluctuate too much globally, and a quartic term (with truncation ) ensures that the Hessian is unbounded.
However, it is possible to have a distribution that is decidedly non-Gaussian but where . Our new set of experiments in the updated Figures 5 and 6 is meant to give a relevant example of this setting. To show how, consider the magnetization, a physically interesting order parameter given by
for a fixed lattice sidelength , fixed mass , fixed truncation radius , and fixed self-interaction . As , the fact that only the constant fields lie in the kernel of the Laplacian allows one to show that the limiting distribution is concentrated on constant fields with for all . The limiting magnetization is then distributed as
where is the truncated potential defined in Equation (50) of Appendix G. Consequently, the limiting distribution of the magnetization (and hence of the spins) is non-Gaussian, even though is fixed as in our new set of experiments. One empirical test of non-Gaussianity is the excess kurtosis, given by
If the magnetization followed a centered Gaussian distribution, then we would have , regardless of the variance of . As the following table demonstrates using samples produced with Gaussian cooling followed by preconditioned ULMC, for fixed , the magnetization's distribution is non-Gaussian as (with the non-Gaussianity shrinking as grows). Moreover, as , our sampled estimates agree with the analytical value of the excess kurtosis, estimated from the density above via quadrature.
Excess kurtosis of (standard error)
| () | () | |
| () | () | |
| () | () | |
| () | () | |
| () | () | |
| () | () | |
| Exact () |
We hope that our new set of experiments effectively demonstrates this genuine application of our theory to a non-Gaussian distribution.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes Gaussian cooling for learning a preconditioner from samples. Each stage uses the previous stage’s covariance to precondition a less regularized target. Under Eq. 2, the method achieves logarithmic dependence on the original condition number. Experiments consider transformed Gaussians and lattice field models.
Strengths
The central insight is that learning a useful preconditioner does not require first sampling efficiently from the original target. A constant-factor covariance estimate at each cooling stage keeps the next stage well-conditioned, without compounding approximation errors (Proposition 2.1). This gives a clean, sampler-agnostic first-order guarantee. The construction is informative even though much of the concentration analysis uses standard tools.
Weaknesses
-
The guarantee relies on strong global structure. Eq. 2 assumes that a fixed linear transformation can make the target well-conditioned, and the complexity depends heavily on the remaining conditioning parameter. For the lattice example, Eq. 48 deteriorates in the small-mass regime, so the theory does not fully explain the empirical success there.
-
The algorithm’s parameter requirements limit its practical interpretation. It assumes access to the exact minimizer, whose computation is excluded from the query complexity. Theorem 3.2 also chooses sampling budgets using the conditioning parameter, although the method is presented as not requiring its value. A guaranteed procedure without this information remains unclear.
Questions for the authors
-
Can the exact minimizer be replaced by an approximate one? What accuracy is needed, and how would obtaining it affect the overall first-order complexity?
-
How can the sampling budgets in Theorem 3.2 be selected with guarantees when the conditioning parameter is unknown?
4 comments
We thank the reviewer for their time and helpful comments. Below, we respond to the weaknesses and questions from the review.
Weaknesses
-
Strong Global Structure. The primary goal of our method is to rigorously capture the intuition underlying affine-invariant samplers: there exists an (unknown) linear transformation such that, after applying said transformation, a sampling problem becomes well-conditioned. Of course, the difficulty is then finding this transformation. If such a transformation does exist, however, then the conditioning parameter satisfies . Importantly, our method sidesteps computing the linear transformation entirely. In the lattice example in Section 4.2, it is true that decreases as . Explaining why both translation-invariant Gaussian cooling and translation-invariant empirical preconditioning still perform well in this regime is an interesting direction for future work. To better motivate the application of our method to the lattice model, we have added an additional set of experiments to Section 4.2, where is held constant but grows without bound as the coupling constant increases. This is the setting that our theory is well-equipped to describe, and indeed, translation-invariant Gaussian cooling performs well in this regime, obtaining relative condition number after stages of Gaussian cooling, even when the condition number of the target distribution reaches .
-
Exact Minimizers and Parameter Requirements. We have fully removed the requirement that our algorithm has access to the exact minimizer, and we thank the reviewer for suggesting this improvement. Initially, this requirement was inherited from the corresponding query complexity guarantees for ULMC and FORS, both of which initialize based on the exact minimizer of the target distribution. However, with a more careful analysis of the initialization in both algorithms, it is possible to initialize with an approximate minimizer at each stage of Gaussian cooling. Our new Lemma E.1 describes how to compute this approximate minimizer at each stage of cooling, using accelerated gradient descent on the well-conditioned problem formed at each stage. Importantly, the first-order query complexity of the approximate minimization at each stage contributes only at subleading order under the mild assumption that . Beyond this new lemma, the rest of our analysis is largely unchanged. On the other hand, some dependence on is likely unavoidable. We have made this requirement clearer in Section 1.1 of the paper, clarifying that a lower bound on is needed to select the cooling rate. Empirically, we find that our method is quite robust as the sampling budgets presented in Theorem 3.2 vary. For instance, in Figure 9 in Appendix G.2, we even demonstrate that for the lattice model with sidelength and , the relative condition number produced by Gaussian cooling after stages is nearly one once the number of ULMC steps per chain reaches .
Questions
-
Removing the Exact Minimizer Assumption. Yes, the exact minimizer can be replaced with an approximate minimizer, and we have updated our paper accordingly, starting with the relevant changes to Assumption 3.1 and Algorithm 1. In particular, it suffices to compute an approximate minimizer at each stage of Gaussian cooling using accelerated gradient descent as in [1, Section 3.7]. As we show in the new Lemma E.1, the guarantees in [1, Theorem 3.18] then imply that at each stage of Gaussian cooling, the additional query complexity due to the approximate minimization procedure is only$$This cost is dominated by the sampler queries when . Finally, in the updated Lemma C.3 (for FORS) and the discussion following Theorem D.2 (for ULMC), we show that both choices of sampler satisfy Assumption 3.1 without any changes to their respective query complexities. More broadly, Assumption 3.1 now only requires that the sampler takes a point that is within distance of the true minimizer, and such a point can be computed efficiently at each stage with accelerated gradient descent. Removing the exact minimizer assumption did not impact any of the numerical experiments in Section 4 because, in both settings, the exact minimizer is .
-
Selecting Sampling Budgets. Note that the sampling budgets in Theorem 3.2 depend only on , where is the cooling rate. Consequently, choosing to be any lower bound on will suffice and still yield reasonable first-order query complexity guarantees. While a trivial lower bound of is always available, such a choice would be highly suboptimal. Rather, computing a good lower bound for should be done on a case-by-case basis. For example, for the lattice experiments in Section 4.2, we explicitly compute a lower bound on in terms of the lattice model parameters (see Appendix G). For other applications of our method, carrying out a similar computation to determine a lower bound on is advisable, even if the resulting bound is somewhat loose. In practice, it is also possible to estimate a good choice for the cooling rate adaptively. In particular, beginning from an initial value of , verify whether the intermediate stages of Gaussian cooling are mixing by computing the integrated autocorrelation time (IAT) for a relevant statistic. If the IATs at intermediate stages are particularly large, then reduce and repeat.
[1] Sébastien Bubeck. Convex Optimization: Algorithms and Complexity. Foundations and Trends in Machine Learning, 8(3–4):231–357, 2015. doi:10.1561/2200000050 (arXiv:1405.4980)
I thank the authors for their rebuttal. Most of my concerns have been addressed, and I would like to maintain my original ratings and positive assessment.
We thank the reviewer for their helpful comments, and we feel that the removal of the exact minimizer assumption, based on the reviewer's suggestion, strengthens the theoretical side of our work.
Comments on the paper
1 comment
Revised PDF Uploaded
We would like to thank all of our reviewers for the time that they spent reviewing our paper and the helpful feedback that they provided on our work. We have uploaded a revised version of our paper, taking into account the comments that we received from all of our reviewers. All major revisions to the paper are marked in red. Although the vast majority of the paper remains the same, three notable changes are:
- Additional Lattice Experiments. As Reviewers ykif and F5WS pointed out, our initial set of lattice experiments did not fully align with our theoretical framework because as . To address this concern, we have added a new set of experiments to Section 4.2. In the new experiments, we choose different lattice parameters so that remains fixed even as , the condition number of the target distribution, grows. This regime is squarely within our theoretical framework, and the new results in Figures 5 and 6 demonstrate the predicted strong performance of translation-invariant Gaussian cooling.
- Removal of Exact Minimizer Assumption. In response to Reviewer ykif's concern, we have entirely removed the assumption that our algorithm has access to , the exact minimizer of the target potential . The updated Assumption 3.1 now only assumes that the chosen sampling algorithm takes an approximate minimizer with as input. In Algorithm 1, we now compute such an approximate minimizer of the well-conditioned potential at each stage of Gaussian cooling via accelerated gradient descent. Lemma E.1 shows that the additional first-order query complexity of this procedure contributes only at subleading order as long as . We verify in Appendices C and D that FORS and ULMC, respectively, satisfy the updated Assumption 3.1.
- Clearer Translation-Invariant Analysis. We have clarified several portions of the analysis of translation-invariant Gaussian cooling, addressing Reviewer zctD's concerns about the proofs in Appendix F. Namely, we have added significant detail to Appendices E and F to more clearly separate the approximation bias of the sampler from finite-sample concentration error in the translation-invariant case.
We have also corrected minor ambiguities and typos throughout the paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the reviewer for their time and helpful comments. Below, we respond to the weaknesses and questions from the review.
Weaknesses
Gaussian Cooling vs. Stagewise Preconditioning. Our work does not claim to outperform stagewise empirical preconditioning, which performs remarkably well across a variety of ill-conditioned sampling tasks. In fact, this project began as an attempt to understand the impressive empirical performance of stagewise preconditioning, which is more or less the gold standard method for learning linear preconditioners [1]. After concluding that we currently do not have the necessary mathematical tools to satisfactorily characterize empirical preconditioning's performance, we instead chose to develop a new algorithm that is amenable to theoretical analysis and matches the performance of empirical preconditioning. When it comes to downstream sampling efficiency, Figure 8 shows that Gaussian cooling can be used to efficiently estimate two-point correlators for the lattice ϕ4 model, for example. We view the main contributions of our work as (1) a better theoretical foundation for mass matrix estimation and (2) a practical method for mass matrix estimation that matches the impressive performance of empirical preconditioning while maintaining strong theoretical guarantees. For empirical preconditioning, no such guarantees currently exist, so even though the method tends to perform well, it is not possible to systematically improve its performance for difficult sampling problems that may be of interest to practitioners (e.g., sampling from lattice field theories such as the lattice ϕ4 model).
Translation-Invariant Query Complexity Proofs. We apologize for the previous lack of clarity in the analysis of the translation-invariant case in Appendix F. We have made several substantial changes to both Appendices E and F to better clarify how the analysis in the general case transfers to the translation-invariant setting. Appendix E now makes the overall strategy more concrete, including the approximation bias between the target distribution and the distribution that the sampler produces at each stage. As the reviewer anticipated, this is handled by the χ2-divergence stability guarantee in Corollary F.2. We now provide an explicit translation-invariant counterpart to this corollary, found in the new Lemma F.7. The remainder of Appendix F.4 then handles the concentration of the estimate of the sample covariance in the Fourier basis, and the revised version of Corollary F.3 ties both steps together. We hope that these changes make the translation-invariant analysis easier to parse, and none of the claimed complexity bounds has changed upon cleaning up the proof.
[1] Carpenter et al. "Stan: A Probabilistic Programming Language." Journal of Statistical Software 76.1 (2017). ISSN: 1548-7660. DOI: 10.18637/jss.v076.i01.