stat.MLMar 21, 2026

Hard labels sampled from sparse targets mislead rotation invariant algorithms

Authors: Avrajit Ghosh, Bin Yu, Manfred Warmuth, Peter Bartlett

Organizations: University of California, Berkeley. · Google Research · Google Deepmind.

Abstract

One of the most common machine learning setups is logistic regression. In many classification models, including neural networks, the final prediction is obtained by applying a logistic link function to a linear score. In binary logistic regression, the feedback can be either soft labels, corresponding to the true conditional probability of the data (as in distillation), or sampled hard labels (taking values ±1\pm 1). We point out a fundamental problem that arises even in a particularly favorable setting, where the goal is to learn a noise-free soft target of the form σ(x⊤w⋆)σ(\mathbf{x}^{\top}\mathbf{w}^{\star}). In the over-constrained case (i.e. the number of samples nn exceeds the input dimension dd) with examples (xi,σ(xi⊤w⋆))(\mathbf{x}_i,σ(\mathbf{x}_i^{\top}\mathbf{w}^{\star})), it is sufficient to recover w⋆\mathbf{w}^{\star} and hence achieve the Bayes risk. However, we prove that when the examples are labeled by hard labels yiy_i sampled from the same conditional distribution σ(xi⊤w⋆)σ(\mathbf{x}_i^{\top}\mathbf{w}^{\star}) and w⋆\mathbf{w}^{\star} is ss-sparse, then rotation-invariant algorithms are provably suboptimal: they incur an excess risk Ω ⁣(d−1n)Ω\!\left(\frac{d-1}{n}\right), while there are simple non-rotation invariant algorithms with excess risk O(slog⁡dn)O(\frac{s\log d}{n}). The simplest rotation invariant algorithm is gradient descent on the logistic loss (with early stopping). A simple non-rotation-invariant algorithm for sparse targets that achieves the above upper bounds uses gradient descent on the weights ui,viu_i,v_i, where now the linear weight wiw_i is reparameterized as uiviu_iv_i.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Jun 11, 2026

Is Spurious Correlation Removal Always Learnable?

Invariant learning can fail even when the invariant structure is statistically identifiable. We show a conditional computational barrier: under a black-box samplable supervised sparse recovery primitive motivated by average-case sparse-recovery reductions, there exist samplable multi-environment instances with a one-dimensional predictive invariant subspace (k=1k=1) that are learnable with polynomial samples by exhaustive search, while any polynomial-time constant-accuracy recovery algorithm would contradict the primitive. We further quantify environment diversity by a separation parameter γγ, which controls identifiability and the curvature of invariance objectives. Under sufficient diversity and local Gaussian regularity, the minimax risk is E[\dist(V^,Vinv)2]=Θ(k(d−k)/(n∣E∣))\mathbb{E}[\dist(\hat{V},V_{\mathrm{inv}})^2]=Θ(k(d-k)/(n|\mathcal{E}|)), and under label-induced shifts a phase transition occurs at n∗∝k(d−k)/(∣E∣γ2)n^*\propto k(d-k)/(|\mathcal{E}|γ^2) with refined estimation error scaling proportional to 1/γ21/γ^2. Synthetic and real datasets illustrate the predicted gaps and transitions and motivate simple diversity diagnostics.
Oct 1, 2026

Tight Transition Time Bounds for Separable Logistic Regression at the Edge of Stability

We study logistic regression on linearly separable data under gradient descent with a large constant stepsize ηη. Such dynamics may exhibit a characteristic Edge of Stability phenomenon, in which the loss initially oscillates before transitioning to a stable phase of monotone decrease. Existing work provides a tight Θ(1)Θ(1) bound in dimension d=2d=2 as η→∞η\to \infty and conjectures a bound independent of ηη in arbitrary dimensions d≥2d\geq 2. In this paper, we disprove this conjecture by showing that, for every fixed sample size n≥2n\geq 2 and sufficiently small margin γγ, the worst-case transition time is Θ ⁣((log⁡η)min⁡{n−2,d−2})Θ\!\left((\logη)^{\min\{n-2,d-2\}}\right) uniformly over d≥2d\geq2. The key challenge in establishing a tight bound is that the sample contributing most strongly to the gradient can change repeatedly across iterations. To address this issue, we control such changes by induction on dimension and sample size, and construct matching hard instances.
Feb 18, 2026

Learning with Locally Private Examples by Inverse Weierstrass Private Stochastic Gradient Descent

Releasing data once and for all under noninteractive Local Differential Privacy (LDP) enables complete data reusability, but the resulting noise may create bias in subsequent analyses. In this work, we leverage the Weierstrass transform to characterize this bias in binary classification. We prove that inverting this transform leads to a bias-correction method to compute unbiased estimates of nonlinear functions on examples released under LDP. We then build a novel stochastic gradient descent algorithm called Inverse Weierstrass Private SGD (IWP-SGD). It converges to the true population risk minimizer at a rate of O(1/n)\mathcal{O}(1/n), with nn the number of examples. We empirically validate IWP-SGD on binary classification tasks using synthetic and real-world datasets.