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

Concentration Inequalities

Research Depth 90 in the knowledge graph ☐ I know this ☆ Set as goal
33topics build on this
411prerequisites beneath it
See this on the map →
Discrete Random VariablesExpected Value+1 more→→Agnostic PAC LearningBandit Problems (Multi-Armed Bandits)+8 more
probability concentration tail-bounds hoeffding

Core Idea

Concentration inequalities quantify how tightly a random variable clusters around its expected value. Unlike the central limit theorem (which gives asymptotic normality), concentration inequalities provide finite-sample, non-asymptotic tail bounds. Hoeffding's inequality bounds the deviation of a sum of bounded independent random variables: P(|mean - E[mean]| >= t) <= 2 * exp(-2nt2) for variables in [0,1]. McDiarmid's inequality extends this to any function of independent variables with bounded differences. Bernstein's inequality tightens the bound when the variance is small. These are the workhorses of learning theory — every generalization bound, uniform convergence result, and sample complexity argument relies on concentration inequalities.

Explainer

Concentration inequalities are the probabilistic engine that powers virtually every result in machine learning theory. They answer a specific question: given n independent samples, how likely is it that the sample statistic deviates from its expected value by more than a given amount? The answers they provide are non-asymptotic (valid for any n, not just large n) and distribution-free (valid for any distribution satisfying the stated conditions), making them the ideal tools for deriving PAC-style guarantees.

Hoeffding's inequality is the workhorse. If X_1, ..., X_n are independent random variables with X_i in [a_i, b_i], then P(|mean(X) - E[mean(X)]| >= t) <= 2 * exp(-2n2t2 / sum(b_i - a_i)2). For variables in [0,1], this simplifies to P(|mean - mu| >= t) <= 2 * exp(-2nt2). The bound is exponential in n — the probability of a large deviation decreases exponentially with the sample size. This exponential decay is why PAC bounds have logarithmic dependence on 1/delta: to achieve failure probability delta, you need n proportional to log(1/delta), because exp(-cn) = delta gives n = log(1/delta)/c.

McDiarmid's inequality extends Hoeffding to functions beyond simple means. If f(X_1, ..., X_n) satisfies the bounded differences property — changing any single X_i changes f by at most c_i — then P(|f - E[f]| >= t) <= 2 * exp(-2t2 / sum c_i2). This is directly applicable to learning theory: the empirical risk of a hypothesis h on a sample (X_1, y_1), ..., (X_n, y_n) is a function with bounded differences (changing one example changes the risk by at most 1/n), so McDiarmid gives the concentration of empirical risk around true risk. This is the foundation of generalization bounds.

Bernstein's inequality refines Hoeffding when the variance is known to be small: P(mean - mu >= t) <= exp(-nt2 / (2(sigma2 + t/3))). When sigma2 << 1/4 (the maximum variance for [0,1] variables), Bernstein's bound is substantially tighter. This matters in learning theory when the best hypothesis has low error — the variance of its indicator variable is approximately p(1-p), which is small when p (the error) is small. Bernstein-based bounds give faster rates (O(1/n) instead of O(1/sqrt(n))) in the low-error regime, capturing the intuition that learning is easier when the target is nearly deterministic. Together, these three inequalities form the probabilistic toolkit that every subsequent topic in this course draws upon.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Concentration Inequalities

Longest path: 91 steps · 411 total prerequisite topics

Prerequisites (3)

Leads To (10)