Manuscript Offprint
arXiv:2611.04344Proper Agnostic Learning of Affine Halfspaces under Log-Concave Marginals
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 . 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 , global disagreement is within universal constant factors of 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 for the marginal law of , and let be the class consisting of all affine halfspaces and the two constants. For a joint law of with , set
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 and .
Theorem 1.1 (Isotropic log-concave marginals). There are a universal constant and a randomized algorithm with the following guarantee. For every joint law with isotropic log-concave marginal on , every , and arbitrary binary labels, the algorithm uses iid labeled samples alone and returns such that
with probability at least . Its sample count and real-arithmetic operation count are
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 , a fixed polynomial , and a randomized algorithm such that, for every joint law with a full-dimensional log-concave marginal on and binary labels, and every , the algorithm returns
with with probability at least . It uses at most
independent labeled samples and 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 be a minority halfspace of mass , and let . In coordinates centered at the mean of and normalized by its covariance, is isotropic and the target has a bounded offset. In these coordinates the convex objective has minimum 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 . We then expand a central superlevel set to a quantile restriction of mass . The restriction balances and has covariance comparable to .
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 times its conditional disagreement. The factor cancels the 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.
for absolute . If instead , the same conclusions hold with adjusted constants and with the lower ball centered at the mean. A bounded mean also yields an exponential upper envelope about zero. One-dimensional log-concave densities of standard deviation obey
Their centered moments of every fixed order are bounded after variance normalization. We use upper-semicontinuous log-concave versions of densities; boundary identities may equivalently be read as traces from the interior.
Lemma 2.1 (Restrictions of constant probability). Let be isotropic log-concave and let be a convex event with . Then
Proof. For every unit , the conditional second moment is at most . This bounds the covariance above and, by taking a directional supremum, bounds the norm of the conditional mean. The conditional density of is pointwise at most the unconditional density divided by , hence at most . Any scalar density bounded by has variance at least : for every center , the interval of radius contains at most half the mass. This proves the lower bound. Convexity preserves log-concavity for subsequent applications.
Lemma 2.2 (Interval mass). If a one-dimensional log-concave law gives probability at least to , then its variance and squared mean are at most .
Proof. The density supremum is at least . Equation (2) bounds its standard deviation by . If its mean is outside the interval, Chebyshev gives , which also bounds the mean.
For a centered log-concave law, every halfspace through its mean has probability at least [11]. This also follows by the one-dimensional form of the log-concave centroid inequality. It applies in any dimension by projection.
3 Robust cap statistics at a fixed degree
We use robust mean and covariance estimates with fixed relative accuracy. This permits a sum-of-squares algorithm of fixed degree throughout the proof.
Lemma 3.1 (Fixed-accuracy robust log-concave moments). Fix . There is a constant and a polynomial-time algorithm such that, from a sufficiently large polynomial-size sample from a full-dimensional log-concave law with mean and covariance , after at most a fraction of arbitrary replacements, it returns estimates obeying
with probability at least a fixed constant greater than 1/2. Neither nor is supplied. Independent repetitions may be retained as a list to obtain high confidence that at least one output obeys (3).
Proof. Let . Letwin's Theorem 1.2 [10] states, for every symmetric ,
The difference between the two sides is a positive-semidefinite quadratic form in the entries of . Substituting therefore gives a degree-four sum-of-squares certificate for
Indeed the variance subtracts , and both and equal . This certificate also appears in [12, Lemma 3.2]. Affine changes give the corresponding relative certificate with on the right.
Theorem 1.2 of Kothari–Steurer [9], applied with , gives Mahalanobis mean error and relative Loewner covariance error for a universal certificate constant. Taking sufficiently small gives (3). The degree, and hence the polynomial exponent, remains fixed.
For completeness, the clean empirical distribution meets the required certificate with fixed slack. On the space of symmetric matrices, let and let . Equation (4) gives . Also
by the scalar eighth-moment bound and . Thus the empirical tensor satisfies
Adding fixed identity slack to the Gram matrix before sampling gives a raw empirical quartic certificate with high constant probability for polynomial . Empirical first and second moments concentrate with polynomial samples as well. The degree-four sum-of-squares inequality transfers the certificate to empirical centering, and an empirical covariance lower bound converts to a fixed multiple of the squared empirical variance. Hence a universal relative empirical certificate is available. No degree-eight certificate is required: ordinary eighth moments are used only for concentration. Applying the robust theorem to this empirical law, and absorbing clean sampling errors by slightly tighter constants, proves the lemma.
Remark 3.2. Positive-probability halfspace restrictions remain log-concave. Consequently, the same degree-four certificate and robust estimator apply to every clean conditional law used below.
4 Minority-cap normalization and a convex restriction
Let be a full-dimensional log-concave law, a halfspace with mass , and . Write , , and use the exact coordinates
The law of Z under Q is isotropic. Positive-probability halfspace restrictions have positive-definite covariance.
Lemma 4.1 (Normalized cap offset). In coordinates (6), write
There is an absolute such that .
Proof. Under , the nonnegative residual of the original defining halfspace is log-concave. Its survival function is log-concave with . Concavity of implies for . Integrating gives
Thus , so .
For the upper bound, let be the density of under , and let be its original marginal density divided by . On , , while
By (1), and . For large a, the secant slope
is at least a fixed positive constant. Concavity of bounds its left extrapolation by
The outside integral is at most when a is sufficiently large, a contradiction. If a boundary density vanishes, a positive value both to its left and at zero would contradict log-concavity. Taking interior traces therefore covers that case as well.
Lemma 4.2 (The zonoid-depth dual objective). In exact cap coordinates,
has a global minimizer , with and . More precisely,
If (3) holds with a sufficiently small fixed , then in the computable coordinates the true halfspace is with and
for universal constants .
Proof. The exact hinge vanishes off , and its expectation under is one. Also , so the hinge's gradient at vanishes. Subtracting this supporting tangent of the positive-part function gives (7) pointwise after integration.
For the approximate assertion, write , where and . The true score is . Its intercept is bounded below by , while is bounded above by a universal constant. Dividing by gives the required coefficient bound. The original expectation of the positive score is , so the normalized hinge loss is .
The objective in Lemma 4.2 has a classical interpretation. The optimization
defines zonoid depth at the cap mean. Its formal Lagrange dual is . Here and explicitly attain matching values p, establishing equality of the primal and dual optima. Zonoid trimming and halfspace barycentric representation are established in [7, 8]; we use approximate cap statistics to construct the balanced restriction below.
Proposition 4.3 (Balancing by a quantile restriction). Suppose estimates obey (3), and find v with and
For a sufficiently large fixed , if p is sufficiently small, one can choose a halfspace K containing
with . For , in the exact cap coordinates (6),
The constants in (9) depend only on the fixed . All these conclusions are stable under fixed-factor errors in the target mass and a sufficiently accurate empirical quantile.
Proof. The hinge is at least 1/2 on , so . Under , the approximate coordinate mean has norm . Take small enough that for every feasible . Then contains the halfspace , and the centered log-concave halfspace bound gives . For in the rare regime, is impossible because its hinge loss is one. Its scalar marginal is atomless, so lowering the threshold expands to any specified larger probability below one. Choose with fixed slack beyond .
Put . Then
which gives (8). The law has bounded mean and covariance comparable to I by Lemma 2.1. It is a component of R with weight . Covariance decomposition gives the lower bound in (9).
For the upper bound, fix any unit . The law puts a fixed positive mass in by its bounded directional second moment. So does , by the same component weight. The marginal of is log-concave, since is a halfspace. Lemma 2.2 bounds its variance and squared mean by a fixed constant. Taking suprema over unit proves both remaining assertions.
Finally, all probability inequalities have fixed slack. A quantile with additive error a sufficiently small multiple of p still expands S and has the required mass bounds, after increasing if necessary.
5 A homogeneous primitive for translated marginals
The homogeneous learner will be applied after a translation. We therefore formulate its assumptions directly in terms of two-dimensional marginal densities.
Lemma 5.1 (Translated homogeneous learning). Let a marginal on , , have every two-dimensional marginal density satisfying
where are fixed positive constants. Given arbitrarily labeled samples and accuracy , a polynomial-time algorithm returns a polynomial list containing a homogeneous halfspace with error at most , with any prescribed high confidence, whenever a homogeneous comparator has error . The polynomial is joint in , and log inverse failure probability. Constants may also be retained.
Proof. Encode labels by . For define the bounded, scale-invariant sigmoid objective
We use the sigmoid surrogate introduced in [4]. Its structural gradient bound extends to (10), as the following calculation shows. In the plane of and a unit comparator normal , choose coordinates with and , where . Write
and let denote the objective with the clean label . Then
Suppose for a sufficiently large fixed , and is sufficiently small. In the two rectangles
choose the fixed small enough that and the rectangles lie in the core ball of (10). The density lower bound and give a positive contribution bounded below by a fixed constant. The negative contribution can occur only where . Using there bounds its magnitude by
Consequently,
The corrupted labels change this gradient component by at most . Indeed, Cauchy-Schwarz bounds their contribution by a constant multiple of
where the final inequality follows by integrating the exponential planar density envelope. Choose large and then small. Whenever and , the population gradient has a fixed positive lower bound. Adjusting to convert the sine bound to an angle bound, there are fixed constants such that
Randomized labels are allowed: their conditional corruption probability replaces the indicator in this calculation, and its square is at most itself.
The planar upper envelope also bounds disagreement of two homogeneous halfspaces by times their angle. Hence (12) gives a useful classifier by retaining both signs. Both estimates hold under the density assumptions in (10).
We next verify that stochastic gradient descent finds an iterate with a sufficiently small population gradient. The envelope implies . For a unit , let be the stochastic gradient of the summand in (11). Differentiating the normalized margin gives
The Hessian estimate follows directionally from and the first two derivative bounds of the sigmoid; it has no factor . For the update
tangency ensures that the entire segment , , has norm at least one. Positive scale invariance gives . Smooth descent and conditional expectation therefore yield
Take with a sufficiently small fixed , and with a sufficiently large fixed . Since , the expected average squared gradient can be made less than . Markov's inequality gives, with constant probability, an iterate satisfying (12). Keep all iterates and their negatives; independent repeats amplify confidence without estimating any population gradient.
Finally enumerate a geometric grid of from a sufficiently small fixed multiple of up to . If is below a fixed constant, some grid point satisfies and . If is above that constant, a constant hypothesis already meets a sufficiently large constant-factor guarantee. Rescale the internal to obtain the displayed additive term. The grid, trajectory lengths, repetitions, and resulting list are polynomial.
6 Balanced affine learning
Proposition 6.1 (Balanced affine primitive). Fix positive constants . Let be log-concave with
If an affine comparator has and label error , a sample-only algorithm returns a polynomial list containing an affine classifier of error at most , with prescribed high confidence and joint polynomial complexity in , and log inverse failure probability.
Proof. Assume ; one-dimensional threshold ERM handles . If is larger than a sufficiently small fixed constant, constants suffice. Otherwise, the observed label-conditional laws are within total variation of the clean laws and . Both clean conditional covariances are comparable to , and their mean norms are bounded, by Lemma 2.1 after a fixed-condition-number affine change.
Lemma 3.1 estimates the two clean means to an arbitrarily small fixed Euclidean error . Their signed distances from the target boundary are bounded below by a fixed constant. Indeed their nonnegative scalar residuals have density bounded by a constant , so
Thus sufficiently accurate estimates , remain on opposite sides. Repeat these paired estimation attempts independently and retain each resulting segment; with high confidence at least one pair is simultaneously accurate. Norm and segment-length caps discard inadmissible outputs without affecting that pair.
Fix a successful pair and any two-dimensional projection . Each clean class density is bounded below on a fixed-radius ball about or . The marginal dominates each by its fixed class probability. Small mean errors shrink these balls by at most a fixed amount. Log-concavity then gives a uniform lower density bound on equal-radius balls centered at every point of : if , use the same displacement in the two endpoint balls. The marginal also has a universal exponential envelope, and every point on the segment has bounded norm. Consequently, for every , the translated law of obeys (10).
The segment crosses the true boundary. Its length is bounded by a fixed constant, so a grid of Euclidean mesh has points and contains one point within distance of the crossing. The homogeneous halfspace through this point with the comparator's normal differs from only in a strip of width at most . The scalar density bound gives disagreement at most . Lemma 5.1 at each grid point, with internal accuracy and , supplies a candidate of error at most . Retain all candidates. The list remains polynomial under confidence amplification.
7 Local-to-global disagreement for a minority cap
Although need not contain all of , sufficiently small disagreement on determines the global disagreement up to a factor proportional to . This allows a halfspace learned on to be used globally.
Lemma 7.1 (Parameter-to-global cap bound). In exact cap coordinates (6), write , where and . Let , . There are universal such that
Proof. Project onto the plane of , completing it arbitrarily if the normals are parallel. The projected law of is isotropic log-concave. Use coordinates with and . Let be this projected conditional density and the original projected density divided by . Because the projection contains , conditioning commutes with the projection: on . In particular,
Disagreement implies
Absorbing the last term shows that it lies in the strip
Inside the envelope for bounds by .
For a point in the strip outside , put and . Then is on the cap boundary. Concavity of on the segment between 0 and gives
Here . On (15),
Taking sufficiently small absorbs the resulting positive multiple of into the negative tail exponent. Thus throughout the strip, on either side. Integrating its width proves
Multiplying by p gives (14).
This proof is valid for compact supports. If and , log-concavity forces a positive trace at every interior point of their segment, including . A zero boundary trace therefore cannot hide positive density beyond the boundary. In dimension one the same argument bounds the density on an interval of length ; no extra projected coordinate is needed.
Lemma 7.2 (Local disagreement controls affine parameters). Suppose is log-concave in the exact cap coordinates, satisfies (9), and gives both classes of a fixed positive probability. Then for fixed , every halfspace , , satisfies
Constants cannot meet this small-disagreement premise.
Proof. Project onto the two normals. The two class-conditional laws under have bounded means and covariance comparable to , by Lemma 2.1. Their projected mean segment crosses the target boundary at a point of bounded norm. As in Proposition 6.1, log-concavity gives a fixed radius and density lower bound throughout the ball .
Translate its center to zero. The target becomes and the candidate becomes , where . Let be the unnormalized planar area of their disagreement in this ball. Then .
The central target bisects the ball. The difference between the candidate's area and half the ball's area is at most . Parallel chords of a circular ball give a lower bound on that area difference. For sufficiently small , this yields . The candidate and its same-normal central halfplane disagree in area at most . By the triangle inequality, the two central halfplanes then disagree in area at most . Their disagreement area is exactly a fixed multiple of their oriented angle, giving and excluding reversed orientation. Finally, and
This proves (16). In dimension one use the corresponding interval-length argument. A constant disagrees with on at least the smaller class probability, so it is excluded after reducing .
Theorem 7.3 (Minority-mass transfer). Let and be as in Proposition 4.3. There are fixed such that every affine classifier with obeys
Proof. Reduce until Lemma 7.2 puts the parameters within the range of Lemma 7.1; combining the lemmas proves the upper bound. For the lower bound, , and Proposition 4.3 gives .
The small-error premise is essential. An always-positive classifier has conditional disagreement bounded away from zero but may have global disagreement close to one when is small.
8 The learning algorithm
We describe the algorithm and prove its error guarantee; Section 9 establishes the sample and running-time bounds. The constants are chosen in the following order. Take and choose the robust-estimation tolerance small enough for Lemma 4.2 and the central-halfspace argument in Proposition 4.3. Fix the hinge-loss bound , then choose with fixed slack beyond . This determines the balanced-learning constants and the transfer threshold . Finally choose the noise-ratio threshold and the internal accuracy multiplier sufficiently small. All these choices are independent of .
Fix a comparator with error . Orient its minority class as positive, so ; the algorithm runs both label orientations and includes both constants. For sufficiently small fixed , if , the negative constant has error at most
If , it has error at most . Consequently the only difficult regime is
Choose internal accuracy , where is fixed sufficiently small after all risk constants are fixed.
Let in the chosen orientation. Then . Estimate it by to additive . In the difficult regime it is a fixed-factor proxy for , and in fact can be made arbitrarily close in relative constant terms. Branches with below a fixed multiple of need only constants. Choose a fixed as in Proposition 4.3, large enough for the fixed-factor use of , and a cutoff
If , run Proposition 6.1 directly under the original isotropic law, retaining all its candidates. In a difficult branch is then bounded below by a fixed constant, so both comparator classes are balanced. No restriction is needed in that branch.
If , estimate the moments of the observed positive law. Its total variation distance from is . For example, comparing the unnormalized measures and , their variation discrepancy is at most , and normalizing costs only a constant multiple of under (19). An iid maximal coupling gives iid clean samples with iid mismatch indicators of this probability. A Chernoff bound yields the replacement model in Lemma 3.1 when is small enough. The learner uses only the observed samples; the coupling verifies the contamination assumption of the robust estimator.
Independently repeat the robust estimator and retain all admissible coordinate systems. With high confidence one satisfies (3). In each system optimize the unlabeled hinge to additive , and use an empirical quantile to construct of mass approximately , containing its central set . In the successful branch Proposition 4.3 applies with universal constants. The fixed cutoff ensures . Rejection sampling supplies labeled examples under , where the conditional noise satisfies
Run Proposition 6.1 in the estimated coordinates , with accuracy . On a successful estimation attempt, from Lemma 4.2 has singular values bounded above and below by universal constants and . Thus (9) also gives bounded mean and comparable covariance for in the estimated coordinates, as required by that proposition. Pull each candidate back to the original coordinates. One candidate obeys
Choose and the multiplier in so that this is below the in Theorem 7.3. Then
Adding bounds its original label error. The same affine is used on all of . Retain every candidate from every surviving attempt, and select the lowest empirical original-distribution error on a fresh validation sample. This adds at most with high probability.
The candidate list includes the outputs of all retained coordinate systems, mean estimates, translations, and optimization runs. Selection uses a fresh labeled validation sample from the original distribution. For the proof, fix any comparator within an arbitrarily small additive tolerance of before the algorithm's randomness. Its successful branch exists by the argument above. Taking the comparator tolerance and internal accuracy sufficiently small proves Theorem 1.1, once the polynomial implementation below is established.
9 Polynomial implementation and confidence
We specify polynomial sample and iteration bounds for every stage, including attempts whose statistical estimates are inaccurate. All raw sample batches are independent of prior outputs; accepted conditional samples depend on the previously chosen restriction. A conditional sample request is implemented by a bounded number of ordinary iid draws and rejection using the explicit halfspace.
9.1 Bounds on valid coordinates
Lemma 9.1 (A priori cap moment bounds). If the original is isotropic log-concave and , then
Proof. Every scalar marginal of has density at most a universal constant. Its density conditional on is at most , so the density-to-variance bound from Lemma 2.1 gives the first inequality. For every unit , the original directional tail obeys . Thus
Taking directional suprema gives the covariance upper bound and the mean norm bound.
Whenever , a valid robust output lies in explicit polynomial spectral and norm bounds. Reject all outputs outside slightly looser bounds, including nonpositive-definite matrices. On every surviving branch,
for a known polynomial . This follows directly from isotropy and the imposed bounds, even when the output is inaccurate. All eigendecompositions and inverses here are in the declared real-arithmetic model.
9.2 Sample optimization of the hinge
Fix a surviving coordinate map and let denote its transformed feature. Choose a deterministic radius polynomial in and . Truncate only the objective:
The population marginal itself is not truncated. Uniformly over feasible ,
Take large enough that the right side is at most , hence at most a sufficiently small multiple of in the difficult branch. The truncated summands are bounded by and are -Lipschitz in . A Euclidean net of the radius- ball with mesh , a Hoeffding bound, and Lipschitz extension show that uniform empirical error at most holds with
samples. Here or a small multiple of , both polynomially bounded below in surviving relevant branches. The net is for the proof only. Projected subgradient descent on the empirical convex objective obtains additive optimization error in steps. Evaluating a full empirical subgradient per step still costs a polynomial. Combining optimization, uniform convergence, and (23) gives the desired additive hinge solution. Abort a zero slope in the rare branch; it cannot occur in a valid branch because its loss would be one.
9.3 Quantiles and rejection
Use a fresh sample and an empirical upper-tail quantile of with target mass . The uniform empirical CDF error can be made at most by a polynomial sample bound, with confidence . Include the order-statistic discretization error in . Define the final threshold as the minimum of this empirical threshold and . This choice ensures . In a valid branch the true mass of is substantially below , so this minimum does not change the expanded empirical quantile. Its true mass is .
Before substantial rejection sampling, estimate acceptance on another fresh batch. Abort a branch whose estimate is below a fixed polynomial lower threshold. Put a deterministic polynomial cap on every rejection count; Chernoff bounds show that all valid branches with mass survive with the allocated confidence. The same safeguards apply to observed positive samples and the two label classes in balanced restrictions. Rejection changes the distribution only by selecting accepted iid points; no synthetic or conditional oracle is used.
9.4 Balanced lists and optimization budgets
For each balanced-primitive call, independently repeat paired robust class-mean estimation. Retain every pair inside fixed norm and segment-length caps, and run all its grid points. A successful pair lies inside these caps by the proved conditional moment bounds. Inaccurate mean estimates may add candidates to the list, which are evaluated on the independent validation sample.
Every homogeneous run has a fixed geometric bandwidth grid and a predetermined polynomial trajectory length. Even when the statistical estimates are inaccurate, the sigmoid's stochastic gradient is finite for every finite sample, the initial vector is unit, and the unnormalized update has norm at least one, since . Thus the retraction is defined, and the predetermined iteration budget bounds the operation count without assuming that branch's geometry. All retained hypotheses are affine functions of the original features.
There is a predetermined polynomial upper bound on the number of branches and output candidates. Allocate statistical failure probability to each fresh concentration or rejection guarantee. Robust moments need only constant probability per attempt; independent attempts leave at least one good output with high confidence. In balanced calls repeat the paired attempts, so both mean estimates are simultaneously good in at least one retained pair. Homogeneous trajectories are repeated similarly. The products of these fixed-stage polynomial list sizes remain polynomial. Every attempt terminates within its prescribed budget.
9.5 Sigmoid evaluation using arithmetic alone
The sigmoid in Section 5 need not be an exact elementary-function oracle. Let be the deterministic polynomial bound on the number of original draws in the complete capped algorithm. From the isotropic coordinate tails and a union bound, a deterministic
ensures that every original draw has norm at most except with probability at most . The implemented algorithm aborts if this bound is violated. All surviving coordinate maps, class-mean outputs, and translations already have polynomial caps; hence every feature supplied to a homogeneous run then has norm at most a deterministic polynomial .
The sigmoid derivative uses . To approximate its stochastic gradient to norm error at most a small fixed , it suffices to approximate uniformly to error
Find the smallest nonnegative integer with by repeated halving. For , return zero: . On , the Taylor polynomial for of degree has absolute error at most for a sufficiently large fixed , by the exponential-series remainder bound. Clip its value to and apply , whose derivative is bounded on that interval. Since , this requires polynomially many arithmetic operations and comparisons. Norms and normalization use square roots as permitted by the computational model.
Keep the approximate gradient as a scalar multiple of the exact tangent projection . Tangency, and thus the scale-invariant retraction argument, remains exact. To justify the analysis without conditioning the data on a norm event, consider a fictitious oracle: it uses this approximation on bounded draws and the exact gradient on oversized draws. Its pointwise vector error is at most everywhere. It is tangent, and its conditional bias has norm at most . The descent inequality consequently gains terms at most
Young’s inequality absorbs the first into a fixed fraction of the gradient descent term plus . Choosing sufficiently small relative to the fixed stationarity threshold, and adjusting the fixed step and iteration constants, proves the same list guarantee. The implemented and fictitious algorithms coincide unless an oversized original draw occurs, whose probability is at most . Since , the arithmetic evaluation cost stays polynomial.
9.6 Validation and constants
A fresh original-distribution sample of size
uniformly estimates the errors of all retained candidates to additive . Select an empirical minimizer. Combining (18), the balanced branch, and (21) proves the theorem after the fixed rescaling of .
In dimension one, threshold empirical risk minimization in both orientations, including constants, has the stronger additive agnostic guarantee and polynomial complexity. If the convention for “proper halfspace” excludes constants, replace them by and for , choosing using the universal isotropic log-concave tail bound. These finite thresholds differ from the constants on probability at most , which is absorbed by the choice of . The comparator infimum is unchanged by allowing constants, since their errors are limits of finite thresholds.
10 Unknown affine normalization and confidence amplification
We now remove the isotropy assumption and obtain the sample bound in Corollary 1.2. The preprocessing uses only empirical moments of the marginal. Labels are ignored in this step.
Lemma 10.1 (Stability under approximate normalization). Fix constants . The guarantee of Theorem 1.1 continues to hold when its isotropy assumption is replaced by
The risk constant and the coefficients of the polynomial complexity bound may depend on .
Proof. All cap geometry in Sections 4 and 7 is expressed in the cap’s own mean and covariance, so these arguments are unchanged. In the branch with a comparator of constant minority mass, the displayed assumptions are precisely those of Proposition 6.1.
For the remaining implementation bounds, every unit projection of has a density bounded by a fixed constant and a tail bounded by , with constants depending only on . The proof of Lemma 9.1 therefore gives
Also , which supplies the bound used in the hinge optimization. The same directional tails give the sample-norm bound in Section 9.5. These are the only uses of isotropy outside the cap normalization. Adjusting the fixed constants in the spectral, norm, and iteration bounds proves the claim.
Lemma 10.2 (Empirical whitening at constant confidence). Let have a full-dimensional log-concave law with unknown mean and covariance . For independent samples, let
For a sufficiently large universal , with probability at least 9/10,
On this event, the transformed feature satisfies
Proof. Use the true standardized variables for the analysis. Their one-dimensional fourth moments are bounded by a universal constant. Cauchy–Schwarz therefore gives
Writing and , independence yields
For a sufficiently large constant in , Markov's inequality and a union bound imply
with probability at least 9/10. Since
these estimates imply (24). Congruence by gives the covariance bounds for W, and
The algorithm computes the empirical quantities directly in the original coordinates. The unknown normalization is used only to establish their accuracy.
Proof of Corollary 1.2. First construct a learner with a fixed success probability. Estimate and as in Lemma 10.2, and check that is positive definite. If it is, apply the learner of Lemma 10.1, with internal accuracy and failure probability 1/10, to fresh samples of . Conditional on the whitening event, its assumptions hold with the fixed bounds , , and . An invertible affine change preserves the class of affine halfspaces, their classification errors, and .
If the learner returns a nonconstant halfspace , pull it back as
If it returns a constant, replace that constant in W coordinates by
respectively. On the whitening event the one-dimensional log-concave tail bounds imply
after choosing sufficiently large. Their pullbacks have nonzero normals and finite thresholds. To choose a threshold using arithmetic alone, find the least integer for which by repeated doubling, and use with a sufficiently large fixed . Each successful run thus returns a nonconstant halfspace with error at most .
If the empirical covariance is singular, or a subsequent stage exceeds its prescribed budget, return the fixed halfspace . No absolute spectral bound is imposed on the original : its eigenvalues may reflect an arbitrarily ill-conditioned marginal. The norm and spectral bounds of Section 9 are applied after whitening, in coordinates. Consequently every run has a fixed polynomial sample and arithmetic budget, including those for which (24) fails. On the successful whitening event, all probabilistic guarantees of the normalized learner apply. A union bound shows that one full run succeeds with probability at least .
Repeat this entire procedure independently
times and retain its outputs. With probability at least , one has error at most . Use an independent validation sample of size
to estimate all errors to additive , simultaneously with probability at least . Their empirical minimizer has true error at most the smallest candidate error plus . This proves the risk bound.
Each fixed-confidence run uses samples for a fixed polynomial . Since , the total is at most for a fixed polynomial . Computing the empirical moments, transforming samples, and evaluating the candidates on the common validation sample all take polynomially many real-arithmetic operations. None of these operation counts depends on the eigenvalue ratio of .
11 Discussion
The minority-mass comparison (17) explains why learning on a balanced restriction can yield a global constant-factor agnostic guarantee. Conditioning amplifies the label error by a factor of order 1/p, while the comparison between conditional and global disagreement contributes the compensating factor p. Robust cap normalization and the zonoid-depth objective make this construction accessible from labeled samples. The output remains a single affine halfspace.
Empirical whitening extends the result to unknown full-dimensional log-concave marginals, and independent repetition makes the sample complexity linear in . The polynomial exponents arising from robust moment estimation and the search over translations are not optimized. Obtaining smaller exponents, extending the geometry beyond log-concave marginals, and establishing finite-bit complexity bounds are natural directions for further work.
References
[1] Pranjal Awasthi, Maria Florina Balcan, and Philip M. Long. The power of localization for efficiently learning linear separators with noise. Journal of the ACM, 63(6):50:1–50:27, 2017. doi:10.1145/3006384.
[2] Sergey Bobkov and Michel Ledoux. One-Dimensional Empirical Measures, Order Statistics, and Kantorovich Transport Distances. Memoirs of the American Mathematical Society, 261(1259), 2019. doi:10.1090/memo/1259.
[3] Ilias Diakonikolas, Daniel M. Kane, and Alistair Stewart. Learning geometric concepts with nasty noise. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 1061–1073, 2018. doi:10.1145/3188745.3188754. arXiv:1707.01242.
[4] Ilias Diakonikolas, Vasilis Kontonis, Christos Tzamos, and Nikos Zarifis. Non-convex SGD learns halfspaces with adversarial label noise. In Advances in Neural Information Processing Systems, 33:18540–18549, 2020. NeurIPS proceedings. arXiv:2006.06742.
[5] Ilias Diakonikolas, Vasilis Kontonis, Christos Tzamos, and Nikos Zarifis. Learning general halfspaces with adversarial label noise via online gradient descent. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 5118–5141, 2022. PMLR 162:5118–5141.
[6] Ilias Diakonikolas, Daniel M. Kane, Sihan Liu, and Nikos Zarifis. Testable learning of general halfspaces with adversarial label noise. In Proceedings of the 37th Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 1308–1335, 2024. PMLR 247:1308–1335.
[7] Gleb Koshevoy and Karl Mosler. Zonoid trimming for multivariate distributions. The Annals of Statistics, 25(5):1998–2017, 1997. doi:10.1214/aos/1069362382.
[8] Alexei M. Kulik and Taras D. Tymoshkevych. Lift zonoid and barycentric representation on a Banach space with a cylinder measure. Lithuanian Mathematical Journal, 53(2):181–195, 2013. doi:10.1007/s10986-013-9202-z. arXiv:1211.2927.
[9] Pravesh K. Kothari and David Steurer. Outlier-robust moment-estimation via sum-of-squares. arXiv:1711.11581v2, 2017.
[10] Brayden Letwin. The KLS constant is . arXiv:2607.24164, 2026.
[11] László Lovász and Santosh Vempala. The geometry of logconcave functions and sampling algorithms. Random Structures & Algorithms, 30(3):307–358, 2007. doi:10.1002/rsa.20135.
[12] Aleksandr Storozhenko. On the SoS certifiability of log-concave distributions. arXiv:2609.30105v2, 2026.