A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Sample Complexity Bounds

Research Depth 98 in the knowledge graph I know this Set as goal
5topics build on this
583prerequisites beneath it
See this on the map →
Concentration InequalitiesPAC Learning Framework+1 moreComputational-Statistical TradeoffsInformation-Theoretic Lower Bounds+2 more
learning-theory sample-complexity upper-bounds lower-bounds

Core Idea

Sample complexity bounds answer the most practical question in learning theory: how many training examples are necessary and sufficient to learn a concept class to a desired accuracy? Upper bounds show that m(epsilon, delta) samples suffice for any algorithm (typically ERM); lower bounds show that no algorithm can learn with fewer. For realizable PAC learning with VC dimension d, the sample complexity is Theta((d/epsilon) * log(1/epsilon) + (1/epsilon) * log(1/delta)). For agnostic learning, it is Theta(d/epsilon2 + log(1/delta)/epsilon2). These bounds bridge theory and practice by converting abstract complexity measures (VC dimension) into concrete data requirements.

Explainer

Sample complexity bounds are where learning theory meets practice most directly. They answer the question every practitioner implicitly asks: "how much data do I need?" While the bounds are worst-case and often conservative, they provide the correct scaling relationships — how data requirements grow with model complexity, desired accuracy, and confidence level.

The realizable case (where the target function is in the hypothesis class) gives the cleanest bounds. The upper bound, proved via uniform convergence, states that m = O((d/epsilon) * log(1/epsilon) + (1/epsilon) * log(1/delta)) samples suffice, where d is the VC dimension. The matching lower bound, proved via information-theoretic arguments, shows that Omega(d/epsilon + log(1/delta)/epsilon) samples are necessary. These match up to the log(1/epsilon) factor, which is known to be tight. The key insight is the linear dependence on d — each additional unit of VC dimension adds a proportional amount to the data requirement.

The agnostic case (where the best hypothesis in the class may have nonzero error) has tighter matching bounds: Theta(d/epsilon2 + log(1/delta)/epsilon2). The extra factor of 1/epsilon compared to the realizable case reflects the statistical cost of estimating error rates rather than detecting the absence of errors. This quadratic dependence on 1/epsilon has significant practical implications: achieving 1% error requires 100 times more data than achieving 10% error, and achieving 0.1% error requires 10,000 times more than 10%. The implication is clear — pushing accuracy to very low levels requires enormous datasets or strong inductive biases.

Beyond the basic PAC bounds, sample complexity theory has been refined for specific hypothesis classes and learning settings. For linear classifiers in d dimensions (VC dimension d+1), the bound is Theta(d/epsilon2). For kernel methods with margin gamma, the effective dimension is R2/gamma2 (where R is the data radius), which can be much smaller than the ambient dimension. For deep networks, the sample complexity is less well-characterized — it depends on the complexity measure used (spectral norms, PAC-Bayes, compression) and the resulting bounds are often loose. The general principle remains: sample complexity is proportional to the effective complexity of the hypothesis class (however measured) and inversely proportional to the square of the desired accuracy. This principle guides decisions about model selection, data collection, and the feasibility of learning tasks.

Practice Questions 4 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionProbability Density Functions and Continuous DistributionsCumulative Distribution FunctionsContinuous Random VariablesProbability Density FunctionsExpected ValueWeak Law of Large NumbersProbability Axioms and RulesConditional ProbabilityLaw of Total ProbabilityBayes' TheoremPAC Learning FrameworkGrowth Function and ShatteringVC DimensionSample Complexity Bounds

Longest path: 99 steps · 583 total prerequisite topics

Prerequisites (3)

Leads To (4)