arXiv:2611.04344cs.LGNov 2026

Manuscript Offprint

arXiv:2611.04344

Proper Agnostic Learning of Affine Halfspaces under Log-Concave Marginals

Zhijie Zheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give a proper constant-factor agnostic learner for affine halfspaces under full-dimensional log-concave marginals. For arbitrary binary labels, the algorithm uses independent labeled samples and returns a single affine halfspace with error at most COPT+εC \text{OPT} + \varepsilon. Its sample and real-arithmetic complexity are polynomial in dimension, inverse accuracy, and the logarithm of the reciprocal failure probability. The mean and covariance of the marginal need not be known, and the sample complexity can be made linear in this logarithmic confidence factor. The main geometric result compares global disagreement with disagreement on a balanced restriction: for a minority halfspace of mass pp, global disagreement is within universal constant factors of pp times conditional disagreement, provided the latter is sufficiently small. To construct the restriction from noisy labels, we estimate the minority cap's mean and covariance robustly, approximately minimize the classical zonoid-depth dual objective, and expand a superlevel set to a marginal quantile. The disagreement comparison cancels the noise amplification caused by conditioning and allows the learned halfspace to be used on the entire space. The analysis combines degree-four sum-of-squares moment bounds for log-concave laws with a translation-based reduction from balanced affine learning to homogeneous halfspace learning.

1 Introduction

Learning a halfspace with arbitrary adversarial label noise is a basic problem in computational learning theory. Under isotropic log-concave marginals, constant-factor agnostic learning is known for origin-centered halfspaces through localization and nonconvex optimization [1, 4]. Arbitrary affine offsets create a different difficulty: a target can describe a very rare tail, and an error bound relative to the conditional tail law need not control the original risk.

For affine halfspaces under general isotropic log-concave marginals, Diakonikolas, Kane, and Stewart [3] give a proper learner with square-root-type dependence on the optimal error. Under Gaussian marginals, constant-factor guarantees are known for arbitrary affine halfspaces [3, 5]. We obtain a constant-factor guarantee for all full-dimensional log-concave marginals, with complexity jointly polynomial in dimension and inverse accuracy.

Write PP for the marginal law of XX, and let Hd\mathcal{H}_d be the class consisting of all affine halfspaces and the two constants. For a joint law DD of (X,Y)(X,Y) with Y∈{0,1}Y \in \{0,1\}, set

errD(h)=PD(h(X)≠Y),OPTD=inf⁡h∈HderrD(h).\mathrm{err}_{D}(h)=\mathbb{P}_{D}(h(X)\neq Y), \qquad \mathrm{OPT}_{D}=\inf_{h\in\mathcal{H}_{d}}\mathrm{err}_{D}(h).

A full-dimensional law is log-concave if it has a density whose logarithm is concave on its convex support; zero values outside the support are allowed. Isotropy means EX=0\mathbb{E}X=0 and Cov(X)=I\mathrm{Cov}(X)=I.

Theorem 1.1 (Isotropic log-concave marginals). There are a universal constant CC and a randomized algorithm with the following guarantee. For every joint law DD with isotropic log-concave marginal PP on Rd\mathbb{R}^d, every ε,δ∈(0,1/2)\varepsilon, \delta \in (0,1/2), and arbitrary binary labels, the algorithm uses iid labeled samples alone and returns h^∈Hd\widehat{h} \in \mathcal{H}_d such that

errD(h^)≤COPTD+ε\mathrm{err}_{D}(\widehat{h}) \leq C \mathrm{OPT}_{D} + \varepsilon

with probability at least 1−δ1 - \delta. Its sample count and real-arithmetic operation count are

poly(d,1/ε,log⁡(1/δ)).\mathrm{poly}(d,1/\varepsilon,\log(1/\delta)).

The learner uses ordinary independent samples; each conditional sample is obtained by rejection from these samples. It requires neither the marginal density nor the comparator's parameters, error, or minority mass. The marginal may have a nonsmooth density or a compact convex support.

Corollary 1.2 (Unknown mean and covariance). There are a universal constant CC, a fixed polynomial PP, and a randomized algorithm such that, for every joint law DD with a full-dimensional log-concave marginal on Rd\mathbb{R}^d and binary labels, and every ε,δ∈(0,1/2)\varepsilon, \delta \in (0,1/2), the algorithm returns

h^(x)=1{wTx≥b},w≠0,b∈R,\widehat{h}(x) = \mathbf{1}\{w^T x \geq b\}, \qquad w \neq 0, \quad b \in \mathbb{R},

with errD(h^)≤COPTD+ε\mathrm{err}_D(\widehat{h}) \leq C \mathrm{OPT}_D + \varepsilon with probability at least 1−δ1 - \delta. It uses at most

P(d,ε−1)log⁡(2/δ)P(d,\varepsilon^{-1})\log(2/\delta)

independent labeled samples and poly(d,ε−1,log⁡(2/δ))\mathrm{poly}(d,\varepsilon^{-1},\log(2/\delta)) real-arithmetic operations. The mean and covariance are unknown, and these bounds are independent of the covariance condition number.

Section 10 proves the corollary by empirical whitening and confidence amplification. It also replaces constant candidates by finite-threshold halfspaces. Theorem 1.1 is stated in isotropic coordinates to simplify the geometric argument.

Computational model. We count real-arithmetic operations, comparisons, square roots, matrix decompositions, and the operations of the fixed-degree semidefinite procedures used for robust moment estimation. All sample requests and optimization stages have predetermined polynomial budgets. Section 9 implements the sigmoid gradient to sufficient accuracy using arithmetic operations, so an exact exponential oracle is unnecessary. The bounds concern this real-arithmetic model; they do not bound the bit lengths of intermediate quantities.

Proof overview and related work. Let HH be a minority halfspace of mass pp, and let Q=P∣HQ = P \mid H. In coordinates centered at the mean of QQ and normalized by its covariance, QQ is isotropic and the target has a bounded offset. In these coordinates the convex objective v↦EP(1+vTZ)+v \mapsto \mathbb{E}_P(1 + v^T Z)_+ has minimum pp at the normalized target. This objective is the classical zonoid-depth dual, related to the cap-barycenter representations of [7, 8]. Robust estimates of the cap moments yield approximate coordinates in which the objective can be minimized to additive O(p)O(p). We then expand a central superlevel set to a quantile restriction of mass Θ(p)\Theta(p). The restriction balances HH and has covariance comparable to QQ.

A balanced affine target is reduced to homogeneous learning by translating along the segment between its two conditional class means. Same-label means and a grid of centers already appear in Gaussian testable affine learning [6]; our reduction verifies the needed two-dimensional density conditions for general log-concave marginals. The main geometric transfer is that a sufficiently accurate affine classifier on the balanced restriction has global disagreement at most CpCp times its conditional disagreement. The factor pp cancels the 1/p1/p increase in label noise. The resulting affine halfspace is used on the whole space.

We use Letwin's quadratic-form variance theorem [10] to obtain a universal fourth-degree sum-of-squares certificate, also recorded in [12]. Kothari-Steurer's robust moment estimator [9] then supplies covariance estimates of constant relative accuracy and a small constant Mahalanobis error for the mean. Only fourth-moment certifiability and fixed estimation accuracy are required. The homogeneous learning step extends the geometric argument of [4] to the translated marginals arising in this reduction.