Discrepancy Algorithms for the Binary Perceptron

Shuangping Li, Tselil Schramm, Kangjie Zhou

TL;DR

This paper bridges the gap between discrepancy theory and statistical physics by applying advanced rounding techniques to the Binary Perceptron problem. The authors introduce a two-stage algorithm—combining linear programming with a Brownian "Edge-Walk"—that significantly improves the known algorithmic thresholds for finding solutions, even proving that the computational-to-statistical gap vanishes in certain high-margin regimes.

What Problem Does This Paper Address?

The Binary Perceptron is a classic model in neural network theory and statistical physics. Imagine you have a set of $M$ random constraints (halfspaces) in $N$-dimensional space. Your goal is to find a "sign vector" $\theta \in \{\pm 1\}^N$ that satisfies all these constraints with some margin $\kappa$.

While we know solutions exist up to a certain constraint density ($\alpha = M/N$), finding them is notoriously difficult. The solution space often exhibits "strong freezing," where solutions are totally isolated from one another in the hypercube. This creates an information-computation gap: we know solutions are there, but standard algorithms can't find them. This paper aims to push the boundaries of where efficient algorithms can succeed across different margin regimes (positive, zero, and negative).

Methods

The authors propose a sophisticated two-stage approach rooted in discrepancy minimization:

  1. Stage 1: Linear Programming (LP) Relaxation: Instead of searching for a discrete sign vector immediately, the algorithm solves an LP over the convex hypercube $[-1, 1]^N$ with a random objective function. This "random projection" typically pushes a significant fraction of the coordinates to the boundaries ($\pm 1$).
  2. Stage 2: Iterative Rounding (Edge-Walk): To handle the remaining fractional coordinates, the authors use the Edge-Walk algorithm (originally by Lovett and Meka). This is essentially a discrete-time Brownian motion that moves within the subspace of satisfied constraints until it hits the faces of the hypercube, effectively "freezing" coordinates to $\pm 1$ one by one while maintaining feasibility.

The technical heavy lifting involves using Gordon’s Inequality to precisely characterize the distribution of the "slack" (the distance from the constraints) after the first stage, which provides a "warm start" for the rounding process.

Datasets

This is a theoretical paper focused on the average-case analysis of random ensembles. As such, it does not use empirical datasets. Instead, it evaluates the algorithm on:

  • Random Gaussian Matrices: $X \in \mathbb{R}^{M \times N}$ where each entry $X_{ij} \sim \mathcal{N}(0, 1)$.
  • Asymmetric and Symmetric Models: Analyzing the problem across various margin parameters $\kappa \in \mathbb{R}$.

Key Insights and Ideas

  • The Power of Slack: The authors realized that the LP stage doesn't just find a point; it reveals the "empirical distribution of margins." By understanding how much slack remains in the constraints after the first stage, they can precisely tune the rounding stage to avoid violating constraints.
  • Vanishing Gaps: For large positive margins ($\kappa \to \infty$), the authors show that the algorithmic threshold actually matches the theoretical storage capacity. In this regime, the problem becomes "easy" because the constraints are so restrictive that the solution space simplifies.
  • Breaking the 0.005 Barrier: For the zero-margin case ($\kappa = 0$), the previous best-known provable algorithm (Kim-Roche) only worked up to a density of $\alpha \approx 0.005$. This paper pushes that to $\alpha \approx 0.1$, a 20x improvement.
  • Hardness via Geometry: For large negative margins ($\kappa \to -\infty$), the authors prove the existence of a multi-Overlap Gap Property (m-OGP). This is a rigorous way of saying the solutions are so "tangled" and clustered that no "stable" algorithm (one whose output doesn't jump wildly with small input changes) can possibly find them.

Key Results

  • Zero Margin ($\kappa = 0$): The algorithm succeeds for $\alpha \le 0.1$. While still below the conjectured capacity of $\approx 0.83$, it is a massive leap over previous provable bounds.
  • Large Positive Margin: The algorithmic threshold $\alpha_{alg}$ is shown to be $\sim \frac{2}{\pi \kappa^2}$, which is asymptotically sharp compared to the storage capacity.
  • Large Negative Margin: The authors characterize the satisfiability threshold as $\alpha_* \sim \frac{\log 2}{\Phi(\kappa)}$. They show their algorithm succeeds up to $\alpha \sim \frac{1}{\Phi(\kappa)\kappa^2}$, and prove that m-OGP kicks in shortly thereafter, explaining the widening gap in this regime.

Limitations and Future Work

  • The Remaining Gap: Even with the 20x improvement at $\kappa = 0$, there is still a significant gap between $\alpha = 0.1$ and the capacity $\alpha \approx 0.83$.
  • Stable vs. Unstable Algorithms: The hardness results specifically target "stable" algorithms. It remains an open question whether "unstable" algorithms (like certain types of MCMC or non-convex heuristics) could potentially reach the true storage capacity in the hard regimes.
  • Refining the Rounding: The authors suggest that more complex rounding schedules or different types of LPs might further push the algorithmic thresholds.

Summary updated

BibTeX
@inproceedings{li2025discrepancy,
  author = {Shuangping Li and Tselil Schramm and Kangjie Zhou},
  title = {{Discrepancy Algorithms for the Binary Perceptron}},
  booktitle = {STOC},
  year = {2025},
  doi = {10.1145/3717823.3718124},
}
Figure