Realizable Assumption
The realizable assumption is a required condition of this version of the PAC definition. The guarantee applies when the labeling function f is consistent with the hypothesis class H, together with the distribution D under consideration.
Why the Assumption Matters
PAC learnability is not simply the claim that an algorithm can produce a useful hypothesis. It is a precise guarantee about when a hypothesis class H can be learned. The definition specifies how many labeled examples are needed, which algorithm receives them, what distribution produces the examples, how the examples are labeled, and how accurate and reliable the returned hypothesis must be.
The realizable assumption is a required condition of this version of the PAC definition. The guarantee applies when the labeling function f is consistent with the hypothesis class H, together with the distribution D under consideration.
From Examples to a Guarantee
The PAC process can be read as a pipeline. A distribution D over the instance space X supplies examples. The labeling function f assigns labels to those examples. The learning algorithm receives enough labeled examples and returns a hypothesis h. PAC learnability then asks whether h has loss at most epsilon with probability at least 1 minus delta.
The Definition Components
Each symbol in the PAC definition has a distinct role. H is the hypothesis class to be learned. The function m_H determines how many labeled examples are required for the chosen accuracy and confidence parameters. Epsilon describes the permitted loss, while delta describes the amount of probability left outside the guarantee. D is a distribution over the instance space X, and f is the labeling function. The learning algorithm uses labeled examples and returns h, the hypothesis whose loss is evaluated.
| Symbol | Role |
|---|---|
| H | Hypothesis class being learned |
| m_H | Function that determines the required number of examples |
| epsilon | Allowed loss in the returned hypothesis |
| delta | Probability amount excluded from the guarantee |
| D | Distribution over the instance space X |
| f | Labeling function |
| h | Hypothesis returned by the learning algorithm |
The main components of the PAC learnability definition
What Realizable Means
The realizable assumption says that the target labeling function f is consistent with the hypothesis class H in the setting defined by H, D, and f. In practical terms, the target labeling situation is treated as one that the chosen hypothesis class can represent. This condition matters because the stated PAC guarantee is required only when the realizable assumption holds.
Reading the Sample Threshold
A Symbolic PAC Scenario
Suppose H is a hypothesis class, D is a distribution over X, and f is a labeling function consistent with H. What must happen when the learner receives m examples satisfying m at least m_H(epsilon, delta)?
- 1Check the assumption
The realizable assumption must hold with respect to H, D, and f.
- 2Check the sample size
The number of labeled examples must meet the threshold m at least m_H(epsilon, delta).
- 3Run the learner
The learning algorithm receives the labeled examples and returns a hypothesis h.
- 4Apply the guarantee
The returned h must have loss at most epsilon with probability at least 1 minus delta.
PAC learnability requires that a suitable function m_H and a suitable learning algorithm exist so this guarantee holds for every allowed epsilon and delta, every distribution D over X, and every labeling function f when the realizable assumption holds.
The threshold m_H(epsilon, delta) connects the learner's resources to the requested guarantee. The learner must receive at least that many labeled examples. The source definition does not specify a particular numerical value for m_H; it requires that such a function exist and determine the required sample size.
What do you think happens?
If the learner receives m examples with m less than m_H(epsilon, delta), does the PAC definition require the stated guarantee?
Reveal answer
No, the definition's threshold condition has not been met.
The stated guarantee is required after the sample threshold m at least m_H(epsilon, delta) is satisfied. The definition does not state the same guarantee for a smaller sample.
Common Interpretation Errors
Common mistake Treating m_H as the returned hypothesis.
What it looks likeReading m_H as if it were h.
Why it failsm_H is the function that determines how many examples are required, while h is the hypothesis returned by the learning algorithm.
Do this insteadKeep the roles separate: m_H sets the sample threshold, and h is evaluated using the PAC guarantee.
Common mistake Ignoring the realizable assumption.
What it looks likeApplying the guarantee without checking the relationship among H, D, and f.
Why it failsThe definition requires the realizable assumption to hold.
Do this insteadState explicitly that the guarantee is conditional on the realizable setting.
Common mistake Confusing epsilon with delta.
What it looks likeDescribing delta as the allowed loss of h.
Why it failsThe guarantee uses epsilon for the loss bound and 1 minus delta for the probability level.
Do this insteadRemember the two parts separately: loss at most epsilon, with probability at least 1 minus delta.
Common mistake Assuming the source provides a numerical sample bound.
What it looks likeClaiming a specific number of examples without a specified m_H.
Why it failsThe definition only states that m_H supplies the required bound.
Do this insteadUse the symbolic threshold m at least m_H(epsilon, delta) unless a particular function is provided.
Common mistake Treating PAC learnability as a guarantee for one fixed situation only.
What it looks likeChecking the definition for only one choice of epsilon, delta, or D.
Why it failsThe definition requires the guarantee for every allowed epsilon and delta, every distribution D over X, and every labeling function f when realizability holds.
Do this insteadPay attention to the scope of the quantifiers in the definition.
Practice Check
Explain the PAC guarantee in your own words using all seven components: H, m_H, epsilon, delta, D, f, and h. Your explanation must include the sample threshold, the realizable assumption, the loss bound, and the probability bound.
Hints
- Start by identifying what H contains and what m_H determines.
- State how D and f produce the labeled learning problem.
- Finish by explaining what h must satisfy after m reaches m_H(epsilon, delta).
A complete answer should say that H is PAC learnable when there is a sample-complexity function m_H and a suitable learning algorithm such that, for every allowed epsilon and delta, every distribution D over X, and every labeling function f satisfying the realizable assumption, receiving at least m_H(epsilon, delta) labeled examples leads to a returned hypothesis h with loss at most epsilon with probability at least 1 minus delta.
Key Takeaways
- PAC learnability describes when a hypothesis class H can be learned under a precise probabilistic guarantee.
- The function m_H determines the required number of labeled examples, expressed by the threshold m at least m_H(epsilon, delta).
- D supplies the distribution over the instance space X, f supplies the labels, and the algorithm returns a hypothesis h.
- The realizable assumption requires the labeling situation defined by H, D, and f to be consistent with the hypothesis class.
- After enough examples, h must have loss at most epsilon with probability at least 1 minus delta.