Boosting converts weak hypotheses with a small edge over random guessing into highly accurate predictors, but the expressive power of the resulting classifier can depend strongly on the structure of the base class. We study this phenomenon through the γ-VC dimension introduced by Alon et al. (STOC 2021). Our first result shows that this parameter characterizes the sample complexity for weak-to-strong learning up to a constant factor scaling in γ. We then sharpen the general relationship between the classic VC dimension and the γ-VC dimension. Finally, we also give improved upper and lower bounds on the γ-VC dimension for the fundamental concept classes of decision stumps and axis-parallel rectangles in Rd.
1 Introduction
Boosting is one of the central paradigms in learning theory. In its classical formulation, one is given access to a weak learner: an algorithm which, for every distribution over labeled examples generated by an unknown target concept, returns a hypothesis whose error is bounded away from 1/2 by some edge parameter γ/2∈(0,1/2). The goal is to convert such a weak learner into a strong learner, whose error can be made arbitrarily small. The question of whether weak learnability and strong learnability are equivalent was raised by Kearns and Valiant [1988, 1994] and answered affirmatively by Schapire [1990]. This line of work culminated in the AdaBoost algorithm of Freund and Schapire [1997], which remains one of the most influential algorithms in machine learning.
At a high level, boosting works by repeatedly training weak classifiers and combining their predictions into a single final classifier. Each weak classifier may only be slightly better than random guessing, but the training procedure adaptively focuses attention on examples that previous classifiers handled poorly. The final prediction is then obtained by a weighted vote of the weak classifiers, or sometimes using more elaborate aggregation rules. Thus, boosting transforms a collection of simple, moderately accurate hypotheses into a highly accurate aggregate predictor.
A key motivation for boosting is that the weak hypotheses are intended to be simple “rules of thumb”. In both theory and practice, the base class is often taken to be a very simple and efficiently learnable class, such as decision stumps, small decision trees, or other low-complexity classifiers. Decision stumps are particularly canonical: they depend on a single feature and a single threshold, and already in early experimental evaluations of AdaBoost they were used as a standard base hypothesis class [Freund and Schapire, 1996, 1999]. From this perspective, the central question is not merely whether weak learners can be boosted, but what can be learned by boosting hypotheses from a fixed simple base class.
A fundamental question in weak-to-strong learning is how many samples are needed to carry out this transformation. Larsen and Ritzert [2022] gave a sharp answer in terms of the VC dimension of the base class: if the base class H has VC dimension VC(H), then there is a boosting algorithm using
O(εγ2VC(H)+εlog(1/δ))(1)
samples to obtain error at most ε with confidence 1−δ. Their upper bound is obtained by combining AdaBoost with a subsampling technique of Hanneke [2016], or with Bagging [Breiman, 1996, Larsen, 2023]. Moreover, Larsen and Ritzert [2022] showed that for every integer d=Ω(log(1/γ)), there exists a base hypothesis class H with VC(H)≤d for which the sample complexity bound is tight.
This result gives a complete worst-case answer when the only parameter of the base class is its VC dimension. However, their lower bound only holds for some specifically designed classes, leaving room for improvements for very simple (low VC dimension) base classes. Furthermore, it does not capture the more refined structure of a particular base hypothesis class. In particular, VC dimension measures the difficulty of learning the base hypothesis class itself, while boosting is concerned with the expressive power obtained by aggregating many hypotheses from the base class, most often via majority voting. This distinction holds particular significance for simple base classes in the boosting context, such as decision stumps, whose ordinary VC dimension is small but whose boosted expressivity can be substantially richer.
The expressivity question was introduced and studied by Alon et al. [2023], who introduced the concept of γ-VC dimension.
Definition 1.1 ( γ-VC dimension). Let γ∈(0,1]. Let H⊆{±1}X be a hypothesis class. A sample S=((x1,y1),…,(xn,yn)) is γ−realizable with respect to H if for any probability distribution Q over S, there exists a hypothesis h∈H such that,
corrQ(h):=E(x,y)∼Q[y⋅h(x)]≥γ.
A distribution D over X×{±1} is called γ-realizable by H if any i.i.d. sample drawn from D is γ-realizable with respect to H.
A set {x1,…,xd}⊆X is γ-interpolated by H if for any concept c:X→{±1}, the sample S=((x1,c(x1)),…,(xd,c(xd))) is γ-realizable with respect to H.
The γ-VC dimension of H, denoted by VCγ(H), is the maximum size of a set which is γ-interpolated by H. If there exist sets of arbitrary large size that are γ-interpolated by H, then we define VCγ(H)=∞.
For γ=1, this recovers the usual VC dimension. For smaller γ, it measures how rich a family of target concepts can be weakly represented, with edge γ, by the base class. Besides, E(x,y)∼Q[y⋅h(x)]≥γ is equivalent to P(x,y)∼Q[h(x)=y]≤(1−γ)/2, so γ-realizability is equivalent to weak learnability with edge γ.
This parameter not only measures expressivity; it also characterizes the sample complexity of weak-to-strong learning. To see the lower bound, let P be a set of size VCγ(H) that is γ-interpolated by H. Then every labeling c:P→{±1} is γ-realizable with respect to H: for every distribution D over P, there is an h∈H such that
Ex∼D[c(x)h(x)]≥γ.
Thus the class of all labelings of P is weakly learnable with edge γ using the base class H. Any weak-to-strong learner that succeeds for all such weakly learnable targets must therefore, in particular, PAC learn the full class {±1}P. The standard VC lower bound for realizable PAC learning implies that
Ω(εVCγ(H)+log(1/δ))
samples are necessary. For completeness, we have included a formal and self-contained proof of this lower bound in Section 6.2.
Prior work gives a matching information-theoretic upper bound. Alon et al. [2021] developed a theory of PAC learning for partial concept classes, showing that finite VC dimension of partial concept classes characterizes learnability in this setting. Subsequent work of Aden-Ali et al. [2023] gave optimal PAC bounds for partial concept classes using aggregations of the one-inclusion graph algorithm. Applied to the γ-margin partial class associated with the base hypothesis class H, this yields sample complexity
O(εVCγ(H)+log(1/δ)).
However, this route goes through general-purpose algorithms for partial concept classes, based on the one-inclusion graph, which are transductive and can be computationally impractical for the classes arising from boosting. Moreover, such an algorithm based on partial concept classes would need full knowledge of the base class and cannot be implemented solely from oracle access to a weak learner. We refer the reader to [Alon et al., 2021] for a formal definition of partial concept classes and the γ-margin partial class.
Boosting and γ-VC Dimension. Our first result shows that, up to a constant factor scaling in γ, the optimal weak-to-strong learning sample complexity above can be achieved by a boosting-style algorithm using only a weak learner. This is important from an algorithmic perspective: boosting does not require knowledge of the rich γ-margin partial concept class associated with a simple base class H, but only repeatedly calls a procedure for finding simple hypotheses with nontrivial advantage and aggregates their predictions. This is the same computational principle that makes boosting efficient in practice. More precisely, we prove a uniform convergence theorem for large-margin voting classifiers in which the usual VC-dimension dependence is replaced by VCCγ(H), for a universal constant C∈(0,1). Plugging this into the weak-to-strong framework developed in [Larsen and Ritzert, 2022] and combined with Bagging in [Larsen, 2023], yields the following guarantee.
Theorem 1.2. There is a universal constant C∈(0,1) such that the following holds. Suppose W is a γ-weak learner with base class H, and let dCγ=VCCγ(H). Then the BAGGEDADABOOST algorithm, using W, satisfies the following guarantee. For every distribution D over X×{±1} that is γ-realizable by H, and every δ∈(0,1), given n i.i.d. samples from D, the algorithm returns a classifier with error at most
O(ndCγ+log(1/δ))
with probability at least 1−δ. Equivalently, error at most ε is achieved with O(εdCγ+log(1/δ)) samples.
As margins are central to our analysis and algorithm, we now formally define margins. Given a weighted vote of weak classifiers f=∑iwihi for which hi∈{±1}X for an input domain X, wi≥0 and ∑iwi=1, the margin of the final voting classifier f^=sign(f) on an example (x,y)∈X×{−1,1} is defined as y⋅f(x), which can be thought of as a measure of confidence in the prediction. Classic algorithms like AdaBoost have been shown to produce voting classifiers with Ω(γ) margins on all training samples after sufficiently many iterations [Schapire and Freund, 2012]. Large margins may in turn be used to prove generalization, see e.g. [Schapire et al., 1998, Breiman, 1999, Gao and Zhou, 2013, Høgsgaard and Larsen, 2025, Larsen and Schalburg, 2025]. Large margin voting classifiers and a set of samples S being γ-realizable are intimately connected through von-Neumann's minimax principle. In particular, if S is γ-realizable by H, then there exists a voting classifier over weak classifiers from H with margins γ on all samples in S.
Theorem 1.2 strongly motivates the study of the γ-VC dimension and how large it is for various concept classes. Moreover, as mentioned above, the algorithm BAGGEDADABOOST (see Algorithm 1) is extremely efficient. It samples O(ln(n/δ)) independent subsamples St from S. Each St consists of n independent samples with replacement from S. It then runs the classic AdaBoost algorithm on each St until all margins have reached Ω(γ) (which happens after O(γ−2logn) calls to the weak learner [Schapire and Freund, 2012]) and combines the resulting voting classifiers via a majority vote.
Algorithm 1: BAGGEDADABOOST(S, W, δ)
Input: Training set S=((x1,y1),…,(xn,yn)). Weak learner W. Failure probability
0<δ<1.
Result: Hypothesis g:X→{−1,1}.
1 for t=1,…,O(ln(n/δ)) do
2 Let St be a set of n independent samples with replacement from S.
3 Run AdaBoost on St with W until all margins are Ω(γ). Let ft:X→{−1,1} be the resulting voting classifier.
4 f^←sign(∑tft).
5 return f^
VC-Dimension and γ-VC Dimension. A fundamental goal is to understand the relationship between the classic VC dimension and the γ-VC dimension. Here Alon et al. [2023] proved the following upper bound 1 for all concept classes
VCγ(H)=O(γ2VC(H)logγVC(H)logγ1),
They also showed that this is nearly tight for some classes. More precisely, for every s∈N, there is a hypothesis class H with VC(H)=O(slog(1/γ)) such that
VCγ(H)=Ω(γ2s)=Ω(γ2logγ1VC(H)),
Our next contribution is to remove the logarithmic factors from both the upper and lower bounds.
Theorem 1.3. Let H⊆{±1}X be a hypothesis class. Then, for every γ∈(0,1],
VCγ(H)=O(γ2VC(H)).
Moreover, for every d=Ω(log(1/γ)), there is a hypothesis class H with VC(H)≤d such that
VCγ(H)=Ω(γ2d).
A natural question is whether the lower bound on VC(H) in terms of γ in the lower bound above is necessary. Perhaps surprisingly it is, the requirement cannot be simply dropped. Alon et al. [2023]
1Their paper states the bound without the last log(1/γ) factor, but inspecting their proof [Alon et al., 2023, Page 34], the actual dependency has the additional log(1/γ) factor.
showed that for any base hypothesis class H with VC(H)=d, the following alternative upper bound on VCγ(H) also holds
VCγ(H)=Od((γ1)2−d+12),
where Od(⋅) hides factors depending only on d. For every fixed d, the bound above implies VCγ(H)=o(γ−2). Consequently, the lower bound Ω(d/γ2) cannot hold for all d and γ.
In light of Theorem 1.3, the fastest possible growth of VCγ(H) as a function of d and γ is, up to constants, d/γ2. Combined with Theorem 1.2, this recovers the VC-based worst-case sample complexity bound for weak-to-strong learning from (1). However, the point of introducing VCγ is that it can be much smaller for specific weak-learner classes. This leads to a more refined question: what is VCγ(H) for the simple base classes often used in boosting?
Expressivity of Simple Concept Classes. We first study the prototypical class of decision stumps in Rd. Alon et al. [2023] proved
Ω(1/γ)≤VCγ(DSd)≤O(d/γ),
where DSd denotes the class of decision stumps in Rd. These bounds determine the dependence on γ, but leave open the exact dependence on the ambient dimension d. For the standard VC dimension, the dependency is VC(DSd)=Θ(logd) [Shalev-Shwartz and Ben-David, 2014], so one might expect that VCγ(DSd) has only a mild dependency on d.
We show that the behavior is instead very different. For d≤1/γ2, it holds up to polylogarithmic factors, that the γ-VC dimension of decision stumps grows as d/γ. This gives a surprising example where VCγ has an exponential dependency on the VC dimension of the base class, but only an inverse linear dependency on the edge γ instead of the standard inverse quadratic dependency in Theorem 1.3.
Theorem 1.4. For every integer d≥1 and every γ∈(0,1],
VCγ(DSd)=O(min{γdlog(γd),γ2logd}).
Theorem 1.5. For every integer d≥1 and every γ∈(0,1]:
If d≤1/γ2, then
VCγ(DSd)=Ω(γd).
If d≥1/γ2, then
VCγ(DSd)=Ω(max{γlog(γd),γ21}).
Our last results concern axis-parallel rectangles. Here we let Rd denote the base hypothesis class containing two hypotheses hR+ and hR− for every axis-parallel rectangle R in Rd. The hypothesis hR+ has hR+(x)=1 for every x∈R and hR+(x)=−1 for all other points. The hypothesis hR− is simply −hR+ (Alon et al. [2023] always assume that a base class H is symmetric so that −h∈H for every h∈H). For the standard VC dimension, we have VC(Rd)=Θ(d). Notice also that a decision tree classifier may be thought of as a collection of axis-parallel rectangles, one for each leaf of the decision tree.
Similarly to decision stumps, we show that the worst case VCγ(Rd)=O(VC(Rd)/γ2) bound from Theorem 1.3 is very loose in its dependency on γ. Concretely, we show the following upper bound.
Theorem 1.6. For every fixed integer d≥2 and every γ∈(0,1],
VCγ(Rd)=Od(γlogd−1/2(1/γ)).
We complement this with a lower bound showing a similar γ−1 polylog(1/ γ) growth
Theorem 1.7. For every fixed integer d≥2 and every γ∈(0,1],
VCγ(Rd)=Ωd(γlog(d−1)/2(1/γ)).
In summary, our results show that VCγ is the right information-theoretic parameter for weak-to-strong learning, give a boosting-style algorithm matching this parameter up to a constant-factor change in the margin, sharpen the general upper bound on VCγ, and characterize its behavior for two natural families of simple geometric weak learners. The results also reveal a striking phenomenon: classes such as decision stumps have logarithmic ordinary VC dimension in terms of the ambient dimension, yet their boosted expressivity can grow polynomially with the ambient dimension.
1.1 Overview of Techniques
The algorithm, BAGGEDADABOOST, originates in [Larsen, 2023] and is a combination of the heuristic bagging [Breiman, 1996] (bootstrap aggregation) with AdaBoost. Our new analysis follows the weak-to-strong learning framework of Larsen and Ritzert [2022]. The crucial insight from that work is as follows: Given a base hypothesis class H and margin γ, if one can show that given mδ i.i.d. samples S from a distribution D, it holds with probability 1−δ that every voting classifier h with margins at least γ on all samples in S, satisfies erD(h)≤1/200 (or more generally a sufficiently small constant), then one can use bagging, or another subsampling technique by Hanneke [2016], to obtain a (strong) classifier f that with probability 1−δ has erD(f)=O(mδ/n) when given n samples. The framework by Larsen and Ritzert [2022] proceeds to show that mδ=O(VC(H)/γ2+log(1/δ)) suffices, resulting in the tight VC-based upper bound in (1). Our main technical contribution in the analysis of BAGGEDADABOOST is to show that mδ=O(VCCγ(H)+log(1/δ)) samples suffice for the same erD(h)≤1/200 guarantee. The proof of this claim is based on a random sparsification of voting classifiers with margins γ on a set of mδ samples. Invoking both concentration and anti-concentration results shows that most samples have margins at least Cγ after sparsification. Disregarding the small fraction of low margin samples allows us to use the Cγ-VC dimension together with a Sauer-Shelah type counting argument to prove generalization.
We next establish the general upper bound
VCγ(H)=O(VC(H)/γ2).
The proof is short and uses empirical Rademacher complexity. If S={x1,…,xn} is γ-interpolated, then for every Rademacher sequence σ∈{±1}n there is an h∈H with
n1i=1∑nσih(xi)≥γ.
Taking expectations over σ gives a lower bound γ on the empirical Rademacher complexity of H on S. Standard bounds for VC classes [Dudley, 1967, Haussler, 1995] upper bound this quantity by O(VC(H)/n), which gives n=O(VC(H)/γ2). This removes the logarithmic factor in the upper bound of Alon et al. [2023]. The matching lower bound for any d=Ω(log(1/γ)) is obtained by using the probabilistic construction of Grønlund et al. [2019]. Their construction produces small classes whose convex hull contains a large-margin realization of any fixed labeling with high probability. A union bound over all labelings then yields a class of VC dimension at most d that γ-interpolates Ω(d/γ2) points.
Let us next give a brief overview of the main ideas behind our bounds on VCγ(H) for various concrete base hypothesis sets H. A recurring theme is that γ-interpolation can be viewed as a discrepancy-type condition. Indeed, if a point set P is γ-interpolated by a base class H, then for every coloring c:P→{±1} and every distribution on P, some hypothesis in H has correlation at least γ with c. In particular, applying this to the uniform distribution shows that every coloring must have a large imbalance on at least one range induced by H. Thus upper bounds on the relevant discrepancy of the induced set systems translate directly into upper bounds on VCγ(H). This connection was observed by Alon et al. [2023]. In particular, we use a variant of combinatorial discrepancy called signed discrepancy, which is more suitable for our analysis. For a system F of subsets of a finite set P, the signed discrepancy of F is
which can be shown is at most three times the discrepancy when F contains P.
For decision stumps, the general VC-based bound is far from tight. The key upper-bound step is to relate VCγ(DSd) to the signed discrepancy of the set system induced by decision stumps on an arbitrary point set P⊆Rd. Each coordinate induces a permutation of the points obtained by sorting them along that coordinate, and each decision stump produces a prefix or suffix of one of these permutations. Thus, the set system induced by decision stumps is a subfamily of the set system consisting of all intervals in these permutations. By the discrepancy bound for intervals in permutations due to Spencer et al. [2001], the signed discrepancy of the set system induced by decision stumps is O(dlogn). Since γ-interpolation would force signed discrepancy at least γn, this yields
VCγ(DSd)=O(γdlog(γd)).
The lower bounds for decision stumps are constructive. For the Ω(log(γd)/γ) bound, we partition the point set into 1/(2γ) blocks and use coordinates to realize all sign patterns inside one block while being zero elsewhere. For the stronger Ω(d/γ) lower bound in the range d≤1/γ2, we use Hadamard matrices. The points are arranged in blocks, each block being a scaled copy of a Hadamard matrix. For any signed measure induced by a labeling and a distribution, one block has large ℓ1 mass; orthogonality of the Hadamard rows then gives a row with correlation Ω(γ). Finally, that row is simulated, up to a constant factor, by a convex combination of a constant number of decision stumps. This proves that every labeling is weakly realizable with edge γ.
For axis-parallel rectangles, the upper bound is based on discrepancy. The relevant problem is precisely the high-dimensional version of Tusnády's problem: bounding the discrepancy of axis-parallel boxes on arbitrary point sets. We use the best known upper bound [Nikolov, 2017, Matoušek et al., 2020] for this problem. As for decision stumps, we pass from ordinary discrepancy to signed discrepancy, which gives signed discrepancy Od(logd−1/2n), and hence
VCγ(Rd)=Od(γlogd−1/2(1/γ)).
The lower bound for rectangles adapts Roth’s classical method for geometric discrepancy [Roth, 1954], in a discretized form [Chazelle, 1997]. We construct a point set for which, for every signed measure on the points, some anchored box captures mass Ωd(nlog(d−1)/2n). Combining this with γ-interpolation, it follows that
VCγ(Rd)=Ωd(γlog(d−1)/2(1/γ)).
In the following technical sections, we have reorganized our results in comparison to this technical overview. In particular, we have moved the analysis of BAGGEDADABOOST last as it relies most heavily on prior work. In Section 2, we prove our results relating γ-VC dimension and VC dimension. In Section 3 we give the necessary background on discrepancy needed for our results on decision stumps in Section 4 and axis-parallel rectangles in Section 5. Finally, we analyse BAGGEDADABOOST in Section 6.
2 General Bounds on the γ-VC dimension
In this section, we provide the general upper and lower bounds on the γ-VC dimension of a hypothesis class in terms of its VC dimension.
Theorem 2.1 (Theorem 1.3 restated, upper bound). Let γ∈(0,1] and H⊆{±1}X be a hypothesis class with VC dimension d≥1, then VCγ(H)=O(d/γ2).
Proof of Theorem 2.1. Let P={x1,…,xn}⊆X be a point set of size n that is γ-interpolated by H. By definition of γ-interpolation, and considering the uniform distribution over P, we have that
∀c:P→{±1},∃h∈H,n1i=1∑nh(xi)c(xi)≥γ.
Let σ=(σ1,…,σn) be a random Rademacher vector of size n, i.e., σi is uniformly distributed over {±1} for each i∈[n]. Then for any realization of σ, if we let c(xi)=σi for each i∈[n], we have that there exists h∈H such that (1/n)∑i=1nσih(xi)≥γ. Therefore, by taking expectation over σ, we have
Eσ∈{±1}n[h∈Hsupn1i=1∑nσih(xi)]≥γ,
where the left-hand side is exactly the empirical Rademacher complexity of H on P. Classical results on empirical Rademacher complexity of VC-classes [Dudley, 1967, Haussler, 1995] imply that the left-hand side is at most O(d/n) (see Vershynin [2026, Section 8.3] for a textbook treatment). Therefore, we have γ=O(d/n), which implies n=O(d/γ2).
Theorem 2.2 (Theorem 1.3 restated, lower bound). Let γ∈(0,1/40). For every integer d=Ω(log(1/γ)), there exists a hypothesis class H⊆{±1}X of VC dimension at most d such that VCγ(H)=Ω(d/γ2).
It suffices to consider γ∈(0,1/40) here. For γ∈[1/40,1], we trivially have VCγ(H)≥VC(H)≥1600γ2VC(H). To prove this theorem, we first quote the following result from Grønlund et al. [2019], where conv(H) denotes the set of all weighted votes f=∑iwihi with wi≥0 and ∑iwi=1 with each hi∈H.
Lemma 2.3 (Grønlund et al., 2019, Lemma 3). For every γ∈(0,1/40), δ∈(0,1) and integers k≤u, there exists a distribution Q=Q(k,u,γ,δ) over a collection of hypothesis classes, each of which is a subset of {±1}X, where X is a finite set of size u, such that
• For all H∈supp(Q), we have ∣H∣=N;
• For every labeling c∈{±1}X, if no more than k points x∈X satisfy c(x)=−1, then
PH∼Q[∃f∈conv(H):∀x∈X,f(x)c(x)≥γ]≥1−δ,
where N=Θ(γ−2logulog(γ−2δ−1logu)eΘ(γ2k)).
Proof of Theorem 2.2. Let d≥C2log(1/γ) be an integer for C2>0 a sufficiently large constant, let k=u=⌈C0⋅d/γ2⌉ and δ=1/2u+1, where C0>0 is a universal constant. Let Q be the distribution over hypothesis classes given by Lemma 2.3 with parameters (k,u,γ,δ). Since k=u, we have that the second property in Lemma 2.3 works for every labeling, which implies that for every labeling c∈{±1}X,
PH∼Q[∄f∈conv(H):∀x∈X,f(x)c(x)≥γ]≤δ.
Since ∣X∣=u and δ=1/2u+1, a union bound over all 2u labelings implies that
The positive probability implies that there exists H∈supp(Q) such that for every labeling c∈{±1}X, there exists f∈conv(H) such that ∀x∈X,f(x)c(x)≥γ.
Let H be a hypothesis class that satisfies this property. Fix any labeling c∈{±1}X, and let f be the corresponding function in conv(H) such that ∀x∈X,f(x)c(x)≥γ. Then for any distribution D over X, we have Ex∼D[f(x)c(x)]≥γ. Since f∈conv(H), there must exist a hypothesis h∈H such that Ex∼D[h(x)c(x)]≥γ. Since this holds for every labeling and every distribution, we have that X is γ-interpolated by H. Therefore, VCγ(H)≥∣X∣=u=Ω(d/γ2).
Finally, we show that the VC dimension of H is at most d. Since ∣H∣=N, the VC dimension of H is at most logN. By the definition of N and the assumption d≥C2log(1/γ), we have
logN≤C1⋅(log(1/γ)+C0⋅d)≤C1⋅(C21+C0)⋅d≤d,
where C1>0 is a universal constant that comes from the size of N, and the last inequality holds by choosing suitable C0,C2. This completes the proof.
3 Discrepancy Background
In this section, we introduce some techniques from discrepancy theory, which will be used to analyse the γ-VC dimension of decision stumps and axis-parallel rectangles.
For a system F of subsets of a finite set P, we define discrepancy as follows:
For any subset F⊆P, the discrepancy of F with respect to a coloring c:P→{±1} is defined as disc(F,c):=∑p∈Fc(p).
The discrepancy of F with respect to a coloring c is defined as disc(F,c):=maxF∈Fdisc(F,c).
The discrepancy of F is defined as disc(F):=minc:P→{±1}disc(F,c).
For convenience of our analysis, we also define signed discrepancy as follows: for any subset F⊆P, the signed discrepancy of F with respect to c is defined as disc±(F,c):=∑p∈Fc(p)−∑p∈/Fc(p). disc±(F,c) and disc±(F) are defined similarly. When F contains the set P as one of its subsets, we can bound the signed discrepancy by the discrepancy as follows:
Lemma 3.1. Let P be a set of n points, and F be a system of subsets of P, which contains the set P as one of its subsets. Then disc±(F)≤3⋅disc(F).
Proof of Lemma 3.1. Let c:P→{±1} be a coloring that attains the minimum of disc(F). Since F contains P, disc(P,c)=∑p∈Pc(p) is the discrepancy of P with respect to c. By definition, we have
In this section, we discuss the γ-VC dimension of decision stumps. A decision stump is a simple classifier that makes a decision based on a single feature. The class of d-dimensional decision stumps DSd contains all concepts of the form
where x=(x1,x2,…,xd)∈Rd is a d-dimensional vector and t∈R is the threshold.
In terms of the γ-VC dimension of DSd, Alon et al. [2023, Section 5.3] provided an upper bound of O(d/γ), and a lower bound of Ω(1/γ). Therefore, the dependence on γ is tight, but the dependence on d remains open. In the following, we tighten both the upper and lower bounds, using techniques from discrepancy theory.
4.1 Upper Bound
To establish the upper bound, we first bound the discrepancy of the set system induced by decision stumps. By Lemma 3.1, this also yields a bound on the signed discrepancy. Then, we apply the connection between γ-VC dimension and signed discrepancy to derive an upper bound on VCγ(DSd).
In the following, given a d-dimensional point set P⊆Rd, we denote by DSd(P) the set system induced by the class DSd on P, i.e., DSd(P)={P∩h−1(1):h∈DSd}.
Lemma 4.1. For any d-dimensional point set P of size n, the discrepancy of the set system DSd(P) satisfies disc(DSd(P))=O(dlogn).
To prove Lemma 4.1, we use the following discrepancy result on permutation families from Spencer et al. [2001].
Lemma 4.2 (Spencer et al., 2001, Corollary 2.1). Let π1,…,πl be l permutations of [n]={1,2,…,n}, and let I be the set system consisting of all intervals in these permutations, i.e., I={{πk(i),πk(i+1),…,πk(j)}:k∈[l],1≤i≤j≤n}. Then
disc(I)=O(llogn).
Proof of Lemma 4.1. For each coordinate i∈[d], order the points of P according to their i-th coordinate, breaking ties arbitrarily, and let πi denote the resulting permutation of P. A decision stump using the i-th coordinate can only produce a set of points that is a prefix or suffix of the permutation, which is also an interval. Let I be the set system consisting of all intervals in the permutations π1,…,πd. Then, DSd(P)⊆I. By Lemma 4.2, we have
disc(DSd(P))≤disc(I)=O(dlogn).
With this in place, we can prove the following upper bound for the γ-VC dimension of DSd.
Theorem 4.3 (Theorem 1.4 restated). For every integer d≥1 and every γ∈(0,1],
VCγ(DSd)=O(min{γdlog(γd),γ2logd}).
The O(logd/γ2) term comes from the general upper bound on the γ-VC dimension in Theorem 1.3, and that decision stumps in Rd have VC dimension Θ(logd) [Shalev-Shwartz and Ben-David, 2014]. Thus, we only need to prove the O(d/γ⋅log(d/γ)) term.
Proof of Theorem 4.3. Let P be a set of n points in Rd that is γ-interpolated by DSd. Let D be the uniform distribution over P. Then, for any concept c:P→{±1}, there exists a decision stump DS∈DSd such that
where DS(P) is the subset of P that is classified as 1 by DS.
On the other hand, there always exists a decision stump that classifies every point as 1, which means DSd(P) always contains P. Combining Lemma 3.1 and Lemma 4.1, we have
disc±(DSd(P))≤3disc(DSd(P))=O(dlogn).
This implies that there exists a concept c1:P→{±1} such that for any decision stump DS, ∑p∈DS(P)c1(p)−∑p∈/DS(P)c1(p)=O(dlogn). Combining this with Eq. (2), we have
γ⋅n=O(dlogn),
which solves to n=O((d/γ)log(d/γ)). This concludes the proof.
4.2 Lower Bounds
In this section, we provide two lower bounds on the γ-VC dimension of decision stumps.
4.2.1 A looser lower bound
Theorem 4.4 (Theorem 1.5 restated, d≥1/γ2). For every integer d≥1 and γ∈(0,1], if d≥1/γ, then VCγ(DSd)=Ω(log(γd)/γ).
The lower bound above is different from the second term of Theorem 1.5, which states that VCγ(DSd)=Ω(max{log(γd)/γ,1/γ2}) for d≥1/γ2. This is because when 1/γ≤d≤1/γ2, we have d/γ≥1/γ/γ≥log(1/γ)/γ≥log(γd)/γ, which means the first term of Theorem 1.5 dominates. When d≥1/γ2, we always have VCγ(DSd)≥VCγ(DS⌊γ−2⌋)=Ω(1/γ2), where the last equality follows from the first term of Theorem 1.5.
Proof of Theorem 4.4. Case 1. If γ=1, then VCγ(DSd)=VC(DSd), and the latter is known to be Θ(logd) as shown in Shalev-Shwartz and Ben-David [2014]. Thus, the lower bound holds.
Case 2. If 1/2<γ<1, then d≥2. We have VCγ(DSd)≥VC(DSd)=Θ(logd), and it suffices to show that logd≥log(2γd)/(4γ), which is equivalent to d4γ−1≥2γ. Since d≥2 and 1/2<γ<1, we have d4γ−1>2>2γ, which concludes the proof.
Case 3. If 0<γ≤1/2, then d≥2 and 1/(2γ)≥1. Since rounding γ up to the nearest power of 1/2 (which is at most 1/2) only changes the bound by a constant factor, we assume without loss of generality that γ is a power of 1/2. We now construct a sequence of n=⌊log(2γd)⌋/(2γ) points in Rd that is γ-interpolated by DSd.
Let P=(p1,…,pn) be a sequence of n points in Rd. Split P into k=1/(2γ) subsequences P1,…,Pk of equal length, then the length of each subsequence is l=2γn. Let A∈Rd×n be the matrix whose j-th column is pj. Since d≥2l⋅k, we can define the coordinates of the points in P as follows:
For the i-th subsequence Pi, let Ai be the submatrix of A restricted to columns [1+l(i−1),li] and rows [1+2l(i−1),2li]. We set each row of Ai to a distinct {±1}-pattern of length l.
• All other entries of A are set to 0.
Figure 1: Illustration of the block construction. Each submatrix Ai corresponds to a subsequence Pi, and the rows of Ai are distinct {±1}-patterns of length l.
Next, we show that such a point sequence P is γ-interpolated by DSd. Let c:P→{±1} be any concept, and let D be any distribution over P. We define a weight vector w∈Rn:∥w∥1=1 such that for any point p∈P, wp=D(p)⋅c(p). Our goal is to show that there exists a decision stump h such that Ep∼D[c(p)h(p)]=w⋅h≥γ, where h∈{±1}n is the projection of h on P.
Since there are k subsequences, there must exist a subsequence Pi such that D(Pi)=∑p∈Pi∣wp∣≥1/k. Fix such a subsequence Pi. Let wi be the subvector of w corresponding to the points in Pi. By the construction of the matrix A, we can find a row r=(r1,…,rn)∈{−1,0,1}n of A, whose projection on Pi is exactly the sign pattern of wi, and the projection on all other points is 0. Then, we have
where the last equality holds because k=1/(2γ). Finally, we show that there exists a convex combination of four decision stumps that approximates the vector r. Suppose the row r corresponds to the r-th feature, we define a function g as follows:
where 1±{⋅} is the indicator function that outputs 1 if the condition is satisfied and -1 otherwise. And we have
g(p)=⎩⎨⎧210−21ifpr=1ifpr=0ifpr=−1.
Therefore, let g∈{−21,0,21}n be the projection of g on P, we have g=1/2⋅r, which implies that w⋅g=1/2⋅w⋅r≥γ. Besides, since g is a convex combination of four decision stumps, there must exist a decision stump h such that w⋅h≥w⋅g≥γ. This concludes the proof.
4.2.2 A tighter lower bound
Theorem 4.5 (Theorem 1.5 restated, d≤1/γ2). For every integer d≥1 and γ∈(0,1], if d≤1/γ2, then VCγ(DSd)=Ω(d/γ).
Proof of Theorem 4.5. Case 1. If 1/4<γ≤1, then d/(8γ)≤1/(8γ2)<2. By the definition of γ-VC dimension, we have VCγ(DSd)≥VC(DSd)≥2>d/(8γ), which concludes the proof.
Case 2. If 0<γ≤1/4, then 1/(16γ2)≥1. Since rounding d down to the largest power of 4 not exceeding min{d,1/(16γ2)} (which is at least 1) only changes the bound by a constant factor, we assume that d is a power of 4 and d≤1/(16γ2) from now on. Define an integer k to be ⌊1/(2γd)⌋. Since 1≤d≤1/(16γ2), we have
k=⌊2γd1⌋>2γd1−1≥2γd1−4γd1=4γd1≥1.
We now construct a sequence of n=d⋅k>d/(4γ) points in Rd that is γ-interpolated by DSd. Let P=(p1,…,pn) be a sequence of n points in Rd. Split P into k subsequences P1,…,Pk of equal length d. Let A∈Rd×n be the matrix whose j-th column is pj, and let Ai be the d×d submatrix of A restricted to columns [1+d(i−1),di], which corresponds to the subsequence Pi. The values of the entries of A are defined as follows: for each i∈[k], we set Ai=i⋅Hd where Hd is a Hadamard matrix of order d.
Figure 2: Illustration of the block construction. Each submatrix Ai is a i-scaled copy of a Hadamard matrix, and corresponds to the subsequence Pi.
Next, we show that such a point sequence P is γ-interpolated by DSd. Let c:P→{±1} be any concept, and let D be any distribution over P. We define a weight vector w∈Rn:∥w∥1=1 such that for any point p∈P, wp=D(p)⋅c(p). Our goal is to show that there exists a decision stump h such that Ep∼D[c(p)h(p)]=w⋅h≥γ, where h∈{±1}n is the projection of h on P.
Since there are k subsequences, there must exist a subsequence Pi such that D(Pi)=∑p∈Pi∣wp∣≥1/k≥2γd. Fix such a subsequence Pi. Let wi be the subvector of w corresponding to the points in Pi. Since Hd is a Hadamard matrix, for any vector x, we have ∥Hdx∥2=d⋅∥x∥2. Therefore, we have
where the second inequality comes from Cauchy-Schwarz. This implies that there exists a row ri∈{±1}d of Hd such that ∣wi⋅ri∣≥2γ. Let vector r∈{−1,0,1}n be the extension of ri to length n, i.e., the projection of r on Pi is exactly ri, and the projection on all other points is 0. Then, we have ∣w⋅r∣=∣wi⋅ri∣≥2γ.
Finally, we show that there exists a convex combination of four decision stumps that approximates the vector r. Suppose the row ri corresponds to the r-th feature, we define a function g as follows:
Therefore, let g∈{−21,0,21}n be the projection of g on P, we have g=1/2⋅r. By the symmetry of decision stumps, we can construct g′ such that g′=−g=−1/2⋅r. Therefore, we have w⋅g=1/2⋅w⋅r≥γ or w⋅g′=−w⋅g=−1/2⋅w⋅r≥γ. Since both g and g′ are convex combinations of four decision stumps, there exists a decision stump h such that w⋅h≥max{w⋅g,w⋅g′}≥γ. This concludes the proof.
5 Axis-Parallel Rectangles
In this section, we analyze the γ-VC dimension of the class of high-dimensional axis-parallel rectangles. Let Rd be the set of all axis-parallel rectangles in Rd. The class of axis-parallel rectangles contains a corresponding hypothesis hR for any axis-parallel rectangle R∈Rd, where hR(x)=1 if x∈R and -1 otherwise. Notably, Alon et al. [2023, Section 5] assumed that the base hypothesis class is symmetric, i.e., if h∈H, then −h∈H. To make the class symmetric, for any axis-parallel rectangle R∈Rd, we include two hypotheses hR and −hR in the class, where hR(x)=1 if x∈R and -1 otherwise.
Formally, we denote the class of d-dimensional axis-parallel rectangles by Rd, defined as follows:
Bounding the γ-VC dimension of Rd is highly related to high-dimensional Tusnády's problem that we briefly introduce in the following. We refer readers to Matoušek et al. [2020] for a more comprehensive survey on this problem.
Tusnády’s problem. Let P be a set of n points in R2 and R2 be the set of 2-dimensional axis-parallel rectangles. Define R2(P):={R∩P:R∈R2} as the set of all subsets of P that can be obtained by intersecting P with an axis-parallel rectangle. The goal is to understand the discrepancy of R2(P). The high-dimensional version of Tusnády's problem is defined similarly, where R2 is replaced by Rd.
For the best known discrepancy upper bound, Nikolov [2017, Theorem 1] provides an upper bound on the discrepancy of the set systems produced by intersecting a point set with d-dimensional anchored rectangles. Substituting this result into the analysis of Matoušek et al. [2020, Theorem 1.1] immediately gives an upper bound of Od(logd−1/2n). Based on this, we prove that the γ-VC dimension of Rd is upper bounded by Od(logd−1/2(1/γ)/γ).
For the lower bound, Matoušek et al. [2020, Theorem 1.1] gives a lower bound of Ωd(logd−1n), which is tight up to a factor of logn.
Unfortunately it is not clear how to translate this lower bound to the γ-VC dimension setting. In particular, discrepancy naturally corresponds to the uniform distribution being γ-realizable by H. This is not a problem for upper bounding γ-VC dimension in terms of discrepancy upper bounds as γ-interpolation requires every distribution to be γ-realizable. For lower bounds, discrepancy lower bounds do not necessarily imply that every distribution (in particular highly non-uniform distributions) is γ-realizable by H.
To get a meaningful lower bound for the γ-VC dimension, we instead adapt a discretized variant of Roth's method (see Roth [1954], Chazelle [1997]) and generalize it to higher dimensions. Roth's method is used to prove a lower bound for geometric discrepancy of axis-parallel rectangles, and we refer readers to Matousek [1999, Section 6.1] and Chazelle [2001, Section 3.1] for textbook treatments.
5.1 Upper Bound
Substituting the result of Nikolov [2017, Theorem 1] into the analysis of Matoušek et al. [2020, Theorem 1.1] gives us the following upper bound for the discrepancy of Rd(P).
Lemma 5.1. For every fixed integer d≥2, every set P of n points in Rd, disc(Rd(P))=Od(logd−1/2n).
With this in place, we first bound the signed discrepancy and then prove the following upper bound for the γ-VC dimension of Rd.
Theorem 5.2 (Theorem 1.6 restated). For every fixed integer d≥2 and γ∈(0,1], VCγ(Rd)=Od(logd−1/2(1/γ)/γ).
Proof of Theorem 5.2. Let P be a set of n points in Rd that is γ-interpolated by Rd. Let D be the uniform distribution over P. Then, for any concept c:P→{±1}, there exists a rectangle R such that
On the other hand, since there is always a rectangle that can contain all points in P, Lemma 3.1 and Lemma 5.1 upper bounds the signed discrepancy of Rd(P), i.e., disc±(Rd(P))≤3disc(Rd(P))=Od(logd−1/2n). This implies that there exists a concept c1:P→{±1} such that for any rectangle R, ∑p∈Rc1(p)−∑p∈/Rc1(p)=Od(logd−1/2n). Combining with the previous inequality, we have
γ⋅n=Od(logd−1/2n),
which solves to n=Od(logd−1/2(1/γ)/γ).
5.2 Lower Bound
In this section, we prove a lower bound for the γ-VC dimension of Rd. Specifically, we adapt a discretized variant of Roth's method [Roth, 1954, Chazelle, 1997] and generalize it to higher dimensions. Briefly speaking, we construct a set P of n points in Rd such that for any coloring c:P→{±1}, and any distribution D over P, there exists a rectangle R such that corrD(hR)=Ωd(log(d−1)/2n/n), which implies VCγ(Rd)=Ωd(log(d−1)/2(1/γ)/γ).
Fix integers n≥1 and d≥2. Let m be a power of 2, such that n≤m/(2d+1e)<2n. Given the unit box [0,1]d, we partition it into m axis-parallel d-dimensional cells of same volume 1/m. Formally, let k=(k1,…,kd)∈Nd be a vector which satisfies 0≤ki≤logm and ∑iki=logm. For any k, the unit box is partitioned as follows: on the i-th dimension, we partition the interval [0,1] into 2ki sub-intervals of the same length 2−ki, and we take the Cartesian product of these sub-intervals across all dimensions to get these cells. And we call the resulting grid Gk.
k=(3,0)
k=(2,1)
k=(1,2)
k=(0,3)
Figure 3: Illustration of different grid constructions when d = 2 and m = 8.
Let K be the set of all vectors k satisfying the above conditions. Using stars and bars 2, we can calculate the size of K as follows:
∣K∣=(d−1logm+d−1)≥(d−1)!logd−1m=Ωd(logd−1m).
A point p=(p1,…,pd) is said to be well-centered for a grid Gk if p is contained in the center sub-cell of a cell σ=∏i=1d[ai,bi] of Gk, i.e., ai+(bi−ai)/4<pi<ai+3(bi−ai)/4 for all i∈[d]. Given a point set and a grid, we say a cell of the grid is good if it only contains one point and this point is in the center sub-cell of the cell.
Lemma 5.3 (Existence of a good point set). There exists a point set of size at least m/(2d+1e) in [0,1]d such that each point is contained in a good cell for at least ∣K∣/(2d+1e) grids. 3
Proof of Lemma 5.3. We use the probabilistic method to prove the existence of such a point set. Let {p1,…,pm} be a set of m random points that are sampled independently and uniformly from [0,1]d.
Fix any grid Gk. For any cell σ of Gk, define an indicator random variable Xσ that equals 1 if σ
where the 1/(2d⋅m) term is exactly the volume of the center sub-cell of σ. Let Xk=∑σ∈GkXσ be the number of good cells in Gk. Then, we have
EP[Xk]=σ∈Gk∑EP[Xσ]=σ∈Gk∑PP[Xσ=1]≥2dem.
Summing over all k∈K, we have
EP[k∈K∑Xk]=k∈K∑EP[Xk]≥2dem∣K∣,
which implies that there exists a point set P of size m such that there are at least m∣K∣/(2de) good cells across all grids.
With this point set P, we now prove the lemma by contradiction. Suppose the lemma doesn't hold, then there are at most m/(2d+1e)−1 points that are contained in a good cell for at least ∣K∣/(2d+1e) grids. Therefore, the total number of good cells across all grids is less than
which contradicts the previous conclusion that there are at least m∣K∣/(2de) good cells across all grids. Therefore, there are at least m/(2d+1e) points in P that each is contained in a good cell for at least ∣K∣/(2d+1e) grids, which concludes the proof.
Fix a point set P of size n in [0,1]d that is guaranteed by Lemma 5.3. We now show that for any coloring c:P→{±1} and any distribution D over P, there exists a rectangle R such that ∣corrD(hR)∣=Ωd(log(d−1)/2n/n).
Consider a square grid G that in each dimension divide [0,1] into m2 sub-intervals of the same length 1/m2. Then G has m2d cells and N=(m2+1)d grid points. For the point set P, we construct a N×n matrix B as follows: the rows of B are indexed by the grid points of G, and the columns of B are indexed by the points in P. For any grid point q=(q1,…,qd) and any point p=(p1,…,pd)∈P, we set B(q,p)=1 if p≤q, i.e., pi≤qi for all i∈[d], and set B(q,p)=0 otherwise.
Moreover, for a coloring c:P→{±1}, and a distribution D over P, we define a weight vector w∈Rn:∥w∥1=1 such that for any point p∈P, wp=D(p)⋅c(p). Consider the vector Bw∈RN, each entry corresponds to a grid point q and equals ∑p∈P:p≤qwp.
Lemma 5.4. Let P be a point set of size n in [0,1]d, for which each point is contained in a good cell for at least ∣K∣/(2d+1e) grids. For every weight vector w∈Rn with ∥w∥1=1 over the points in P, ∥Bw∥∞=Ωd(log(d−1)/2n/n).
Proof of Lemma 5.4. Such a point set P exists by Lemma 5.3 and that n≤m/(2d+1e). Because ∥B(−w)∥∞=∥Bw∥∞, we can assume that
wp>0∑wp≥21.(3)
For any k∈K, we say that a cell σ of Gk is positively good if σ is good and the point contained in σ has a positive weight, i.e., σ contains exactly one point p∈P, which is contained in the center sub-cell of σ and wp>0. Next, for each grid Gk, we assign a value gk,q to each grid point q of G, and collect these values into a vector gk∈RN, in which the points are ordered in the same order as the rows of B. The value gk,q is defined as follows:
If q lies on the boundary of more than one cells or q is not contained in any positively good cell, then we set gk,q=0.
• Else, q lies in a positively good cell σ of Gk, then we divide the cell into 2d sub-cells by cutting σ in the middle of each dimension,
– If q lies on the boundary of these sub-cells, then we set gk,q=0.
– Else, q lies in the interior of a sub-cell σ′, let the center point of σ be qσ and the center point of σ′ be qσ′. Then, if ∑i=1d1{qσ′,i<qσ,i} is even, we set gk,q=1, otherwise we set gk,q=−1.
An illustration of such a construction is shown in Figure 4a. We can verify that for any two different grids Gk1 and Gk2, the corresponding value vectors gk1 and gk2 are orthogonal, i.e., gk1⊤gk2=0, see Figure 4b for an illustration. Recall that ∑ik1,i=∑ik2,i=logm, so since k1=k2 there is a dimension i with k2,i>k1,i. In this dimension a sub-cell σ1′ of a (positively good) cell of Gk1 has length 2−k1,i−1≥2−k2,i, an integer multiple of the Gk2-cell length, which means σ1′ is a union of some whole Gk2-cells in dimension i. Fix such a σ1′, on which gk1 is a constant value, and a Gk2-cell σ2 intersecting it. If σ2 is not positively good then gk2≡0 on σ1′∩σ2; otherwise, σ2 is positively good and gk2 takes values 1 and -1 on the two halves of σ2 in dimension i, which are both contained in σ1′. Hence, these grid points contribute 0 to gk1⊤gk2. Summing over all sub-cells σ1′ of cells of Gk1 and all cells σ2 of Gk2 gives gk1⊤gk2=0.
Let G denote a N×∣K∣ matrix whose columns are the vectors gk for k∈K and let u be the all-ones vector of length ∣K∣, the orthogonality property implies that
∥Gu∥22=k∈K∑∥gk∥22≤k∈K∑N⋅12=N⋅∣K∣.(4)
We now consider the product gk⊤Bw, which can be written as
By the construction, if p is not contained in any positively good cell, then ∑q:q≥pgk,q=0. Else, if p is contained in a positively good cell σ, the sum of contribution from the grid points outside σ is also 0, since the number of grid points outside σ that satisfy q≥p and have value 1 is the same as the number of grid points outside σ that satisfy q≥p and have value -1. What remains is the contribution from the grid points inside σ.
(1, 1)
(0, 0)
(a) Illustration of a value function gk in the 2D grid Gk with k=(2,1). There are 4 points p1,p2,p3,p4 with wp1,wp2,wp4>0 and wp3<0. The blue boxes show the center sub-cells. σ2,σ8 are positively good cells, and are split into four sub-cells to assign different values.
(b) Illustration of the orthogonality property. The vertical rectangle represents a positively good cell σ of Gk1 where k1=(2,1). The two horizontal rectangles represent two cells of Gk2 where k2=(0,3), one of which is a positively good cell. The grid points in the overlap of these cells have contribution 0 to gk1⊤gk2.
Figure 4: Illustrations of the construction. The numbers {−1,0,+1} in a cell or sub-cell represent the value of gk at the grid points in that cell or sub-cell.
Let σ be a positively good cell of Gk that contains p, and let qσ be its center point. For each grid point q in the interior of σ, we group it with its 2d−1 reflections (one in each sub-cell, and each reflection q′ satisfies that on every dimension, the distance from q′ to qσ is the same as the distance from q to qσ). For such a group of 2d grid points, the contribution to ∑q:q≥pgk,q is 1 if and only if p lies in the d-dimensional box defined by these 2d grid points, otherwise the contribution is 0.
Let σ′ be the sub-cell of σ whose center point is closest to the origin, and divide σ′ into 2d sub-cells by cutting σ′ in the middle of each dimension, and let σ′′ be the sub-cell whose center point is closest to the origin. Then, the box defined by any grid point q∈σ′′ and its reflections contains p. Thus the contribution from this point group is 1.
Notice that the volume of σ′′ is 1/(22dm), and these grid points are uniformly distributed with distance 1/m2 on each dimension. Thus, the number of grid points in σ′′ with non-zero value (excluding the grid points on the boundary of σ) is m2d/(22dm)≥N/(5dm). Then the contribution from the point p satisfies wp⋅∑q:q≥pgk,q≥N/(5dm)⋅wp. Let PGC(Gk) denote the subset of P such that every point in PGC(Gk) is contained in a positively good cell of Gk, we have
gk⊤Bw≥p∈PGC(Gk)∑wp⋅5dmN.
Figure 5: Illustration of the contribution from the grid points inside a positively good cell σ to ∑q:q≥pgk,q for a point p contained in σ. In the left figure, the green (yellow) box represents the box formed by q1(q2) and its reflections. The contribution from the 4 grid points which form the green (yellow) boxes is 1 (0). In the right figure, the blue box represents the center sub-cell of σ. For every grid point in the red box, the contribution from it and its reflections is 1.
Since each point in P is contained in a good cell for at least ∣K∣/(2d+1e) grids, it follows that
where PGC(p) denotes the subset of K such that the point p is contained in a positively good cell of Gk for every k∈PGC(p), and the last inequality holds because of the assumption in Eq. (3). Combining Eq. (4) and Eq. (5), we have
where the second inequality holds by Cauchy-Schwarz inequality, and the last inequality holds because ∥Bw∥2≤N⋅∥Bw∥∞. Substituting ∣K∣=Ωd(logd−1m) and n≤m/(2d+1e)<2n into the inequality, we get ∥Bw∥∞=Ωd(log(d−1)/2n/n), which concludes the proof.
With this lemma in hand, we can prove the following lower bound for the γ-VC dimension of Rd.
Theorem 5.5 (Theorem 1.7 restated). For every fixed integer d≥2 and γ∈(0,1], VCγ(Rd)=Ωd(log(d−1)/2(1/γ)/γ).
Proof of Theorem 5.5. Let P be a point set of size n in [0,1]d as guaranteed by Lemma 5.3. According to Lemma 5.4, ∥Bw∥∞=Ωd(log(d−1)/2n/n), which implies that for any distribution D over P, and any coloring c:P→{±1}, there exists a d-dimensional rectangle R such that
p∈R∑wp=∥Bw∥∞=Ωd(nlog(d−1)/2n),
and ∑p∈/Rwp is 0 or has a different sign with ∑p∈Rwp. Otherwise, if ∑p∈/Rwp has the same sign with ∑p∈Rwp, then the unit box [0,1]d satisfies
p∈P∑wp=p∈R∑wp+p∈/R∑wp>p∈R∑wp,
contradicting the definition of ∥Bw∥∞. Therefore, if ∑p∈Rwp is positive, then ∑p∈/Rwp is non-positive, then the corresponding hypothesis hR satisfies
and −hR satisfies corrD(−hR)=Ωd(log(d−1)/2n/n) for the case ∑p∈Rwp is negative. Now, choose n=Θd(log(d−1)/2(1/γ)/γ) with a sufficiently small constant. Then the preceding bound implies that either corrD(hR) or corrD(−hR) is at least γ. Thus P is γ-interpolated by Rd, which concludes the proof.
6 Weak-to-Strong Learning
In the worst case over base classes of VC dimension d, weak-to-strong learning has a sample complexity of Θ(d/(εγ2)+log(1/δ)/ε). A natural question is: if the γ-VC dimension of the base hypothesis class is dγ, can we establish a similar result where the sample complexity depends on dγ instead of d?
We answer this question by proving the following result, which shows that combining AdaBoost with bagging [Larsen, 2023] achieves a sample complexity of O((dCγ+log(1/δ))/ε) when we have a γ-weak learner and the base hypothesis class has Cγ-VC dimension dCγ for a sufficiently small constant C∈(0,1). Besides, we also establish a lower bound of Ω((dγ+log(1/δ))/ε)
6.1 Upper bound
Theorem 6.1 (Theorem 1.2 restated). There is a universal constant C∈(0,1) such that the following holds. Suppose W is a γ-weak learner with base class H, and let dCγ=VCCγ(H). Then the BAGGEDADABOOST algorithm, using W, satisfies the following guarantee. For every distribution D over X×{±1} that is γ-realizable by H, and every δ∈(0,1), given n i.i.d. samples from D, the algorithm returns a classifier with error at most
O(ndCγ+log(1/δ))
with probability at least 1−δ. Equivalently, error at most ε is achieved with O(εdCγ+log(1/δ)) samples.
Larsen and Ritzert [2022] proposed the first weak-to-strong learning algorithm with optimal sample complexity, combining a variant of AdaBoost with Hanneke's subsampling procedure [Hanneke, 2016]. Larsen [2023] later showed that the subsampling procedure can be replaced by bagging, yielding the simpler and more practical BAGGEDADABOOST algorithm. Both analyses reduce the strong-learning guarantee to the constant-error statement of [Larsen and Ritzert, 2022, Theorem 4]: it suffices to show that, given O(γ−2VC(H)+log(1/δ)) samples, every voting classifier in sign(conv(H)) that achieves margin at least γ on every sample has generalization error at most 1/200 under the underlying distribution. Our main technical contribution is to show that the dependence on γ−2VC(H) in this statement can be replaced by VCCγ(H) for a universal constant C∈(0,1).
We therefore focus on establishing this refined constant-error guarantee. Theorem 6.1 follows from the bagging analysis of Larsen [2023], replacing their Corollary 15 with Theorem 6.2 below.
Theorem 6.2. Let γ∈(0,1]. Let H⊆{±1}X be a hypothesis class with Cγ-VC dimension dCγ≥1 where C∈(0,1) is a constant. Let D be an arbitrary distribution over X×{±1}. Let S∼Dn be a sample of size n. If n≥C0⋅(dCγ+log(1/δ)) for a universal constant C0, then with probability at least 1−δ over the choice of S, any voting classifier f^(x)=sign(f(x)) with f∈conv(H) that satisfies yf(x)≥γ for all (x,y)∈S also satisfies
LD(f^)=Px∼D[f^(x)=y]≤2001.
The proof of Theorem 6.2 follows that of Larsen and Ritzert [2022, Theorem 4], and the key difference is that we use the Cγ-VC dimension instead of the VC dimension to bound the size of a certain set of classifiers, as shown in Lemma 6.8. We first introduce some notations.
Since f∈conv(H), we can write f as a convex combination of some hypotheses in H, i.e., f(x)=∑hwhh(x) where ∑hwh=1 and wh≥0 for all h∈H. Let Df be the distribution over H where h has probability wh. Draw t i.i.d. hypotheses h1,…,ht from Df and then throw away each hi independently with probability 1/2. Let h1′,…,ht′ be the remaining hypotheses, and let g=(1/t′)∑i=1t′hi′. Denote the distribution of g by Df,t, and define the expected error of g over its internal randomness as LD(f,t)=P(x,y)∼D,g∼Df,t[yg(x)≤0], and the empirical error of g over S as LS(f,t)=P(x,y)∈S,g∼Df,t[yg(x)≤0]. Besides, let LD(f)=P(x,y)∼D[yf(x)≤0].
We recall that if t is sufficiently large, then LD(f) can be approximated by LD(f,t), and if f has margin at least γ on S, then LS(f,t) is small. The following lemmas establish these properties.
Lemma 6.3 (Larsen and Ritzert, 2022, Lemma 3). Let H⊆{±1}X be a hypothesis class, and D be an arbitrary distribution over X×{±1}. For any f∈conv(H) and any t≥36, we have LD(f)≤3LD(f,t).
Lemma 6.4 (Larsen and Ritzert, 2022, Lemma 4). Let γ∈(0,1]. Let S be a sample of size n in X×{±1}, and f∈conv(H) satisfies yf(x)≥γ for all (x,y)∈S. If t≥1024γ−2, we have LS(f,t)≤1/1200.
Thus, the key step is to show that LD(f,t) can be approximated by LS(f,t) for all f∈conv(H). Lemma 6.5 establishes this uniform convergence result.
Lemma 6.5. Let γ∈(0,1] and t=1034γ−2. Let H⊆{±1}X be a hypothesis class with Cγ-VC dimension dCγ≥1 where C∈(0,1) is a constant. Let D be an arbitrary distribution over X×{±1}. Let S∼Dn be a sample of size n. If n≥C0⋅(dCγ+log(1/δ)) for a universal constant C0, then we have
where the four inequalities follows respectively from the definition of LD(f), Lemma 6.3, Lemma 6.5, and Lemma 6.4. This completes the proof.
Relating LS(f,t) to LD(f,t). What remains is to prove Lemma 6.5, namely relating LS(f,t) to LD(f,t). We first introduce a ghost sample S′ that is independent of S and drawn i.i.d. from Dn. Then by a standard symmetrization argument, we can relate the uniform convergence of LS(f,t) to LD(f,t) to the uniform convergence of LS(f,t) to LS′(f,t).
Lemma 6.6 (Larsen and Ritzert, 2022, Lemma 6). Let D be a distribution over X×{±1}. Let S,S′ be two independent samples of size n drawn i.i.d. from D. For any integer t≥1 and any f∈conv(H), if n≥24002, we have
To bound the right-hand side, we let P be a sample sequence of size 2n drawn i.i.d. from D2n, and then draw a subsequence S of size n uniformly at random from P without replacement, and let S′ be the remaining subsequence. Then S and S′ have the same distribution as two independent samples drawn i.i.d. from Dn. From now on, we view S and S′ as drawn from P in this way.
For any sample sequence P in the support of D2n, define Fμ,ρ(P) as the set of all f∈conv(H) for which P(x,y)∼P[∣f(x)∣<μ]≤ρ. And define F^μ,ρ(P)={sign(f)∣P:f∈Fμ,ρ(P)} to be the set of restrictions to P of the classifiers induced by Fμ,ρ(P). Thus, F^μ,ρ(P) has a finite size. The following lemma shows that the uniform convergence of LS(f,t) to LS′(f,t) can be related to the size of F^μ,ρ(P).
Lemma 6.7 (Larsen and Ritzert, 2022, Lemma 8). Let ρ∈(0,1) and t≥96002ρ−2. For any data sequence P in the support of D2n, if 1/t≤μ≤ρ/(9600t), we have
The last step is to bound the size of F^μ,ρ(P) by the Cγ-VC dimension of H, instead of the VC dimension of H as in Larsen and Ritzert [2022].
Lemma 6.8. Let μ∈(0,1] and ρ∈(0,1). Let H be a hypothesis class with μ-VC dimension dμ. For any data sequence P=((x1,y1),…,(x2n,y2n)) in the support of D2n, we have ∣F^μ,ρ(P)∣≤(e/ρ)dμ+4ρn.
Proof of Lemma 6.8. By definition of Fμ,ρ(P), for any f∈Fμ,ρ(P), we have at most ρ fraction of the points in P that satisfy ∣f(x)∣<μ. Thus, we can split Fμ,ρ(P) into at most (≤2ρn2n) subsets, where each subset corresponds to a specific choice of at most 2ρn data points in P. In particular, for any P′⊆P:∣P′∣≤2ρn, we define
and F^μ,P′(P)={sign(f)∣P:f∈Fμ,P′(P)} accordingly. Then we have F^μ,ρ(P)=∪P′⊆P:∣P′∣≤2ρnF^μ,P′(P).
Fix any P′⊆P with ∣P′∣≤2ρn. We analyse the VC dimension of F^μ,P′(P), and use Sauer-Shelah-Perles lemma to bound its size. Let S=(x1,…,x∣S∣) be a subsequence of input points in P∖P′ that is shattered by F^μ,P′(P). Then fix any binary labeling c, there exists a convex combination f∈Fμ,P′(P) whose corresponding voting classifier f^∈F^μ,P′(P) realizes this labeling, i.e., f^(x)=c(x) for all (x,c(x))∈S. The definition of Fμ,P′(P) implies that ∣f(x)∣≥μ for all (x,y)∈P∖P′, and thus for any distribution Q over S, we have
Since f is a convex combination of some hypotheses in H, we have μ≤corrQ(f)≤maxh∈HcorrQ(h). Thus, for any distribution and any labeling of S, there exists a hypothesis in H that has correlation at least μ with the labeling. This implies that S is μ-interpolated by H. By definition of μ-VC dimension, we have ∣S∣≤VCμ(H)=dμ.
Therefore, the VC dimension of F^μ,P′(P) is at most VC(F^μ,P′(P))≤dμ+2ρn, where the additional 2ρn term is due to the fact that there are at most 2ρn data points in P′ that can be shattered additionally. When dμ+2ρn≥2n, we trivially have F^μ,ρ(P)≤22n≤(e/ρ)dμ+4ρn. Otherwise, by Sauer-Shelah-Perles lemma, we have
Setting n≥C0⋅(dμ+log(1/δ)) for a sufficiently large universal constant C0≥1010, we have exp(2+42dμ−10−8n)≤δ. This completes the proof with C=10−33.
6.2 Lower bound
In this section, we show that the sample complexity of weak-to-strong learning with a γ-weak learner is at least Ω((dγ+log(1/δ))/ε). The proof follows the standard lower bound argument for realizable PAC learning due to Blumer et al. [1989].
Theorem 6.9. Let δ∈(0,1/14), ε∈(0,1/16) and γ∈(0,1]. Let H⊆{±1}X have VCγ(H)=dγ≥2, and let A be a weak-to-strong learning algorithm that uses a γ-weak learner with base hypothesis class H. Let n be an integer with n≤max{128εdγ,4εlog(1/2δ)}.
Then there exists a distribution D over X and a target c:X→{±1} such that the distribution (x,c(x)),x∼D, is γ-realizable by H, and let S∼Dn be a sample of size n, then
P[LD(A(S))>ε]≥δ.
Proof of Theorem 6.9. We handle the two terms in the maximum separately. In both cases, the distribution D is supported on a set X′ with ∣X′∣≤dγ that is γ-interpolated by H. Thus, any labeled distribution over X′ is γ-realizable by H, and every call to the weak learner is valid. By the learning model, A(S) depends only on the labeled sample S and its internal randomness, and thus is independent of the labels of unseen points.
Case 1: n≤dγ/(128ε). Let X′={x1,…,xdγ}⊆Xγ-interpolated by H. Let D give probability 1−8ε to x1 and probability 8ε/(dγ−1) to each of the remaining x2,…,xdγ. Draw c uniformly from C, where C is the set of all labelings of X′ that label x1 as 1. Let S=((s1,c(s1)),…,(sn,c(sn))) be a training sequence of size n, where s1,…,sn are drawn i.i.d. from D.
Let X be a random variable that counts the number of times {x2,…,xdγ} appears in S. Then, by linearity of expectation, we have
where the last inequality is by the assumption that n≤dγ/(128ε). By Markov's inequality, we have P[X≥dγ/4]≤1/4. Thus, with probability at least 3/4 over the choice of S, we have X<dγ/4.
Conditioned on X<dγ/4, there are at least 3dγ/4−1 points in {x2,…,xdγ} that do not appear in S, and let I be the set of such points. Since c is uniformly at random chosen from C, the labels of these points are independent and uniformly at random chosen from {±1}. Thus, over the randomness of c, any classifier A(S) has error at least 1/2 on each of these points.
Let LD′(A(S),c) be the expected error of A(S) with respect to D and c that only considers the points in {x2,…,xdγ}, i.e.,
where the last inequality is by the assumption that dγ≥2. Thus, there exists a choice of c such that ES∼Dn[LD′(A(S),c)]≥3ε/2. Since LD′(A(S),c) is at most 8ε, reverse Markov's inequality implies that for such a choice of c, we have
Case 2: n≤log(1/(2δ))/(4ε). Let X′={x1,x2} be γ-interpolated by H. Let D give probability 1−2ε to x1 and probability 2ε to x2. Draw c uniformly from C={c1,c2}, where c1(x1)=c1(x2)=c2(x1)=1 and c2(x2)=−1.
Probability that x2 does not appear in S is (1−2ε)n. Since c is uniformly at random chosen from C, the label of x2 is independent and uniformly at random chosen from {±1}. Thus, over the randomness of c and S, we have
which implies that there exists a choice of c such that
PS∼Dn[LD(A(S))>ε]≥(1−2ε)n⋅1/2≥e−4εn/2≥δ,
where the last two inequalities come from ε∈(0,1/16) and n≤log(1/(2δ))/(4ε). This completes the proof of this part.
Acknowledgements
AI Disclosure. ChatGPT suggested using the discrepancy bound for intervals in permutations due to Spencer et al. [2001], which led to an improvement of the upper bound in Theorem 1.4 from O(γdlog3/2(γd)) to O(γdlog(γd)). The original bound was derived by the authors using γ2-norm techniques from Matoušek et al. [2020]. ChatGPT also suggested the argument used in Lemma 3.1. ChatGPT and Claude were additionally used for calculations, verification, and language editing. The authors take full responsibility for all results and the content of this paper.
References
Ishaq Aden-Ali, Yeshwanth Cherapanamjeri, Abhishek Shetty, and Nikita Zhivotovskiy. Optimal PAC bounds without uniform convergence. In FOCS, pages 1203–1223. IEEE, 2023. 3
Noga Alon, Steve Hanneke, Ron Holzman, and Shay Moran. A theory of PAC learnability of partial concept classes. In FOCS, pages 658–671. IEEE, 2021. 3
Noga Alon, Alon Gonen, Elad Hazan, and Shay Moran. Boosting simple learners. TheoretiCS, 2, 2023. Extended version of a paper originally appearing in STOC 2021. 2, 4, 5, 7, 11, 15
Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K Warmuth. Learnability and the vapnik-chervonenkis dimension. Journal of the ACM (JACM), 36(4):929–965, 1989. 26
Leo Breiman. Prediction games and arcing algorithms. Neural computation, 11(7):1493–1517, 1999. 3
B Chazelle. Lower bounds for off-line range searching. Discrete & Computational Geometry, 17(1):53–65, 1997. 8, 16, 17
Bernard Chazelle. The discrepancy method - randomness and complexity. Cambridge University Press, 2001. ISBN 978-0-521-00357-5. 16
Richard M Dudley. The sizes of compact subsets of hilbert space and continuity of gaussian processes. Journal of Functional Analysis, 1(3):290–330, 1967. 7, 8
Yoav Freund and Robert E. Schapire. Experiments with a new boosting algorithm. In Proceedings of the Thirteenth International Conference on Machine Learning, pages 148–156, 1996. 1
Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences, 55(1):119–139, 1997. 1
Yoav Freund and Robert E. Schapire. A short introduction to boosting. Journal of Japanese Society for Artificial Intelligence, 14(5):771–780, 1999. 1
Wei Gao and Zhi-Hua Zhou. On the doubt about margin explanation of boosting. Artificial Intelligence, 203:1–18, 2013. 3
Allan Grønlund, Lior Kamma, Kasper Green Larsen, Alexander Mathiasen, and Jelani Nelson. Margin-based generalization lower bounds for boosted classifiers. Advances in Neural Information Processing Systems, 32, 2019. 7, 9
Steve Hanneke. The optimal sample complexity of pac learning. Journal of Machine Learning Research, 17(38):1–15, 2016. 2, 6, 23
David Haussler. Sphere packing numbers for subsets of the boolean n-cube with bounded vapnik-chervonenkis dimension. Journal of Combinatorial Theory, Series A, 69(2):217–232, 1995. 7, 8
Mikael Møller Høgsgaard and Kasper Green Larsen. Improved margin generalization bounds for voting classifiers. In COLT, volume 291 of Proceedings of Machine Learning Research, pages 2822–2855. PMLR, 2025. 3
Michael Kearns and Leslie Valiant. Cryptographic limitations on learning boolean formulae and finite automata. Journal of the ACM (JACM), 41(1):67–95, 1994. 1
M.J. Kearns and L.G. Valiant. Learning Boolean Formulae Or Finite Automata is as Hard as Factoring. Technical report (Harvard University. Aiken Computation Laboratory). Harvard University, Center for Research in Computing Technology, Aiken Computation Laboratory, 1988. URL https://books.google.dk/books?id=r1VpPgAACAAJ. 1
Kasper Green Larsen. Bagging is an optimal pac learner. In Gergely Neu and Lorenzo Rosasco, editors, Proceedings of the Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 450–468. PMLR, 2023. 2, 3, 6, 22, 23
Kasper Green Larsen and Martin Ritzert. Optimal weak to strong learning. Advances in Neural Information Processing Systems, 35:32830–32841, 2022. 1, 2, 3, 6, 23, 24
Kasper Green Larsen and Natascha Schalburg. Tight margin-based generalization bounds for voting classifiers over finite hypothesis sets. CoRR, abs/2511.20407, 2025. To appear at ICML'26. 3
Jiri Matousek. Geometric discrepancy: An illustrated guide, volume 18. Springer Science & Business Media, 1999. 16
Jiří Matoušek, Aleksandar Nikolov, and Kunal Talwar. Factorization norms and hereditary discrepancy. International Mathematics Research Notices, 2020(3):751–780, 2020. 7, 15, 16, 27
Aleksandar Nikolov. Tighter bounds for the discrepancy of boxes and polytopes. Mathematika, 63(3):1091–1113, 2017. 7, 16
Karl F Roth. On irregularities of distribution. Mathematika, 1(2):73–79, 1954. 8, 16, 17
Robert E Schapire. The strength of weak learnability. Machine learning, 5(2):197–227, 1990. 1
Robert E. Schapire and Yoav Freund. Boosting: Foundations and Algorithms. The MIT Press, 05 2012. ISBN 9780262301183. doi: 10.7551/mitpress/8291.001.0001. URL https://doi.org/10.7551/mitpress/8291.001.0001. 3, 4
Robert E Schapire, Yoav Freund, Peter Bartlett, and Wee Sun Lee. Boosting the margin: A new explanation for the effectiveness of voting methods. The annals of statistics, 26(5):1651–1686, 1998. 3
Shai Shalev-Shwartz and Shai Ben-David. Understanding machine learning: From theory to algorithms. Cambridge university press, 2014. 5, 12
Joel H Spencer, Aravind Srinivasan, and Prasad Tetali. The discrepancy of permutation families. Unpublished manuscript, page 21, 2001. 7, 11, 27
Roman Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, Cambridge, 2 edition, 2026. 8