Fast sampling from β-ensembles

Guillaume Gautier, Rémi Bardenet, Michal ValkoStat. Comput 2021 · DOI

Abstract

Sampling from $\beta$-ensembles is a fundamental challenge in statistical physics and random matrix theory, traditionally hampered by the $O(N^2)$ long-range interactions between particles. This paper presents a unified framework that bypasses these interactions by treating $\beta$-ensembles as the eigenvalues of random tridiagonal (Jacobi) matrices. By introducing a Gibbs sampler that exploits the short-range dependence of matrix entries, the authors achieve remarkably fast convergence and efficient sampling for general polynomial potentials, scaling significantly better than traditional particle-based Markov Chain Monte Carlo (MCMC) methods.

Introduction

$\beta$-ensembles describe systems of $N$ particles on a real line, governed by a potential $V$ that confines them and a logarithmic repulsion term—represented by the Vandermonde determinant—that pushes them apart. These ensembles are central to understanding universal fluctuations in complex systems. However, as $N$ increases, the computational cost of sampling these distributions grows prohibitively. The repulsion term creates a "long-range" interaction where every particle's position depends on every other particle, leading to $O(N^2)$ interactions per update in standard MCMC approaches. While exact diagonalization of full random matrices is possible for specific cases, it scales at $O(N^3)$, limiting its utility for large-scale simulations.

The Tridiagonal Framework

The core innovation of this work is the shift from sampling particle positions directly to sampling the entries of a Jacobi matrix—a symmetric tridiagonal matrix. The authors leverage the fact that the eigenvalues of specific random tridiagonal matrices follow the desired $\beta$-ensemble distribution.

This approach offers a significant advantage: the complex, global repulsion between particles in the standard representation is transformed into a local, short-range interaction between the coefficients of the tridiagonal matrix. Specifically, for a potential $V$ of degree $d$, the matrix entries exhibit a "Markov blanket" property where variables separated by more than $d/2$ are conditionally independent. This locality is the key to breaking the $O(N^2)$ bottleneck.

Methodology: The Gibbs Sampler

The authors implement a Gibbs sampler designed to update these matrix entries efficiently. The sampling process involves several key components:

  1. Unifying Proof: The paper provides a pedagogical derivation showing how classical ensembles (Hermite, Laguerre, and Jacobi) can be constructed from independent random variables within a tridiagonal structure.
  2. Conditional Sampling: For general polynomial potentials (e.g., $V(x) = x^4$ or $x^6$), the matrix entries are no longer independent. The sampler handles these via:
  3. Tailored Rejection Sampling: Used for log-concave distributions to ensure exactness.
  4. Metropolis-Adjusted Langevin Algorithm (MALA): Used for more complex potentials where exact rejection sampling is less feasible.
  5. Diagonalization: Once the tridiagonal matrix is sampled, its eigenvalues—which correspond to the $\beta$-ensemble particles—are computed in $O(N^2)$ time using optimized numerical libraries.

Results and Validation

The algorithm was evaluated on synthetic $\beta$-ensembles with various potentials, including classical, quartic, and sextic forms. Key findings include:

  • Computational Efficiency: The sampler can process $N=1000$ particles in less than a minute on standard consumer hardware. Empirical evidence suggests the Gibbs chain mixes in only $O(\log N)$ passes, a massive improvement over particle-based methods.
  • Convergence: For quartic potentials, the empirical distribution of particles converges to the theoretical equilibrium measure within 3 to 10 Gibbs passes.
  • Edge Statistics: The sampler accurately captures the Tracy-Widom distribution, which describes the fluctuations of the largest eigenvalue. This is a rigorous benchmark for any approximate sampler, as edge behavior is highly sensitive to errors.
  • Software Integration: The authors have made these tools available via the open-source DPPy Python library, facilitating broader use in the research community.

Limitations and Future Directions

While the tridiagonal approach is highly effective for 1D ensembles, extending it to multivariate $\beta$-ensembles remains a significant open challenge. Additionally, the authors noted a slight discrepancy in matching the Tracy-Widom distribution for sextic ($x^6$) potentials. This is likely due to the use of MALA for conditional sampling rather than exact rejection sampling, suggesting that further refinement of the conditional samplers could improve accuracy for higher-order potentials.

Finally, the authors propose that sampling $\beta$-ensembles could be reframed as a randomized optimization problem, potentially leading to even faster algorithms in the future.

Summary updated

BibTeX
@article{gautier2021fast,
  author = {Guillaume Gautier and Rémi Bardenet and Michal Valko},
  title = {{Fast sampling from β-ensembles}},
  journal = {Stat. Comput.},
  year = {2021},
  doi = {10.1007/s11222-020-09984-0},
}
Figure