potentialpaper

Near-Optimal Sample Complexity of Deterministic Agnostic PAC Learning

Shai Ben-David, Steve Hanneke, Farnam Mansouri, Amirreza Shaeiri

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 provide nearly tight bounds on the optimal sample complexity of agnostic PAC learning under deterministic labels for classes with finite diameter.

Abstract. We study the problem of agnostic PAC learning under deterministic labels, where the examples are labeled by an arbitrary deterministic function, which need not belong to the concept class C\mathcal{C}. This model captures misspecification without stochastic label noise and lies between the realizable and fully agnostic settings. Prior work showed that, when C\mathcal{C} has finite diameter KK and VC dimension dd, deterministic labels can improve the sample complexity upper bound from the classical agnostic guarantee O(d/ε2)\mathcal{O}(d/\varepsilon^2) to O~(K/ε)\widetilde{\mathcal{O}}(K/\varepsilon), but left a large gap between upper and lower bounds. Our main result sharpens this picture. We prove that every class of VC dimension dd and finite diameter KK is learnable with sample complexity $ \widetilde{\mathcal{O}}\left( \frac{K^{1/3} d^{2/3}}{\varepsilon} \right), $ and we construct classes for which this bound is tight up to logarithmic factors. We also study the online analogue of this problem and show that the minimax regret is again partly controlled by the diameter of the class. Technically, our upper bounds are obtained via memorization-based learning algorithms that exploit the deterministic label structure.

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]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

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

This work studies agnostic PAC learning under deterministic labels in the finite-diameter regime. The reviewers found the results interesting and significant, and provided a few suggestions on the presentation. I would agree with Reviewer nCCJ in that the paper appears to contain claims that are stronger than the actual results: The sample complexity is shown to be between (K1/3+d)/ϵ(K^{1/3} + d) / \epsilon and K1/3d2/3/ϵK^{1/3}d^{2/3} / \epsilon (treating δ\delta as a constant), and only match in certain parameter regimes (e.g., not when K≫dK \gg d). I would appreciate it if the authors clarify this in the response.

Final justification

The reviewers' assessments remain unanimously positive after brief discussion with the authors. I recommend acceptance, and would expect the authors to revise the title to clarify the scope of the results.

Area Chair kuck · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This work studies agnostic PAC learning under deterministic labels in the finite-diameter regime. The reviewers found the results interesting and significant, and provided a few suggestions on the presentation. I would agree with Reviewer nCCJ in that the paper appears to contain claims that are stronger than the actual results: The sample complexity is shown to be between (K1/3+d)/ϵ(K^{1/3} + d) / \epsilon and K1/3d2/3/ϵK^{1/3}d^{2/3} / \epsilon (treating δ\delta as a constant), and only match in certain parameter regimes (e.g., not when K≫dK \gg d). I would appreciate it if the authors clarify this in the response.

Final justification

The reviewers' assessments remain unanimously positive after brief discussion with the authors. I recommend acceptance, and would expect the authors to revise the title to clarify the scope of the results.

Reviewer nCCJOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/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

The paper studies agnostic PAC learning under deterministic labels that means y=f(x)y=f(x) is the labeling function. The paper present improved upper bonds on the sample complexity scaling with the VC dimension and the diameter of the concept. The authors also showed that the upper bound is tight for special concept classes.

Strengths and weaknesses

The problem is well motivated from the standpoint of learning theory. The improvements are interesting and technically a good contribution especially the combination of ERM with memorization and the two-concept case. Overall the paper is solid and well written.

My major issue is that the title and high level claims are stronger than what is fully established to some extent. The title claims the paper “settles” the dependence on K and d in the sense of worst-case upper bounds and matching constructed lower-bound examples, but the general lower bound for an arbitrary class does not contain such terms.

A minor comment.

  • in the proof of Claim 2 in Theorem 3.1, the case split uses conditions such as 2(μ−1)>γ2(\mu−1)>\gamma and 2(μ−1)≤γ2(\mu−1)\le \gamma, I am not sure if it was meant to be 2μ−12\mu-1.

typographical errors:

There are several typos and phrasing issues that should be fixed before publication.

  • line 281: we can can
  • line 295: the we have
  • line 546: descritize
  • line 649: “Note that For"
Questions

Q1. what about the time complexity of the learner? Is it efficient?

Q2. Can you give examples of nontrivial concepts for which KK is significantly smaller than dd implying that the new bound improves substantially ?

Limitations

N/A

Formatting concerns

N/A

2 comments
Authors · CommentOpenReview ↗

We thank the reviewer for dedicating their time to assess our work. We are happy that the reviewer found the problem well motivated from a learning-theoretic perspective and the paper well written and solid, and moreover, viewed our improvements as interesting and constituting a good technical contribution, particularly the combination of ERM with memorization and the analysis of the two-concept case.

Below, we address the points raised by the reviewer.

"My major issue is that the title and high-level claims are stronger than what is fully established to some extent. The title claims the paper “settles” the dependence on K and d in the sense of worst-case upper bounds and matching constructed lower bound examples, but the general lower bound for an arbitrary class does not contain such terms."

We thank the reviewer for pointing this out. We agree that the current title and some of our high-level claims may be interpreted as stronger than what is formally established by our results. By ``settling,'' we intended to mean that, up to logarithmic factors, we characterize the worst-case optimal sample complexity over concept classes with a given diameter KK and VC dimension dd, where the optimal sample complexity of each fixed class is itself defined in the standard PAC sense. More precisely, for every admissible pair (K,d)(K, d), our upper bound holds for every concept class with diameter KK and VC dimension dd, while we construct a concept class with these parameters for which the bound is tight up to logarithmic factors. Thus, among guarantees expressed solely in terms of the diameter and VC dimension, our upper bound is optimal up to logarithmic factors. We did not intend to claim matching upper and lower bounds for every individual concept class with diameter KK and VC dimension dd.

Nevertheless, we will revise the title to something along the lines of ``Sharp Sample Complexity Bounds for Deterministic Agnostic PAC Learning'' and update the corresponding statements throughout the paper to make this distinction clear in the final version.

"In the proof of Claim 2 in Theorem 3.1, the case split uses conditions ..."

We thank the reviewer for catching this minor error. The reviewer is correct: the intended case split in the proof of Claim 2 is

Case 1: 2μ−1<γ,Case 2: 2μ−1≥γ.\text{Case 1: } 2 \mu - 1 < \gamma, \qquad \text{Case 2: } 2 \mu - 1 \geq \gamma.

Indeed, in the first case, the inequality 2μ−1<γ2 \mu - 1 < \gamma, together with Claim 1 and the definition of γ\gamma, directly yields

LD(AS)<opt⁡C(D)+q(2γ−nS+μ2K+nS+μ)=opt⁡C(D)+ϵ.L_D(A_S) < \operatorname{opt}{\mathcal C}(D) + q \left( 2 \gamma - \frac{n_S^+ \mu^2}{K + n_S^+ \mu} \right) = \operatorname{opt}{\mathcal C}(D) + \epsilon.

In the second case, 2μ−1≥γ2 \mu - 1 \geq \gamma is precisely the condition used in the Hoeffding argument to show that the ERM selects h1h_1 with high probability. Thus, this is only a typographical error and does not affect the proof or the statement of the result. We will correct it in the final version.

"What about the time complexity of the learner? Is it efficient?"

We thank the reviewer for raising this question. Our results are information-theoretic and do not, in general, provide a polynomial-time learning algorithm. For finite concept classes, our learner consists of an ERM followed by memorization. Once the ERM has been computed, the additional computational overhead of memorization is modest: the learner stores the observed examples and checks at prediction time whether the queried point has previously appeared. Thus, in this case, the principal computational bottleneck is the ERM step. For general VC classes, our proof first forms the set of all labelings induced by the concept class on an auxiliary sample and then selects one representative concept for each such labeling. For an arbitrary VC class, neither enumerating these induced labelings nor finding the corresponding representative concepts is guaranteed to be computationally efficient.

However, the above computational barrier is not specific to our construction. Even for linear halfspaces, exact empirical risk minimization under the 00-11 loss is NP-hard when the dimension is part of the input. Moreover, known hardness results rule out efficient proper distribution-free agnostic learning of halfspaces under standard complexity assumptions. In contrast, efficient algorithms are possible under additional assumptions on the marginal distribution and/or the noise model. It is therefore a natural direction for future work to identify settings in which our information-theoretic sample complexity bounds can also be attained by computationally efficient algorithms.

Authors · CommentOpenReview ↗

"Can you give examples of nontrivial concepts for which KK is significantly smaller than dd, implying that the new bound improves substantially?"

We thank the reviewer for this question. We first note that, for every concept class of finite diameter, one necessarily has d≤Kd \leq K. Indeed, if a set of dd points is shattered, then the concepts realizing the all-zero and all-one labelings on this set disagree on all dd points, and hence the diameter is at least dd. Therefore, the regime in which KK is significantly smaller than dd cannot occur. We believe the reviewer intended to ask for natural examples in which KK is significantly larger than dd, so that our upper bound substantially improves over the previous O~(K/ϵ)\widetilde{O}(K/\epsilon) guarantee.

A natural example is the class of intervals of bounded length over the infinite domain Z\mathbb{Z}. For L≥2L \geq 2, define

C_L = \left \\{ h_{a,b}(x) = \mathbf{1} \\{ a \leq x \leq b \\} \ | \ a, b \in \mathbb{Z}, \ b - a + 1 \leq L \right \\}.

This class has VC⁡(CL)=2\operatorname{VC}(C_L) = 2, and D⁡(CL)=2L\operatorname{D}(C_L) = 2L. In particular, the VC dimension is 22, as for the class of intervals, while the diameter equals 2L2L: any two concepts have supports of size at most LL, so their symmetric difference has size at most 2L2L, and this value is attained by two disjoint intervals of length LL. Consequently, the diameter can be arbitrarily larger than the VC dimension.

Now, suppressing logarithmic factors, the previous upper bound gives

O~(Lϵ),\widetilde{O} \left(\frac{L}{\epsilon}\right),

whereas our bound gives

O~(L1/3ϵ).\widetilde{O} \left(\frac{L^{1/3}}{\epsilon}\right).

Thus, our result yields a polynomial improvement for this natural family of concept classes. We will add this example and the corresponding comparison to the revised version of the paper.

Typographical errors.

We thank the reviewer for pointing out the typographical errors. We will carefully correct them in the final version of the paper.

Finally, once again, we thank the reviewer for taking the time to assess our work. We hope that this rebuttal addresses the points raised in the review, and we would be happy to discuss any further questions.

Reviewer mB6pOpenReview ↗
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 paper studies the problem of PAC learning in the agnostic setting under a deterministic label function. In this problem, samples are generated from a distribution DD over X×YX \times Y where X is the instance space and Y is the binary label space. Moreover, there is a fixed function f:X→Yf:X \rightarrow Y that generates this label deterministically. The goal is to output a distribution from some concept class C which approximates D, where f may not belong to C. The problem of agnostic learning under deterministic label functions was introduced by (Ben-David and Urner, 14) and there have been several followup works in this context.

The work of (Ben-David and Urner, 14) showed that if the diameter of the concept class C is finite, it can be learned using O~(D(C)/ϵ)\tilde{O}(D(C)/\epsilon) samples, where D(C) denotes the diameter of C. The corresponding lower bound is Ω(VC(C)/ϵ)\Omega(VC(C)/\epsilon) from the work of (Ehrenfeucht, Haussler, Kearns, and Valiant, 89), where VC(C) denotes the VC-dimension of C. Thus, there is a wide gap between the upper and lower bounds. This work makes significant progress in this context.

The authors show that when both the diameter and the VC-dimension are bounded, this can be learned using O~(K1/3d2/3/ϵ)\tilde{O}(K^{1/3}d^{2/3}/\epsilon) samples where VC(C)=dVC(C)=d and D(C)=kD(C)=k. They also show that there exists a concept class where this bound is tight (Theorem 1.1). Later, they extend this result to the online learning framework and showed that the expected minimax regret behaves linearly with D(C) (Theorem 1.2). Finally, the authors introduce two new combinatorial complexity parameters SET-VC and PERT-VC and first express the result of (Ben-David and Urner, 14) and also prove a new result in the infinite diameter regime in terms of these parameters (Theorem 1.3).

The upper bound result of Theorem 1.1 follows from using empirical risk minimizer (ERM) with memoization. The authors first study the case when the concept class has only two functions (Theorem 3.1) and then generalize this result to finite concept classes by going over all possible pairs of classes (Theorem B.2) and VC-classes using a finite cover technique of (Hopkins, Kane, Lovett, and Mahajan, 22) in Theorem B.3. Interestingly, their approach deviates from that of (Ben-David and Urner, 14), which only uses memorization.

For proving the lower bound, note that due to memorization, the hardness must be associated with the non-sampled support of the distribution. The lower bound construction assigns uniform mass over a large support and then assigns the labels based on biased coins with the bias chosen uniformly at random. As a result, the best concept in the class can not approximate this well. This is formally proved in Appendix C.

Strengths and weaknesses

Strengths:

  1. I think this is an interesting result, which makes significant progress by presenting a new algorithm with improved bounds, which is also tight.
  2. Their main result generalizes to the online learning setting as well.
  3. Their main algorithmic approach uses ERM with memorization, which is new and might be used in other contexts as well.

Weakeness:

  1. The overview of the lower bound result needs to be a bit more polished and coherent. Currently, it covers a lot of prior works along with the lower bound overview. I think a separate prior work would be better.

  2. The entire lower bound results are presented in the appendix, and several standard definitions are presented in the main text (Section 2.2). I think it would be better to have a more detailed lower bound section in the main paper.

Questions
  1. Can you give a more detailed overview and intuition of the lower bound proofs in Theorem C.1 and Theorem C.2 in Appendix C?

  2. There are some typos: (i) ϵ\epsilon and ε\varepsilon are both used. (ii) remove extra "can" in Line 281

Limitations

NA

Final justification

I thank the authors for adequately addressing my comments. Overall, the paper’s results are interesting, in particular the use of ERM with memorization. My only concern is the coherence of the paper's writing. I recommend weak acceptance.

Formatting concerns

NA

4 comments
Authors · CommentOpenReview ↗

We thank the reviewer for dedicating their time to assess our work. We are happy that the reviewer found our result interesting, and moreover, recognized that it makes significant progress by introducing a new algorithm—ERM augmented with memorization—that may be of independent interest and achieves improved bounds that are also tight.

Below, we address the points raised by the reviewer.

"The overview of the lower bound result needs to be a bit more polished and coherent. Currently, it covers a lot of prior works along with the lower bound overview. I think a separate prior work would be better."

"The entire lower bound results are presented in the appendix, and several standard definitions are presented in the main text (Section 2.2). I think it would be better to have a more detailed lower bound section in the main paper."

"Can you give a more detailed overview and intuition of the lower bound proofs in Theorem C.1 and Theorem C.2 in Appendix C?"

We thank the reviewer for these helpful suggestions. We agree that the current presentation does not sufficiently separate the discussion of prior work from the technical overview of the lower bounds, and that the main text should devote more space to the lower bound arguments. In the final version of our paper, we will clearly separate the related-work discussion from the technical overview of the lower bounds, polish the current lower bound overview, and add a dedicated lower bound section to the main body. This section will explain the hard-instance construction, the roles of the parameters, including qq and γ\gamma, the underlying information-theoretic reduction, and the distinction between the one-bit construction in Theorem C.1 and the dd-bit block construction in Lemma C.2. We now provide a more detailed overview and intuition below.

The principal difficulty is that, under deterministic labels, observing a point reveals its label. In particular, repeated occurrences of the same point provide no additional evidence about its label that can be exploited in a lower bound construction. Consequently, the hardness must be concentrated on a sufficiently large collection of points that remain unseen by the learner, who is unsure of their labels.

Both proofs place a small total probability mass qq uniformly over kk points and place the remaining mass on an anchor point at which the relevant concepts agree. The labels of the rare points are generated using slightly biased coins with a bias magnitude γ\gamma, but each label is sampled only once and is then fixed. Thus, every realization of the construction defines a genuinely deterministically labeled distribution. The randomization is used only as an auxiliary device in the lower bound argument, and a final application of the probabilistic method fixes one deterministic labeling on which the learner fails.

The parameters qq and γ\gamma play complementary roles. The total mass of the rare region qq controls its importance, while γ\gamma controls the advantage of the concept aligned with the hidden bias. We choose qγ=C2ϵq\gamma = C_2\epsilon for a sufficiently large universal constant C2C_2, so that predicting in the wrong biased direction on a constant fraction of the unseen rare points creates an excess error of order qγq\gamma that is larger than ϵ\epsilon.

The proof must then balance two requirements. First, sufficiently many rare points must remain unseen. More specifically, let MM denote the number of distinct rare points observed in the sample. Since the learner may memorize the labels of these points, the excess error gap resulting from the relevant estimation error—an incorrect hidden sign in Theorem C.1 or errors on a constant fraction of the hidden coordinates in Lemma C.2—has, schematically, the form

Ω(qγ)−O(qMk).\Omega(q\gamma) - O\left(\frac{qM}{k}\right).

Therefore, to preserve a gap of order qγq\gamma, we require M∈O(γk)M \in O(\gamma k). The quantity MM is at most the number of samples falling in the rare region, whose expectation is nqnq. Thus, imposing

nq≲γknq \lesssim \gamma k

allows the corresponding concentration argument in each proof to ensure that M∈O(γk)M \in O(\gamma k) with the required probability. Using q=C2ϵ/γq = C_2\epsilon/\gamma, this becomes

nϵγ≲γk,\frac{n\epsilon}{\gamma} \lesssim \gamma k,

or equivalently,

n≲kγ2ϵ.n \lesssim \frac{k\gamma^2}{\epsilon}.

Second, the sample must contain insufficient information to estimate the hidden parameter. Each distinct observed rare point contributes only O(γ2)O(\gamma^2) to the relevant information quantity—KL divergence in Theorem C.1 and mutual information in Lemma C.2. Since the expected number of distinct observed rare points is at most nqnq, this information quantity is at most

O(nqγ2)=O(nϵγ).O(nq\gamma^2) = O(n\epsilon\gamma).

To keep the corresponding estimation problem hard, we require

nϵγ≲B,n\epsilon\gamma \lesssim B,

or equivalently,

n≲Bϵγ,n \lesssim \frac{B}{\epsilon\gamma},

where BB is the relevant information budget.

Authors · CommentOpenReview ↗

These two constraints can be summarized as

n \lesssim \min \left \\{ \frac{B}{\epsilon\gamma}, \frac{k\gamma^2}{\epsilon} \right \\}.

Balancing the two terms gives

γ≍(Bk)1/3,n≍k1/3B2/3ϵ.\gamma \asymp \left(\frac{B}{k}\right)^{1/3}, \qquad n \asymp \frac{k^{1/3}B^{2/3}}{\epsilon}.

The two lower bounds instantiate this common mechanism with different hidden parameters and information budgets. In the principal regime log⁡(1/δ)≲k\log(1/\delta) \lesssim k of Theorem C.1, the hidden parameter is a single sign and the relevant information budget is B=log⁡(1/δ)B = \log(1/\delta); a binary testing argument then yields the diameter-confidence term

k1/3log⁡2/3(1/δ)ϵ.\frac{k^{1/3}\log^{2/3}(1/\delta)}{\epsilon}.

The complementary regime and the additional confidence term are handled using the standard realizable PAC lower bound. In Lemma C.2, the kk rare points are partitioned into dd blocks, the hidden parameter is a dd-dimensional sign vector, and the relevant information budget is B=dB = d; this yields the joint dependence

k1/3d2/3ϵ.\frac{k^{1/3}d^{2/3}}{\epsilon}.

Typos

We thank the reviewer for pointing out the typographical errors. We will carefully correct them in the final version of the paper.

Finally, once again, we thank the reviewer for taking the time to assess our work. We hope that this rebuttal addresses the points raised in the review, and we would be happy to discuss any further questions.

Reviewer mB6p · CommentOpenReview ↗

Reviwer's response

I thank the authors for their response. I suggest that the authors to make these changes in the final version.

Authors · CommentOpenReview ↗

We thank the reviewer for taking the time to reconsider our work. For the final version, we will carefully revise the paper according to the points discussed above.

Reviewer EuayOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/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 investigates the sample complexity of agnostic PAC learning under deterministic labels. This model lies between the standard realizable and agnostic PAC learning models. In this model, an arbitrary deterministic function generates the labels.

In the infinite diameter setting, this model's optimal general bounds are the same as those for general agnostic learning. Prior work (Ben-David and Urner 2014) showed that, when the diameter D(C) of the concept class is infinite, learning under this model has an Omega(d/\epsilon^2 + log(1/delta)/epsilon^2) lower bound (for every d), matching general agnostic learning. Prior work (Talagrand 1994) for general agnostic learning showed a matching upper bound.

In the finite diameter setting, the best bounds from prior work were \tilde{O}(D(C)/epsilon) and the Omega(d/epsilon + log(1/delta)/epsilon) bound from realizable PAC learning.

This paper improves the upper and lower bounds of agnostic PAC learning under deterministic labels in the finite diameter setting. The main results are stated on page 2, in Theorem 1.1.

The lower bound is roughly Omega((K + d + log(1/\delta))/epsilon), and the upper bound is roughly O((K^(1/3) d^(2/3) + K + log(1/delta))/epsilon). The upper bound is tight as K gets large (i.e., roughly) there is a concept class that makes the upper bound tight, once K is larger than some finite K_0 and d).

The upper bound is by analyzing an empirical risk minimizer that also uses memorization. The upper bound argument for a concept class with two concepts appears partially in the main body, while the remaining arguments are differed to the appendices. The lower bound argument biases the labels slightly away from 1/2, and places the these biased labels on many points. An algorithm solving this instance, that does not use sufficient samples, information theoretically cannot find these many hidden points, and thus must correctly guess the label bias direction (without sufficient data).

This paper contributes to work, some in the last 5 years, on better understanding the role of memorization in (PAC) learning. This paper also gives regret bounds for online learning (in the deterministic label model) in terms of the diameter.

Strengths and weaknesses

Quality: The proofs appear to be logically sound, although I was not able to verify the whole paper.

Clarity: The introduction of the paper explained the problem setting and prior work fairly well. The proof intuitions could be improved. I would suggest, whenever a claim/lemma/theorem is introduced, including a short explanation of what the claim says, and why (intuitively) it is true.

Significance: This paper matches the upper and lower bounds for agnostic PAC learning under deterministic labels, in the finite-diameter setting. This essentially resolves this problem. The techniques and arguments contribute to our general understanding (or lack of understanding) of the role of memorization in learning. Also, according to the authors, this paper gives a new analysis strategy for the upper bound: first, consider a concept class with 2 concepts, and then generalize to general concept classes.

Originality: See significance. This paper uses a new upper bound strategy.

Questions

A general criticism of PAC learning (and its variants) is that it doesn't adequately capture when learning is easy or hard "in the real world." The authors mentioned the use of memorization in learning (lines 106-116) beyond the setting of PAC learning. Could the study memorization in the PAC setting, help us better understand the role of memorization in modern learning (e.g., LLMs)? What would be some plausible concrete steps, both in the study of PAC learning and the study of LLMs, that researchers could take to possibly bridge this gap (if bridgeable)?

I recognize that the previous questions are quite speculative and the authors likely do not have definitive answers. Nevertheless, I would appreciate it if the authors could give their best attempt.

Minor comments:

For clarity, it could help to include intuitive definitions or examples for SET-VC and PERT-VC, especially since these are the subject of the open question on line 154.

Similarly, the quantity gamma on line 292 could be better motivated: why did we define gamma this way for the argument? What is crucial about this quantity?

For Claims 1-3 (page 8), it could help if these claims were briefly explained in words and intuitively justified (even though the proofs appear shortly after).

Possible typo:

In the casework in the proof of Claim 2, on lines 309 and 311, should the cases should say the following?

Case 1: 2\mu - 1 < \gamma Case 2: 2\mu - 1 >= \gamma

Limitations

Yes

Formatting concerns

N/A

2 comments
Authors · CommentOpenReview ↗

We thank the reviewer for dedicating their time to assess our work. We are happy that the reviewer found the introduction fairly well written and our proofs logically sound, and moreover, noted that we essentially resolve the problem through a new upper bound technique that contributes to our general understanding of the role of memorization in learning.

Below, we address the points raised by the reviewer.

"The proof intuitions could be improved. I would suggest, whenever a claim/lemma/theorem is introduced, including a short explanation of what the claim says, and why (intuitively) it is true."

We thank the reviewer for this very helpful suggestion. We completely agree with the reviewer. In the final version of our paper, we will add a brief explanation before each claim, lemma, and theorem, describing what it states and why it is intuitively true.

"A general criticism of PAC learning (and its variants) is that it doesn't adequately capture when learning is easy or hard "in the real world." The authors mentioned the use of memorization in learning (lines 106-116) beyond the setting of PAC learning. Could the study of memorization in the PAC setting help us better understand the role of memorization in modern learning (e.g., LLMs)? What would be some plausible, concrete steps, both in the study of PAC learning and the study of LLMs, that researchers could take to possibly bridge this gap (if bridgeable)? I recognize that the previous questions are quite speculative, and the authors likely do not have definitive answers. Nevertheless, I would appreciate it if the authors could give their best attempt."

We thank the reviewer for this excellent and thought-provoking question.

To begin, we note that more realistic learning models include the universal learning framework of Bousquet et al., which allows distribution dependency in the error rate, and the framework of partial concept classes, which can capture additional structures such as margins. Notably, recent results in both frameworks go beyond the uniform convergence analyses as needed. Another relevant direction is the recent line of work on autoregressive chain-of-thought learning. However, the critical point is that these frameworks are themselves developed based on principles originating in the PAC learning framework. Thus, understanding memorization first in the PAC learning framework seems to us a natural first step toward studying it in these more realistic models. At the same time, even these frameworks remain far from providing a complete explanation of modern systems such as LLMs. Another possible direction is learning within a structured class of distributions. This may be more realistic, since real-world distributions may possess special structure, although that structure can be difficult to characterize; at the same time, recent work shows that the resulting theory can be highly challenging. Nevertheless, this direction also remains connected to the PAC learning framework. We therefore view our result as a first step, with universal, partial, and autoregressive models as natural immediate directions, while recognizing that a substantial gap remains before reaching a satisfactory theory of LLMs.

From another viewpoint, PAC learning provides a clean framework in which we can develop intuition. The central role of ERM in the theory of PAC learning is one example. For us, it is particularly striking that this small change in the PAC learning framework makes memorization relevant. Intuitively, our results imply that memorization allows the learner to handle observed exceptions without requiring the benchmark concept to explain them. This suggests that memorization may not be a source of overfitting. Moreover, this perspective is also related to the works on memorization cited in our paper. In conclusion, we find it notable that, even in an idealized PAC learning framework, such a small change can make memorization a central ingredient in obtaining sharper learning guarantees.

Authors · CommentOpenReview ↗

For clarity, it could help to include intuitive definitions or examples for SET-VC and PERT-VC, especially since these are the subject of the open question on line 154.

We thank the reviewer for this helpful suggestion. We agree that such examples would be very useful, especially since they are the subject of the open question. Below, we provide an example and a short discussion.

For any d∈Nd \in \mathbb N, consider the following class over the natural numbers:

H_d =\left \\{ h \in \\{0,1\\}^{\mathbb N}: \exists i\in\mathbb N \text{ such that } \forall x \geq d,\ h(x)=\mathbf 1\\{x\leq i\\} \right \\}.

We have

VC(Hd)=d,PERT−VC(Hd)=SET−VC(Hd)=1.VC(H_d)=d, \qquad PERT-VC(H_d)=SET-VC(H_d)=1.

Indeed, the first d−1d - 1 points can be labeled arbitrarily, while the restriction of the class to the remaining points is a threshold class. Thus, HdH_d can shatter the first dd points together with one additional point, but it cannot shatter d+1d+1 points. Next, it is easy to see that PERT−VC(Hd)≥SET−VC(Hd)≥1.PERT-VC(H_d)\geq SET-VC(H_d)\geq 1. Furthermore, every function in HdH_d has a Hamming distance of at most d−1d-1 from a threshold function. Therefore, we have PERT−VC(Hd)≤1.PERT-VC(H_d)\leq 1.

In contrast, for several natural classes over continuous domains, such as linear classifiers and decision trees, we have PERT−VC=SET−VC=VCPERT-VC=SET-VC=VC, where the latter equality has already been observed in prior work.

We will include the above example, together with some others, in the final version of our paper.

Similarly, the quantity gamma on line 292 could be better motivated: why did we define gamma this way for the argument? What is crucial about this quantity?

"For Claims 1-3 (page 8), it could help if these claims were briefly explained in words and intuitively justified (even though the proofs appear shortly after)."

Recall that qq is the total probability mass of the disagreement region between the two concepts, while pS+p_{\mathcal S}^{+} is the mass of the positive points in this region that are observed and memorized. Thus, pS+/qp_{\mathcal S}^{+}/q is the normalized mass memorized within the disagreement region. Moreover, μ\mu is the fraction of the probability mass in this region that is assigned a positive label, and nS+n_{\mathcal S}^{+} is the number of sampled examples whose instances fall in the disagreement region.

Claim 1 gives, for any choice of γ>0\gamma>0, a high-probability lower bound on the memorized mass pS+/qp_{\mathcal S}^{+}/q. The parameter γ\gamma then serves as a threshold for the bias 2μ−12\mu-1 between the two concepts in the disagreement region.

Claim 2 considers two cases. If 2μ−1<γ2\mu-1<\gamma, the two concepts have similar errors in the disagreement region. In this case, Claim 1 shows that memorization alone compensates for the difference between them, regardless of which concept is selected by the ERM. The particular value of γ\gamma is chosen so that the resulting excess error is at most ϵ\epsilon. On the other hand, if 2μ−1≥γ2\mu-1\geq\gamma, the difference between the two concepts is sufficiently large that, once nS+=Ω~(1γ2),n_{\mathcal S}^{+} =\widetilde{\Omega}\left(\frac{1}{\gamma^2}\right), the ERM selects the better concept with high probability.

Finally, Claim 3 is an algebraic argument that converts the requirement nS+=Ω~(1γ2)n_{\mathcal S}^{+}=\widetilde{\Omega}\left(\frac{1}{\gamma^2}\right) into a bound on the total number of samples, uniformly over the mass qq of the disagreement region. This yields the stated sample-complexity bound.

We thank the reviewer for this suggestion. We agree that the above intuition would be helpful, and we will add it to the next version of our paper.

"In the casework in the proof of Claim 2, on lines 309 and 311, should the cases should say the following? Case 1:2μ−1<γ1: 2\mu - 1 < \gamma, and Case 2:2μ−1>=γ2: 2\mu - 1 >= \gamma."

We thank the reviewer for catching this minor error. The reviewer is correct: the intended case split in the proof of Claim 2 is

Case 1: 2μ−1<γ,Case 2: 2μ−1≥γ.\text{Case 1: } 2 \mu - 1 < \gamma, \qquad \text{Case 2: } 2 \mu - 1 \geq \gamma.

Indeed, in the first case, the inequality 2μ−1<γ2 \mu - 1 < \gamma, together with Claim 1 and the definition of γ\gamma, directly yields

LD(AS)<opt⁡C(D)+q(2γ−nS+μ2K+nS+μ)=opt⁡C(D)+ϵ.L_D(A_S) < \operatorname{opt}{\mathcal C}(D) + q \left( 2 \gamma - \frac{n_S^+ \mu^2}{K + n_S^+ \mu} \right) = \operatorname{opt}{\mathcal C}(D) + \epsilon.

In the second case, 2μ−1≥γ2 \mu - 1 \geq \gamma is precisely the condition used in the Hoeffding argument to show that the ERM selects h1h_1 with high probability. Thus, this is only a typographical error and does not affect the proof or the statement of the result. We will correct it in the final version.

Finally, once again, we thank the reviewer for taking the time to assess our work. We hope that this rebuttal addresses the points raised in the review, and we would be happy to discuss any further questions.

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

Missing a submission?

Loading the discussion…