alphaFeedback

WorksComputer Science

Quantile-based Loss Filtering for Outlier-Robust Stochastic Gradient Descent

AI contributions
Not recorded for this paper
View details

Abstract

We study loss-based filtering for finite-sum optimization with a subset of corrupted component functions whose gradients may be highly unreliable. Motivated by minimum-loss-based SGD (min-kk-loss) and quantile-based methods for corrupted linear systems, we propose and analyze a general loss-filtering framework – Quantile-kk-Loss SGD (QkkL-SGD) – that samples kk component losses at each iteration and updates using an index chosen uniformly from the lower empirical qq-quantile. We prove linear convergence of this family of methods under standard convexity assumptions, requiring the sample size to scale with the number of corruptions and a subset strong-convexity threshold. For the cases when large enough sampling is impossible or undesirable, we give a complementary small-sample probabilistic analysis that covers any sample size kk and the convergence behavior depends on the probability of selecting an outlier and on the curvature of the selected good step. Experiments on polynomial regression, regularized logistic regression, and regularized hinge loss show that intermediate quantiles often outperform both standard SGD and min-kk-loss SGD. In particular, min-kk often stalls by repeatedly selecting nearly solved components, while intermediate quantiles retain robustness and produce more informative updates.

Introduction

Stochastic Gradient Descent (SGD) is a fundamental method for solving large-scale finite-sum optimization problems of the form

min⁡xF(x):=1m∑i=1mfi(x)(1)\min_{\mathbf{x}} F(\mathbf{x}) := \frac{1}{m} \sum_{i=1}^{m} f_i(\mathbf{x}) \tag*{(1)}

where each component function fif_i corresponds to an individual data point, measurement, or training example. A basic component-sampling SGD replaces the full gradient by the gradient of a randomly selected component:

xt+1=xt−η∇fit(xt).(2)\mathbf{x}_{t+1} = \mathbf{x}_t - \eta\nabla f_{i_t}(\mathbf{x}_t). \tag*{(2)}

This update is computationally cheap, but can be vulnerable to corrupted data: if a small fraction of the component functions are affected by mislabeled data, faulty measurements, adversarial perturbations, or system failures, then even rare corrupted updates can substantially distort the method’s trajectory. Ordinary mini-batching reduces stochastic variance, but it does not by itself remove this vulnerability when corrupted gradients can be very large; as a single corrupted component can dominate an averaged batch update.

Across robust regression and stochastic or distributed optimization, related methods use three broad, overlapping strategies. Some select, remove, or reweigh observations or candidate updates using losses, residuals, or gradient diagnostics [6, 36, 13]. Others construct a robust gradient estimate or aggregate, for example through robust mean estimation, coordinate-wise median, or trimmed mean [32, 43]. A third line limits the influence of an individual selected observation through a robust loss or bounded update, as in ℓ1\ell_1-loss SGD and gradient clipping [31, 24, 15]. These approaches address different corruption models and target problems.

Our focus is on a finite-sum corruption model in which the index set [m][m] is partitioned as

[m]=G∪O,G∩O=∅,[m] = G \cup O,\qquad G \cap O = \varnothing,

where GG denotes the uncorrupted, or Good components and OO denotes corrupted components, or Outliers. Our goal is not to minimize the corrupted objective FF, but rather to approximate a minimizer of the uncorrupted objective

FG(x):=1∣G∣∑i∈Gfi(x).(3)F_G(\mathbf{x}) := \frac{1}{|G|}\sum_{i\in G} f_i(\mathbf{x}). \tag*{(3)}

That is, we seek x∗∈arg min⁡xFG(x)\mathbf{x}^* \in\operatorname*{arg\,min}_{\mathbf{x}} F_G(\mathbf{x}). The sets GG and OO are unknown to the algorithm, and we do not impose a stochastic model on how the corruptions are generated. Corrupted component gradients may therefore be highly unreliable or adversarially aligned, so even a single corrupted update can result in an arbitrarily perturbed iterate.

Rather than modifying the per-sample update or constructing a robust aggregate from candidate gradients, we use iteration-dependent loss filtering: current component losses are used to restrict which sampled indices are eligible for the next stochastic update, without permanently identifying or removing observations. The motivation is that, in many corrupted-measurement models, good losses become small near the target solution while severely corrupted losses remain comparatively large. Thus the lower tail of the current loss distribution can provide useful information about which components are more reliable candidates for an update – even before any closeness to the target solution.

To that end, we introduce Quantile-kk-Loss SGD (QkL-SGD). At each iteration, the method samples a subset St⊂[m]S_t \subset[m] of size kk, computes the sampled losses

{fi(xt):i∈St},\{f_i(\mathbf{x}_t): i \in S_t\},

and accepts those sampled indices whose losses lie at or below the empirical qq-quantile. The update index is then chosen uniformly from this accepted lower-tail set. Importantly, QkL-SGD does not rely on the accepted lower tail being clean. Corrupted components may also be accepted, and our analysis shows that their effect can still be controlled.

This construction defines a two-parameter family of stochastic sampling rules, with q∈(0,1]q \in(0,1] controlling the accepted fraction and kk controlling the number of losses screened at each iteration. The extreme choice q=1/kq = 1/k reduces to min-kk-loss SGD [34], which selects a minimum-loss component from a sample of size kk. Larger values of qq interpolate between this conservative choice and ordinary SGD, recovered when q=1q = 1. Viewed as a family, QkL-SGD unifies these special cases and explains why intermediate quantiles can offer a better balance between robustness and optimization progress than either endpoint. Our main contributions are as follows:

  • A quantile loss-filtering framework for robust SGD. We formulate and analyze QkL-SGD as a two-parameter family of loss-based stochastic sampling rules for general finite-sum objectives (see Section 2). The family contains min-kk-loss SGD and the standard SGD sampling distribution as endpoints and extends quantile-based residual selection beyond linear least squares. Treating qq and kk as separate algorithmic parameters makes explicit the tradeoff between outlier avoidance, progress on selected good components, and screening cost.

  • A deterministic guarantee. Under smoothness and convexity assumptions, we prove linear convergence of QkL-SGD (see Theorem 1). The required sample size is governed by the number of corruptions and by a subset strong-convexity threshold, rather than directly by the total number of component functions. No stochastic model for the outliers is required, and the accepted lower-tail set need not be clean: the empirical quantile threshold and deterministic counting conditions control the effect of accepted outliers. In some regimes where the number of corruptions is sublinear in mm, this permits sample sizes k=o(m)k=o(m), improving the sample-size dependence of earlier subsampled quantile analyses in the linear setting [19].

  • A probabilistic small-sample guarantee. When the deterministic counting conditions fail, for example, if the afforded sample size kk is constant-order, we derive a complementary convergence bound. Its rate depends on two interpretable quantities: the probability of selecting an outlier and the expected curvature of a selected good step (see Theorem 2). Further, under warm-start conditions, we show that these quantities yield an explicit robustness–progress tradeoff in qq and kk (see Section 2.2.1).

  • Numerical evaluation across models and corruption regimes. We evaluate QkL-SGD on polynomial regression, regularized logistic regression, and regularized hinge loss under several corruption models, including settings beyond the exact assumptions of our theory. Across these problems, intermediate quantiles often improve performance relative to standard SGD and min-kk-loss SGD. Experiments varying qq and kk further illustrate the parameter dependence predicted by the analysis. The best quantile is problem- and corruption-dependent, with strong empirical performance often occurring near the clean-data fraction (see Section 3).

The remainder of the paper is organized as follows. Section 1.1 reviews related work, then Section 2 formally introduces the QkL-SGD framework. Sections 2.1 and 2.2 develop the two complementary theoretical regimes: a deterministic analysis based on sufficiently large samples and a probabilistic analysis for smaller samples, including an explicit specialization under loss separation. Section 3 evaluates the method across several objective classes and corruption models, and Section 4 concludes with a brief discussion of some natural future directions of this work.

Robust statistics and robust regression. Learning or estimating in the presence of a small fraction of unreliable data has a long history in robust statistics, dating back to classical works such as [40, 22]. In regression, this perspective led to methods such as least median of squares and least trimmed squares [33, 41], in which residuals determine which observations influence the fitted model. More recently, high-dimensional robust statistics has developed efficient algorithms for estimation under adversarial contamination, including robust mean estimation and robust regression [2, 28, 10, 13]. Work by Klivans et al. [27] gives polynomial-time algorithms for outlier-robust linear and polynomial regression under adversarial corruptions in examples and labels. These works primarily study the statistical problem of constructing a robust estimator from a corrupted sample. Our goal is different: we study an iterative SGD-type method whose individual updates may be corrupted, and we ask when loss-based sampling can avoid such corrupted updates.

Residual and loss trimming. An algorithmic use of residual information appears in robust regression through hard thresholding. TORRENT alternates between selecting observations with small residuals under the current iterate and updating the regressor on the resulting active set; for squared loss, this is a residual- or loss-trimming procedure [6]. Related methods include consistent robust regression and adaptive hard thresholding for response corruption [7, 39]. These methods use residuals to address response or right-hand-side corruption, but are formulated primarily for linear regression as threshold-and-refit procedures.

A related line of work studies iterative trimmed loss minimization. Shen and Sanghavi [36] propose a general framework that repeatedly selects low-loss samples and updates or retrains a model on the selected subset, while iterative least trimmed squares methods apply the same principle in linear and mixed linear regression [35]. Awasthi et al. [3] analyze iterative trimmed maximum likelihood for robust generalized linear models under adversarial corruptions, including label corruptions. These methods are close in spirit to QkLQ_{\mathrm{kL}}-SGD because they use losses to select samples. QkLQ_{\mathrm{kL}}-SGD turns this principle into a sampled, single-component stochastic update rule for general finite-sum objectives.

Robust gradient filtering, estimation, aggregation, and clipping. Another line of work uses gradient information to robustify stochastic or distributed optimization. SEVER uses the spectral structure of per-sample gradients to score and remove suspect sample functions [14], whereas robust gradient-estimation methods replace the ordinary empirical gradient by a robust estimate [32]. Byzantine-resilient methods select or aggregate candidate worker gradients [8, 1], including coordinate-wise median and trimmed-mean aggregation [43].

Related Byzantine-resilient methods use additional information to screen or stabilize candidate updates. For example, Zeno++ accepts asynchronous worker updates according to an estimated loss-descent score [42], while other approaches incorporate information across iterations, such as worker momentum, to address attacks coupled over time [26]. Gradient clipping and norm-based filtering instead limit the influence of individual large gradients [15, 16]. Thus, these methods use gradient information to filter, estimate, aggregate, score, or control candidate updates. In contrast, QkLQ_{\mathrm{kL}}-SGD uses current component losses to determine which sampled components are eligible to generate the next stochastic update.

Robust losses and bounded-influence stochastic updates. A complementary line of work builds robustness into the per-sample loss or update itself. For online linear and ReLU regression, SGD on the ℓ1\ell_1 loss limits the influence of the magnitude of a corrupted residual; combined with iterate averaging or decaying step sizes, this yields convergence guarantees under oblivious or Massart response corruption [31, 24]. The QkLQ_{\mathrm{kL}}-SGD method retains a general component-loss formulation and modifies which sampled component is used for the update.

Small-loss sample selection in noisy-label learning. A broader noisy-label learning literature also uses small loss as a proxy for sample reliability. MentorNet learns a curriculum weighting rule that emphasizes examples whose labels are likely to be correct [25]; Co-teaching uses two networks to select small-loss examples for one another [20]; and DivideMix models the per-sample loss distribution to separate likely clean and noisy examples [29]. These are primarily deep-learning procedures specialized to noisy-label training, whereas QkL-SGD defines an explicit finite-sum stochastic sampling rule with convergence theory. Moreover, our main analysis does not require the accepted lower-tail set to be clean: accepted outliers are permitted and their effect is controlled through the empirical quantile threshold and deterministic counting conditions.

The next two paragraphs review the two closest technical predecessors of QkL-SGD.

Quantile randomized Kaczmarz and corrupted linear systems. For linear systems with corrupted right-hand sides, quantile-based randomized Kaczmarz methods select rows using residual quantiles in order to avoid corrupted equations. This line of work includes quantile randomized Kaczmarz and its subsampled or block variants [18, 38, 17, 23, 11, 19]. The linear least-squares setting is a special case of finite-sum optimization: for

F(x)=12m∥Ax−b∥2=12m∑i=1m(aiTx−bi)2,F(\mathbf{x}) = \frac{1}{2m}\lVert A\mathbf{x}-\mathbf{b}\rVert^2 = \frac{1}{2m}\sum_{i=1}^{m}(\mathbf{a}_i^{\mathsf{T}}\mathbf{x}-b_i)^2,

an SGD step on one squared residual is

xt+1=xt−η(aiTxt−bi)ai.\mathbf{x}_{t+1} = \mathbf{x}_t - \eta(\mathbf{a}_i^{\mathsf{T}}\mathbf{x}_t-b_i)\mathbf{a}_i.

When the rows are normalized and η=1\eta= 1, this is the randomized Kaczmarz update. Thus, for squared residual losses, residual-quantile selection is equivalent to loss-quantile selection, and QkL-SGD can be viewed as an extension of quantile-based Kaczmarz sampling to general finite-sum objectives.

Min-kk-loss SGD. The closest nonlinear SGD method is min-kk-loss SGD, which samples kk components and updates the current iterate using the gradient of a component attaining the smallest current loss [34]. That work develops landscape and convergence analyses for the minimum-loss rule under separation and noise assumptions. QkL-SGD generalizes min-kk-loss SGD from the minimum to a general sampled quantile. The additional quantile parameter is important because minimum-loss selection can be highly conservative, especially when kk is moderate or large. Our analysis and experiments show that intermediate quantiles can retain substantial robustness while producing more informative updates.

Overall, the existing works give rich evidence that losses and residuals can provide useful signals for robust estimation and optimization. They show that robustness can be introduced at different stages of a stochastic method: by controlling which observations or candidate updates influence a step, by constructing a robust gradient estimate or aggregate, or by limiting the influence of each selected observation. QkL-SGD develops the first strategy using current component losses as the selection statistic while retaining an otherwise standard component-gradient update. Existing loss- and residual-based theory has focused on problem-specific trimming and refitting procedures, quantile selection in linear systems, or the minimum-loss endpoint of stochastic sampling. We analyze the full sampled lower-quantile family for general finite-sum objectives, treating qq and kk as separate design parameters and making explicit their tradeoff between outlier avoidance and optimization progress.

Notation

We write [m]={1,…,m}[m] = \{1,\ldots,m\}. The index set is partitioned as [m]=G∪O[m] = G \cup O, where GG is the good set and OO is the outlier set. For any nonempty S⊆[m]S \subseteq[m], define

FS(x):=1∣S∣∑i∈Sfi(x).F_S(\mathbf{x}) := \frac{1}{|S|} \sum_{i \in S} f_i(\mathbf{x}).

In particular,

FG(x)=1∣G∣∑i∈Gfi(x).F_G(\mathbf{x}) = \frac{1}{|G|} \sum_{i \in G} f_i(\mathbf{x}).

For a multiset R={z1,…,zk}R = \{z_1,\ldots,z_k\}, let

z(1)≤z(2)≤⋯≤z(k)z_{(1)} \le z_{(2)} \le\cdots\le z_{(k)}

denote its order statistics. Throughout the paper, the sample size kk and quantile level q∈(0,1]q \in(0,1] are chosen so that qk∈{1,…,k}qk \in\{1,\ldots,k\} is an integer. We denote the empirical qq-quantile by

Qq(R):=z(qk).Q_q(R) := z_{(qk)}.

Thus q=1/kq = 1/k gives the minimum of the sample, while q=1q = 1 gives the maximum.

At iteration tt, St⊂[m]S_t \subset[m] denotes a uniformly sampled subset of size kk. The lower-tail set at iteration tt is the set, or Bag of acceptable components, i.e., sampled components whose loss falls below the empirical quantile:

Bt:={j∈St:fj(xt)≤Qq({fi(xt)}i∈St)}.B_t := \{j \in S_t : f_j(\mathbf{x}_t) \le Q_q(\{f_i(\mathbf{x}_t)\}_{i \in S_t})\}.

We also write

Ot:=Bt∩O,Gt:=Bt∩G,O_t := B_t \cap O, \qquad G_t := B_t \cap G,

to denote the set of outlier and good components in BtB_t, respectively.

Framework: Quantile-kk-loss SGD

Algorithm 1 formalizes QkL-SGD: at each iteration, the method restricts the eligible update indices to the lower empirical qq-quantile of the losses in a uniformly sampled set.

Note that the accepted set BtB_t is recomputed from the current losses at every iteration; the method does not permanently identify or remove outliers. The quantile parameter controls the size of the eligible set. When q=1/kq = 1/k, QkL-SGD reduces to min-kk-loss SGD, up to ties. When q=1q = 1, every sampled index is eligible, and the resulting update index has the standard uniform component-sampling distribution of SGD. Intermediate values of qq interpolate between these two rules. The next sections develop the analysis showing when the accepted good components provide sufficient progress and when the effect of accepted outliers remains controlled.

Analysis for the sample size larger than the number of corruptions

In this section, we analyze QkL-SGD in the regime where the sample size kk is large relative to the number of corruptions ss. Under this condition, we can guarantee deterministically that every sampled batch contains enough good components both below and above the quantile threshold. We first state the sampling and model assumptions (Assumptions 1 and 2), which require that the accepted lower-tail set contains at least τ=qk−s\tau= qk - s good indices and that the averaged objective over any sufficiently large good subset is strongly convex. Our main result, Theorem 1, then establishes linear convergence in expectation of the QkL-SGD iterates to the minimizer x∗\mathbf{x}^* of the uncorrupted objective, with a contraction rate governed by the probability ρ\rho of selecting an accepted outlier and the potential error inflation χ\chi from a corrupted step.

Assumption 1. (Sampling and corruption regime.) Let s:=∣O∣s := |O| be the number of outliers, kk be the sample size (1≤k≤m1 \le k \le m), q∈(0,1)q \in(0,1) be the quantile, and assume qkqk is an integer. We assume that

τ:=qk−s>0andν:=k−qk−s>0.(4)\tau:= qk - s > 0 \qquad\text{and} \qquad\nu:= k - qk - s > 0. \tag*{(4)}

Equivalently,

s<qkands<k−qk.s < qk \qquad\text{and} \qquad s < k - qk.

The first inequality ensures that the accepted lower-tail set contains enough good indices. The second inequality ensures that the quantile threshold can be controlled by good components above the threshold.

Before discussing Assumption 1 and its implications on the sample size, we first present additional model assumptions.

Assumption 2. (Model setting.) We adopt the following model assumptions on the component functions fif_i.

I. Good-component regularity. For every i∈Gi \in G, the function fif_i is convex and

fi(x∗)=0,∇fi(x∗)=0,f_i(\mathbf{x}^*) = 0, \qquad\nabla f_i(\mathbf{x}^*) = 0,

where x∗\mathbf{x}^* minimizes the uncorrupted objective FG(x)F_G(\mathbf{x}). II. Outlier nonnegativity. For every i∈Oi \in O and every v∈Rn\mathbf{v} \in\mathbb{R}^{n},

fi(v)≥0.f_i(\mathbf{v}) \ge0.

III. Component smoothness. For every i∈[m]i \in[m], the function fif_i has LiL_i-Lipschitz gradient, i.e.,

∥∇fi(x)−∇fi(y)∥2≤Li∥x−y∥2for all x,y∈Rn.\lVert\nabla f_i(\mathbf{x})-\nabla f_i(\mathbf{y})\rVert_2 \le L_i\lVert\mathbf{x}-\mathbf{y}\rVert_2 \qquad\text{for all }\mathbf{x},\mathbf{y}\in\mathbb{R}^{n}.

For sets S⊆[m]S \subseteq[m], we use the conventions

LS∗:={max⁡i∈SLi,S≠∅,0,S=∅,andLG,k∗:=max⁡U⊆G∣U∣≤k∑i∈ULi2.(5)L_S^* := \begin{cases} \max_{i\in S} L_i, & S \ne\varnothing,\\ 0, & S = \varnothing, \end{cases} \qquad\text{and}\qquad L_{G,k}^* := \max_{\substack{U\subseteq G\\ |U|\le k}}\sum_{i\in U}\frac{L_i}{2}. \tag*{(5)}

Note that in particular

LG,k∗≤k2LG∗.L_{G,k}^* \le\frac{k}{2}L_G^*.

IV. Subset strong convexity on good accepted sets. There exists integer rscr_{\mathrm{sc}} such that 1≤rsc≤τ1 \le r_{\mathrm{sc}} \le\tau, such that for every subset S⊆GS \subseteq G with ∣S∣≥rsc|S| \ge r_{\mathrm{sc}}, the averaged objective FSF_S is μS\mu_S-strongly convex, i.e.,

⟨x−y,∇FS(x)−∇FS(y)⟩≥μS∥x−y∥2for all x,y∈Rn.\langle\mathbf{x}-\mathbf{y},\nabla F_S(\mathbf{x})-\nabla F_S(\mathbf{y})\rangle\ge\mu_S\lVert\mathbf{x}-\mathbf{y}\rVert^2 \qquad\text{for all }\mathbf{x},\mathbf{y}\in\mathbb{R}^{n}.

Furthermore, we denote the smallest strong convexity parameter over good sets of size at least τ\tau by μ∗\mu^*

μ∗:=min⁡T⊆G∣T∣≥τμT.\mu^* := \min_{\substack{T\subseteq G\\ |T|\ge\tau}}\mu_T.

The role of the sample size kk is to ensure that, at every iteration, the accepted set contains enough good indices both (i) below the quantile threshold, so that the update step can sample from a sufficiently large good subset, and (ii) above the quantile threshold, so that the threshold itself can be controlled by good components. As a result, Assumption 1 requires the two conditions

∣Gt∣≥τ≥rsc,k−qk−s>0.|G_t| \ge\tau\ge r_{\mathrm{sc}}, \qquad k-qk-s>0.

The first condition is a result of the simple calculation

∣Gt∣=∣Bt∩G∣≥∣Bt∣−∣Ot∣≥qk−s=τ.(6)|G_t|=|B_t\cap G|\ge|B_t|-|O_t|\ge qk-s=\tau. \tag*{(6)}

The latter condition is needed because, after removing up to ss outliers, there remain at least ν=k−qk−s>0\nu=k-qk-s>0 good sampled indices above the threshold, which allows us to relate the loss quantile value and the error. In particular, we can view the terms τ\tau and ν\nu “slack in the accepted and rejected set,” where the “slack” is for the worst case (all corruptions in the accepted/rejected set).

Up to integer rounding, this means that the sample size should be chosen so that

k≳max⁡{s+rscq,s1−q}.k \gtrsim\max\left\{\frac{s+r_{\mathrm{sc}}}{q},\frac{s}{1-q}\right\}.

This gives a practical rule for selecting kk: it must be large enough to overcome the number of outliers ss, and large enough so that the accepted good set reaches the subset strong convexity threshold rscr_{\mathrm{sc}}.

A useful point is that this requirement does not force kk to scale with the total number of components mm. In earlier subsampled methods for the linear setting, such as Haddock et al. [19, 17], theoretical guarantees typically required taking a sample size of order O(m)O(m). In contrast, the present result allows kk to be chosen in terms of the outlier level ss and the structural threshold rscr_{\mathrm{sc}}, which can be much smaller than mm.

The present assumptions always exclude the extreme choice q=1/kq=1/k whenever s>0s>0, since then

qk=1,τ=1−s≤0.qk=1,\qquad\tau=1-s\le0.

In other words, as soon as there is even one outlier, the proof requires an accepted set larger than a single index. This is also consistent with a basic robustness obstruction: if s≥ks\ge k, then the random sample StS_t can consist entirely of outliers, and under uniform sampling without replacement this happens with positive probability. This event is detrimental to the analysis since, in this case, every accepted index is corrupted, since

Bt⊆St⊆O.B_t\subseteq S_t\subseteq O.

regardless of the quantile level qq. Hence the update necessarily uses a corrupt gradient, and if those outlier gradients are very large or adversarially aligned, a single such step can be arbitrarily harmful. Practically, for moderate or large sample size kk, the extreme choice q=1/kq=1/k (that is, selecting the smallest residual/loss) is typically too conservative and leads to unnecessarily slow progress. Thus both the theory and the practical behavior suggest choosing kk large enough to ensure robustness, without relying on the minimum-loss rule. We illustrate this tradeoff in the numerical experiments in Section 3.

For simplicity of analysis, we assume that fi(x∗)=0f_i(x^*)=0 for i∈Gi\in G. However, in general, this is not necessary, and we expect that a nonzero value of fif_i at x∗x^* will, at worst, introduce a convergence horizon. For example, see the analysis of QRK in the noisy least squares case [5, 12]. We note that our experiments in Sections 3.2, 3.3, and 3.4 support this hypothesis in and beyond the quadratic least-squares objective.

We now present our main result in this section, which illustrates that the QkL-SGD iterates converge to the solution of the optimization problem restricted to only good components under Assumptions 1 and 2.

Theorem 1. Suppose Assumptions 1 and 2 hold, and let xtx_t denote the iterates of Algorithm 1. Assume moreover that μ∗\mu^* satisfies the structural condition

μ∗=min⁡∣T∣≥τμTTCG>ρχ1−ρ.(7)\mu^*=\min_{\substack{|T|\ge\tau}}\mu_T^{\mathrm{TCG}}>\frac{\rho\chi}{1-\rho}. \tag*{(7)}

where we denote

ρ:=sqk,χ:=2LO∗LG,k∗ν,\rho:=\frac{s}{qk},\qquad\chi:=\sqrt{\frac{2L_O^*L_{G,k}^*}{\nu}},

and choose the step size so that

0<η<2((1−ρ)μ∗−ρχ)(1−ρ)μ∗LG∗+ρχ2.0<\eta<\frac{2\bigl((1-\rho)\mu^*-\rho\chi\bigr)}{(1-\rho)\mu^*L_G^*+\rho\chi^2}.

Then

E∥xt−x∗∥2≤κratet∥x0−x∗∥2,\mathbb{E}\lVert\mathbf{x}_t-\mathbf{x}^{*}\rVert^2 \le\kappa_{\mathrm{rate}}^t\lVert\mathbf{x}_0-\mathbf{x}^{*}\rVert^2,

where

κrate=(1−ρ)(1−2ημ∗+η2μ∗LG∗)+ρ(1+ηχ)2<1.\kappa_{\mathrm{rate}}=(1-\rho)(1-2\eta\mu^{*}+\eta^2\mu^{*}L_G^{*})+\rho(1+\eta\chi)^2<1.

We first develop some auxiliary results to prove Theorem 1. Lemma 1 and Lemma 3 handle the case where the selected update index is an outlier, first by showing that the quantile can be bounded, and then by showing that any inflation in error can be controlled. Lemma 4 handles the case where the selected update index is good.

Lemma 1. Let v∈Rn\mathbf{v}\in\mathbb{R}^n be an arbitrary fixed vector. Under Assumptions 1 and 2,

Qq({fi(v)}i∈St)≤LG,k∗ν∥v−x∗∥2.Q_q(\{f_i(\mathbf{v})\}_{i\in S_t})\le\frac{L_{G,k}^{*}}{\nu}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2.

Proof. Let

γ:=Qq({fi(v)}i∈St).(8)\gamma:=Q_q(\{f_i(\mathbf{v})\}_{i\in S_t}). \tag*{(8)}

Recall that ∣St∣=k|S_t|=k and by definition of the empirical qq-quantile, γ=z(qk)\gamma=z_{(qk)} where the {z(j)}j=1k\{z_{(j)}\}_{j=1}^{k} values are the order statistics of {fi(v)}i∈St\{f_i(\mathbf{v})\}_{i\in S_t}, and at least k−qk−s=νk-qk-s=\nu indices in St∩GS_t\cap G satisfy

fi(v)≥γ.f_i(\mathbf{v})\ge\gamma.

By outlier nonnegativity and by convexity plus good-set regularity for the good components, all sampled losses are nonnegative. Hence γ≥0\gamma\ge0 and

γν≤∑i∈St∩Gfi(v).(9)\gamma\nu\le\sum_{i\in S_t\cap G}f_i(\mathbf{v}). \tag*{(9)}

Let us further bound the right-hand side. Using the descent inequality implied by the LiL_i-Lipschitz gradient assumption (Assumption 2.III), together with the good-component regularity at the point x∗\mathbf{x}^{*}, we obtain for each i∈Gi\in G

fi(v)=fi(v)−fi(x∗)≤∇fi(x∗)T(v−x∗)+Li2∥v−x∗∥2=Li2∥v−x∗∥2.f_i(\mathbf{v})=f_i(\mathbf{v})-f_i(\mathbf{x}^{*})\le\nabla f_i(\mathbf{x}^{*})^{\mathsf{T}}(\mathbf{v}-\mathbf{x}^{*})+\frac{L_i}{2}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2=\frac{L_i}{2}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2.

Summing over i∈St∩Gi\in S_t\cap G yields

∑i∈St∩Gfi(v)≤∑i∈St∩GLi2∥v−x∗∥2≤LG,k∗∥v−x∗∥2,(10)\sum_{i\in S_t\cap G}f_i(\mathbf{v})\le\sum_{i\in S_t\cap G}\frac{L_i}{2}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2\le L_{G,k}^{*}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2, \tag*{(10)}

since St∩G⊆GS_t\cap G\subseteq G, ∣St∩G∣≤k|S_t\cap G|\le k, and by definition of LG,k∗L_{G,k}^{*}, ∑i∈St∩GLi2≤LG,k∗\sum_{i\in S_t\cap G}\frac{L_i}{2}\le L_{G,k}^{*}. Combining (8), (9) and (10), we conclude that

Qq({fi(v)}i∈St)≤LG,k∗ν∥v−x∗∥2.Q_q(\{f_i(\mathbf{v})\}_{i\in S_t})\le\frac{L_{G,k}^{*}}{\nu}\lVert\mathbf{v}-\mathbf{x}^{*}\rVert^2.

□\square

Lemma 2 is the standard self-bounding inequality for smooth nonnegative functions; see, e.g., [30].

Lemma 2. Let ff be a nonnegative differentiable function satisfying the descent inequality with constant L>0L > 0, i.e.,

f(x)−f(y)≤∇f(y)T(x−y)+L2∥x−y∥2for all x,y∈Rn.f(\mathbf{x}) - f(\mathbf{y}) \le\nabla f(\mathbf{y})^{T}(\mathbf{x} - \mathbf{y}) + \frac{L}{2}\lVert\mathbf{x} - \mathbf{y}\rVert^{2} \qquad\text{for all } \mathbf{x},\mathbf{y} \in\mathbb{R}^{n}.

Then, for any v∈Rn\mathbf{v} \in\mathbb{R}^{n},

∥∇f(v)∥2≤2Lf(v).\lVert\nabla f(\mathbf{v})\rVert^{2} \le2Lf(\mathbf{v}).

Now, we combine Lemmas 1 and 2 to bound the increase in error caused by an iteration using an outlier component.

Lemma 3. Suppose Assumptions 1 and 2 hold, and let xt\mathbf{x}_t denote the iterates of Algorithm 1. If the selected update index satisfies it∈Ot=Bt∩Oi_t \in O_t = B_t \cap O, then

∥xt+1−x∗∥2≤rO∥xt−x∗∥2,\lVert\mathbf{x}_{t+1} - \mathbf{x}^{*}\rVert^{2} \le r_O\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert^{2},

where

rO=(1+ηχ)2,χ=2LO∗LG,k∗ν.r_O = (1+\eta\chi)^2, \qquad\chi= \sqrt{\frac{2L_O^{*}L_{G,k}^{*}}{\nu}}.

Proof. Fix a realization of StS_t and suppose it∈Oti_t \in O_t. Starting with ∥xt+1−x∗∥\lVert\mathbf{x}_{t+1} - \mathbf{x}^{*}\rVert, we have

∥xt+1−x∗∥=∥xt−x∗−η∇fit(xt)∥≤∥xt−x∗∥+η∥∇fit(xt)∥.\lVert\mathbf{x}_{t+1} - \mathbf{x}^{*}\rVert= \lVert\mathbf{x}_t - \mathbf{x}^{*} - \eta\nabla f_{i_t}(\mathbf{x}_t)\rVert\le\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert+ \eta\lVert\nabla f_{i_t}(\mathbf{x}_t)\rVert.

Since it∈Ot⊆Bti_t \in O_t \subseteq B_t, Lemma 1 and Lemma 2 give

∥∇fit(xt)∥2≤2Litfit(xt)≤2LitQq({fj(xt)}j∈St)≤2LO∗LG,k∗ν∥xt−x∗∥2.\lVert\nabla f_{i_t}(\mathbf{x}_t)\rVert^{2} \le2L_{i_t}f_{i_t}(\mathbf{x}_t) \le2L_{i_t}Q_q(\{f_j(\mathbf{x}_t)\}_{j\in S_t}) \le\frac{2L_O^{*}L_{G,k}^{*}}{\nu}\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert^{2}.

Thus,

∥∇fit(xt)∥≤χ∥xt−x∗∥.\lVert\nabla f_{i_t}(\mathbf{x}_t)\rVert\le\chi\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert.

Consequently,

∥xt+1−x∗∥≤(1+ηχ)∥xt−x∗∥.\lVert\mathbf{x}_{t+1} - \mathbf{x}^{*}\rVert\le(1+\eta\chi)\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert.

Squaring both sides gives the claimed result. □

We now turn to the case that the sampled component is good.

Lemma 4. Suppose Assumptions 1 and 2 hold, and let xt\mathbf{x}_t denote the iterates of Algorithm 1. Assume that the step size satisfies

η≤2LG∗.\eta\le\frac{2}{L_G^{*}}.

Conditioned on the selected update index satisfying it∈Gti_t \in G_t, the algorithm selects iti_t uniformly from GtG_t, and

Eit∼Unif⁡(Gt)∥xt+1−x∗∥2≤rG∥xt−x∗∥2,\mathbb{E}_{i_t\sim\operatorname{Unif}(G_t)}\lVert\mathbf{x}_{t+1} - \mathbf{x}^{*}\rVert^{2} \le r_G\lVert\mathbf{x}_t - \mathbf{x}^{*}\rVert^{2},

where

rG:=1−2ημ∗+η2μ∗LG∗,andμ∗:=min⁡T⊆G∣T∣≥τμT.r_G := 1 - 2\eta\mu^{*} + \eta^{2}\mu^{*}L_G^{*}, \qquad\text{and} \qquad\mu^{*} := \min_{\substack{T\subseteq G\\ |T|\ge\tau}} \mu_T.

Proof. Since conditional on (xt,St)(x_t, S_t), the algorithm is uniform on BtB_t; then conditional on the event it∈Gti_t \in G_t, it is uniform on GtG_t.

Recall that by (6) and Assumption 2 the number of good accepted indices is large enough for the subset strong convexity assumption to apply. Now fix it∈Gti_t \in G_t. Since it∈Gi_t \in G, Assumption 2 gives ∇fit(x∗)=0\nabla f_{i_t}(x^*) = 0. We have

∥xt+1−x∗∥2=∥xt−x∗−η∇fit(xt)∥2=∥xt−x∗∥2−2η⟨xt−x∗,∇fit(xt)⟩+η2∥∇fit(xt)∥2=∥xt−x∗∥2−2η⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩+η2∥∇fit(xt)−∇fit(x∗)∥2≤∥xt−x∗∥2−(2η−η2Lit)⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩,\begin{aligned} \lVert x_{t+1} - x^* \rVert^2 = \lVert x_t - x^* - \eta\nabla f_{i_t}(x_t) \rVert^2 \\ &= \lVert x_t - x^* \rVert^2 - 2\eta\langle x_t - x^*, \nabla f_{i_t}(x_t) \rangle+ \eta^2 \lVert\nabla f_{i_t}(x_t) \rVert^2 \\ &= \lVert x_t - x^* \rVert^2 - 2\eta\langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle+ \eta^2 \lVert\nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rVert^2 \\ &\le\lVert x_t - x^* \rVert^2 - (2\eta- \eta^2 L_{i_t}) \langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle, \end{aligned}

where the last step holds by co-coercivity for convex LitL_{i_t}-smooth functions. Since it∈Gi_t \in G, convexity implies

⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩≥0.\langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle\ge0.

Using Lit≤LG∗L_{i_t} \le L_G^*, we get

∥xt+1−x∗∥2≤∥xt−x∗∥2−(2η−η2LG∗)⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩.\lVert x_{t+1} - x^* \rVert^2 \le\lVert x_t - x^* \rVert^2 - (2\eta- \eta^2 L_G^*) \langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle.

Now take expectation over the uniform choice of it∈Gti_t \in G_t. Since

FGt(x)=1∣Gt∣∑i∈Gtfi(x),F_{G_t}(x) = \frac{1}{\lvert G_t \rvert} \sum_{i \in G_t} f_i(x),

we have

Eit∼Unif⁡(Gt)[∇fit(xt)−∇fit(x∗)]=∇FGt(xt)−∇FGt(x∗).\mathbb{E}_{i_t \sim\operatorname{Unif}(G_t)}[\nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*)] = \nabla F_{G_t}(x_t) - \nabla F_{G_t}(x^*).

Therefore

Eit∼Unif⁡(Gt)∥xt+1−x∗∥2≤∥xt−x∗∥2−(2η−η2LG∗)⟨xt−x∗,∇FGt(xt)−∇FGt(x∗)⟩.\mathbb{E}_{i_t \sim\operatorname{Unif}(G_t)} \lVert x_{t+1} - x^* \rVert^2 \le\lVert x_t - x^* \rVert^2 - (2\eta- \eta^2 L_G^*) \langle x_t - x^*, \nabla F_{G_t}(x_t) - \nabla F_{G_t}(x^*) \rangle.

Since ∣Gt∣≥τ\lvert G_t \rvert\ge\tau and Gt⊆GG_t \subseteq G, the subset strong convexity assumption implies

⟨xt−x∗,∇FGt(xt)−∇FGt(x∗)⟩≥μGt∥xt−x∗∥2≥μ∗∥xt−x∗∥2.\langle x_t - x^*, \nabla F_{G_t}(x_t) - \nabla F_{G_t}(x^*) \rangle\ge\mu_{G_t} \lVert x_t - x^* \rVert^2 \ge\mu^* \lVert x_t - x^* \rVert^2.

Since η≤2/LG∗\eta\le2/L_G^*, 2η−η2LG∗≥02\eta- \eta^2 L_G^* \ge0, and we conclude

Eit∼Unif⁡(Gt)∥xt+1−x∗∥2≤∥xt−x∗∥2−(2η−η2LG∗)μ∗∥xt−x∗∥2=(1−2ημ∗+η2μ∗LG∗)∥xt−x∗∥2.\begin{aligned} \mathbb{E}_{i_t \sim\operatorname{Unif}(G_t)} \lVert x_{t+1} - x^* \rVert^2 \le\lVert x_t - x^* \rVert^2 - (2\eta- \eta^2 L_G^*)\mu^* \lVert x_t - x^* \rVert^2 \\ &= (1 - 2\eta\mu^* + \eta^2\mu^*L_G^*) \lVert x_t - x^* \rVert^2. \end{aligned}

This proves the claim.

We are now ready to prove the main Theorem 1. We will shorten

Et[⋅]:=E[⋅∣xt],Pt(⋅):=P(⋅∣xt),\mathbb{E}_t[\cdot] := \mathbb{E}[\cdot\mid x_t], \qquad\mathbb{P}_t(\cdot) := \mathbb{P}(\cdot\mid x_t),

where the randomness is over the fresh sample set StS_t and the uniform choice of it∈Bti_t \in B_t.

Proof. (Proof of Theorem 1)

Step 1 (Checking step size assumption). First, we check that the stated step-size bound indeed implies the admissibility condition. Recall that

0<η≤2LG∗(11)0 < \eta\le\frac{2}{L_G^*} \tag*{(11)}

is required in Lemma 4. Indeed, by (7), we have

(1−ρ)μ∗>ρχ,(1-\rho)\mu^* > \rho\chi,

and therefore

ηˉ:=2((1−ρ)μ∗−ρχ)(1−ρ)μ∗LG∗+ρχ2>0.\bar{\eta} := \frac{2\left((1-\rho)\mu^*-\rho\chi\right)}{(1-\rho)\mu^*L_G^*+\rho\chi^2} > 0.

We note that

LG∗((1−ρ)μ∗−ρχ)≤(1−ρ)μ∗LG∗+ρχ2,L_G^*\left((1-\rho)\mu^*-\rho\chi\right) \le(1-\rho)\mu^*L_G^*+\rho\chi^2,

and so

ηˉ=2((1−ρ)μ∗−ρχ)(1−ρ)μ∗LG∗+ρχ2≤2LG∗\bar{\eta} = \frac{2\left((1-\rho)\mu^*-\rho\chi\right)}{(1-\rho)\mu^*L_G^*+\rho\chi^2} \le\frac{2}{L_G^*}

and (11) is satisfied for the considered step sizes η∈(0,ηˉ]\eta\in(0,\bar{\eta}].

Step 2 (A one-step bound). We now prove the one-step estimate. Given (xt,St)(x_t,S_t), the sets BtB_t, GtG_t, and OtO_t are deterministic, and the algorithm chooses iti_t uniformly from BtB_t. Therefore,

E[∥xt+1−x∗∥2∣xt,St]=P(it∈Gt∣xt,St)E[∥xt+1−x∗∥2∣xt,St,it∈Gt]+P(it∈Ot∣xt,St)E[∥xt+1−x∗∥2∣xt,St,it∈Ot].\mathbb{E}\left[\lVert x_{t+1}-x^*\rVert^2 \mid x_t,S_t\right] = \mathbb{P}(i_t\in G_t\mid x_t,S_t)\mathbb{E}\left[\lVert x_{t+1}-x^*\rVert^2 \mid x_t,S_t,i_t\in G_t\right] + \mathbb{P}(i_t\in O_t\mid x_t,S_t)\mathbb{E}\left[\lVert x_{t+1}-x^*\rVert^2 \mid x_t,S_t,i_t\in O_t\right].

Now define

pt(St):=P(it∈Ot∣xt,St)=∣Ot∣∣Bt∣.p_t(S_t) := \mathbb{P}(i_t\in O_t\mid x_t,S_t) = \frac{|O_t|}{|B_t|}.

Since ∣Ot∣≤s|O_t|\le s and ∣Bt∣≥qk|B_t|\ge qk, we have

pt(St)≤sqk=ρ.p_t(S_t)\le\frac{s}{qk}=\rho.

Also, conditional on (xt,St)(x_t,S_t) and the event it∈Gti_t\in G_t, the index iti_t is uniformly distributed on GtG_t; similarly, conditional on (xt,St)(x_t,S_t) and the event it∈Oti_t\in O_t, the selected index lies in OtO_t. Thus, with rOr_O as defined in Lemma 3 and with rGr_G as defined in Lemma 4, we can bound

E[∥xt+1−x∗∥2∣xt,St]≤(1−pt(St))rG∥xt−x∗∥2+pt(St)rO∥xt−x∗∥2=((1−pt(St))rG+pt(St)rO)∥xt−x∗∥2.\begin{aligned} \mathbb{E}\left[\lVert x_{t+1}-x^*\rVert^2\mid x_t,S_t\right] \le(1-p_t(S_t))r_G\lVert x_t-x^*\rVert^2+p_t(S_t)r_O\lVert x_t-x^*\rVert^2 \\ &= \left((1-p_t(S_t))r_G+p_t(S_t)r_O\right)\lVert x_t-x^*\rVert^2. \end{aligned}

Next, rO=(1+ηχ)2≥1r_O=(1+\eta\chi)^2\ge1 and, since η≤2/LG∗\eta\le2/L_G^*, rG=1−ημ∗(2−ηLG∗)≤1r_G=1-\eta\mu^*(2-\eta L_G^*)\le1. Hence the function

p↦(1−p)rG+prOp\mapsto(1-p)r_G+pr_O

is increasing on [0,1][0,1]. Using pt(St)≤ρp_t(S_t)\le\rho, we obtain

E[∥xt+1−x∗∥2∣xt,St]≤κrate∥xt−x∗∥2,κrate=(1−ρ)rG+ρrO.\mathbb{E}\left[\lVert x_{t+1}-x^*\rVert^2\mid x_t,S_t\right]\le\kappa_{\mathrm{rate}}\lVert x_t-x^*\rVert^2,\qquad\kappa_{\mathrm{rate}}=(1-\rho)r_G+\rho r_O.

Finally, taking conditional expectation over StS_t given xtx_t yields

Et∥xt+1−x∗∥2≤κrate∥xt−x∗∥2.\mathbb{E}_t\lVert x_{t+1}-x^* \rVert^2 \le\kappa_{\mathrm{rate}}\lVert x_t-x^* \rVert^2.

This proves the one-step bound.

Step 3 (Contraction guarantee). It remains to show that κrate<1\kappa_{\mathrm{rate}} < 1. We have

κrate=(1−ρ)(1−2ημ∗+η2μ∗LG∗)+ρ(1+ηχ)2.\kappa_{\mathrm{rate}}=(1-\rho)(1-2\eta\mu^*+\eta^2\mu^*L_G^*)+\rho(1+\eta\chi)^2.

Therefore

κrate−1=−2η((1−ρ)μ∗−ρχ)+η2((1−ρ)μ∗LG∗+ρχ2).\kappa_{\mathrm{rate}}-1=-2\eta\left((1-\rho)\mu^*-\rho\chi\right)+\eta^2\left((1-\rho)\mu^*L_G^*+\rho\chi^2\right).

By the structural condition on μ∗\mu^*,

(1−ρ)μ∗>ρχ,(1-\rho)\mu^*>\rho\chi,

and by the assumed step-size bound,

0<η<2((1−ρ)μ∗−ρχ)(1−ρ)μ∗LG∗+ρχ2.0<\eta<\frac{2\left((1-\rho)\mu^*-\rho\chi\right)}{(1-\rho)\mu^*L_G^*+\rho\chi^2}.

Thus κrate−1<0\kappa_{\mathrm{rate}}-1<0, or equivalently, κrate<1\kappa_{\mathrm{rate}}<1. Taking total expectation in the one-step estimate and iterating gives

E∥xt−x∗∥2≤κratet∥x0−x∗∥2.\mathbb{E}\lVert x_t-x^*\rVert^2\le\kappa_{\mathrm{rate}}^t\lVert x_0-x^*\rVert^2.

This completes the proof.

Analysis for the sample size smaller than the number of corruptions

The deterministic analysis above allows the sample size kk to be chosen in terms of the number of outliers ss and the subset strong convexity threshold rscr_{\mathrm{sc}}, rather than in terms of the full dataset size mm. This is already an improvement over earlier subsampled robust methods in the linear setting [19, 17], whose guarantees typically required sample sizes of order O(m)O(m).

We now consider a complementary regime in which the same algorithm, QkL-SGD, is used with even smaller sample sizes, possibly constant. In this regime, the deterministic counting arguments from the previous section are no longer enough to provide convergence guarantees: a random sample may contain too many outliers, or even only outliers, and the sample quantile need not reliably reflect the behavior of the uncorrupted gradients of the full dataset. On the other hand, in practice corrupted residuals often become comparatively larger later in the iterations as the method approaches the optimizer, as observed in [18, 37]. This observation has motivated quantile-based robust rules on small samples in both the linear [19] and nonlinear [34] settings, and there is also recent evidence that logarithmic sample sizes may suffice under additional assumptions [9].

Motivated by these observations, we consider a modified probabilistic model with two additional assumptions: (a) the probability that Algorithm 1 selects a corrupted index is bounded from above, and (b) second moments of the corrupted gradients cannot be arbitrarily large:

Assumption 3 (Small-sample probabilistic assumptions). Fix a region R⊆Rn\mathcal{R}\subseteq\mathbb{R}^n containing x∗x^*, and suppose the iterates under consideration remain in R\mathcal{R}. We assume the following.

I. Good-component regularity. For every i∈Gi\in G,

fi(x∗)=0,∇fi(x∗)=0,f_i(x^*)=0,\qquad\nabla f_i(x^*)=0,

and fif_i is convex and has LiL_i-Lipschitz gradient. II. Soft quantile separation. There exists πq,k∈[0,1)\pi_{q,k} \in[0,1) such that, for every x∈R\mathbf{x} \in\mathbb{R},

P(it∈O∣xt=x)≤πq,k,\mathbb{P}(i_t \in O \mid x_t = x) \le\pi_{q,k},

where iti_t is the index selected by Algorithm 1. This assumption requires that the selected lower-tail quantile rule chooses a corrupted index with probability at most πq,k\pi_{q,k}.

III. Good-step expected curvature. Let μq,k≥0\mu_{q,k} \ge0 be a uniform curvature lower bound such that, for every x∈R\mathbf{x} \in\mathbb{R},

E[⟨x−x∗,∇fit(x)−∇fit(x∗)⟩∣xt=x, it∈G]≥μq,k∥x−x∗∥2.\mathbb{E}[\langle\mathbf{x} - \mathbf{x}^{*}, \nabla f_{i_t}(\mathbf{x}) - \nabla f_{i_t}(\mathbf{x}^{*})\rangle\mid x_t = x,\ i_t \in G] \ge\mu_{q,k}\lVert\mathbf{x} - \mathbf{x}^{*}\rVert^{2}.

IV. Bounded corrupted updates. There exists GO<∞G_O < \infty such that, for every x∈R\mathbf{x} \in\mathbb{R},

E[∥∇fit(x)∥2∣xt=x, it∈O]≤GO2.\mathbb{E}[\lVert\nabla f_{i_t}(\mathbf{x})\rVert^{2} \mid x_t = x,\ i_t \in O] \le G_O^{2}.

One can obtain meaningful convergence rates in the small-sample regime under probabilistic assumptions, that is, assuming the probability of sampling an outlier is sufficiently small. We first formulate and prove our next result, Theorem 2, and then discuss how rather strong probabilistic assumptions naturally appear from the geometric assumptions, such as that the outlier losses are large enough compared to the uncorrupt losses.

Theorem 2 (Small-sample convergence). Suppose Assumption 3 holds and the step size satisfies the standard condition 0<η≤2/LG∗0 < \eta\le2/L_G^{*}. Then

Et[∥xt+1−x∗∥2]≤κq,k∥xt−x∗∥2+bq,k,\mathbb{E}_t[\lVert x_{t+1} - x^{*}\rVert^{2}] \le\kappa_{q,k}\lVert x_t - x^{*}\rVert^{2} + b_{q,k},

where

κq,k=1+πq,k−(1−πq,k)(2η−η2LG∗)μq,kandbq,k=2πq,kη2GO2.\kappa_{q,k} = 1 + \pi_{q,k} - (1-\pi_{q,k})(2\eta-\eta^{2}L_G^{*})\mu_{q,k} \qquad\text{and}\qquad b_{q,k} = 2\pi_{q,k}\eta^{2}G_O^{2}.

where where LG∗:=max⁡i∈GLiL_G^{*} := \max_{i \in G} L_i and πq,k\pi_{q,k} is an upper bound on the probability that Algorithm 1 selects an outlier at iteration tt. Therefore, whenever the probability of selecting a corrupted component is small enough, that is,

(1−πq,k)(2η−η2LG∗)μq,k>πq,k,(1-\pi_{q,k})(2\eta-\eta^{2}L_G^{*})\mu_{q,k} > \pi_{q,k},

we have κq,k<1\kappa_{q,k} < 1, and the theorem implies

E∥xt−x∗∥2≤κq,kt∥x0−x∗∥2+1−κq,kt1−κq,kbq,k\mathbb{E}\lVert x_t - x^{*}\rVert^{2} \le\kappa_{q,k}^{t}\lVert x_0 - x^{*}\rVert^{2} + \frac{1-\kappa_{q,k}^{t}}{1-\kappa_{q,k}}b_{q,k}

with κq,kt↘0\kappa_{q,k}^{t} \searrow0 and 1−κq,kt1−κq,kbq,k↗bq,k1−κq,k\frac{1-\kappa_{q,k}^{t}}{1-\kappa_{q,k}}b_{q,k} \nearrow\frac{b_{q,k}}{1-\kappa_{q,k}} as t→∞t \to\infty.

Proof. Let us denote

Dt:=∥xt−x∗∥2andpt:=P(it∈O∣xt)≤πq,k.D_t := \lVert x_t - x^{*}\rVert^{2} \qquad\text{and}\qquad p_t := \mathbb{P}(i_t \in O \mid x_t) \le\pi_{q,k}.

We first control the update conditioned on it∈Gti_t \in G_t. Since ∇fj(x∗)=0\nabla f_j(x^{*}) = 0 for every j∈Gj \in G,

Dt+1=∥xt−x∗−η∇fit(xt)∥2=Dt−2η⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩+η2∥∇fit(xt)−∇fit(x∗)∥2.\begin{aligned} D_{t+1} = \lVert x_t - x^{*} - \eta\nabla f_{i_t}(x_t)\rVert^{2} \\ &= D_t - 2\eta\langle x_t - x^{*}, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^{*})\rangle+ \eta^{2}\lVert\nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^{*})\rVert^{2}. \end{aligned}

For it∈Gti_t \in G_t, convexity and LitL_{i_t}-smoothness imply co-coercivity:

∥∇fit(xt)−∇fit(x∗)∥2≤Lit⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩\left\lVert\nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \right\rVert^2 \le L_{i_t} \langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle

Since Lit≤LG∗L_{i_t} \le L_G^*, we obtain

Et[Dt+1∣it∈Gt]≤Dt−(2η−η2LG∗)Et[⟨xt−x∗,∇fit(xt)−∇fit(x∗)⟩∣it∈Gt].\mathbb{E}_t[D_{t+1} \mid i_t \in G_t] \le D_t - (2\eta- \eta^2 L_G^*)\mathbb{E}_t[\langle x_t - x^*, \nabla f_{i_t}(x_t) - \nabla f_{i_t}(x^*) \rangle\mid i_t \in G_t].

Using the good-step expected curvature assumption gives

Et[Dt+1∣it∈Gt]≤rGprobDt,\mathbb{E}_t[D_{t+1} \mid i_t \in G_t] \le r_G^{\mathrm{prob}}D_t,

where

rGprob:=1−(2η−η2LG∗)μq,k.r_G^{\mathrm{prob}} := 1 - (2\eta- \eta^2 L_G^*)\mu_{q,k}.

Next, condition on it∈Oti_t \in O_t. By Cauchy–Schwarz, the bounded corrupted update assumption, and Jensen’s inequality,

Et[Dt+1∣it∈Ot]=Et[∥xt−x∗−η∇fit(xt)∥2∣it∈Ot]≤Dt+2η∥xt−x∗∥Et[∥∇fit(xt)∥∣it∈Ot]+η2GO2≤Dt+2ηGODt+η2GO2.\begin{aligned} \mathbb{E}_t[D_{t+1} \mid i_t \in O_t] &= \mathbb{E}_t[\lVert x_t - x^* - \eta\nabla f_{i_t}(x_t)\rVert^2 \mid i_t \in O_t] \\ &\le D_t + 2\eta\lVert x_t - x^*\rVert\mathbb{E}_t[\lVert\nabla f_{i_t}(x_t)\rVert\mid i_t \in O_t] + \eta^2G_O^2 \\ &\le D_t + 2\eta G_O\sqrt{D_t} + \eta^2G_O^2. \end{aligned}

Using 2ab≤a2+b22ab \le a^2 + b^2 with a=Dta = \sqrt{D_t} and b=ηGOb = \eta G_O, we obtain

2ηGODt≤Dt+η2GO2.2\eta G_O\sqrt{D_t} \le D_t + \eta^2G_O^2.

Therefore

Et[Dt+1∣it∈Ot]≤2Dt+2η2GO2.\mathbb{E}_t[D_{t+1} \mid i_t \in O_t] \le2D_t + 2\eta^2G_O^2.

Combining the two conditional estimates yields

Et[Dt+1]=(1−pt)Et[Dt+1∣it∈Gt]+ptEt[Dt+1∣it∈Ot]≤(1−pt)rGprobDt+2ptDt+2ptη2GO2.\begin{aligned} \mathbb{E}_t[D_{t+1}] &= (1-p_t)\mathbb{E}_t[D_{t+1} \mid i_t \in G_t] + p_t\mathbb{E}_t[D_{t+1} \mid i_t \in O_t] \\ &\le(1-p_t)r_G^{\mathrm{prob}}D_t + 2p_tD_t + 2p_t\eta^2G_O^2. \end{aligned}

Since 0<η≤2/LG∗0 < \eta\le2/L_G^*, we have rGprob≤1<2r_G^{\mathrm{prob}} \le1 < 2. Thus the right-hand side is increasing in ptp_t. Using pt≤πq,kp_t \le\pi_{q,k}, we obtain

Et[Dt+1]≤κq,kDt+bq,k.\mathbb{E}_t[D_{t+1}] \le\kappa_{q,k}D_t + b_{q,k}.

If κq,k<1\kappa_{q,k} < 1, taking total expectation and iterating this recursion yields

EDt≤κq,ktD0+∑j=0t−1κq,kjbq,k=κq,ktD0+1−κq,kt1−κq,kbq,k.\mathbb{E}D_t \le\kappa_{q,k}^tD_0 + \sum_{j=0}^{t-1}\kappa_{q,k}^j b_{q,k} = \kappa_{q,k}^tD_0 + \frac{1-\kappa_{q,k}^t}{1-\kappa_{q,k}}b_{q,k}.

Remark 1. The additive term in Theorem 2 comes only from the possibility that a selected corrupted update may have nonvanishing magnitude even near x∗x^*. In more benign local regimes, the selected outliers may also become weak near x∗x^*. For example, if

E[∥∇fit(x)∥2∣xt=x, it∈Ot]=o(∥x−x∗∥2)as x→x∗,\mathbb{E[\lVert\nabla f_{i_t}(x)\rVert^2 \mid x_t = x,\ i_t \in O_t] = o(\lVert x - x^*\rVert^2) \qquad\text{as } x \to x^*,}

then the corrupted-step contribution can be absorbed into the multiplicative term and the convergence result becomes an exact linear contraction, that is, E∥xt−x∗∥2→0\mathbb{E}\lVert x_t - x^*\rVert^2 \to0 as t→∞t \to\infty.

Unlike the deterministic large-sample regime, the accepted good set GtG_t is random and need not exceed the subset strong-convexity threshold at every iteration. Additionally, the expected-curvature constant μq,k\mu_{q,k} in Assumption 3.III can be difficult to verify directly, and its dependence on qq and kk is not transparent. We next use the same subset strong-convexity structure as in Section 2.1 to construct a monotone curvature profile that yields an explicit admissible value of μq,k\mu_{q,k}.

Proposition 1 (Subset curvature implies good-step expected curvature). Suppose Assumption 3.I–II holds. Recall that G⊆[m]G \subseteq[m] is the fixed set of good component indices and that Gt=Bt∩GG_t = B_t \cap G is the set of accepted good indices at iteration tt. Assume that there exists rsc∈{1,…,∣G∣}r_{\mathrm{sc}} \in\{1,\ldots,|G|\} such that, for every subset S⊆GS \subseteq G with ∣S∣≥rsc|S| \ge r_{\mathrm{sc}}, the averaged objective FSF_S is μS\mu_S-strongly convex. Define the subset-curvature profile

μ(h):={0,1≤h<rsc,min⁡S⊆G∣S∣≥hμS,rsc≤h≤∣G∣.\mu(h) := \begin{cases} 0, & 1 \le h < r_{\mathrm{sc}},\\ \min_{\substack{S\subseteq G\\|S|\ge h}} \mu_S, & r_{\mathrm{sc}} \le h \le|G|. \end{cases}

Then μ(h)\mu(h) is nondecreasing in hh and Assumption 3.III holds with

μq,k:=inf⁡x∈RE[μ(∣Gt∣)∣xt=x, it∈Gt].\mu_{q,k} := \inf_{x\in\mathbb{R}} \mathbb{E}\left[\mu(|G_t|)\mid x_t=x,\ i_t\in G_t\right].

Proof. The monotonicity of μ(h)\mu(h) is immediate from the definition as minimizing over the smaller family of sets can only increase the value of the minimum. Fix x∈Rx\in\mathbb{R}. Conditional on xt=xx_t=x, on the realized sample StS_t, and on the event it∈Gti_t\in G_t, the algorithm selects iti_t uniformly from the good accepted set GtG_t. Therefore

E[∇fit(x)∣xt=x, St, it∈Gt]=∇FGt(x),\mathbb{E}\left[\nabla f_{i_t}(x)\mid x_t=x,\ S_t,\ i_t\in G_t\right]=\nabla F_{G_t}(x),

and similarly, since ∇fi(x∗)=0\nabla f_i(x^*)=0 for all i∈Gi\in G,

E[∇fit(x∗)∣xt=x, St, it∈Gt]=∇FGt(x∗)=0.\mathbb{E}\left[\nabla f_{i_t}(x^*)\mid x_t=x,\ S_t,\ i_t\in G_t\right]=\nabla F_{G_t}(x^*)=0.

Hence

E[⟨x−x∗,∇fit(x)−∇fit(x∗)⟩∣xt=x, St, it∈Gt]=⟨x−x∗,∇FGt(x)−∇FGt(x∗)⟩.\mathbb{E}\left[\left\langle x-x^*,\nabla f_{i_t}(x)-\nabla f_{i_t}(x^*)\right\rangle\mid x_t=x,\ S_t,\ i_t\in G_t\right]=\left\langle x-x^*,\nabla F_{G_t}(x)-\nabla F_{G_t}(x^*)\right\rangle.

If ∣Gt∣≥rsc|G_t|\ge r_{\mathrm{sc}}, then the subset strong-convexity assumption gives

⟨x−x∗,∇FGt(x)−∇FGt(x∗)⟩≥μGt∥x−x∗∥2≥μ(∣Gt∣)∥x−x∗∥2.\left\langle x-x^*,\nabla F_{G_t}(x)-\nabla F_{G_t}(x^*)\right\rangle\ge\mu_{G_t}\lVert x-x^*\rVert^2\ge\mu(|G_t|)\lVert x-x^*\rVert^2.

If ∣Gt∣<rsc|G_t|<r_{\mathrm{sc}}, then FGtF_{G_t} is convex, since it is an average of convex good components. Hence

⟨x−x∗,∇FGt(x)−∇FGt(x∗)⟩≥0=μ(∣Gt∣)∥x−x∗∥2.\left\langle x-x^*,\nabla F_{G_t}(x)-\nabla F_{G_t}(x^*)\right\rangle\ge0=\mu(|G_t|)\lVert x-x^*\rVert^2.

Taking conditional expectation over StS_t and the infimum over x∈Rx\in\mathbb{R} gives the claim. □\square

Remark 2. The subset-curvature profile μ(h)\mu(h) provides a monotone lower bound on the curvature associated with a realized accepted good set. Thus, Assumption 3.III holds with

μq,k:=inf⁡x∈RE[μ(∣Gt∣)∣xt=x, it∈Gt].\mu_{q,k}:=\inf_{x\in\mathbb{R}}\mathbb{E}\left[\mu(|G_t|)\mid x_t=x,\ i_t\in G_t\right].

*In the deterministic large-sample regime, when ∣Gt∣≥τ≥rsc|G_t|\ge\tau\ge r_{\mathrm{sc}}, and hence μ(∣Gt∣)≥μ(τ)=μ∗\mu(|G_t|)\ge\mu(\tau)=\mu^*. As a result, μq,k≥μ∗\mu_{q,k}\ge\mu^*, so we recover the large-sample curvature lower bound from the section above. In the general small-sample regime, ∣Gt∣|G_t| may be smaller than τ\tau, and even smaller than rscr_{\mathrm{sc}}. On these iterations, Theorem 2 guarantees no contraction even for small μq,k\mu_{q,k}.人體藝術

Interpretation under large separation regime

We now specialize the small-sample analysis to a simplified “warm start and large outliers” regime, in which every good loss lies strictly below every corrupted loss.

Assumption 4 (Idealized Model). For every x∈R\mathbf{x} \in\mathbb{R},

fi(x)<fj(x)for all i∈G, j∈O.(12)f_i(\mathbf{x}) < f_j(\mathbf{x}) \qquad\text{for all } i \in G,\ j \in O. \tag*{(12)}

The remainder of this section discusses the implications of Assumption 4 with respect to the small-sample regime. Proposition 2 provides an upper bound on the probability of selecting an outlier, πq,k\pi_{q,k}. Corollary 1 relates the good-step curvature parameter to subset strong convexity. Lastly, we end this section with a discussion on the consequences of this idealized corruption setting.

Proposition 2 (Hard-separation upper bound on the outlier-selection probability). Suppose Assumption 4 holds. Let St={Jt,1,…,Jt,k}S_t = \{J_{t,1}, \ldots, J_{t,k}\} denote the sampled indices in iteration tt and define

pG:=∣G∣m=m−sm,H:=∣St∩G∣.(13)p_G := \frac{|G|}{m} = \frac{m-s}{m}, \qquad H := |S_t \cap G|. \tag*{(13)}

Then, for every x∈R\mathbf{x} \in\mathbb{R} and every q<pGq < p_G,

P(it∈O∣xt=x)≤P(H<qk)≤exp⁡(−2k(pG−q)2).\mathbb{P}(i_t \in O \mid\mathbf{x}_t = \mathbf{x}) \leq\mathbb{P}(H < qk) \leq\exp\left(-2k(p_G-q)^2\right).

In particular, Assumption 3.II holds with πq,k=exp⁡(−2k(pG−q)2)\pi_{q,k} = \exp\left(-2k(p_G-q)^2\right).

Proof. Under Assumption 4, if at least qkqk good indices are sampled, then the qkqk smallest sampled losses all correspond to good components. In that case, the empirical quantile threshold is the loss of a good component. Therefore, the algorithm can select an outlier only if H<qkH < qk, and hence

P(it∈O∣xt=x)≤P(H<qk).\mathbb{P}(i_t \in O \mid\mathbf{x}_t = \mathbf{x}) \leq\mathbb{P}(H < qk).

Define the outlier indicators

Yj:=1{Jt,j∈O},j=1,…,k.Y_j := \mathbf{1}_{\{J_{t,j} \in O\}}, \qquad j = 1,\ldots,k.

The variables Y1,…,YkY_1,\ldots,Y_k form a sample without replacement from a finite set consisting of ss ones and m−sm-s zeros, with the mean sm=1−pG\frac{s}{m} = 1-p_G, also observe that

∑j=1kYj=k−H.\sum_{j=1}^{k} Y_j = k-H.

Hoeffding’s inequality for sampling without replacement (e.g., [4], based on the classical techniques from [21]) yields, for q<pGq < p_G,

P(H<qk)=P[1k∑j=1kYj>1−q]≤P[1k∑j=1kYj−(1−pG)≥pG−q]≤exp⁡(−2k(pG−q)2).\begin{aligned} \mathbb{P}(H < qk) &= \mathbb{P}\left[\frac{1}{k}\sum_{j=1}^{k}Y_j > 1-q\right] \\ &\leq\mathbb{P}\left[\frac{1}{k}\sum_{j=1}^{k}Y_j-(1-p_G) \geq p_G-q\right] \\ &\leq\exp\left(-2k(p_G-q)^2\right). \end{aligned}

We next show how the subset strong-convexity profile of the good components provides an admissible choice of the good-step curvature constant μq,k\mu_{q,k} in Assumption 3.III.

Corollary 1 (Hard-separation verification of good-step curvature). Suppose Assumption 4 and the hypotheses of Proposition 1 hold, and let HH be as defined in Proposition 2. Then, Assumption 3.III holds with

μq,k:=μ(qk)(1−exp⁡(−2k(pG−q)2)),\mu_{q,k} := \mu(qk)\left(1-\exp\left(-2k(p_G-q)^2\right)\right),

if qk≥rscqk \ge r_{\mathrm{sc}} and q<pGq < p_G.

Proof. Let

A:={H≥qk}.\mathcal{A}:=\{H\ge qk\}.

Under Assumption 4, on the event A\mathcal{A} all accepted indices are good and ∣Gt∣≥qk|G_t|\ge qk. Therefore,

μ(∣Gt∣)≥μ(qk)on A.\mu(|G_t|)\ge\mu(qk)\qquad\text{on }\mathcal{A}.

Moreover, A⊆{it∈Gt}\mathcal{A}\subseteq\{i_t\in G_t\}. Hence, for every x∈R\mathbf{x}\in\mathbb{R},

E[μ(∣Gt∣)∣xt=x, it∈Gt]≥μ(qk)P(A∣xt=x, it∈Gt)=μ(qk)P(A∣xt=x)P(it∈Gt∣xt=x)≥μ(qk)P(A).\begin{aligned} \mathbb{E}\left[\mu(|G_t|)\mid x_t=\mathbf{x},\,i_t\in G_t\right]\ge\mu(qk)\mathbb{P}\left(\mathcal{A}\mid x_t=\mathbf{x},\,i_t\in G_t\right) \\ &=\mu(qk)\frac{\mathbb{P}(\mathcal{A}\mid x_t=\mathbf{x})}{\mathbb{P}(i_t\in G_t\mid x_t=\mathbf{x})}\ge\mu(qk)\mathbb{P}(\mathcal{A}). \end{aligned}

Here the final inequality uses P(it∈Gt∣xt=x)≤1\mathbb{P}(i_t\in G_t\mid x_t=\mathbf{x})\le1, and the fresh sample StS_t is independent of xtx_t. Taking the infimum over x∈R\mathbf{x}\in\mathbb{R} gives

μq,k≥μ(qk)P(H≥qk).\mu_{q,k}\ge\mu(qk)\mathbb{P}(H\ge qk).

The claim follows from Proposition 2.

Proposition 2 and Corollary 1 immediately imply

Corollary 2 (Explicit rate and error floor under hard separation). Suppose Assumption 4 and the hypotheses of Proposition 1 hold. Assume

q<pG:=m−sm,qk≥rsc,q<p_G:=\frac{m-s}{m},\qquad qk\ge r_{\mathrm{sc}},

and define

εq,k:=exp⁡(−2k(pG−q)2).\varepsilon_{q,k}:=\exp\left(-2k(p_G-q)^2\right).

Then Theorem 2 applies with

πq,k=εq,k,μq,k=μ(qk)(1−εq,k).\pi_{q,k}=\varepsilon_{q,k},\qquad\mu_{q,k}=\mu(qk)(1-\varepsilon_{q,k}).

Therefore,

Et[∥xt+1−x∗∥2]≤κˉq,k∥xt−x∗∥2+bˉq,k,\mathbb{E}_t\left[\|x_{t+1}-x^*\|^2\right]\le\bar{\kappa}_{q,k}\|x_t-x^*\|^2+\bar{b}_{q,k},

where

κˉq,k=1+εq,k−(1−εq,k)2(2η−η2LG∗)μ(qk),\bar{\kappa}_{q,k}=1+\varepsilon_{q,k}-(1-\varepsilon_{q,k})^2(2\eta-\eta^2L_G^*)\mu(qk),

and

bˉq,k=2η2GO2εq,k.\bar{b}_{q,k}=2\eta^2G_O^2\varepsilon_{q,k}.

If κˉq,k<1\bar{\kappa}_{q,k}<1, then

lim sup⁡t→∞E∥xt−x∗∥2≤bˉq,k1−κˉq,k.\limsup_{t\to\infty}\mathbb{E}\|x_t-x^*\|^2\le\frac{\bar{b}_{q,k}}{1-\bar{\kappa}_{q,k}}.

Choosing q=1/kq = 1/k recovers min-kk-loss SGD [34]. This prior work derives a state-dependent one-step recursion for this rule, in which the rank-dependent sampling probabilities control both the good-step contraction and the outlier contribution. That analysis observes that minimum-loss selection may reduce the outlier term while also slowing contraction. Corollary 2 gives a different type of guarantee: under hard separation, it replaces these state-dependent quantities by explicit, uniform bounds in terms of εq,k\varepsilon_{q,k} and μ(qk)\mu(qk). This yields a multi-iteration convergence bound and an explicit limiting-error bound for any choice of quantile, while making the tradeoff between outlier avoidance and good-step progress directly interpretable.

Corollary 2 illustrates the dependence of the convergence of Algorithm 1 on the basic sample size kk and quantile qq parameters:

Effect of increasing kk at fixed q<pGq < p_G. As kk increases, εq,k\varepsilon_{q,k} decreases exponentially, while μ(qk)\mu(qk) is nondecreasing. Hence κ‾q,k\overline{\kappa}_{q,k} and b‾q,k\overline{b}_{q,k} are nonincreasing in kk. Whenever κ‾q,k<1\overline{\kappa}_{q,k} < 1, the corresponding limiting-error bound is also nonincreasing. This illustrates that larger samples improve the guaranteed reliability and convergence behavior, at the expense of more loss evaluations per iteration.

Effect of varying qq at fixed kk. Decreasing qq lowers the outlier-selection and additive-error bounds, but may also lower the curvature factor μ(qk)\mu(qk). Therefore, its effect on the multiplicative rate and limiting-error bound is governed by the balance between robustness and good-step progress. This illustrates that Smaller quantiles produce more robust loss selection, but may also result in slower progress on selected good steps.

Experiments

In this section, we present numerical experiments across several objective classes to demonstrate how quantile-based robust SGD remains effective across increasingly general finite-sum optimization problems. The most basic instance of such problem classes is the corrupted linear system setting, which was studied in earlier work on quantile-based Kaczmarz methods, including [18, 19]. Here we focus on finite-sum objectives that move beyond the linear setting. Code for all numerical experiments are publicly available at https://github.com/jamiehadd/QuantileSGD.

Table 1: The table records model properties, as per Assumption 2: I = good-component regularity, II = outlier nonnegativity, III = component smoothness, and IV = subset strong convexity on good accepted sets. A checkmark in column IV indicates the existence of positive subset curvature. For the nonsmooth hinge loss, strong convexity is understood in the subgradient sense.

Algorithm 1 Quantile-kk-loss SGD (QkL-SGD)
1: Input: sample size kk, quantile qq, step size η\eta, number of iterations TT
2: Initialize x0\mathbf{x}_0
3: for t=0,…,T−1t = 0,\ldots,T-1 do
4: Uniformly select a subset St⊂[m]S_t \subset[m] with ∣St∣=k|S_t| = k
5: Set
Bt:={j∈St:fj(xt)≤Qq({fℓ(xt)}ℓ∈St)}B_t := \{j \in S_t : f_j(\mathbf{x}_t) \le Q_q(\{f_\ell(\mathbf{x}_t)\}_{\ell\in S_t})\}
6: Uniformly select it∈Bti_t \in B_t
7: Update
xt+1=xt−η∇fit(xt)\mathbf{x}_{t+1} = \mathbf{x}_t - \eta\nabla f_{i_t}(\mathbf{x}_t)
8: end for
9: return xT\mathbf{x}_T

Table 1.

SectionModelIIIIIIIV
Subsection 3.1Noiseless polynomial regression✓✓✓✓
Subsection 3.2Noisy polynomial regression✗✓✓✓
Subsection 3.3Regularized logistic regression✗✓✓✓
Subsection 3.4Regularized hinge loss✗✓✗✓

Table 1. The table records model properties, as per Assumption 2: I = good-component regularity, II = outlier nonnegativity, III = component smoothness, and IV = subset strong convexity on good accepted sets. A checkmark in column IV indicates the existence of positive subset curvature. For the nonsmooth hinge loss, strong convexity is understood in the subgradient sense.

We begin with polynomial regression, first in a noiseless interpolating regime that is closest to the assumptions of Theorem 1, and then consider noisy observations. We next consider regularized logistic regression, which has a smooth nonlinear loss, and regularized hinge loss, which provides a nonsmooth stress test.

Table 1 reports model-level properties relevant to our analyses. Note that a checkmark for subset strong convexity means that sufficiently large good subsets admit a positive strong-convexity; it does not verify that it is large enough to satisfy the quantitative contraction conditions of Theorem 1 (and in most experimental settings it is not). Indeed, except for the noiseless polynomial-regression model, the experiments intentionally consider settings in which one or more assumptions of the deterministic theory fail, to stress-test QkQ_kL-SGD on increasingly challenging problems. The probabilistic assumptions in Assumption 3 are not included in the table, because they depend on qq, kk, the corruption model, and the resulting algorithmic trajectory rather than on the component-loss model alone.

For each objective class, we compare QkQ_kL-SGD with standard SGD and min-kk-loss SGD (MkM_kL-SGD), where MkM_kL-SGD denotes the rule that selects the sampled component with the smallest loss (see, e.g., [34]). We present first the large-sample experiments in Sections 3.1–3.4, where we take k=mk = m for both QkQ_kL-SGD and MkM_kL-SGD. These comparisons isolate the effect of the loss-based selection rule, and they are plotted per iteration.

Then, in Section 3.5, we study the effect of the sample size and compare the methods as functions of the total number of component-loss evaluations across all iterations. In the fixed-quantile experiments, we use the oracle choice q=1−βq = 1 - \beta to isolate the behavior of the loss-filtering rule. The varying-qq experiments then assess sensitivity to misspecification of this choice.

Noiseless Polynomial Regression

We begin by considering a noiseless polynomial regression task, a least-squares problem with zero optimal loss. We aim to illustrate the robustness of QkQ_kL-SGD to a small fraction β\beta of corrupted regression response values. In each experiment, we generate ideal noiseless polynomial regression sample data and introduce significant corruption into a small number of outlier response values. We note that the typical polynomial regression task is not noiseless and thus does not have zero optimal uncorrupted loss; we consider such a task in the next subsection, Subsection 3.2. However, we begin with the noiseless case since this task satisfies all model-level assumptions in Table 1 and Assumption 2.

We consider the problem of fitting a polynomial of degree 3 to data {(xi,yi)}i=1m\{(x_i,y_i)\}_{i=1}^{m}, where the data is generated according to

yi=p(xi),with p(x)=1+0.5x−0.2x2+0.05x3,y_i = p(x_i), \qquad\text{with } p(x) = 1 + 0.5x - 0.2x^2 + 0.05x^3,

the xix_i are uniformly distributed over the interval [−3,3][-3,3], and m=200m = 200. We will call p(x)p(x) the ‘clean polynomial’ and note that p(x)=dcleanTxcleanp(x) = \mathbf{d}_{\mathrm{clean}}^{\mathsf{T}}\mathbf{x}_{\mathrm{clean}} where xclean=[1,0.5,−0.2,0.05]T\mathbf{x}_{\mathrm{clean}} = [1, 0.5, -0.2, 0.05]^{\mathsf{T}} and d=[1,x,x2,x3]T\mathbf{d} = [1,x,x^2,x^3]^{\mathsf{T}}. In the plots below, we visualize p(x)p(x) and label this “Clean”. To introduce outliers, we randomly select a fraction β\beta of the response variables yiy_i and add large corruptions sampled from N(0,100)\mathcal{N}(0,100); this set is the outlier set OO and the remaining uncorrupted set is GG.

The optimal regression coefficients xclean∗∈R4\mathbf{x}_{\mathrm{clean}}^* \in\mathbb{R}^4 corresponding to clean polynomial p(x)p(x) are estimated by minimizing the empirical least-squares objective

F(x)=1m∑i=1mfi(x),fi(x)=12(yi−diTx)2,(14)F(\mathbf{x}) = \frac{1}{m}\sum_{i=1}^{m} f_i(\mathbf{x}), \qquad f_i(\mathbf{x}) = \frac{1}{2}(y_i - \mathbf{d}_i^{\mathsf{T}}\mathbf{x})^2, \tag*{(14)}

with respect to the parameter vector x\mathbf{x}, where di=[1,xi,xi2,xi3]T\mathbf{d}_i = [1,x_i,x_i^2,x_i^3]^{\mathsf{T}} denotes the feature vector corresponding to sample xix_i. Any coefficient parameter vector x∈R4\mathbf{x} \in\mathbb{R}^4 defines a polynomial as $\mathbf{x}^{\mathsf{T}}\mathbf{d】【。 where d=[1,x,x2,x3]⊤\mathbf{d} = [1, x, x^2, x^3]^\top. We may visualize any such univariate polynomial by plotting it alongside the clean polynomial p(x)p(x) and the samples; we do so in the right plot of the experiments below.

The objective in each experiment is to learn a parameter vector x∈R4\mathbf{x} \in\mathbb{R}^4 that defines a polynomial near to clean polynomial p(x)p(x), and thus fitting the samples whose response values have not been corrupted. In all experiments, SGD, QkL-SGD, and MkL-SGD are applied to objective F(x)F(\mathbf{x}) using step size η=0.001\eta= 0.001.

Assumptions for noiseless polynomial regression loss The polynomial regression components (14) are nonnegative, convex, and smooth with

Li≤∥di∥22.L_i \le\lVert\mathbf{d}_i \rVert_2^2.

Here, for τsc=4\tau_{\mathrm{sc}} = 4 and every subset S⊆GS \subseteq G with ∣S∣≥τsc=4\lvert S \rvert\ge\tau_{\mathrm{sc}} = 4, we have that the least-squares objective FS(x)F_S(\mathbf{x}) is strongly convex, since in our case where each xix_i is distinct, the design matrix DSD_S of subset SS has full column rank. Because the uncorrupted data is assumed to be noiseless, we have fi(xclean⋆)=0f_i(\mathbf{x}^{\star}_{\mathrm{clean}}) = 0 and ∇fi(xclean⋆)=0\nabla f_i(\mathbf{x}^{\star}_{\mathrm{clean}}) = 0 for i∈Gi \in G. Thus, Assumptions 2.I, 2.II, 2.III, and 2.IV all hold for this model.

Various outlier settings

In this section, we illustrate the behavior of QkL-SGD on noiseless polynomial regression models under a small to moderate fraction of outliers β\beta. Here we apply QkL-SGD with q=1−βq = 1 - \beta.

Few outliers (β=0.05\beta= 0.05, q=0.95q = 0.95, k=mk = m) In our first experiment, whose results are presented in fig:1a, 5% of the sample response values yiy_i are corrupted by large additive corruption sampled from N(0,100)\mathcal{N}(0, 100). We compare QkL-SGD with q=0.95q = 0.95 and k=mk = m to SGD and MkL-SGD with k=mk = m. We see QkL-SGD converges towards the zero optimal relative loss and parameter vector faster and to a lower final relative error than SGD. MkL-SGD stalls nearly immediately with respect to both loss and error, as the algorithmic selection of the component with minimum loss begins near zero and thus the update is nearly negligible. We plot the polynomials learned by SGD, QkL-SGD, and MkL-SGD; see the right plot. The learned polynomial from QkL-SGD closely matches the true function even in regions influenced by outliers, while the SGD fit is visibly distorted by the corrupted points.

Moderate outliers (β=0.1\beta= 0.1, q=0.9q = 0.9, k=mk = m) In our next experiment, presented in fig:1b, 10% of the sample response values yiy_i are corrupted by large additive corruption sampled from N(0,100)\mathcal{N}(0, 100). We see that QkL-SGD with q=0.9q = 0.9 and k=mk = m again outperforms SGD with respect to both relative loss and relative error, and MkL-SGD again stagnates early. We visualize the learned polynomials in the right plot; the polynomial learned by QkL-SGD is nearly identical to the true polynomial p(x)p(x), while the SGD-learned polynomial suffers due to the corrupted samples.

Varying qq with fixed corruption fraction

In our final experiment with the noiseless polynomial regression model, we explore how QkL-SGD behaves with different choices of quantile qq under a fixed corruption fraction β\beta. In Figure 2, we plot the final relative loss (left plot) and final relative error (right plot) after 10000 iterations of QkL-SGD with q∈{0.05,0.1,⋯ ,1.0}q \in\{0.05, 0.1, \cdots, 1.0\} and k=mk = m. We apply QkL-SGD to the noiseless polynomial regression loss (14) applied to the data model described above where β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1, 0.2, 0.3, 0.4\} fraction of data is corrupted. Relative loss and relative errors are averaged over 100 independent trials. of 10000 iterations of QkL-SGD. Here, we see that the quantile value qq that achieves the lowest relative loss and relative error is near 1−β1-\beta. For larger corruption fractions β\beta, quantiles qq very slightly larger than 1−β1-\beta can be optimal. Lowest values of relative error and loss are similar for each fraction β\beta, illustrating that QkL-SGD provides robustness to even significant amounts of data corruption.

Final relative loss and relative squared error for QkL-SGD with varying corruption fractions

Figure 2. (Left) Final relative loss FG(x10000)/FG(x0)F_G(\mathbf{x}_{10000})/F_G(\mathbf{x}_0) for QkL-SGD with q∈(0,1]q \in(0,1] applied to the noiseless polynomial regression loss (14) with fraction of corruption β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\}; (right) final relative squared error ∥x10000−xclean⋆∥2/∥x0−xclean⋆∥2\lVert\mathbf{x}_{10000}-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2/\lVert\mathbf{x}_0-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2 for QkL-SGD with q∈(0,1]q \in(0,1] (log scale).

Polynomial Regression

We next turn to the typical polynomial regression task, where the data samples are all assumed to be affected by a small amount of noise in the response values. This change causes Assumption 2.I to fail. As in the experiments in the previous section, Subsection 3.1, our goal is to assess the robustness of QkL-SGD to a small fraction of samples with response values affected by significant corruption.

The data setting is identical to Subsection 3.1, with the exception that the data {(xi,yi)}i=1m\{(x_i,y_i)\}_{i=1}^{m} is generated according to

yi=p(xi)+ϵi,with p(x)=1+0.5x−0.2x2+0.05x3,y_i = p(x_i) + \epsilon_i,\quad\text{with } p(x) = 1 + 0.5x - 0.2x^2 + 0.05x^3,

where noise values ϵi\epsilon_i are sampled from N(0,0.32)\mathcal{N}(0,0.3^2), and as before, the xix_i are uniformly distributed over the interval [−3,3)[-3,3) and m=200m=200. The outlier set and corruptions are generated as before in Subsection 3.1.

The model (14) and the experimental setup is the same as in Subsection 3.1.

Relative loss, relative error, and learned polynomial plots for response corruption

Figure 1. QkL-SGD with (k,q)=(m,1−β)(k,q)=(m,1-\beta) and MkL-SGD with k=mk=m applied to polynomial regression loss (14). (Left) Relative good-set loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per iteration. (Center) Relative squared parameter error ∥xt−xclean∗∥22/∥x0−xclean∗∥22\lVert x_t-x^*_{\mathrm{clean}}\rVert_2^2/\lVert x_0-x^*_{\mathrm{clean}}\rVert_2^2. (Right) Learned polynomials at the final iterate, together with the clean polynomial p(x)p(x). Uncorrupted data samples, visualized as circles, are noiseless; corrupted data samples are visualized as squares.

Assumptions for polynomial regression loss As before for the noiseless polynomial regression model, Assumptions 2.II, 2.III, and 2.IV all hold for the noisy polynomial regression model with the same parameters. However, due to the noise in the uncorrupted response variables, we no longer have fi(xclean⋆)=0f_i(\mathbf{x}^{\star}_{\mathrm{clean}})=0 and ∇fi(xclean⋆)=0\nabla f_i(\mathbf{x}^{\star}_{\mathrm{clean}})=0 for i∈[G]i \in[G], and thus Assumption 2.I fails.

Various outlier settings

We now turn to QkL-SGD for the noisy polynomial regression model under a variety of small to moderate corruption fractions β\beta. We take the ideal quantile value q=1−βq=1-\beta.

Few outliers (β=0.05\beta=0.05, q=0.95q=0.95, k=mk=m) In the noisy polynomial regression experiments shown in fig:3a, we again corrupt 5% of the sample response values yiy_i with large additive corruptions drawn from N(0,100)\mathcal{N}(0,100). We compare QkL-SGD with q=0.95q=0.95 and k=mk=m against SGD and MkL-SGD with k=mk=m. Consistent with the noiseless setting, QkL-SGD achieves faster convergence and lower final relative loss and relative squared error than SGD. In contrast, MkL-SGD exhibits little progress, as selecting the minimum-loss component yields updates of negligible magnitude early in training. The learned polynomials (right plot) further illustrate the robustness of QkL-SGD: its fit remains close to the underlying target function despite the presence of corrupted observations, whereas the polynomial obtained with SGD is noticeably skewed by the outliers.

Moderate outliers (β=0.1\beta=0.1, q=0.9q=0.9, k=mk=m) fig:3b reports results for a more heavily corrupted setting in which 10% of the response values yiy_i are perturbed by additive corruption drawn from N(0,100)\mathcal{N}(0,100). In this regime, QkL-SGD with q=0.9q=0.9 and k=mk=m continues to substantially outperform SGD in both relative loss and relative error, while MkL-SGD once again stagnates after only limited progress. The polynomial visualization (right plot) highlights the robustness of QkL-SGD under corruption: the recovered polynomial remains closely aligned with the clean polynomial p(x)p(x), whereas the polynomial obtained by SGD deviates significantly due to sensitivity to the corrupted observations.

Varying q with fixed corruption fraction β\beta

Figure 4 illustrates the effect of varying the quantile parameter q∈{0.05,0.1,…,1.0}q \in\{0.05,0.1,\ldots,1.0\} on the final relative loss (left) and relative error (right) after 10,000 iterations of QkL-SGD with k=mk=m.

Final relative loss and final relative squared error for QkL-SGD

Figure 4. (Left) Final relative loss FG(x10000)/FG(x0)F_G(\mathbf{x}_{10000})/F_G(\mathbf{x}_0) for QkL-SGD with q∈(0,1]q \in(0,1] applied to the noisy polynomial regression loss (14) with fraction of corruption β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\}; (right) final relative squared error ∥x10000−xclean⋆∥2/∥x0−xclean⋆∥2\lVert\mathbf{x}_{10000}-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2/\lVert\mathbf{x}_0-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2 for QkL-SGD with q∈(0,1]q \in(0,1] (log scale).

Relative loss, relative error, and learned polynomials for response corruption

Figure 3. QkL-SGD with (k,q)=(m,1−β)(k,q)=(m,1-\beta) and MkL-SGD with k=mk=m applied to polynomial regression loss (14). (Left) Relative good-set loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per iteration. (Center) Relative squared parameter error ∥xt−xclean∗∥22/∥x0−xclean∗∥22\lVert x_t-x_{\mathrm{clean}}^*\rVert_2^2/\lVert x_0-x_{\mathrm{clean}}^*\rVert_2^2. (Right) Learned polynomials at the final iterate, together with the clean polynomial p(x)p(x). Uncorrupted data samples, visualized as circles, are noisy; corrupted data samples are visualized as squares.

The method is applied to the noisy polynomial regression problem (14) using the data model described above with corruption fractions β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\}. Relative loss and relative errors are averaged over 100 independent trials of 10000 iterations of QkL-SGD. Like in the noiseless polynomial regression case, we see that the quantile qq producing lowest relative error and loss is approximately 1−β1-\beta. However, in this case, the relative loss values are very similar for quantiles nearby to the optimal, but the relative error illustrates the sensitivity of QkL-SGD to the quantile if an accurate solution is desired.

Regularized Logistic Regression

We next consider ℓ2\ell_2-regularized logistic regression as a smooth nonlinear classification problem with corrupted labels. This experiment keeps the smoothness present in the polynomial-regression examples, but moves from quadratic least squares to a nonquadratic classification loss. As in noisy polynomial regression, the interpolation part of Assumption 2 fails: the individual good losses and gradients need not vanish at the clean-data reference solution. In this section, we generate synthetic, linearly separable two-dimensional data and examine the impact of introducing label corruption on optimization performance. The experiments are designed to assess robustness to outliers, which are introduced by randomly flipping (corrupting) a fraction β\beta of the labels.

For a parameter vector x\mathbf{x}, the logistic model predicts the probability of the positive class for data point di\mathbf{d}_i via the sigmoid function as

y^i=σ(diTx)=11+exp⁡(−diTx).\widehat{y}_i=\sigma(\mathbf{d}_i^{\mathsf{T}}\mathbf{x})=\frac{1}{1+\exp(-\mathbf{d}_i^{\mathsf{T}}\mathbf{x})}.

Given binary labels li∈{0,1}l_i \in\{0,1\}, we use the regularized component losses

fi(x)=−[lilog⁡(y^i)+(1−li)log⁡(1−y^i)]+λ2m∥x∥22,(15)f_i(\mathbf{x})=-\left[l_i\log(\hat{y}_i)+(1-l_i)\log(1-\hat{y}_i)\right]+\frac{\lambda}{2m}\lVert\mathbf{x}\rVert_2^2, \tag*{(15)}

and the finite-sum objective

F(x)=1m∑i=1mfi(x).(16)F(\mathbf{x})=\frac{1}{m}\sum_{i=1}^{m}f_i(\mathbf{x}). \tag*{(16)}

In all experiments, we generate m=200m=200 augmented data points di=(1,ui,vi)⊤∈R3\mathbf{d}_i=(1,u_i,v_i)^\top\in\mathbb{R}^3. The first component of each data point is fixed to be (di)1=1(\mathbf{d}_i)_1=1 to allow for an affine bias term in the logistic regression model.

Half of the points belong to the positive class, with (ui,vi)(u_i,v_i) sampled i.i.d. from a Gaussian distribution centered at (2,2)(2,2) with identity covariance and clean label liclean=1l_i^{\mathrm{clean}}=1. The remaining half belong to the negative class, with (ui,vi)(u_i,v_i) sampled i.i.d. from a Gaussian distribution centered at (−2,−2)(-2,-2) with identity covariance and clean label liclean=0l_i^{\mathrm{clean}}=0. Note that before corruption, the data are linearly separable with high probability. To create outliers, we select a fraction β\beta of the data points and flip their labels. Thus, for i∈Gi \in G the observed label agrees with the clean label, while for i∈Oi \in O the observed label is li=1−licleanl_i=1-l_i^{\mathrm{clean}}. The algorithms use only the observed labels. In the visualizations below, we plot the last two coordinates (ui,vi)(u_i,v_i) together with the learned decision boundary

{y∈R2:x1+y⊤x2=0}.\{\mathbf{y}\in\mathbb{R}^2:x_1+\mathbf{y}^{\top}\mathbf{x}_2=0\}.

The objective is to learn a parameter vector x∈R3\mathbf{x}\in\mathbb{R}^3 that correctly classifies the data points whose labels have not been corrupted, and ideally generalizes to correctly classify even data points whose labels have been corrupted and no longer represents to which class the data truly belongs. Aligned with that, we run SGD on the clean dataset before any labels are flipped. We denote the resulting parameter after 10000 iterations by xclean⋆\mathbf{x}^{\star}_{\mathrm{clean}} and plot the corresponding clean-data reference boundary

Bclean={y∈R2:(xclean⋆)1+y⊤(xclean⋆)2=0}.B_{\mathrm{clean}}=\{\mathbf{y}\in\mathbb{R}^2:(\mathbf{x}^{\star}_{\mathrm{clean}})_1+\mathbf{y}^{\top}(\mathbf{x}^{\star}_{\mathrm{clean}})_2=0\}.

This boundary is used only as a visual reference and is labeled “Clean” in the plots.

In all logistic-regression experiments, SGD, QkL-SGD, and min-kk-loss SGD (MkL-SGD) are run with stepsize η=0.01\eta=0.01 and regularization parameter λ=1\lambda=1. The reported objective values are evaluated on the good set GG, and the reported parameter errors are measured relative to xclean⋆\mathbf{x}^{\star}_{\mathrm{clean}}.

Assumptions for regularized logistic regression The regularized logistic regression components in (15) are nonnegative, convex, and smooth, with

Li≤14∥di∥2+λm.L_i \le\frac{1}{4}\lVert\mathbf{d}_i \rVert^2 + \frac{\lambda}{m}.

Moreover, because of the quadratic regularizer, FSF_S is λ/m\lambda/m-strongly convex for every nonempty subset S⊆GS \subseteq G. Thus Assumptions 2.II, 2.III, and 2.IV hold at the model level. However, Assumption 2.I fails: although the good component losses are convex, they do not satisfy fi(xclean⋆)=0f_i(\mathbf{x}_{\mathrm{clean}}^\star) = 0 and ∇fi(xclean⋆)=0\nabla f_i(\mathbf{x}_{\mathrm{clean}}^\star) = 0 individually.

Various outlier settings

In this section, we explore the convergence of QkL-SGD in a variety of outlier settings. Here we let quantile q=1−βq = 1 - \beta.

Few outliers from a single class (β=0.01\beta= 0.01, q=0.99q = 0.99, k=mk = m) In the first logistic-regression experiment, shown in fig:5a, we corrupt 1% of the data points, all chosen from the positive class, by flipping their labels. We compare standard SGD, QkL-SGD with (k,q)=(m,0.99)(k, q) = (m, 0.99), and MkL-SGD with k=mk = m. In this full-sample setting, QkL-SGD and MkL-SGD both screen all component losses at each iteration, so the comparison isolates the effect of selecting from the lower empirical quantile rather than selecting the minimum-loss component. QkL-SGD decreases the good-set objective FG(xt)F_G(x_t) faster than SGD and tracks the clean-data reference parameter more closely. By contrast, MkL-SGD stalls early: selecting the minimum-loss component can repeatedly choose nearly solved components and produce updates of negligible size. The decision-boundary plot shows the same qualitative behavior: QkL-SGD remains close to the clean-data reference boundary, while the SGD boundary is more visibly affected by the flipped labels.

Moderate outliers from both classes (β=0.1\beta= 0.1, q=0.9q = 0.9, k=mk = m) In the experiment shown in fig:5b, 10% of the data points are selected uniformly from both classes and their labels are flipped. We compare standard SGD, QkL-SGD with screening size k=mk = m and quantile parameter q=0.9q = 0.9, and MkL-SGD with k=mk = m. Thus, both QkL-SGD and MkL-SGD evaluate all component losses before selecting an update; the comparison between them isolates the effect of selecting from the lower empirical qq-quantile rather than selecting the minimum-loss component.

QkL-SGD achieves smaller good-set loss FG(xt)F_G(x_t) and smaller parameter error relative to the clean-data reference than standard SGD, while full-sample MkL-SGD stalls early. The decision-boundary visualization shows the same qualitative behavior: the QkL-SGD boundary remains closer to the clean-data reference boundary, whereas the SGD boundary is influenced by the flipped labels: a single data point with a non-corrupted label in the positive class is misclassified.

Moderate outliers from a single class (β=0.1\beta= 0.1, q=0.9q = 0.9, k=mk = m) We next consider a more structured corruption pattern, where 10% of the labels are flipped but all corrupted points are chosen from the positive class. This asymmetric corruption concentrates the outlier effect in one region of the data. We again compare standard SGD, QkL-SGD with screening size k=mk = m and quantile parameter q=0.9q = 0.9, and MkL-SGD with k=mk = m.

As shown in fig:5c, QkL-SGD remains more robust to the corrupted labels than standard SGD, achieving lower good-set loss and smaller parameter error relative to the clean-data reference. We see that QkL-SGD learns a decision boundary that correctly classifies all correctly labeled data points. Additionally, the extreme imbalance of the mislabeled data causes the decision boundary learned by SGD to misclassify additional correctly labeled data in the positive class. Finally, full-sample MkL-SGD again makes little progress, consistent with the conservative behavior of minimum-loss selection.

Relative loss, relative error, and learned decision boundaries for QkL-SGD, SGD, and MkL-SGD

Figure 5. (a) β=0.01\beta= 0.01 label corruption, with outliers sampled from the positive class. (b) β=0.1\beta= 0.1 label corruption, with corrupted points sampled from the two classes. (c) β=0.1\beta= 0.1 label corruption, with outliers sampled from the positive class. QkL-SGD with (k,q)=(m,1−β)(k,q)=(m,1-\beta) and MkL-SGD with k=mk=m applied to regularized logistic regression (16). (Left) Relative good-set loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per iteration. (Center) Relative squared parameter error ∥xt−xclean⋆∥22/∥x0−xclean⋆∥22\lVert x_t-x^\star_{\mathrm{clean}}\rVert_2^2/\lVert x_0-x^\star_{\mathrm{clean}}\rVert_2^2. (Right) Learned decision boundaries at the final iterate, together with the clean-data reference boundary Bclean\mathcal{B}_{\mathrm{clean}}. Uncorrupted data samples are visualized as circles; corrupted data samples are visualized as squares.

Varying qq with fixed corruption fraction β\beta

Our final experiment in this section examines the sensitivity of QkL-SGD to the choice of quantile parameter qq for the regularized logistic regression problem. For each corruption level β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1, 0.2, 0.3, 0.4\}, we run QkL-SGD for 10,000 iterations with q∈{0.05,0.1,…,1.0}q \in\{0.05, 0.1, \ldots, 1.0\} and record the resulting final relative loss and relative error. The underlying optimization problem is the regularized logistic regression objective (16) using the data model described above, where a fraction β\beta of the samples, selected uniformly across the two classes, are corrupted. The results are presented in Figure 6, with the left panel showing the final relative loss and the right panel showing the final relative error. Relative loss and relative errors are averaged over 100 independent trials of 10000 iterations of QkL-SGD. As in polynomial regression applications, we see that the quantile qq that minimizes relative error and loss is approximately 1−β1-\beta. In this case, we see that using a quantile qq less than this optimal choice produces better results than even slight overestimates of the optimal quantile.

Final relative loss and final relative error for QkL-SGD

Figure 6. (Left) Final relative loss FG(x10000)/FG(x0)F_G(\mathbf{x}_{10000})/F_G(\mathbf{x}_0) for QkL-SGD with q∈(0,1]q \in(0,1] applied to the regularized logistic regression loss (16) with fraction of corruption β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\}; (right) final relative squared error ∥x10000−xclean⋆∥2/∥x0−xclean⋆∥2\lVert\mathbf{x}_{10000}-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2/\lVert\mathbf{x}_0-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2 for QkL-SGD with q∈(0,1]q \in(0,1] (log scale).

Regularized Hinge Loss

Next, we turn to the ℓ2\ell_2-regularized hinge loss objective, which is the standard loss used in support vector machines. This loss is nonsmooth so Assumption 2.III fails, unlike the other models considered. Here, like with the noisy polynomial regression and logistic regression models, Assumption 2.I fails. Like in Subsection 3.3, the experiments are designed to assess robustness to outliers, which are introduced by randomly flipping (corrupting) a fraction β\beta of the labels.

The ℓ2\ell_2-regularized hinge loss model is typically employed as a supervised binary classification model where data points di∈Rn\mathbf{d}_i \in\mathbb{R}^n with labels li∈{−1,+1}l_i \in\{-1,+1\} are available. The regularized hinge loss component objective for parameter vector x∈Rn\mathbf{x} \in\mathbb{R}^n associated to a single data point and corresponding label (di,li)(\mathbf{d}_i,l_i) is

fi(x)=max⁡{0,1−lidiTx}+λm∥x∥22,(17)f_i(\mathbf{x})=\max\{0,1-l_i\mathbf{d}_i^{\mathsf{T}}\mathbf{x}\}+\frac{\lambda}{m}\lVert\mathbf{x}\rVert_2^2, \tag*{(17)}

and the regularized hinge loss over all data points is

F(x)=1m∑i=1mfi(x).(18)F(\mathbf{x})=\frac{1}{m}\sum_{i=1}^{m}f_i(\mathbf{x}). \tag*{(18)}

Here, the data generation is the same as in Subsection 3.3, with the exception that the labels l∈{−1,+1}m\mathbf{l}\in\{-1,+1\}^{m}. The positive class data points have corresponding binary label liclean=+1l_i^{\mathrm{clean}}=+1 and the negative class data points have corresponding binary label liclean=−1l_i^{\mathrm{clean}}=-1. This generation of data and labels again ensures that the data is linearly separable before label corruption, which follows the same process as in Subsection 3.3 with the exception that for i∈Oi\in O, the observed label is li=−licleanl_i=-l_i^{\mathrm{clean}}.

In the bottom plots below, we again visualize this data in two dimensions, taking the last two components of the data (di)2:(\mathbf{d}_i)_{2:}. We additionally plot the decision boundary of the learned classification models with parameter vector x∈R3\mathbf{x}\in\mathbb{R}^3, {y∈R2:x1+yTx2:=0}\{\mathbf{y}\in\mathbb{R}^2:x_1+\mathbf{y}^{\mathsf{T}}\mathbf{x}_{2:}=0\}.

As in Subsection 3.3, the aim in each experiment is to learn a parameter vector x∈R3\mathbf{x} \in\mathbb{R}^{3} that correctly classifies the data points with uncorrupted labels. In all experiments, SGD, QkL-SGD, and MkL-SGD were run with step size parameter η=0.01\eta= 0.01 and regularization parameter λ=1\lambda= 1. We again let xclean⋆\mathbf{x}^{\star}_{\mathrm{clean}} represent the iterate x10000\mathbf{x}_{10000} learned by 10000 iterations of SGD on the linearly separable dataset before any labels are flipped. We plot the boundary corresponding to this parameter vector,

Bclean={y∈R2:(xclean⋆)1+yT(xclean⋆)2:=0}.\mathcal{B}_{\mathrm{clean}} = \left\{ \mathbf{y} \in\mathbb{R}^{2} : \left(\mathbf{x}^{\star}_{\mathrm{clean}}\right)_{1} + \mathbf{y}^{\mathsf{T}}\left(\mathbf{x}^{\star}_{\mathrm{clean}}\right)_{2:} = 0 \right\}.

This boundary is labeled “Clean” in the following plots.

Assumptions for regularized hinge loss The components of the regularized hinge loss (17) are convex and nonnegative. However, unlike the other model settings, they are not smooth. Due to the regularization, by the definition of strongly convex functions in terms of subgradients, for every nonempty subset S⊆GS \subseteq G, we have that FSF_{S} is λ/m\lambda/m-strongly convex. Thus, Assumptions 2.II and 2.IV hold for this model, but Assumptions 2.I and 2.III fail.

Various outlier settings

We now explore the behavior of QkL-SGD on the hinge loss (18) with q=1−βq = 1 - \beta in a variety of outlier settings.

Few outliers from a single class (β=0.01\beta= 0.01, q=0.99q = 0.99, k=mk = m) Our first experiment, with results presented in fig:7a, explores the setting where 1% of the labels, all from the same class, are corrupted (flipped). We compare QkL-SGD with q=0.99q = 0.99 and k=mk = m to SGD and MkL-SGD with k=mk = m. We note that although QkL-SGD only slightly outperforms SGD in terms of relative loss FG(xt)/FG(x0)F_{G}(\mathbf{x}_{t})/F_{G}(\mathbf{x}_{0}) (left plot), it yields a more significantly lower relative error ∥xt−xclean⋆∥22/∥x0−xclean⋆∥22\lVert\mathbf{x}_{t} - \mathbf{x}^{\star}_{\mathrm{clean}} \rVert_{2}^{2}/\lVert\mathbf{x}_{0} - \mathbf{x}^{\star}_{\mathrm{clean}} \rVert_{2}^{2} (center plot) and a cleaner decision boundary (right plot). MkL-SGD has increasing relative loss and stagnating relative error due to difficulties in separating the effects of the good and outlier sets.

Moderate outliers from both classes, (β=0.05\beta= 0.05, q=0.95q = 0.95, k=mk = m) In our next experiment, presented in fig:7b, 5% of the labels are flipped, selected uniformly from both classes. We see that QkL-SGD with q=0.95q = 0.95 and k=mk = m substantially outperforms SGD and MkL-SGD with k=mk = m in terms of both relative loss (left plot) and relative error (center plot) convergence. In this case, the decision boundaries learned by SGD and QkL-SGD (right plot) are not significantly visually different, due to possible larger deviations between the bias terms in the learned parameter vectors which are more difficult to differentiate in this visualization. Again, MkL-SGD has increasing relative loss and stagnating relative error.

Moderate outliers from a single class (β=0.05\beta= 0.05, q=0.95q = 0.95, k=mk = m) We now consider a more structured form of label corruption where corruptions occur in only the positive class. In the experiment presented in fig:7c, we corrupt 5% of the labels, but only from the positive class. QkL-SGD with q=0.95q = 0.95 and k=mk = m again demonstrates robustness, yielding lower relative loss (left plot) and smaller relative error (center plot) than SGD and MkL-SGD. In the right plot, the QkL-SGD decision boundary is not visibly significantly better than that of SGD, again likely due to differences in the bias term. Again, MkL-SGD has increasing relative loss and stagnating relative error.

Three rows of plots showing relative good-set loss, relative squared parameter error, and learned decision boundaries for QkL-SGD, SGD, and MkL-SGD

Figure 7. (a) β=0.01\beta= 0.01 label corruption, with outliers sampled from the positive class. (b) β=0.05\beta= 0.05 label corruption, with points sampled from both classes. (c) β=0.05\beta= 0.05 label corruption, with points sampled from positive class. QkL-SGD with (k,q)=(m,1−β)(k,q)=(m,1-\beta) and MkL-SGD with k=mk=m applied to regularized hinge loss (18). (Left) Relative good-set loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per iteration. (Center) Relative squared parameter error ∥xt−xclean⋆∥22/∥x0−xclean⋆∥22\lVert x_t-x^\star_{\mathrm{clean}}\rVert_2^2/\lVert x_0-x^\star_{\mathrm{clean}}\rVert_2^2. (Right) Learned decision boundaries at the final iterate, together with the clean-data reference boundary BcleanB_{\mathrm{clean}}. Uncorrupted data samples are visualized as circles; corrupted data samples are visualized as squares.

Varying qq with fixed corruption fraction β\beta

Figure 8 explores how different quantile values qq affect QkL-SGD under a fixed corruption fraction β\beta. We apply QkL-SGD with k=mk=m to the regularized hinge loss (18) applied to the data model described above where β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\} fraction of data sampled uniformly across both classes are corrupted, and plot the final relative loss (left plot) and final relative error (right plot) after 10000 iterations of QkL-SGD with q∈{0.05,0.1,⋯ ,1.0}q \in\{0.05,0.1,\cdots,1.0\}. Relative loss and relative errors are averaged over 100 independent trials of 10000 iterations of QkL-SGD. Again, in this case, we see that the quantile qq producing the lowest relative error and loss values is approximately 1−β1-\beta. However, in this case, we see that QkL-SGD produces lower final relative loss and error when the corruption fraction β\beta is smaller.

Final relative loss and final relative squared error for QkL-SGD with varying q and corruption fraction

Figure 8. (Left) Final relative loss FG(x10000)/FG(x0)F_G(\mathbf{x}_{10000})/F_G(\mathbf{x}_0) for QkL-SGD with q∈(0,1]q \in(0,1] applied to the regularized hinge loss (18) with fraction of corruption β∈{0.1,0.2,0.3,0.4}\beta\in\{0.1,0.2,0.3,0.4\}; (right) final relative squared error ∥x10000−xclean⋆∥2/∥x0−xclean⋆∥2\lVert\mathbf{x}_{10000}-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2/\lVert\mathbf{x}_0-\mathbf{x}^{\star}_{\mathrm{clean}}\rVert^2 for QkL-SGD with q∈(0,1]q \in(0,1] (log scale).

Varying Sample Size kk

We now explore the effect of the sample size kk on the behavior of QkL-SGD and MkL-SGD. We first consider the case where kk is a fraction of mm, denoted α\alpha in Subsection 3.5.1. We then compare the convergence of QkL-SGD where k=mk=m and MkL-SGD where kk is a small constant value as a function of the total number of loss evaluations in Subsection 3.5.2.

Sample Fraction α\alpha

In this section, we explore how the sample size parameter α\alpha affects the convergence of QkL-SGD and MkL-SGD. Figure 9a compares the relative loss and relative error of QkL-SGD and MkL-SGD with sampling rates α∈{0.1,0.5,0.9}\alpha\in\{0.1,0.5,0.9\} on the noiseless polynomial regression problem (14). We generate data as described in Subsection 3.1; starting from the uncorrupted dataset, we corrupt 5% of the target values yiy_i using additive noise drawn from N(0,100)\mathcal{N}(0,100). For this simple problem, we see very little difference in the behavior of MkL-SGD under different sampling rates. QkL-SGD, on the other hand, suffers from increased variance in both loss and error as the sampling rate decreases; the method is likely occasionally sampling a small corrupted component. Regardless, the relative error and relative loss of all QkL-SGD decrease significantly over all iterations.

In Figure 9b, we plot the loss and error over iterations of QkL-SGD and MkL-SGD applied to the polynomial regression loss (14) with sampling rate α∈{0.1,0.5,0.9}\alpha\in\{0.1,0.5,0.9\}. We generate the ideal (uncorrupted) data as described in Section 3.2 and then sample 5% of the data and corrupt the corresponding targets yiy_i by large additive noise sampled from N(0,100)\mathcal{N}(0, 100). In this experiment, we again note that MkL-SGD performs better with smaller sampling rate, while QkL-SGD again achieves smaller variance with larger sampling rate.

In the experiment presented in Figure 9c, we generate the uncorrupted data as in Section 3.3. We then sample 5% of the data points for corruption and their labels are flipped. We implement QkL-SGD and MkL-SGD on the regularized logistic regression loss (16) with sampling rate α∈{0.1,0.5,0.9}\alpha\in\{0.1, 0.5, 0.9\} and compare the relative loss and relative error across iterations. We note that MkL-SGD suffers when the sample size is large, as selecting the minimum loss components can actually cause the loss and error to increase. On the other hand, QkL-SGD can suffer when the sample size is too small, although the improvement in both loss and error is much better than that of MkL-SGD.

In the experiment given in Figure 9d, we generate the data as in Section 3.4 and then sample 5% of the data and flip the labels associated to these data points. We compare the relative loss and relative error of QkL-SGD and MkL-SGD applied to the regularized hinge loss objective (18) with sample rates α∈{0.1,0.5,0.9}\alpha\in\{0.1, 0.5, 0.9\}. Again, MkL-SGD suffers when the sampling rate is too large, while QkL-SGD suffers when the sampling rate is too small, although QkL-SGD achieves significantly lower values of loss and error.

In our final experiment presented in Figure 10, we plot the final relative loss or error (after 10000 iterations) for α∈(0,1]\alpha\in(0, 1] for QkL-SGD and MkL-SGD applied to the polynomial regression, logistic regression, and hinge loss problems described above. We use the same problem set-up described previously in this section for noiseless polynomial regression (top row), noisy polynomial regression (row two), regularized logistic regression (row three), and regularized hinge loss (bottom row). The lines represent the average over 100 independent trials of 10000 iterations, and the shaded ribbon presents the spread of the maximum and minimum final relative losses and errors across the 100 trials. We note that generally MkL-SGD performs best with smaller values of α\alpha in terms of both relative error and loss, while QkL-SGD performs best with a larger value of α\alpha, although the best behavior is for α<1\alpha< 1.

Noiseless polynomial regression loss

(a) Noiseless polynomial regression loss (14)

Noisy polynomial regression loss

(b) Noisy polynomial regression loss (14)

Regularized logistic regression loss

(c) Regularized logistic regression loss (16)

Regularized hinge loss

(d) Regularized hinge loss (18)

Figure 10. (Left) Final relative loss FG(x10000)/FG(x0)F_G(x_{10000})/F_G(x_0) for QkL-SGD and MkL-SGD with α∈(0,1]\alpha\in(0,1]; (right) final relative squared error ∥x10000−xclean⋆∥2/∥x0−xclean⋆∥2\lVert x_{10000}-x_{\mathrm{clean}}^\star\rVert^2/\lVert x_0-x_{\mathrm{clean}}^\star\rVert^2 for QkL-SGD and MkL-SGD with α∈(0,1]\alpha\in(0,1] (log scale). In all experiments, we have β=0.05\beta= 0.05 and we apply QkL-SGD with q=0.95q = 0.95.

Small Sample Size

Noting that MkL-SGD was intended to be used with a very small sample size kk, we now explore how the loss and error of MkL-SGD and QkL-SGD decrease with respect to cumulative evaluations of loss components. Figure 11a shows the relative loss and relative error measured against the number of loss component evaluations for QkL-SGD with sampling rate α=1.0\alpha= 1.0 and q=0.95q = 0.95 and for MkL-SGD with k∈{2,5,10}k \in\{2, 5, 10\} on the polynomial regression problem (14) on the noiseless uncorrupted data. Starting from the baseline dataset described in Section 3.1, we corrupt 5% of the target values yiy_i using additive noise drawn from N(0,100)\mathcal{N}(0, 100). The results indicate that QkL-SGD attains performance comparable to MkL-SGD with k=2k = 2 and k=10k = 10 in terms of both relative loss and relative error, while MkL-SGD with k=5k = 5 achieves the lowest relative loss and error on this very simple problem.

In Figure 11b, we plot the relative loss and relative error over loss component evaluations of QkL-SGD with sample rate α=1.0\alpha= 1.0 and q=0.95q = 0.95 and MkL-SGD with k∈{2,5,10}k \in\{2, 5, 10\} applied to the polynomial regression loss (14). We generate the ideal (uncorrupted) data as described in Section 3.2 and then sample 5% of the data and corrupt the corresponding targets yiy_i by large additive noise sampled from N(0,100)\mathcal{N}(0, 100). In this case, QkL-SGD and MkL-SGD with k=5k = 5 and k=10k = 10 achieve similar relative loss. However, QkL-SGD achieves the lowest final relative error.

In the experiment presented in Figure 11c, we generate the uncorrupt data as in Section 3.3. We then sample 5% of the data points for corruption and their labels are flipped. We implement

Polynomial regression objective plots on noiseless uncorrupted data

(a) Polynomial regression objective (14) on noiseless uncorrupted data as in Subsection 3.1.

Polynomial regression objective plots on noisy uncorrupted data

(b) Polynomial regression objective (14) on noisy uncorrupted data as in Subsection 3.2.

Regularized logistic regression objective plots

(c) Regularized logistic regression objective (16).

Regularized hinge loss objective plots

(d) Regularized hinge loss objective (18).

Figure 9. (Left) Relative loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per iteration (log scale); (right) relative squared error ∥xt−xclean⋆∥22/∥x0−xclean⋆∥22\lVert x_t-x^\star_{\mathrm{clean}}\rVert_2^2/\lVert x_0-x^\star_{\mathrm{clean}}\rVert_2^2 per iteration (log scale). In these experiments, β=0.05\beta= 0.05, q=0.95q = 0.95, and we vary α∈{0.1,0.5,0.9}\alpha\in\{0.1, 0.5, 0.9\} for QkL-SGD and MkL-SGD.

QkL-SGD with sampling rate α=1.0\alpha= 1.0 and q=0.95q = 0.95, and MkL-SGD with k∈{2,5,10}k \in\{2,5,10\} on the regularized logistic regression loss (16) and compare the relative loss and relative error across loss component evaluations. We note that while the MkL-SGD loss and error decrease quickly with respect to loss component evaluations, QkL-SGD eventually achieves lower values.

Next, in the experiment given in Figure 11d, we generate the data as in Section 3.4 and then sample 5% of the data and flip the labels associated to these data points. We compare the loss and error of QkL-SGD with sampling rate α=1.0\alpha= 1.0 and q=0.95q = 0.95, and MkL-SGD with k∈{2,5,10}k \in\{2,5,10\} applied to the regularized hinge loss objective (18). In this case, the relative loss and relative error of QkL-SGD decrease at roughly the same rate as MkL-SGD and again eventually achieve lower values for each.

Conclusions and Future Work

We propose a broad framework for optimization on corrupted data through quantile-based loss filtering. Our work shows that the QkL-SGD admits both deterministic guarantees, when the sample size scales with the corruption size, and probabilistic guarantees, in the small sample size regime. Empirically, we show that our framework is effective across several machine learning and optimization problems under a variety of models of corruption.

Many natural extensions remain open. First, QkL-SGD uses a potentially large set of sampled losses only to select a single update index. Since the method has already paid the cost of evaluating kk component losses, it is natural to ask whether one can use the accepted lower-tail set more fully, for example by averaging gradients over accepted components or by designing large-batch variants with robust loss filtering. Second, momentum and variance-reduced versions of QkL-SGD may improve practical performance, especially in regimes where the quantile rule successfully filters out large corruptions but the selected good updates remain noisy. Developing convergence theory for such batch, momentum, and adaptive variants are interesting directions for future work.

Acknowledgments

J.H. was partially supported by NSF CAREER #2440040 A.M. was partially supported by the Rose Hills Foundation and Simons Grant MPS-TSM-00014026. E.R. was partially supported by NSF DMS #2309685.

Generative AI tools were used to assist with drafting and refining portions of the manuscript. The authors developed all ideas, numerical results, and conclusions and made all final editorial decisions. The authors reviewed, revised, and take full responsibility for the manuscript’s content.

Relative loss and relative error for polynomial regression on noiseless uncorrupted data

(a) Polynomial regression objective (14) on noiseless uncorrupted data as in Subsection 3.1.

Relative loss and relative error for polynomial regression on noisy uncorrupted data

(b) Polynomial regression objective (14) on noisy uncorrupted data as in Subsection 3.2.

Relative loss and relative error for regularized logistic regression

(c) Regularized logistic regression objective (16).

Relative loss and relative error for regularized hinge loss

(d) Regularized hinge loss objective (18).

Figure 11. (Left) Relative loss FG(xt)/FG(x0)F_G(x_t)/F_G(x_0) per loss evaluation (log scale); (right) relative squared error ∥xt−xclean⋆∥22/∥x0−xclean⋆∥22\lVert x_t-x^\star_{\mathrm{clean}}\rVert_2^2/\lVert x_0-x^\star_{\mathrm{clean}}\rVert_2^2 per loss evaluation (log scale). In this experiment, β=0.05\beta=0.05, and we set q=0.95q=0.95 and α=1\alpha=1 for QkL-SGD and vary k∈{2,5,10}k \in\{2,5,10\} for MkL-SGD.

References

  1. [1]Dan Alistarh, Zeyuan Allen-Zhu, and Jerry Li. Byzantine stochastic gradient descent. Advances in Neural Information Processing Systems, 31, 2018.
  2. [2]Pranjal Awasthi, Maria Florina Balcan, and Philip M Long. The power of localization for efficiently learning linear separators with noise. In Proceedings of the forty-sixth annual ACM symposium on Theory of computing, pages 449–458, 2014.
  3. [3]Pranjal Awasthi, Abhimanyu Das, Weihao Kong, and Rajat Sen. Trimmed maximum likelihood estimation for robust generalized linear model. Advances in Neural Information Processing Systems, 35:862–873, 2022.DOI
  4. [4]Rémi Bardenet and Odalric-Ambrym Maillard. Concentration inequalities for sampling without replacement. Bernoulli, 21(3):1361–1385, 2015. doi: 10.3150/14-BEJ605.DOI
  5. [5]Emeric Battaglia and Anna Ma. Quantile-rk and double quantile-rk error horizon analysis. Linear Algebra and its Applications, 2026.
  6. [6]Kush Bhatia, Prateek Jain, and Purushottam Kar. Robust regression via hard thresholding. Advances in neural information processing systems, 28, 2015.arxiv.org/abs/1506.02428
  7. [7]Kush Bhatia, Prateek Jain, Parameswaran Kamalaruban, and Purushottam Kar. Consistent robust regression. Advances in Neural Information Processing Systems, 30, 2017.
  8. [8]Peva Blanchard, El Mahdi El Mhamdi, Rachid Guerraoui, and Julien Stainer. Machine learning with adversaries: Byzantine tolerant gradient descent. Advances in neural information processing systems, 30, 2017.
  9. [9]Jian-Feng Cai, Junren Chen, Anna Ma, and Tong Wu. On subsample size of quantile-based randomized Kaczmarz. arXiv preprint arXiv:2507.15185, 2025.arxiv.org/abs/2507.15185
  10. [10]Moses Charikar, Jacob Steinhardt, and Gregory Valiant. Learning from untrusted data. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 47–60, 2017.
  11. [11]Lu Cheng, Benjamin Jarman, Deanna Needell, and Elizaveta Rebrova. On block accelerations of quantile randomized kaczmarz for corrupted systems of linear equations. Inverse Problems, 39(2):024002, 2023.
  12. [12]Nestor Coria, Jamie Haddock, and Jaime Pacheco. On quantile randomized kaczmarz for linear systems with time-varying noise and corruption. arXiv preprint arXiv:2403.19874, 2024.
  13. [13]Ilias Diakonikolas, Gautam Kamath, Daniel Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Robust estimators in high-dimensions without the computational intractability. SIAM Journal on Computing, 48(2):742–864, 2019a.
  14. [14]Ilias Diakonikolas, Gautam Kamath, Daniel Kane, Jerry Li, Jacob Steinhardt, and Alistair Stewart. Sever: A robust meta-algorithm for stochastic optimization. In International Conference on Machine Learning, pages 1596–1606. PMLR, 2019b.
  15. [15]Eduard Gorbunov, Marina Danilova, and Alexander Gasnikov. Stochastic optimization with heavy-tailed noise via accelerated gradient clipping. In Advances in Neural Information Processing Systems, volume 33, 2020.arxiv.org/abs/2005.10785
  16. [16]Nirupam Gupta, Shuo Liu, and Nitin H. Vaidya. Byzantine fault-tolerant distributed machine learning with norm-based comparative gradient elimination. In 2021 51st Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W), pages 175–181. IEEE, 2021. doi: 10.1109/DSN-W52860.2021.00037.
  17. [17]J. Haddock, D. Needell, E. Rebrova, and W. Swartworth. Quantile-based iterative methods for corrupted systems of linear equations. SIAM Journal on Matrix Analysis and Applications, 43(2):605–637, 2022.
  18. [18]Jamie Haddock and Deanna Needell. Randomized projection methods for linear systems with arbitrarily large sparse corruptions. SIAM Journal on Scientific Computing, 41(5):S19–S36, 2019.
  19. [19]Jamie Haddock, Anna Ma, and Elizaveta Rebrova. On subsampled quantile randomized Kaczmarz. In 2023 59th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 1–8. IEEE, 2023.
  20. [20]Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. Advances in neural information processing systems, 31, 2018.
  21. [21]Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. doi: 10.1080/01621459.1963.10500830.DOI
  22. [22]Peter J Huber. Robust estimation of a location parameter. In Breakthroughs in statistics: Methodology and distribution, pages 492–518. Springer, 1992.
  23. [23]Benjamin Jarman and Deanna Needell. QuantileRK: Solving large-scale linear systems with corrupted, noisy data. In 2021 55th Asilomar Conference on Signals, Systems, and Computers, pages 1312–1316. IEEE, 2021.
  24. [24]Halyun Jeong, Deanna Needell, and Elizaveta Rebrova. Stochastic gradient descent for streaming linear and rectified linear systems with adversarial corruptions. SIAM Journal on Mathematics of Data Science, 7(2):516–541, 2025.
  25. [25]Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. Mentornet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In International conference on machine learning, pages 2304–2313. PMLR, 2018.
  26. [26]Sai Praneeth Karimireddy, Lie He, and Martin Jaggi. Learning from history for byzantine robust optimization. In International conference on machine learning, pages 5311–5319. PMLR, 2021.
  27. [27]Adam Klivans, Pravesh K Kothari, and Raghu Meka. Efficient algorithms for outlier-robust regression. In Conference On Learning Theory, pages 1420–1430. PMLR, 2018.arxiv.org/abs/1803.03241
  28. [28]Kevin A Lai, Anup B Rao, and Santosh Vempala. Agnostic estimation of mean and covariance. In 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), pages 665–674. IEEE, 2016.arxiv.org/abs/1604.06968
  29. [29]Junnan Li, Richard Socher, and Steven CH Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. arXiv preprint arXiv:2002.07394, 2020.arxiv.org/abs/2002.07394
  30. [30]Xiaoyu Li and Francesco Orabona. On the convergence of stochastic gradient descent with adaptive stepsizes. In The 22nd international conference on artificial intelligence and statistics, pages 983–992. PMLR, 2019.arxiv.org/abs/1805.08114
  31. [31]Scott Pesme and Nicolas Flammarion. Online robust regression via sgd on the l1 loss. Advances in Neural Information Processing Systems, 33:2540–2552, 2020.
  32. [32]Adarsh Prasad, Arun Sai Suggala, Sivaram an Balakrishnan, Pradeep Ravikumar, et al. Robust estimation via robust gradient estimation. Journal of the Royal Statistical Society Series B, 82(3):601–627, 2020.arxiv.org/abs/1802.06485
  33. [33]Peter J Rousseeuw. Least median of squares regression. Journal of the American statistical association, 79(388):871–880, 1984.
  34. [34]Vatsal Shah, Xiaoxia Wu, and Sujay Sanghavi. Choosing the sample with lowest loss makes SGD robust. In International Conference on Artificial Intelligence and Statistics, pages 2120–2130. PMLR, 2020.
  35. [35]Dong Shen and Jian-Xin Xu. An iterative learning control algorithm with gain adaptation for stochastic systems. IEEE Transactions on Automatic Control, 65(3):1280–1287, 2019.DOI
  36. [36]Yanyao Shen and Sujay Sanghavi. Learning with bad training data via iterative trimmed loss minimization. In International conference on machine learning, pages 5739–5748. PMLR, 2019.
  37. [37]Sofia Shvaiko, Longxiu Huang, and Elizaveta Rebrova. Quantile Randomized Kaczmarz algorithm with Whitelist Trust Mechanism. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 721–725. IEEE, 2026.
  38. [38]Stefan Steinerberger. Quantile-based random kaczmarz for corrupted linear systems of equations. Information and Inference: A Journal of the IMA, 12(1):448–465, 2023.
  39. [39]Arun Sai Suggala, Kush Bhatia, Pradeep Ravikumar, and Prateek Jain. Adaptive hard thresholding for near-optimal consistent robust regression. In Conference on Learning Theory, pages 2892–2897. PMLR, 2019.
  40. [40]John Wilder Tukey. A survey of sampling from contaminated distributions. Contributions to probability and statistics, pages 448–485, 1960.
  41. [41]Jan Ámos Víšek. The least trimmed squares. part i: Consistency. Kybernetika, 42(1):1–36, 2006.
  42. [42]Cong Xie, Sammi Koyejo, and Indranil Gupta. Zeno++: Robust fully asynchronous sgd. In International conference on machine learning, pages 10495–10503. PMLR, 2020.arxiv.org/abs/1903.07020
  43. [43]Dong Yin, Yudong Chen, Kannan Ramchandran, and Peter Bartlett. Byzantine-robust distributed learning: Towards optimal statistical rates. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 5650–5659. PMLR, 2018.

Paper details

vlnc:W_gax6j5q7
v1 · latestHistory (1)

published ·

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents