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

PAC Learning Framework

Research Depth 95 in the knowledge graph I know this Set as goal
36topics build on this
579prerequisites beneath it
See this on the map →
Discrete Random VariablesSupervised Learning Fundamentals+2 moreAgnostic PAC LearningBias-Complexity Tradeoff (Formal)+10 more
learning-theory computational-learning sample-complexity

Core Idea

Probably Approximately Correct (PAC) learning, introduced by Leslie Valiant in 1984, formalizes what it means for a learning algorithm to succeed. A concept class is PAC-learnable if there exists an algorithm that, for any target concept in the class and any distribution over inputs, produces a hypothesis with error at most epsilon with probability at least 1 - delta, using a number of samples polynomial in 1/epsilon, 1/delta, and the representation size. This framework transforms the informal question "can we learn this?" into a precise mathematical statement about sample efficiency and computational feasibility.

Explainer

Before the PAC framework, machine learning lacked a rigorous answer to a basic question: when can we say an algorithm has "learned" a concept? Empirical success on a test set is encouraging but proves nothing about future performance or worst-case behavior. Leslie Valiant's 1984 framework answered this by defining learning in terms of two tolerances — an accuracy parameter epsilon and a confidence parameter delta — and requiring that the algorithm's resource usage (both samples and computation) scale polynomially with the difficulty of the guarantee.

The formal setup works as follows. There is an unknown target concept c (a function mapping inputs to {0, 1}) drawn from a known concept class C, and an unknown distribution D over the input space. The learner receives m training examples drawn i.i.d. from D, each labeled by c. The learner must output a hypothesis h such that the probability of h disagreeing with c on a fresh random example from D is at most epsilon, and this guarantee must hold with probability at least 1 - delta over the random draw of the training set. A concept class C is PAC-learnable if there exists an algorithm and a function m(epsilon, delta) polynomial in 1/epsilon and 1/delta such that for every c in C and every D, drawing m(epsilon, delta) examples suffices.

The distribution-free requirement is crucial and often misunderstood. The same algorithm must work regardless of how inputs are distributed — it cannot assume data is Gaussian, uniform, or structured in any particular way. This makes PAC guarantees robust but conservative: real data often has exploitable structure, so PAC bounds can be pessimistic for benign distributions. The computational requirement is equally important: the algorithm must run in polynomial time, connecting learning theory directly to complexity theory. Some concept classes are "information-theoretically" learnable (enough samples exist) but not "computationally" learnable (no known polynomial-time algorithm can find the right hypothesis).

The PAC framework serves as the foundation for most of learning theory. The sample complexity bounds it produces — typically involving the VC dimension or other complexity measures of the hypothesis class — tell you how many examples are necessary and sufficient for learning. It also provides a clean separation between learnable and unlearnable concept classes: some classes (conjunctions, decision lists) are efficiently PAC-learnable, while others (general Boolean functions, certain cryptographic concepts) are provably not under standard complexity assumptions. This framework gives you the language and tools to ask precise questions about learnability, and every subsequent topic in this course builds on or extends the PAC model.

Practice Questions 5 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 Framework

Longest path: 96 steps · 579 total prerequisite topics

Prerequisites (4)

Leads To (12)