Introduction
Sampling from Binary Quadratic Distributions (BQDs)—which include famous models like the Ising model and Quadratic Unconstrained Binary Optimization (QUBO) problems—is a cornerstone of statistical physics and discrete optimization. However, it is notoriously difficult. Because the variables are discrete and often highly interdependent, traditional Markov Chain Monte Carlo (MCMC) samplers frequently get "stuck" in local optima, leading to extremely slow mixing times.
Recently, a technique called Stochastic Localization (SL) has shown great promise in continuous domains by decomposing a difficult sampling task into a sequence of simpler posterior sampling steps. However, extending SL to discrete spaces has been a major theoretical hurdle. In continuous spaces, SL relies on properties like "log-concavity" to guarantee efficiency; in the discrete world of bits and spins, these geometric tools don't exist.
This paper introduces the first theoretical and practical framework for applying SL to discrete BQDs, proving that even "hard" discrete sampling problems can be solved in polynomial time using standard MCMC samplers.
The Stochastic Localization Framework for Discrete Spaces
The authors bridge the theoretical gap by showing that in the discrete case, SL acts by iteratively adding a linear "external field" to the original distribution.
- The SL Process: An observation process is defined that gradually reveals information about the target variable, transforming the original BQD into a sequence of posterior distributions.
- The External Field Effect: Crucially, they prove that as the SL process progresses, the magnitude of this external field grows toward infinity.
- Theoretical Breakthrough: They demonstrate that once this field becomes strong enough, it "drowns out" the complex quadratic interactions between variables. At this point, the distribution satisfies a Poincaré inequality, providing a mathematical guarantee that MCMC samplers will mix (converge) in polynomial time.
- Integration: This SL framework is seamlessly integrated with three state-of-the-art discrete MCMC samplers: GWG (Gibbs with Gradients), PAS (Path Auxiliary Sampler), and DMALA (Discrete Metropolis-Adjusted Langevin Algorithm).
Experimental Validation
The authors evaluated their framework using the DISCS benchmark, covering 14 diverse datasets across three classic NP-hard combinatorial optimization problems: Maximum Independent Set (MIS), Maximum Cut (MaxCut), and Maximum Clique.
Key Insights and Performance
A useful physical intuition for this process is to think of a collection of magnets (spins) struggling to align. Originally, they are locked in a complex tug-of-war. SL acts like a massive, growing external magnetic field that eventually forces every spin into a clear direction, making the "decision" for each variable much easier.
A key practical discovery in their experiments was the Exponential Decay strategy for MCMC steps. Since the sampling problem is hardest at the beginning and gets easier as the external field grows, it is more efficient to spend more MCMC iterations in the early stages of the SL process.
The SL-enhanced versions of GWG, PAS, and DMALA consistently outperformed their standalone counterparts across nearly all 14 datasets. On MIS problems, the SL-PAS variant achieved the highest objective values, particularly showing significant gains on sparse graphs (improving by up to 0.25% over the baseline).
While SL introduces a small computational overhead (typically a 1–6% increase in actual running time), it yields much better sampling quality within the same total budget of MCMC steps. The framework also proved stable across different SDE time discretization methods, with uniform discretization combined with exponential step decay generally performing best.
Limitations and Future Work
- Form Dependency: The current theory is specifically tailored to BQDs where the energy function is known. Applying this to "black-box" distributions or deep energy-based models where the structure is unknown remains a challenge.
- Global Convergence: While the paper proves that the individual steps of the posterior sampling are efficient, a rigorous proof for the convergence rate of the entire SL process to the final target distribution is still an open question.
- Beyond Binary: The work is currently limited to binary variables ({-1, 1}). The authors suggest that generalizing the framework to handle categorical variables with more than two states is a vital next step for broader applicability in fields like protein folding or scheduling.
Summary updated