Geometrically Constrained Learning II: Agnostic Proper Learning of Lipschitz Functions

Jane Lange, Cassandra Marcussen, Arsen VasilyanarXiv 2026

TL;DR

Researchers have finally cracked the code on "properly" learning Lipschitz functions—functions that are guaranteed to be smooth and robust—over high-dimensional Gaussian data. By combining clever polynomial regression with a novel "local corrector" that uses Gaussian sampling to iron out local instabilities, they’ve created an algorithm that is both efficient and mathematically guaranteed to never "lose its cool" (i.e., it stays Lipschitz everywhere).

What Problem Does This Paper Address?

In the world of machine learning, we often crave Lipschitzness. A function is $\lambda$-Lipschitz if changing the input a little only changes the output a little. It’s the mathematical definition of "not overreacting." This property is the bedrock of differential privacy, adversarial robustness, and stable optimization.

The problem is that most learning algorithms are "improper." They might find a function that is close to the target on average, but it could still have wild, jagged spikes in regions where there wasn't much training data. If you’re using that function for a safety-critical application or a privacy-preserving query, one single spike can ruin everything.

Until now, we didn't have a way to learn these functions "properly"—meaning the output of the algorithm is guaranteed to be Lipschitz everywhere—without hitting an "exponential wall" where the computation time exploded as the number of dimensions ($d$) increased.

Methods

The authors propose a two-stage pipeline that feels a bit like sculpting: first, you get the general shape, then you sand down the rough edges.

  1. Constrained Polynomial Regression: They start by finding a low-degree polynomial that fits the data. However, they add a "leash" in the form of a convex constraint called the squared gradient defect. This ensures the polynomial isn't just accurate, but its gradient doesn't exceed the Lipschitz bound too much on average.
  2. The Local Corrector: This is the secret sauce. Even a "mostly smooth" polynomial can have local violations. To fix this, they use a technique inspired by the McShane extension (a classic mathematical tool for extending Lipschitz functions). Since the McShane extension is usually impossible to compute efficiently, they invented an Ideal Gaussian Corrector.
  3. When you query the function at a point $x$, the algorithm "probes" the area around $x$ using Gaussian samples.
  4. It calculates a penalized median of these probes. This process effectively "votes" on what the value should be to maintain global smoothness.
  5. Smoothing and Clipping: Finally, they use Ornstein-Uhlenbeck (OU) smoothing—a standard tool in Gaussian analysis—and range clipping to ensure the final output is exactly 1-Lipschitz and stays within the expected bounds.

Datasets

This is a theoretical paper focused on fundamental algorithmic guarantees. As such, it does not use standard empirical benchmarks like ImageNet or GLUE. Instead, it provides rigorous proofs for learning over the Gaussian distribution on $\mathbb{R}^d$.

Key Insights and Ideas

  • The "Proper" vs. "Improper" Gap: The authors highlight that predictive accuracy (being right on average) is fundamentally different from structural integrity (being Lipschitz everywhere). Their work bridges this gap for the first time in sub-exponential time.
  • Gradient Defect as a Proxy: You don't need to enforce the Lipschitz property perfectly during the optimization phase. If you can keep the "average violation" (the gradient defect) extremely small, the local corrector can handle the rest.
  • Local Computation: The "corrector" doesn't need to know the whole function at once. It can fix the Lipschitz property locally, on-the-fly, just by looking at a few nearby samples. This makes the resulting model "succinct"—you don't need a giant lookup table to evaluate it.
  • Agnostic Learning: The algorithm is "agnostic," meaning it doesn't assume the data is perfectly Lipschitz. It simply promises to do as well as the best possible Lipschitz function could, plus a small error $\varepsilon$.

Key Results

  • Efficiency: The sample complexity, running time, and representation size are all $(d + 1)^{\mathsf{poly}(\lambda/\varepsilon)}$. For a fixed accuracy $\varepsilon$ and Lipschitz constant $\lambda$, this is polynomial in the dimension $d$.
  • Error Bounds: In the "realizable" case (where the true labels are Lipschitz), the error is at most $\varepsilon$. In the "agnostic" case, the error is $\mathsf{opt} + \varepsilon$.
  • Deterministic Output: While the training uses randomness, the final hypothesis $H$ is a deterministic, efficiently evaluable formula.

Limitations and Future Work

  • Gaussian Assumption: The current results rely heavily on the properties of the Gaussian distribution (like the Harnack inequality and OU smoothing). Extending this to more general distributions or discrete domains remains an open challenge.
  • Label Scale: The authors note that you need to know a bound on the variance of the labels ($V^2$) to achieve agnostic learning. They prove that without some control over the label scale, a uniform sample bound is information-theoretically impossible.
  • Complexity Exponent: While the complexity is polynomial in $d$, the exponent involves $\mathsf{poly}(1/\varepsilon)$, which can still be quite large for very high precision. Finding ways to improve the dependence on $\varepsilon$ is a natural next step.

Summary updated

Abstract

We give a proper learner for Lipschitz functions over the Gaussian distribution on $\mathbb{R}^d$. Given random Gaussian examples labeled by a $λ$-Lipschitz function, $λ\ge 1$, the learner returns a function $h:\mathbb{R}^d\to\mathbb{R}$ that is globally $λ$-Lipschitz and has loss (absolute or squared) at most $\varepsilon$. The sample complexity, running time, and representation size are \[ (d+1)^{\mathsf{poly}(λ/\varepsilon)}. \] The learning algorithm can be made \emph{agnostic}, given a known bound on the variance of the label marginal distribution. Some known control of label scale is information-theoretically necessary. For arbitrary labels with variance at most $V^2 \ge 1$, the complexity is \[ (d+1)^{\mathsf{poly}(Vλ/\varepsilon)}, \] and the error is $\mathsf{opt} + \varepsilon$, where $\mathsf{opt}$ is the minimal error among Lipschitz approximators. Our approach combines $L_1$ polynomial regression under a convex gradient constraint with local correction of the Lipschitz property. The learner finds a polynomial that, after smoothing and clipping its range, is very close to a canonical Lipschitz correction of itself, the lower Lipschitz envelope. Our local corrector modifies the lower envelope by replacing distances to sublevel sets with a Gaussian sampling proxy, allowing the construction to be locally and stably estimated from samples.
BibTeX
@misc{lange2026geometrically,
  author = {Jane Lange and Cassandra Marcussen and Arsen Vasilyan},
  title = {{Geometrically Constrained Learning II: Agnostic Proper Learning of Lipschitz Functions}},
  year = {2026},
  eprint = {2611.27700},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27700},
}
Figure