Concepts / Minimum Description Length and Hypothesis Hierarchies

Minimum Description Length and Hypothesis Hierarchies

PAC-Bayes bounds connect two distributional views of the same hypothesis class: a prior hierarchy before learning and a posterior distribution produced by learning.

  • Programming

From One Hypothesis to a Distribution

A learning algorithm does not necessarily have to return one hypothesis. In the PAC-Bayes view, it can work with a distribution over a hypothesis class H. This changes the central question: instead of asking only which single hypothesis was selected, we also ask how probability is distributed across the available hypotheses before and after learning.

Key point

PAC-Bayes bounds connect two distributional views of the same hypothesis class: a prior hierarchy before learning and a posterior distribution produced by learning.

Hhypothesis classh1hypothesish3hypothesish2hypothesiscontainscontainscontains
How does a PAC-Bayes view organize hypotheses into levels within the hypothesis class H?

The Hypothesis Class H

The hypothesis class H is the collection over which the distributional view operates. Individual hypotheses are members of H. The prior assigns probability or density to these members before learning, and the posterior is another distribution over H that is produced by the learning process.

Hhypothesis classh1hypothesish2hypothesisPprior distributionQposterior distributioncontainscontainsassigns probabilityassigns probabilityassigns probabilityassigns probability
What does the hypothesis class H contain, and how do distributions relate to its individual hypotheses?

Before Learning: The Prior P

Definition

The prior distribution P assigns a probability or density P(h) to each hypothesis h before learning. Its role is to describe the initial hierarchy over the hypotheses in H.

DistributionWhen it appliesWhat it describes
PBefore learningThe prior hierarchy over hypotheses
QAfter the learning process produces itThe distribution used by the learned randomized rule

The essential distinction is the role and timing of P and Q.

Pbefore learningP(h)probability or densityQafter learningQ(h)posterior probabilityassignsassigns
What is the difference between the prior distribution before seeing data and the posterior probability after the learning process?

Learning Changes the Distribution

Learning changes which distribution is used to select hypotheses. The prior P is the distribution available before learning. The learning algorithm produces a posterior Q over H. The posterior does not have to be understood as one final hypothesis; it can describe how the algorithm distributes probability across the hypothesis class after learning.

Pprior distributionObserved datalearning inputQposterior distributionlearning usesproduces
How does learning change the distribution used to select hypotheses?
Worked example

Tracking a Distributional Update

Suppose a hypothesis class H contains h1, h2, and h3. Describe the roles of P and Q without treating the learner's result as a single hypothesis.

  1. 1
    Initial organization

    Before learning, P assigns a probability or density to each of h1, h2, and h3. This is the prior organization of the class.

  2. 2
    Learning step

    The learning algorithm uses the learning situation to produce a posterior distribution Q over the same class H.

  3. 3
    Final interpretation

    The result is Q, a distribution over hypotheses, rather than necessarily one selected member of H.

Result

The class H stays as the space of available hypotheses, while the distribution used to select among them changes from P to Q.

Randomized Prediction from Q

A posterior probability Q defines a randomized prediction rule. For an input x, the rule selects a hypothesis h according to Q and then predicts h(x). The prediction process therefore has two conceptual stages: select a hypothesis using Q, then apply that hypothesis to x.

Qposterior distributionSelect haccording to Qxinputh(x)predictionsamplesapplies hprovides x
How does a posterior probability distribution select or weight hypotheses to produce a randomized prediction?
In the real world

Generated example: imagine H contains three candidate rules for classifying an input. Q gives each rule a probability. For a particular input x, the randomized rule selects one candidate according to Q and returns that candidate's prediction h(x). The important point is that Q governs the selection process; the learner need not output only one permanent rule.

What the PAC-Bayes Connection Adds

PAC-Bayes bounds connect the prior and posterior views rather than focusing only on a single selected hypothesis. The prior describes the hierarchy before learning, while the posterior describes the distribution produced by learning. This connection lets the analysis discuss both the initial organization of H and the algorithm's distributional result.

Hhypothesis classPprior hierarchyEmpirical performanceobserved behaviorQlearned distributionP versus Qdistributional connectionorganized bydistributed overprovides priorprovides posteriordescribes learned behaviorconnects to analysis
How are the prior, posterior, empirical behavior, and complexity-related comparison connected in a PAC-Bayes view?

Common Interpretation Errors

  • Common mistake

    Treating the learner's result as necessarily one hypothesis.

    What it looks like

    Assuming that learning must return h1 and discard every other member of H.

    Why it fails

    The PAC-Bayes view allows the learning algorithm to return a posterior distribution Q over H.

    Do this instead

    Describe Q as the learned distribution, and explain prediction as selecting h according to Q before computing h(x).

  • Common mistake

    Using P and Q as interchangeable names.

    What it looks like

    Calling the distribution used after learning the prior.

    Why it fails

    P and Q have different roles and timing.

    Do this instead

    Use P for the prior distribution before learning and Q for the posterior distribution produced by learning.

  • Common mistake

    Saying that Q directly predicts without mentioning hypothesis selection.

    What it looks like

    Writing that Q predicts x, with no reference to a selected h.

    Why it fails

    The randomized prediction rule selects h according to Q and then predicts h(x).

    Do this instead

    State both stages: select h according to Q, then apply h to x.

  • Common mistake

    Describing the PAC-Bayes view only as a ranking of individual hypotheses.

    What it looks like

    Discussing which single hypothesis wins while ignoring the distributions.

    Why it fails

    PAC-Bayes bounds connect the prior and posterior distributional views.

    Do this instead

    Explain how P organizes H before learning and how Q describes the result after learning.

Practice: Trace P to Q

MEDIUM

A hypothesis class H contains h1, h2, and h3. Write a short explanation that traces the system from the prior stage to a prediction for an input x. Your explanation must identify what P does, what learning produces, what Q does, and why the final prediction is written as h(x).

Hints
  • Start by stating when P assigns probability or density.
  • Name Q as the posterior distribution produced by learning.
  • Describe selection of h according to Q before applying h to x.

What do you think happens?

If a learning algorithm returns a posterior distribution Q over H, must it also return one single hypothesis as its only result?

  • Yes, always

  • No, not necessarily

  • Only before learning

Reveal answer
Answer:

No, not necessarily

In the PAC-Bayes view, the algorithm can work with and return a distribution over the hypothesis class. A randomized prediction rule can select h according to Q and then predict h(x).

Summary

  1. 1
    PAC-Bayes bounds define a hierarchy over a hypothesis class H.
  2. 2
    The prior P assigns probability or density to hypotheses before learning.
  3. 3
    The learning algorithm produces a posterior distribution Q over H rather than necessarily one hypothesis.
  4. 4
    Q defines a randomized prediction rule: select h according to Q and predict h(x).
  5. 5
    PAC-Bayes bounds connect the prior hierarchy with the posterior distribution produced by learning.

At a glance

  • PAC-Bayes bounds organize hypotheses in H through a distributional hierarchy.
  • P is the prior distribution assigned before learning; Q is the posterior distribution produced by learning.
  • A posterior distribution can define a randomized rule that selects h according to Q and predicts h(x).
  • The central learning change is a shift from the prior distribution P to the learned posterior distribution Q.
  • The PAC-Bayes perspective connects these two distributions instead of requiring analysis of only one selected hypothesis.

Related concepts

More concepts starting with M