arXiv:2610.18639cs.DSOct 2026

Manuscript Offprint

arXiv:2610.18639

Subgaussian Vector Balancing by an Ising Model

Heng Guo, Daniel A. Spielman, Xinyuan Zhang

HENG GUO, DANIEL A. SPIELMAN, AND XINYUAN ZHANG

ABSTRACT. We show that the guaranties of the Gram-Schmidt Walk Algorithm of Bansal, Dadush, Garg, and Lovett can be achieved by an Ising model. Given vectors v1,…,vn\boldsymbol{v}_1, \ldots, \boldsymbol{v}_n of norm less than 1, we give a closed form for a centrally symmetric distribution on a vector σ∈{±1}n\boldsymbol{\sigma} \in \{\pm 1\}^n so that the signed sum ∑jσ(j)vj\sum_j \boldsymbol{\sigma}(j) \boldsymbol{v}_j is 1-subgaussian. We show that the Glauber dynamics for this model mix rapidly provided that the norms of the input vectors are bounded below 1 by an inverse-polynomial.

The proofs employ the theory of Lorentzian polynomials, and we use these techniques to show fast mixing bounds for other spin systems.

1. INTRODUCTION

Dadush, Garg, Lovett, and Nikolov [DGLN19] proved that Banaszczyk's Vector Balancing Theorem [Ban98] is equivalent to the following sampling problem: given vectors v1,…,vn\boldsymbol{v}_1, \ldots, \boldsymbol{v}_n in the unit ball, sample a vector σ∈{±1}n\boldsymbol{\sigma} \in \{\pm 1\}^n so that the signed sum ∑jσ(j)vj\sum_j \boldsymbol{\sigma}(j) \boldsymbol{v}_j has expectation zero and is CC-subgaussian, for some constant CC. We call an algorithm that achieves this guarantee a CC-subgaussian vector balancing algorithm. Bansal, Dadush, Garg and Lovett [BDGL19] developed a polynomial-time algorithm, called the Gram-Schmidt Walk, that solves this sampling problem and thereby provides a polynomial-time realization of Banaszczyk's Theorem. Harshaw, Sävje, Spielman and Zhang [HSSZ24] proved that the constant achieved by this algorithm is actually 1, which is the best possible.

We show that one can obtain a 1-subgaussian vector balancing algorithm from an Ising model that encodes a very simple distribution, and that the natural Glauber dynamics sample from this model in polynomial-time. If all the vectors have Euclidean norm strictly less than 1, then the distribution samples σ\sigma with probability proportional to

(1)

w(σ)=def∏1≤i<j≤n(1−σ(i)σ(j)⟨vi,vj⟩).w(\boldsymbol{\sigma})\stackrel{\mathrm{d e f}}{=}\prod_{1\leq i<j\leq n}\left(1-\boldsymbol{\sigma}(i)\boldsymbol{\sigma}(j)\left\langle\boldsymbol{v}_{i},\boldsymbol{v}_{j}\right\rangle\right).

This is an Ising model because for the matrix MM with M(i,j)=14log⁡1+⟨vi,vj⟩1−⟨vi,vj⟩M(i,j) = \frac{1}{4} \log \frac{1 + \langle v_i, v_j \rangle}{1 - \langle v_i, v_j \rangle}, w(σ)w(\boldsymbol{\sigma}) is proportional to exp⁡(−σTMσ)\exp(-\boldsymbol{\sigma}^T M \boldsymbol{\sigma}).

Our motivation for this paper is three-fold. First, we believe that 1-subgaussian vector balancing is sufficiently fundamental that we should know if one can be obtained from a simple and cleanly described distribution. Second, if one wants to vary the vector balancing guarantee, it would probably be much easier to modify the distribution directly than it would be to modify the Gram-Schmidt Walk. Third, we expect that statisticians will be more likely to use 1-subgaussian samplers to design randomized controlled trials, as suggested in [HSSZ24], if they have a better understanding of the distribution.

Date: October 14, 2026.

This research was partially supported by ONR Award N00014-24-12611.

University of Edinburgh. Email: hguo@inf.ed.ac.uk.

Yale University. Email: daniel.spielman@yale.edu.

Georgia Institute of Technology. Email: normalvra@gmail.com.

To the best of our knowledge, this is the first closed form C-subgaussian sampler for any C, although the Gaussian Triplet Walk of Aden-Ali [AA26] comes close. But, we are most interested in 1-subgaussian guarantees.

We now state our main results.

Theorem 1. Assume that the vectors v1,…,vn\boldsymbol{v}_1, \ldots, \boldsymbol{v}_n all have Euclidean norm less than 1. Let σ\boldsymbol{\sigma} be chosen with probability proportional to w(σ)w(\boldsymbol{\sigma}). Let s=∑iσ(i)vi\boldsymbol{s} = \sum_i \boldsymbol{\sigma}(i) \boldsymbol{v}_i. Then, s\boldsymbol{s} is a 1-subgaussian random vector. That is, for all vectors θ\boldsymbol{\theta},

Eexp⁡(⟨θ,s⟩)≤exp⁡(∥θ∥2/2).\mathbb{E}\exp(\langle\boldsymbol{\theta},\boldsymbol{s}\rangle)\leq\exp(\|\boldsymbol{\theta}\|^{2}/2).

In the course of proving Theorem 1, we establish that the same holds under external fields after re-centering s.

We prove rapid mixing of the Glauber dynamics for the Ising distribution (1), when the norms of the input vectors are inverse-polynomially bounded away from 1. This also holds under external fields.

Theorem 2. Let α0=def1−max⁡i∈[n]∥vi∥2\alpha_0 \stackrel{\text{def}}{=} 1 - \max_{i \in [n]} \|v_i\|^2. The spectral gap of the Glauber dynamics PP for the Ising distribution (1) satisfies

gap(P)≥α0n.\mathrm{gap}(P)\geq\frac{\alpha_{0}}{n}.

Consequently, for every 0<ε<10 < \varepsilon < 1, its mixing time satisfies

tmix(ε)=O(nα0(log⁡1ε+n2log⁡α0−1)).t_{\mathrm{m i x}}(\varepsilon)=O\left(\frac{n}{\alpha_{0}}\left(\log\frac{1}{\varepsilon}+n^{2}\log\alpha_{0}^{-1}\right)\right).

Our approach also yields spectral gap bounds for general spin systems. Specifically, we establish rapid mixing of Glauber dynamics for anti-ferromagnetic spin systems on complete graphs whose interaction matrices have strictly positive diagonal entries, and derive spectral gap bounds in terms of the interaction matrix and eigenvalues of the graph's adjacency matrix. For the anti-ferromagnetic Potts model, our results extend the parameter range and improve the spectral gap lower bound obtained in recent work of Chen and Wang [CW26]. These extensions are presented in Section 8.

One can make sense of the distribution suggested by (1) even when some vectors have inner product 1. Such vectors must be identical or opposite each other, and so can be naturally divided into equivalence classes. If when the size of a class is even, we require that the sum be zero. When the size is odd, we require that the signed sum equal one of the vectors or its opposite.

On the other hand, Theorem 2 does not let us efficiently sample from the distribution when the vectors can have norm 1 or very close to 1. When we have such vectors, can retain almost all the benefit of Theorem 1 by dividing all of them by 1+ϵ1 + \epsilon for some small ϵ\epsilon. We can use Theorem 2 to sample from the distribution on the slightly smaller vectors, and Theorem 1 will guarantee that the induced distribution on the signed sum of the original vectors will be at most (1+ϵ)(1 + \epsilon)-subgaussian.