potentialpaper

Optimal Dimension-Free Sampling for Regularized Classification

Meysam Alishahi, Alexander Munteanu, Simon Omlor, Jeff M. Phillips

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We study norm sampling and uniform sampling for Lipschitz classification losses under regularization. We prove optimal upper and lower bounds, matching up to polylogarithmic terms, resolving sample complexity in classic and modern settings.

Abstract. We prove optimal sampling bounds achieving (1±ε)(1\pm\varepsilon)-relative error for a broad class of Lipschitz continuous classification loss functions under various regularization terms. This includes important functions such as logistic and sigmoid loss, hinge loss, and ReLU loss, as prominent and popular representative examples. In particular, we prove k2/ε2k^2/\varepsilon^2 upper and lower bounds for ∥⋅∥2/k\|\cdot\|_2/k regularization, and k/ε2k/\varepsilon^2 upper and lower bounds for ∥⋅∥1/k\|\cdot\|_1/k regularization. For ∥⋅∥22/k\|\cdot\|_2^2/k regularization, the sampling complexity depends mainly on a bounded derivative property: if ∣g′(x)∣≤g(x)|g'(x)|\leq g(x), and g(0)>0g(0)>0, and gg is monotonic or convex, then it admits linear in kk sampling complexity; otherwise the general bound is k2/ε2k^2/\varepsilon^2. However, if g(0)=0g(0)=0, our results indicate that no dimension-free bounds are possible, and even sublinear bounds are ruled out. All upper bounds are complemented by matching lower bounds up to polylogarithmic terms. Moreover, our work relies conceptually and algorithmically on simple uniform or (squared) norm sampling and hereby improves over recent cubic k3/ε2k^3/\varepsilon^2 sensitivity sampling bounds of (Alishahi and Phillips, ICML'24). This is achieved by refined arguments involving higher moment bounds and empirical process analyses to avoid overcounting that appears in the de-facto standard VC-dimension and sensitivity framework.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The rebuttal helped improve reviewer enthusiasm, improved the motivation, clarified whether experiments were needed, and clarified some of the presentation concerns. The reviewers are now more positive across the board, and I think the paper can be accepted though there is no single strong champion.

Final justification

see meta-review

Area Chair tA1o · Meta-reviewOpenReview ↗
Final justification
see meta-review
Read meta-review
Meta-review

The rebuttal helped improve reviewer enthusiasm, improved the motivation, clarified whether experiments were needed, and clarified some of the presentation concerns. The reviewers are now more positive across the board, and I think the paper can be accepted though there is no single strong champion.

Reviewer jjtpOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of obtaining dimension-free sampling bounds for regularized classification losses. The paper studies relative-error approximation of objectives [ f(x)=\mathbb{E}_{a\sim P}[g(\langle a,x\rangle)]+\frac{R(x)}{k}, ] and claims improved sampling rates, from the previous (\widetilde O(k^3/\varepsilon^2)) dimension-free bound to either (\widetilde O(k^2/\varepsilon^2)) or nearly linear (\widetilde O(k/\varepsilon^2)), depending on the loss and the regularizer. The claims of the paper are further supported by matching lower bounds up to logarithmic factors.

Strengths and weaknesses

The main strengths are the improved dependence on kk, the simple norm-based sampling scheme, and the near-matching lower bounds. The results give a useful classification of when quadratic dependence on kk is unavoidable and when nearly linear dependence is possible. In particular, the distinction between losses satisfying (|g'|\le g) and losses such as hinge/ReLU is interesting and meaningful.

Weakenesses. First, the strongest guarantees are still global coreset guarantees, requiring uniform relative approximation over all (x\in\mathbb R^d). This is stronger than what is needed for optimization alone. It would be useful to discuss whether localized guarantees around near-optimal level sets could reduce constants or logarithmic factors.

Second, the improved nearly linear bounds require additional assumptions on the loss/regularizer pair. For ridge regularization, the linear bound relies on conditions such as monotonicity or convexity/concavity together with the bounded derivative property (|g'|\le g).

Third, the proofs of the linear upper bounds are technically dense. In particular, Lemma D.9, the Rademacher-to-Gaussian comparison, the slicing argument over (T_\alpha), and the entropy/diameter bounds could be explained more explicitly. The current presentation makes it difficult to verify the main proof quickly.

Fourth, the notation is sometimes confusing. The use of (E), (\mathcal E), and (\mathbb E) for different objects may obscure the empirical-process argument. Similarly, some constants in the diameter bounds, such as in Lemma D.10, appear to be hidden or absorbed without much explanation.

Fifth, while the paper emphasizes simple norm-based sampling, implementing the sampling distribution still requires knowledge or estimation of (S=\int s(a)dP(a)). The paper discusses this issue, but the practical impact of estimating (S), especially in the distributional setting, deserves more emphasis.

Sixth, the comparison with Alishahi and Phillips could be more precise. The paper should clearly state whether the assumptions, sampling model, and regularization setup are exactly the same, and whether any hidden parameters in the previous bounds may affect the comparison.

Questions

My main concerns are about exposition and proof clarity.

First, Lemma D.9 is quite compressed. Since it is the key step converting the empirical relative error into a Gaussian process, the paper should explicitly spell out the Rademacher symmetrization and the Rademacher-to-Gaussian comparison, especially because the supremum is normalized by (f(t)). The origin of the factor ((2\pi)^{l/2}) should also be clarified.

Second, the notation around (E), (\mathcal E), and (\mathbb E) is confusing. In Lemma D.1, (E) denotes an entropy integral upper bound, while (\mathcal E) denotes a covering number. I recommend using more distinct notation, for example (\mathcal N) for covering numbers and (\mathfrak E) for the entropy integral.

Third, some constants in Lemma D.10 should be checked. Since (x\in T_\alpha) implies (f(x)\le 2\alpha), an extra numerical factor appears in the diameter bound. This is probably harmless and can be absorbed into absolute constants using (G_S\ge1), but the statement should either track constants consistently or use (O(1)).

Fourth, the slicing argument with

$ T_\alpha={x(x)\in[\alpha,2\alpha)} $

should be explained more clearly. The proof relies on the fact that on each slice (f(x)\sim\alpha), while the regularizer bounds (|x|), e.g. $ T_\alpha\subseteq \sqrt{2\alpha k}B_2 $ for ridge regularization. The cancellation of (\alpha) in the Gaussian-process bound and the dyadic union bound over (\alpha) should be made more explicit.

Fifth, the lower-bound proof in Theorem 3.5 is intuitive but could be presented more clearly. The common template is that the authors choose a support of size (d=\Theta(k^2/\varepsilon^2)); if (m\le d/2), the sample misses many atoms; then an adversarial (x) is chosen so that the population loss sees the missed atoms but the empirical loss does not. This template should be stated before the individual logistic, sigmoid, hinge, and ReLU cases. Sixth, in Lemma E.1, the weights are written as (w_j=1/(dp_j)). Since the main algorithm uses $ w(a)=\frac{2S}{s(a)+S}, $ the authors should explicitly explain that for the hard distribution (P(e_j)=1/d), $ p_j=Q(e_j)=\frac{s(e_j)+S}{2Sd} $ and therefore $ \frac1{dp_j}=\frac{2S}{s(e_j)+S}. $

Limitations

While the paper does discuss some limitations through its lower bounds, the limitations and implications could be stated more explicitly. In particular, the authors should clarify that the dimension-free nature of the upper bounds depends on distributional norm quantities such as S, or B which may scale with the ambient dimension if the data are not normalized. They should also emphasize that the nearly linear bounds do not apply to all loss/regularizer combinations; Finally, since the results are theoretical, a short discussion of practical implications, including how k and m should be chosen and when the proposed sampling would be advantageous would strengthen the paper.

Final justification

The authors have adequately addressed my main concerns. They also acknowledge the presentation and notation issues and commit to improving the exposition. The rebuttal does not materially change my overall assessment of the technical contribution, so my score remains unchanged.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer for their time and valuable comments.

global coreset guarantees, requiring uniform relative approximation over all (x\in\mathbb R^d). This is stronger than what is needed for optimization alone. It would be useful to discuss whether localized guarantees around near-optimal level sets could reduce constants or log factors.

Global coreset guarantees are very important for instance in MCMC sampling, where one aims to sample from a distribution over entire Rd\mathbb{R}^d based on a data-dependent likelihood and a prior. Indeed, using the slicing arguments only on interior slices just covering the optimum, may probably shave some of the log⁡log⁡(k)\log\log(k) factors, however these would be very minor improvements. Our lower bounds continue to hold against the optimization task, even though they are not written in this way. So in the weaker optimization setting, one cannot improve more than these lower-order log⁡(k)\log(k) factors.

Second, the improved nearly linear bounds require additional assumptions on the loss/regularizer pair. For ridge regularization, the linear bound relies on conditions such as monotonicity or convexity/concavity/bounded derivative.

We consider this a particular strength rather than a weakness, because for the settings that do not obey these additional assumptions, we have matching quadratic lower bounds corroborating that it is not a flaw of our analysis but due to the core problem-specific complexity. Thus, the additional assumptions characterize and distinguish/separate the settings where quadratic is best possible and where linear can be achieved. Additionally, this distinction is only in the case of ∥⋅∥22\|\cdot\|_2^2 regularization. The other settings work without additional assumptions either tightly quadratic in kk for ∥⋅∥2\|\cdot\|_2 or tightly linear in kk for ∥⋅∥1\|\cdot\|_1.

Third, the proofs of the linear upper bounds are technically dense. In particular, Lemma D.9, the Rademacher-to-Gaussian comparison, the slicing argument over (T_\alpha), and the entropy/diameter bounds could be explained more explicitly. The current presentation makes it difficult to verify the main proof quickly.

The main proofs span several pages of technical lemmas and derivations; of course this cannot be checked quickly. For a quick overview we refer to Section 4, which we believe explains quite a few things that the reviewer is missing in the appendix. However, we appreciate concrete examples where the presentation of the technical appendix can be improved, and will incorporate them into the next revision.

Fourth, the notation is sometimes confusing. The use of (E), (\mathcal E), and (\mathbb E) for different objects may obscure the empirical-process argument. Similarly, some constants in the diameter bounds, such as in Lemma D.10, appear to be hidden or absorbed without much explanation.

Indeed, the letter E is used in different typesetting for several distinct quantities and we will revise to distinguish them more clearly, e.g. using N(⋅)N(\cdot) instead of E(⋅)E(\cdot) for the covering numbers. We agree that all constants should be carried through the analysis. However, we checked D.10 twice independently and did not find any constants missing from that lemma.

Fifth, while the paper emphasizes simple norm-based sampling, implementing the sampling distribution still requires knowledge or estimation of (S=\int s(a)dP(a)). The paper discusses this issue, but the practical impact of estimating (S), especially in the distributional setting, deserves more emphasis.

We address this issue briefly in the paragraph about the distributional setting, and point to certain lemmas B.2 & B.3 that handle this. We will add more emphasis and discussion once we have more space to elaborate.

Sixth, the comparison with Alishahi and Phillips could be more precise. The paper should clearly state whether the assumptions, sampling model, and regularization setup are exactly the same, and whether any hidden parameters in the previous bounds may affect the comparison.

We will elaborate more on the comparison. In a nutshell, our model and assumptions are either the same as Alishahi and Phillips', or in some settings we need less/milder assumptions. No hidden parameters would affect the comparison; our complexities can always be upper bounded by theirs in terms of all parameters. Only absolute constants hidden in OO-notation may differ.

First, Lemma D.9 is quite compressed. Since it is the key step converting the empirical relative error into a Gaussian process, the paper should explicitly spell out the Rademacher symmetrization and the Rademacher-to-Gaussian comparison, especially because the supremum is normalized by (f(t)). The origin of the factor ((2\pi)^{l/2}) should also be clarified.

We agree that this lemma is central, and it follows directly from the symmetrization already covered in C.3 and the Rademacher-to-Gaussian comparison taken from Ledoux & Talagrand's (LT) book. We will take your advice and make the proof/derivation more explicit. To this end we will take the conclusion of C.3 (note it has a 2ℓ2^\ell factor) and combine it explicitly with Lemma 4.5 of the LT-book (from which their Equation (4.8) follows). Please note that this latter Rademacher/Gaussian comparison introduces another (π/2)ℓ/2(\pi/2)^{\ell/2} factor, so we end up with constants 2ℓ⋅(π/2)ℓ/2=(2π)ℓ/22^\ell\cdot (\pi/2)^{\ell/2} = (2\pi)^{\ell/2} overall.

Second, the notation around (E), (\mathcal E), and (\mathbb E) is confusing. In Lemma D.1, (E) denotes an entropy integral upper bound, while (\mathcal E) denotes a covering number. I recommend using more distinct notation, for example (\mathcal N) for covering numbers and (\mathfrak E) for the entropy integral.

Thank you, we will separate notations involving the letter E more distinctly as discussed above, e.g. using N instead of E for covering numbers.

Third, some constants in Lemma D.10 should be checked. Since (x\in T_\alpha) implies (f(x)\le 2\alpha), an extra numerical factor appears in the diameter bound. This is probably harmless and can be absorbed into absolute constants using (G_S\ge1), but the statement should either track constants consistently or use (O(1)).

We double checked the statement and the proof. Yes, we use the bound f(x)≤2αf(x)\leq 2\alpha, and these factors 2α2\alpha appear explicitly in the lemma statement and in the proof. We are not aware of missing factors.

Fourth, the slicing argument with Tα=x(x)∈[α,2α)T_\alpha = x(x) \in [\alpha,2\alpha) should be explained more clearly. The proof relies on the fact that on each slice (f(x)\sim\alpha), while the regularizer bounds (|x|), e.g. Tα⊆2αkB2T_\alpha \subseteq \sqrt{2\alpha k}B_2 for ridge regularization. The cancellation of (\alpha) in the Gaussian-process bound and the dyadic union bound over (\alpha) should be made more explicit.

We believe that these explanations are given in the high level descriptions of Section 4 "To this end, the analysis is partitioned into slices TαT_\alpha. First fix a specific value, say α=1\alpha = 1." ... "To complete the argument, we union bound over all TαT_\alpha in powers of two". In the formal appendices, the arguments may be a bit hidden inside the proofs. We will emphasize these steps more clearly in the high level descriptions, and add them also between the formal lemmas to provide some intuition before they appear in technical details.

Fifth, the lower-bound proof in Theorem 3.5 is intuitive but could be presented more clearly....

The high level intuitions for the lower bounds are in Appendix A.2 due to page limitations. Only the technical parts dive directly into the weeds of the analysis. We will definitely emphasize these intuitions in both parts to also make the appendices more accessible. In case of uniform s(a)s(a) our sampling distribution and according weights turn directly into uniform as well. The rewriting of weights will also be explained.

While the paper does discuss some limitations through its lower bounds, the limitations and implications could be stated more explicitly. In particular, the authors should clarify that the dimension-free nature of the upper bounds depends on distributional norm quantities such as S, or B which may scale with the ambient dimension if the data are not normalized. They should also emphasize that the nearly linear bounds do not apply to all loss/regularizer combinations; Finally, since the results are theoretical, a short discussion of practical implications, including how k and m should be chosen and when the proposed sampling would be advantageous would strengthen the paper.

  • It is a good point and we will discuss the limitation of dimension-free bounds when parameters are not sufficiently bounded, currently there are some mentions of the requirement of bounded D,S,BD, S, B. All these parameters, just as L,k,ϵ,δL, k, \epsilon, \delta, could in principle be chosen depending on the dimension so that the dimension will re-appear in the bounds. However, in such cases, dimension independent bounds become completely impossible, not just in our analysis.
  • Regarding linear vs. quadratic bounds for different loss/regularizer combinations, we believe this story of separating the sample complexity across different functions is not a weakness/limitation but rather a strength and a novel feature introduced in our paper. It is already prominently discussed in the abstract, and also in lines 87-95 "Our paper will demonstrate the sample complexity story is more intricate than has been revealed up to this point. The tight answer depends...". The discussion is again conducted in the exposition of our upper and lower bounds. Also in all cases where we cannot get linear dependence, in fact no one can, because we prove matching quadratic lower bounds for these cases.
  • As all reviewers consistently asked for broader scope and practical implications we will elaborate on this in the next revision as in several our responses above.
Reviewer MhjGOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the sample complexity for linear classification loss with regularization terms. The authors provide dimension-free upper bounds, with corresponding matching lower bounds. In general, to achieve (1±ϵ)(1\pm\epsilon)-relative error, the sample complexity is of order k2/ϵ2k^2/\epsilon^2, while in some cases, the authors show an improved rate of order k/ϵ2k/\epsilon^2.

Strengths and weaknesses

Strengths

  1. The results are novel and solid. The obtained rates are sharp with matching lower bounds.
  2. The table of upper and lower bounds is clear. The authors also provide a proof overview in section 4, which is helpful for understanding the intuitions behind the proofs.

Weaknesses

  1. The motivation of the problem should be clearer. In the first paragraph of the paper, the authors stated the problem without explaining why it is interesting to study the sample complexity for approximation linear classification risk. Explaining the background and motivation would be beneficial for general readers.
  2. Although this is a theoretical paper, a simple simulation study to illustrate the theoretical results would be valuable.
Questions

Is approximating the classification risk useful for traning linear classifiers? If so, does the proposed sampling method outperforms uniform sampling in terms of training linear classifiers?

Limitations

Yes.

Final justification

The authors have provided more motivation and background for the problem. This clarified my questions and I would like to keep my scores (borderline accept).

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer for their time and valuable comments.

  1. The motivation of the problem should be clearer. In the first paragraph of the paper, the authors stated the problem without explaining why it is interesting to study the sample complexity for approximation linear classification risk. Explaining the background and motivation would be beneficial for general readers.

Thank you, we will add more background and motivation in the next revision. Please refer to our reply to Reviewer x9VV for some broader ML scope and significance and motivation for improving the sample bounds, and also below in response to your questions regarding training.

  1. Although this is a theoretical paper, a simple simulation study to illustrate the theoretical results would be valuable.

If one reviews the experimental plots in prior work in the line of work working with regularization, one can observe their importance-sampling mechanisms to beat random sampling, but not by more than a constant factor (perhaps a factor 2). In the context of our results and commonly working with other factors (like large d), we considered such experiments unremarkable, so did not aim to recreate them. However, we will add a brief survey on experimental results of previous work.

Is approximating the classification risk useful for traning linear classifiers? If so, does the proposed sampling method outperforms uniform sampling in terms of training linear classifiers?

Whenever training involves empirical risk minimization (ERM), our approximation bounds not only imply bounds on the generalization error in excess risk, but also reducing the sample complexity means that the ERM or repeated evaluations of the log-likelihood function (e.g. in MCMC sampling) can be performed much faster just because (sub-)sample sizes are much smaller. This is true in the 'coreset' setting, where initially one has a large number of samples nn (Big Data) and one reduces to roughly m=k/ϵ2m=k/\epsilon^2 (small data), but also in the setting where we take i.i.d. samples from an unknown distribution. Since the data collection process is often 'expensive' in some way, one wishes to take as few samples as possible to ensure a certain error bound at cheapest possible data collection cost.

While our bounds indicate some nuanced settings where one can beat uniform random sampling, the main take-a-way is that in most settings, you cannot improve upon random sampling by more than a constant factor. Nevertheless, we note that our importance sampling weights are simpler than prior work (ours are either uniform or just (squared) norm + constant), so can be implemented more efficiently and in more diverse settings, see Section 2.

Reviewer MhjG · CommentOpenReview ↗

Thank you for the explanation. I think adding a detailed problem introduction and motivation would be very valuable. I will maintain my assessment and keep my current scores (weak accept).

Reviewer x9VVOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper focuses on the sample complexity for regularized linear classifiers. The paper proves bounds free of dimension under some assumptions. During these bounds, there are bounds that can reach an order of O~(k/ϵ2)\widetilde{O}(k / \epsilon^2) or O(polylog(k)/ϵ2)\mathcal{O}(\mathrm{polylog}(k) / \epsilon^2), which shows superiority to the O~(k3/ϵ2)\widetilde{O}(k^3 / \epsilon^2) bound of Alishahi and Phillips (2024). During the proof, the authors use a weighted sampling scheme of coresets and conduct arguments related to the higher moment method and empirical process.

Strengths and weaknesses

Strengths: Using the coresets to tackle the sample complexity is interesting. The authors prove the dimension-free upper bounds for ∥⋅∥22\lVert\cdot \rVert^2_2-regularization and ∥⋅∥1\lVert\cdot \rVert_1-regularization, respectively, and provide dimension-free lower bounds to complement their results. During the proof, they use some techniques such as the higher moment method and empirical process. Besides, the authors clearly also state their improvement over Alishahi and Phillips (2024), and clarify the assumption for different bounds.

Weakness: Dimension-free upper bounds have already been explored in Alishahi and Phillips (2024), and different from Tolochinsky et al. (2022), the paper does not seem to give a feasible algorithm to construct the coreset. From my perspective, readers who not in the subfield may can not clearly understand the significance of sharping the bound in a order of O~(k3/ϵ2)\widetilde{O}(k^3 / \epsilon^2) to ones in order of O~(k/ϵ2)\widetilde{O}(k / \epsilon^2) or O(polylog(k)/ϵ2)\mathcal{O}(\mathrm{polylog}(k) / \epsilon^2) (especially the significance for a board machine learning community), and the authors should consider this to furtherly clarify the background and significance information.

Questions
  1. Could the authors please furtherly clarify the significance of sharping the bound in a order of O~(k3/ϵ2)\widetilde{O}(k^3 / \epsilon^2) to ones in order of O~(k/ϵ2)\widetilde{O}(k / \epsilon^2) or O(polylog(k)/ϵ2)\mathcal{O}(\mathrm{polylog}(k) / \epsilon^2) (especially for a board machine learning community)?
  2. Could the authors please clarify whether it is possible to give an effective algorithm to construct the coreset that corresponds to the bounds in the paper from a given dataset? (for example, in a way like Tolochinsky et al. (2022))
  3. Could the authors please add more background information on the connection between the coreset and the sample complexity? In fact, I understand this connection mainly from reading the reference Alishahi and Phillips (2024). I think the authors should try to make the paper self-contained in some core parts. By the way, the notation of kk seems to be a regularization coefficient, but I have not found an explicit definition of it in the paper. I advise the authors to explain it explicitly in some early part of the abstract and introduction.
Limitations

yes

Final justification

The contributions of the paper, both in the lower bounds and upper bounds, have been clarified, and the comparison experiments are not needed for this paper. All my questions have been addressed.

Formatting concerns

No obvious formatting concerns have been found.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer for their time and valuable comments.

Dimension-free upper bounds have already been explored in Alishahi and Phillips (2024), and different from Tolochinsky et al. (2022), the paper does not seem to give a feasible algorithm to construct the coreset. From my perspective, readers who not in the subfield may can not clearly understand the significance of sharping the bound in a order of O(k3/ϵ2)O(k^3/\epsilon^2) to ones in order of O(k2/ϵ2)O(k^2/\epsilon^2) or O(polylog(k)/ϵ2)O(polylog(k)/\epsilon^2) (especially the significance for a board machine learning community), and the authors should consider this to furtherly clarify the background and significance information.

Consider you aim to classify data points in d=4096 dimensions, and plan to use logistic regression — how many samples do you need to ensure accuracy? This is the fundamental classic machine learning question, but also one encounters consistently today. Alishahi & Phillips very recently showed that the number of samples could be independent of the dimension if the radius of points was bounded and a regularizer was used. But their analysis was not tight, and did not show if these terms were necessary.

Our work resolves this: by adding lower bounds, and by improving upper bounds (matching up to polylog(k) terms). The importance here is that we resolve the required and sufficient dependence on k.

  1. Could the authors please furtherly clarify the significance of sharping the bound in a order of O(k3/ϵ2)O(k^3/\epsilon^2) to ones in order of O(k2/ϵ2)O(k^2/\epsilon^2) or O(polylog(k)/ϵ2)O(polylog(k)/\epsilon^2) (especially for a board machine learning community)?

Note that improving problem complexities (and showing their tightness) are core tasks in ML-algorithms design & analysis and yield important qualitative leap in scalability, rather than merely a quantitative one. Note that downstream applications (such as learning the ERM classifier or further data analyses) may have a large dependence on sample size, and any improvement has direct consequences regarding runtime, memory requirements, communication. (e.g., if k=k= 1/1,000, k3k^3 requires 1 billion samples, whereas kk requires only 1,000). By improving upper bounds, we significantly extend the range in which practitioners may choose their regularization strength parameter 1/k1/k. Furthermore, by providing matching lower bounds, we establish the absolute fundamental limit of learning for this framework, closing a long-standing theoretical gap and preventing future redundant research efforts.

  1. Could the authors please clarify whether it is possible to give an effective algorithm to construct the coreset that corresponds to the bounds in the paper from a given dataset? (for example, in a way like Tolochinsky et al. (2022))

We will add to our next revision a pseudocode akin to Algorithm 1 in Tolochinsky et al. (2022). The algorithm is actually very similar (it is actually a general blueprint of a coreset construction algorithm):

  1. Compute scores s(a) for every data point a∈Pa\in P.
  2. Sample mm points proportionally to these scores, i.e. each with probability p(a)=s(a)∑a∈Ps(a)=s(a)Sp(a)=\frac{s(a)}{\sum_{a\in P} s(a)} = \frac{s(a)}{S}.
  3. return the sampled points with corresponding weights w(a)=1m⋅p(a)w(a)=\frac 1 {m\cdot p(a)}.

The main difference between different papers is how they choose s(a) (which influences the sample size). And in our case it is simply s(a)=∥a∥2+1s(a)=\|a\|_2+1 or s(a)=∥a∥22+2s(a)=\|a\|^2_2+2, depending on the choice of regularizer, or even more simply, just a uniform sampling where in principle one could simply set s(a)=1s(a)=1 for any aa. We additionally discuss in Section 2 different ways of extending this distribution slightly, and how to implement this sampling in finite and infinite data situations. Thus our work covers even broader settings than previous work, which we will emphasize and elaborate more in our next revision.

  1. Could the authors please add more background information on the connection between the coreset and the sample complexity? In fact, I understand this connection mainly from reading the reference Alishahi and Phillips (2024). I think the authors should try to make the paper self-contained in some core parts. By the way, the notation of kk seems to be a regularization coefficient, but I have not found an explicit definition of it in the paper. I advise the authors to explain it explicitly in some early part of the abstract and introduction.
  • We will elaborate more on the connection. In fact the coreset setting is recovered as a simple special case of the integral valued definition. Suppose we had a set PP of nn data points a1,…,ana_1,\ldots,a_n, let P\mathcal P be the uniform measure with this support of size nn. Then ∫g(⟨a,x⟩)dP(a)=1n∑i=1ng(⟨ai,x⟩)\int g(\langle a,x \rangle) d\mathcal{P}(a)=\frac 1 n \sum_{i=1}^n g(\langle a_i,x \rangle), thus approximating the integral to within (1±ϵ)(1\pm\epsilon) is equivalent to constructing a coreset for the dataset PP. It is not necessarily true that coresets obey the same bounds as sample complexity, since one may perform more sophisticated operations on the data such as computing leverage scores, while the learning theoretical setting may only sample i.i.d. from P\mathcal P. However, in the scope of our paper, the bounds are the same.

  • kk is defined via the regularized risk function ∫...+R(x)/k\int ... + R(x)/k in line 23 and in the same way in several places below. We will emphasize the role/definition of kk more clearly and early-on in the next revision.

Reviewer x9VV · CommentOpenReview ↗

Thanks to the authors for answering my questions. I have understood the paper's contribution to improving the sample complexity. However, based on my current understanding, the authors' improvement mainly lies in the upper bound, and practically, it seems possible that samples with a number lower than that indicated in the upper bound can reach a comparative or approximate performance. If so, it may weaken the contribution of the authors to sharpen the upper bounds. Can the authors further explain this point or provide further support for the benefit of the improvement? For example, as a recommended choice, conducting the comparison experiments between coresets and uniform sampling like Tolochinsky et al. seems to be valid support for the superiority of the improvement (not mandatory), or if the authors can find other support, it is also OK.

Authors · CommentOpenReview ↗

We thank the reviewer for their engagement and hope that our response can clarify their concerns:

The reviewer gave an incomplete description of our contribution that is missing a crucial point! Namely, we provide both improved upper bounds and near-matching lower bounds. Asymptotically, the lower bound on the number of samples required cannot be improved by any sampling (up to lower order terms). This is a central contribution of our paper!

This doesn't exclude other algorithms from comparative performance, but it excludes much better performance.

Also, we do not claim any new or better algorithm. Instead, we claim tighter theoretical analysis of a well-known algorithmic blueprint, yielding better sample complexity and proving these quantities are required!

Building linear classifiers on high-dimensional data is ubiquitous part of machine learning (e.g., logistic regression after a fixed encoder, genetic analyses operate in billion dimensions).

Practitioners want to know how many training examples they need to ensure their training data (or evaluation data) is enough to well-represent a full data set. Alishahi & Phillips showed that if one used a regularizer, the relative error of the loss is bounded independent of dimension (super important when dimension is high, e.g., commonly d≥4096d \geq 4096), but only provided an upper bound. Our results improve upon this in two important ways:

  1. we lower the upper bound, so the practitioner knows they can have the same assurances with fewer samples than was known before.
  2. we show via lower bound that this number of samples is required, so a practitioner knows to preserve the same assurances they cannot use even fewer samples, no matter what sampling score is used or will be developed in the future.

Up to lower-order terms, the bound of Alishahi & Phillips was k3/ε2k^3/\varepsilon^2 and for logistic regression with standard ∥⋅∥22\| \cdot \|_2^2 regularizer, then our bound is k/ε2k/\varepsilon^2. Since this is a (1+ε)(1+\varepsilon)-relative error bound, then ε=0.1\varepsilon = 0.1 provides error up to 1010\\% in relative terms (e.g., loss of 0.01±0.0010.01 \pm 0.001), and we may want a relatively small regularization parameter 1/k1/k with k=1000k=1000. In this setting this improves the sample complexity of the problem from:

  • Alishahi & Phillips' upper bound: k3/ε2=1011k^3/\varepsilon^2 = 10^{11} (impractical)
  • our new tight bound: k/ε2=105k/\varepsilon^2 = 10^5 (doable)

For more modest k=100k=100, it is still striking:

  • Alishahi & Phillips' upper bound: k3/ε2=108k^3/\varepsilon^2 = 10^8 (still impractical)
  • our new tight bound: k/ε2=104k/\varepsilon^2 = 10^4 (doable)

That is, our bound changes this setting from an impractical upper bound into a reasonably practical and at the same time required, tight bound.

Previous bounds reported by Tolochinsky etal had an additional O(d2log⁡(n))O(d^2 \log(n)) or O(d)O(d) in Samadian etal, which would result in even more impractical guidance regarding the sample size guarantees which we now know are unnecessary.

We will include this example in our revision.

Also, we show that the choice of loss function and regularization function affects the achievable bounds. Prior work by Alishahi & Phillips, Tolochinsky et al., Samadian et al. showed the same bound for each combination, and did not provide indication that this choice really mattered -- other than it was monotonic. Our work shows this choice does matter, and materially determines the achievable bounds (and that ReLUs can be problematic!).

Again: our result is not a new algorithm. Instead, we show improved upper and lower bounds for the well-known sensitivity sampling approach (and uniform as special case); this is the same framework that all previous work built on: The "coresets" of Tocholinsky et al. and in Alishahi & Phillips sample points aa with weight proportional to k∥a∥2+c\sqrt{k}\|a\|_2 + c for some constant cc. We simplify this showing it works without the k\sqrt{k}. Even better, under the common assumption (dating back to classic bounds of Bartlett et al., and common in encoders, or if you apply layer normalization) if ∥a∥2<D\|a\|_2 < D for some absolute constant DD, then these "coreset" methods are asymptotically equivalent to uniform random sampling.

Put more plainly, our corollary for uniform sampling together with our lower bounds implies: If data norm is bounded, then "coresets" cannot asymptotically improve on uniform random sampling. So while it might be possible to improve by a small factor with weighted coreset sampling (as e.g., shown already in the Tolochinsky et al. and simplified in our paper, see above), this will not be asymptotically better than uniform and it will not grow with data size or dimension.

Moreover, our Section 2 makes explicit many algorithmic scenarios where these bounds can be exploited to provide efficient scalable algorithms outside the RAM model -- e.g., in streaming or distributed settings. These are new algorithmic observations.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…