New Advances in Geometrically Constrained Learning: Agnostic Proper Learning of Lipschitz Functions

Proposes a proper learning algorithm for Lipschitz functions under Gaussian distributions, supporting agnostic learning with complexity (d+1)^{poly(λ/ε)}.
This paper studies proper learning of Lipschitz functions under Gaussian distributions, requiring the learner to return a globally λ-Lipschitz function achieving ε accuracy under absolute or squared loss. The algorithm combines L1 polynomial regression with local Lipschitz correction, using the lower Lipschitz envelope and a Gaussian sampling surrogate for stable estimation, with sample complexity, running time, and representation size all (d+1)^{poly(λ/ε)}. Furthermore, given an upper bound V² on label variance, it extends to agnostic learning with complexity (d+1)^{poly(Vλ/ε)} and error opt+ε. The paper notes that some control over label scale is information-theoretically necessary. This work provides new theoretical tools and an algorithmic framework for geometrically constrained learning.
Introduction
In machine learning theory, how to efficiently learn Lipschitz functions has always been a core problem. A recent paper, Geometrically Constrained Learning II: Agnostic Proper Learning of Lipschitz Functions, proposes a new proper learning algorithm that can learn Lipschitz functions under Gaussian distributions and achieve agnostic learning. This work combines $L_1$ polynomial regression with local Lipschitz correction, offering new ideas for geometrically constrained learning.

Problem Setting and Main Results
The paper considers a Gaussian distribution on $\mathbb{R}^d$, where given random samples labeled by a $\lambda$-Lipschitz function ($\lambda \ge 1$), the learner must return a globally $\lambda$-Lipschitz function $h: \mathbb{R}^d \to \mathbb{R}$ such that its loss (absolute loss or squared loss) is at most $\varepsilon$. The sample complexity, running time, and representation size are all $(d+1)^{\mathsf{poly}(\lambda/\varepsilon)}$. This result significantly improves over naive approaches because its dependence on dimension $d$ and accuracy $\varepsilon$ is polynomial, although the exponent depends on $\lambda/\varepsilon$.
Furthermore, when an upper bound on the variance of the label marginal distribution is known, the algorithm can be extended to agnostic learning, i.e., it does not require assuming that the data are perfectly labeled by a Lipschitz function. For arbitrary labels with variance at most $V^2 \ge 1$, the complexity is $(d+1)^{\mathsf{poly}(V\lambda/\varepsilon)}$, with error $\mathsf{opt} + \varepsilon$, where $\mathsf{opt}$ is the minimum error of a Lipschitz approximator. The paper points out that some known control over the label scale is information-theoretically necessary.
Proper learning means that the hypothesis returned by the learner must belong to a pre-specified hypothesis class $\mathcal{H}$ (here, the class of globally $\lambda$-Lipschitz functions), rather than an approximator from a larger, possibly more complex function class. In contrast, improper learning allows outputting any function as long as its loss is sufficiently small. Proper learning is theoretically more challenging because the hypothesis class is strictly constrained, but it is preferable in practice: the returned function naturally satisfies the Lipschitz constraint, can be directly used in downstream tasks requiring this property, and typically has a simpler representation. One of the core contributions of this paper is precisely achieving proper learning for the Lipschitz function class, whereas many previous methods could only achieve improper learning.
Agnostic learning relaxes the assumption that "data are perfectly labeled by a function in the target class." In the agnostic setting, labels may come from an arbitrary distribution, and the learner only needs to achieve error within $\varepsilon$ of the best function in the hypothesis class (i.e., the function minimizing the loss), namely error $\mathsf{opt} + \varepsilon$. This is closer to real-world scenarios, as real data often contain noise or do not strictly follow model assumptions. The paper achieves agnostic proper learning under the condition of a known upper bound $V^2$ on label variance, and points out that some control over the label scale is information-theoretically necessary; otherwise, the problem is not learnable.
Algorithm Core: $L_1$ Polynomial Regression and Local Correction
The core of the algorithm combines $L_1$ polynomial regression with convex gradient constraints, and achieves this through local correction of the Lipschitz property. Specifically, the learner first finds a polynomial that, after smoothing and clipping its range, is very close to its own canonical Lipschitz correction—the lower Lipschitz envelope. The local corrector modifies the lower envelope by replacing the distance to the sublevel set with a Gaussian sampling surrogate, thereby allowing the construction to be estimated locally and stably from samples.
The key to this method is decomposing the global Lipschitz constraint into tractable local operations while maintaining theoretical guarantees. Compared with existing methods, this algorithm not only guarantees properness (the returned function itself is Lipschitz) but also achieves agnostic learning, making it more robust in practice.
The lower Lipschitz envelope is a key concept for understanding local correction. Given a function $f: \mathbb{R}^d \to \mathbb{R}$, its lower Lipschitz envelope is defined as $f_*(x) = \inf_{y} { f(y) + \lambda |x-y| }$. This function is globally $\lambda$-Lipschitz and is the largest $\lambda$-Lipschitz function that is pointwise no greater than $f$. In other words, it is a canonical way to "Lipschitzify" $f$: correcting downward the parts of $f$ that violate the Lipschitz condition while remaining no greater than the original function. In the algorithm, the learner first obtains a polynomial approximation and then enforces the global Lipschitz constraint by computing its lower Lipschitz envelope. However, exactly computing the lower envelope involves taking the infimum over all $y$, which is infeasible in high dimensions. The cleverness of the paper lies in using a Gaussian sampling surrogate to approximate the distance to the sublevel set, so that local values of the lower envelope can be stably estimated from samples and the global constraint can be decomposed into tractable local operations.
Significance and Outlook
This work is the second part of the geometrically constrained learning series and provides new theoretical tools for learning Lipschitz functions. Its dependence on dimension is linear (in the exponent) for both sample complexity and running time, which remains challenging in high dimensions but lays the foundation for future research. Possible future directions include improving the dependence on $\lambda/\varepsilon$ and extending to other function classes.
Overall, this paper proposes an important algorithmic framework in theoretical machine learning, combining polynomial regression and local correction techniques, and offers new insights into proper learning and agnostic learning.
Conclusion
The proper learning algorithm proposed in the paper efficiently learns Lipschitz functions under Gaussian distributions and supports agnostic learning. Through $L_1$ polynomial regression and local Lipschitz correction, the algorithm achieves complexity $(d+1)^{\mathsf{poly}(\lambda/\varepsilon)}$. This result advances the development of geometrically constrained learning and provides theoretical guarantees for practical applications.
Related articles

Prospero: A Lightweight Native AI Coding Tool Built with ImGui
Prospero is a bloat-free native AI coding tool built with ImGui, emphasizing lightweight design, high performance, and low dependencies. This article analyzes its design philosophy, technical choices, and the divergence between platformization and toolization in AI coding tools.

WebRTC Abused: New Variant of Credit Card Skimming Scripts on Shopping Sites
Security researchers found skimming scripts on popular shopping sites using WebRTC data channels to exfiltrate credit card data. This article analyzes the technical原理, differences from traditional Magecart attacks, and defense strategies for e-commerce platforms in third-party script governance and CSP policies.

Single GB10 Card Hits 101 tok/s: Inkling 2 Mini Performance Tested on vLLM
A developer shared on Hacker News running Inkling 2 Mini with vLLM on a single GB10 at 101 tok/s. This article analyzes the technical context, the significance of vLLM with small models on single cards, and caveats for interpreting tok/s metrics.