Unverified 2026

Spectral-Gap Convex Perturbation Sampler

Implementation & benchmark of arXiv:2608.16878 — Spectral Gaps of Hit-and-Run and Coordinate Hit-and-Run

Usefulness5/10
Difficulty5/10
Novelty7/10

Source paper: Spectral Gaps of Hit-and-Run and Coordinate Hit-and-Run arXiv:2608.16878 ⓘ · analyzed Sep 1, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Replace rejection sampling or coordinate random walks for adversarial and augmentation perturbations in a convex feasible set with Hit-and-Run: choose a random direction through the current perturbation, compute the exact feasible chord, and sample uniformly on that chord. The paper's spectral-gap result predicts faster global exploration when the perturbation polytope is rounded or whitened, while preserving feasibility at every step.

Formulas

$$\lambda_{\mathsf{HR}}\gtrsim\frac{1}{n^{2}C_{\mathsf{PI}}(\pi)}\gtrsim\frac{1}{n^{2}\,\lVert\operatorname{cov}\pi\rVert_{\mathrm{op}}\log n}.$$
$$\chi^{2}(\pi^{\mathsf{HR}}_{N}\mathbin{\|}\pi)\leq\exp\bigl(-\frac{cN}{n^{2}\,\lVert\operatorname{cov}\pi\rVert_{\mathrm{op}}\log n}\bigr)\,\chi^{2}(\pi_{0}\mathbin{\|}\pi).$$
$$\operatorname{Var}_{\pi}(f)\leq C_{\mathsf{PI}}(\pi)\,\mathbb E_{x\sim\pi}\left[\|\nabla f(x)\|_{2}^{2}\right].$$
$$x_{k+1}=x_k+t_k u_k,\qquad u_k\sim\operatorname{Unif}(\mathbb S^{n-1}),\qquad t_k\sim\operatorname{Unif}\{t:\ x_k+tu_k\in\mathcal K\}.$$

Mathematical statement

For a bounded open convex set \(\mathcal K\subset\mathbb R^n\) containing a unit ball, let \(\pi\) be the uniform distribution on \(\mathcal K\), and let \(C_{\mathsf{PI}}(\pi)\) denote its Poincare constant, meaning the smallest constant satisfying \(\operatorname{Var}_{\pi}(f)\le C_{\mathsf{PI}}(\pi)\,\mathbb E_{\pi}[\|\nabla f\|_2^2]\) for suitable differentiable \(f\). Theorem 1.1 gives \(\lambda_{\mathsf{HR}}\gtrsim 1/(n^2 C_{\mathsf{PI}}(\pi))\), and also \(\lambda_{\mathsf{HR}}\gtrsim 1/(n^2\|\operatorname{cov}\pi\|_{\mathrm{op}}\log n)\). One Markov step selects a uniformly random line through the current point \(x\), forms the chord \(\ell\cap\mathcal K\), and samples the next point \(y\sim\operatorname{Unif}(\ell\cap\mathcal K)\). Corollary 1.2 gives \(\chi^2(\pi_N\|\pi)\le \exp[-cN/(n^2\|\operatorname{cov}\pi\|_{\mathrm{op}}\log n)]\chi^2(\pi_0\|\pi)\), where \(\pi_N\) is the distribution after \(N\) steps and \(c>0\) is universal. The implementation exploits this contraction as a burn-in and diversity rule; covariance whitening reduces \(\|\operatorname{cov}\pi\|_{\mathrm{op}}\) and improves the predicted mixing rate.

Implementation notes

Integrate the sampler into adversarial training or convex data augmentation, not into the unconstrained neural-network weight update. Represent each perturbation as \(\delta\in\mathbb R^n\) and define a convex polytope \(\mathcal K=\{\delta:A\delta\le b\}\), such as an intersection of an \(\ell_\infty\) box, color or feature-budget inequalities, and linear semantic constraints. Estimate a diagonal or low-rank whitening matrix \(W\) from feasible pilot samples; run the chain in \(z=W\delta\) coordinates so the transformed set is approximately isotropic, then map samples back with \(\delta=W^{-1}z\). Initialize at any feasible \(z_0\). At each step draw \(u\sim\mathcal N(0,I)\) and normalize it. For every inequality \(a_i^T W^{-1}(z_k+tu)\le b_i\), compute the allowed interval for \(t\); intersect all intervals to obtain \([t_{\min},t_{\max}]\); draw \(t\sim\operatorname{Unif}[t_{\min},t_{\max}]\); and set \(z_{k+1}=z_k+tu\). This is the paper's Hit-and-Run update. Discard a burn-in and retain every \(s\)-th sample. The exact chord update and theoretical contraction come from the paper; the Poincare constant, covariance, burn-in, and thinning interval are estimated empirically using chain autocorrelation and batch covariance. As a cheap test, use CIFAR-10 with a small ResNet-18 and a 3- to 16-dimensional learned color or feature perturbation polytope. Compare Hit-and-Run against rejection sampling and coordinate random walks at equal sampler evaluations. Measure robust accuracy, clean accuracy, effective sample size, lag autocorrelation, and constraint violations. Success means lower autocorrelation or higher effective sample size at equal sampler cost, followed by improved robust accuracy at equal training FLOPs.

Verification

This idea has not been verified yet.

Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.

Artifacts

Artifacts unavailable.