cs.LGNov 20, 2026

Geometrically Constrained Learning II: Agnostic Proper Learning of Lipschitz Functions

Authors: Jane Lange, Cassandra Marcussen, Arsen Vasilyan

Organizations: Institute for Advanced Study · School of Engineering and Applied Sciences, Harvard University, Cambridge, Massachusetts, USA. · Aarhus University

Abstract

We give a proper learner for Lipschitz functions over the Gaussian distribution on Rd\mathbb{R}^d. Given random Gaussian examples labeled by a λλ-Lipschitz function, λ≥1λ\ge 1, the learner returns a function h:Rd→Rh:\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)poly(λ/ε).(d+1)^{\mathsf{poly}(λ/\varepsilon)}.

The learning algorithm can be made 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 V2≥1V^2 \ge 1, the complexity is

(d+1)poly(Vλ/ε),(d+1)^{\mathsf{poly}(Vλ/\varepsilon)},

and the error is opt+ε\mathsf{opt} + \varepsilon, where opt\mathsf{opt} is the minimal error among Lipschitz approximators. Our approach combines L1L_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.

Figures & tables

Explore similar work

Nov 14, 2025

Learning and Testing Convex Functions

We consider the problems of learning and testing real-valued convex functions over Gaussian space. Despite the extensive study of function convexity across mathematics, statistics, and computer science, its learnability and testability have largely been examined only in discrete or restricted settings -- typically with respect to the Hamming distance, which is ill-suited for real-valued functions. In contrast, we study these problems in high dimensions under the standard Gaussian measure, assuming sample access to the function and a mild smoothness condition, namely Lipschitzness. A smoothness assumption is natural and, in fact, necessary even in one dimension: without it, convexity cannot be inferred from finitely many samples. As our main results, we give: - Learning Convex Functions: An agnostic proper learning algorithm for Lipschitz convex functions that achieves error ε\varepsilon using nO(1/ε2)n^{O(1/\varepsilon^2)} samples, together with a complementary lower bound of npoly(1/ε)n^{\mathrm{poly}(1/\varepsilon)} samples in the correlational statistical query (CSQ) model. - Testing Convex Functions: A tolerant (two-sided) tester for convexity of Lipschitz functions with the same sample complexity (as a corollary of our learning result), and a one-sided tester (which never rejects convex functions) using O(n/ε)nO(\sqrt{n}/\varepsilon)^n samples.
Mar 6, 2026

Agnostic learning in (almost) optimal time via Gaussian surface area

The complexity of learning a concept class under Gaussian marginals in the difficult agnostic model is closely related to its L1L_1-approximability by low-degree polynomials. For any concept class with Gaussian surface area at most ΓΓ, Klivans et al. (2008) show that degree d=O(Γ2/ε4)d = O(Γ^2 / \varepsilon^4) suffices to achieve an ε\varepsilon-approximation. This leads to the best-known bounds on the complexity of learning a variety of concept classes. In this note, we improve their analysis by showing that degree d=O~(Γ2/ε2)d = \tilde O (Γ^2 / \varepsilon^2) is enough. In light of lower bounds due to Diakonikolas et al. (2021), this yields (near) optimal bounds on the complexity of agnostically learning polynomial threshold functions in the statistical query model. Our proof relies on a direct analogue of a construction of Feldman et al. (2020), who considered L1L_1-approximation on the Boolean hypercube.
May 26, 2026

Proper Agnostic Learning of Functions of Halfspaces under Gaussian Marginals

We study the problem of computationally efficient proper agnostic learning of multidimensional concept classes under the Gaussian distribution. In this setting, given i.i.d. labeled samples from an unknown distribution over Rd×{±1}\mathbb{R}^d \times \{\pm 1\} whose marginal on Rd\mathbb{R}^d is Gaussian, the goal is to output a hypothesis from a target class F\mathcal{F} whose 0-1 loss is within εε of that of the best classifier in F\mathcal{F}. We give the first efficient proper agnostic learning algorithm for arbitrary Boolean functions of KK halfspaces under Gaussian marginals. Our algorithm runs in time dO(K2log⁡(1/ε)/ε2)+(K/ε)O(K3/ε2.5)d^{O(K^2 \log(1/ε)/ε^2)} + (K/ε)^{O(K^3/ε^{2.5})}. Prior to our work, the only known algorithm for K≥2K \geq 2 was brute-force search, with run-time exponential in dd. Moreover, the dependence of our run-time on the dimension dd matches that of the best known improper learning algorithm, namely dO~(K2/ε2)d^{\widetilde{O}(K^2/ε^2)}. For the special case of a single halfspace (K=1K=1), the best previous run-time was dO(1/ε4)+(1/ε)O(1/ε6)d^{O(1/ε^4)} + (1/ε)^{O(1/ε^6)}. Our algorithm improves this to dO(1/ε2)+(1/ε)O(1/ε2.5)d^{O(1/ε^2)} + (1/ε)^{O(1/ε^{2.5})}. Once again, the dependence on dd matches that of the best known improper algorithm, namely dO(1/ε2)d^{O(1/ε^2)}. Furthermore, the dependence of our run-time on the dimension dd is essentially optimal in the statistical query model.