Glossary · Rod Amora ·
Generalization
Generalization asks whether a rule learned from observed cases still works on cases it has not seen.
Generalization asks whether a rule learned from observed cases still works on new cases. A rule can fit every example in its sample and fail on the next client request, document, or exception. Bennett’s paper asks which rule is more likely to work beyond the examples: the one that leaves more possibilities open or the one written in fewer words. In the paper’s formal setup, the weaker rule is favored over the shorter one. In his 8-bit binary addition and multiplication experiment, the weakest hypothesis generalized at 1.1x to 5x the rate of the shortest across the tested settings. That range comes from one formal experiment. It is not a guarantee for every model or workflow. For an operator, the useful question is whether a rule works on cases it did not see.
What does generalization mean?
Generalization means applying a hypothesis, or rule, learned from observed cases to cases outside that sample. Here, a hypothesis is the rule being tested. It might be a model’s learned rule, a written operating instruction, or a decision boundary that separates one choice from another. The rule has generalized when it gives the right result on a case it did not see while the rule was formed.
Imagine a service firm writes an instruction from ten proposal requests. The instruction handles those ten requests cleanly. A new client asks for a proposal with a different industry, scope, or approval path. If the rule still produces a correct and checkable result, it covers an unseen case. If it only recognizes patterns in the first ten requests, it fitted the sample without generalizing.
Memorization can look like generalization when the test set looks too much like the examples. The real test needs cases that were not used to write the rule. The eval term covers the repeatable scoring method. Generalization is the question that score is meant to answer: does the rule hold beyond what it already knows?
Why is a weak hypothesis different from a short hypothesis?
Weakness and shortness measure different things. A weak hypothesis leaves more possible cases open. In Bennett’s formalism, its weakness is the size of its extension, written as |Z_l|. In plain words, weakness measures how many cases the rule leaves open. Shortness measures how few words, symbols, or bits describe the hypothesis.
A short statement can still rule out almost everything. Bennett writes that “a simple statement need not be weak, for example ‘all things are blue crabs’.” The sentence is compact. Its claim is narrow because it excludes nearly every other possibility. A longer statement can leave more cases open while still fitting what was observed.
Weakness does not mean vague, careless, or permissive. The selected hypothesis must remain correct on the observed cases. Weakness asks how little it rules out beyond those cases. Shortness asks how briefly it can be written.
Bennett’s counterexample makes the formal distinction concrete. His Proposition 3 compares a shortest hypothesis {z} with a weaker hypothesis {j,k}. The shorter option loses because it leaves fewer possibilities available for unseen cases. The result does not say longer rules always win. Description length alone does not settle which correct hypothesis will generalize.
What did Bennett actually prove?
Bennett’s proof asks how much of the unseen space a rule still covers after it fits the observed cases. A rule that leaves more possible cases open has more chances to match a new case, as long as it remains correct on the cases already observed.
Bennett’s proof is conditional on its stated assumptions. It assumes tasks are uniformly distributed and uses a formalism of enactive cognition. Within that setting, it derives the probability of generalizing as 2^|Z_Sα ∩ Z_h| / 2^|Z_Sα|. The probability is maximized by the weakest hypothesis that is still correct on what was observed.
The paper states three propositions. First, weakness is sufficient to maximize the probability of generalizing. Second, weakness is necessary for that maximum. Third, minimum description length is neither sufficient nor necessary. The {z} and {j,k} counterexample explains why the third proposition matters.
Those assumptions set the boundary. This is a proof about selecting a hypothesis under a uniform task distribution and the paper’s formal setting. It is not an unconditional law about every machine-learning model, prompt, AI workflow, or service business. The paper also does not give an algorithm for maximizing weakness in our stack. Bennett lists implementing the idea inside neural networks as future work.
What did the experiment find?
The experiment tested 8-bit string prediction for binary addition and multiplication. A program saw part of a truth table, inferred a rule using either weakest or shortest selection, and then faced the full table. Each setting used 75 to 256 trials.
| Task | Examples | Weakest generalizes | Shortest generalizes |
|---|---|---|---|
| Addition | 6 | .11 | .10 |
| Addition | 10 | .27 | .13 |
| Addition | 14 | .68 | .24 |
| Multiplication | 6 | .05 | .01 |
| Multiplication | 10 | .16 | .08 |
| Multiplication | 14 | .46 | .21 |
Across these settings, Bennett reports that the weakest hypothesis generalized at 1.1x to 5x the rate of the shortest. The partial-generalization extent was 1.03x to 1.56x. The range matters because it shows different results across tasks and sample sizes. It is not one multiplier to use as a standing benchmark.
The experiment does not measure service-firm workflows. It does not show that a less specific prompt always produces safer or more accurate client work. It gives evidence for a hypothesis-selection result under a defined task distribution. The operational translation needs a separate test.
What is Bennett’s Razor?
Bennett calls his rule Bennett’s Razor: “Explanations should be no more specific than necessary.” Among hypotheses that explain what has been observed, the least specific one contradicts fewer possibilities. Under the paper’s assumptions, that makes it more likely to hold on an unseen case.
This differs from Occam’s razor and minimum description length. Those approaches reward brevity. Bennett’s Razor rewards weakness, meaning the number of possibilities an explanation leaves open. “All things are blue crabs” is useful because it is simple and highly specific at the same time.
The sentence can guide how I write an operating rule. That is an application of the paper, not a finding from its experiment. If the evidence says a proposal must use the approved price list, that restriction belongs in the rule. If the first few examples happened to mention one file name, that detail does not belong unless the work needs it.
What can an operator take from the result?
Use unseen cases to test whether an instruction generalizes. Take the examples used to write the rule out of the test set. Collect representative cases that vary the client, input, document, and exception. Score whether the same rule still produces a correct result.
When a case fails, separate two causes. The rule may be too narrow because it included a restriction the evidence did not require. The source, standard, or owner may also be missing. Weaken the first kind of rule. Fix the second kind of process. Calling both failures “the model got it wrong” hides the decision you need to make.
This is where documenting the process before an agent runs it helps. The record should say what starts the work, what counts as correct, which exceptions need judgment, and who owns the decision. Write those boundaries from the work, not from one convenient example.
A weak rule still needs controls. “No more specific than necessary” does not remove approval gates, source permissions, output checks, or refusal paths. A rule can be narrow for a load-bearing reason. State that reason so the next person can tell necessary precision from accidental overfitting.
Where does generalization sit on the Delivery Model Ladder?
Generalization sits at Stage 2, Augmented, on the Delivery Model Ladder. At this stage, a written workflow uses AI for a defined part of delivery and has representative tests for the cases it is expected to cover. A person still owns exceptions and reviews results that carry consequence.
Stage 1 applies a rule case by case with manual judgment. Stage 2 makes the rule repeatable and tests it beyond the examples that formed it. Stage 3 would make broader testing and exception handling part of the firm’s operating model. These are editorial placements for this glossary. They are not stages named or measured by Bennett.
This term belongs under The Production Gap, where a rule that fits a sample has to become dependable live work. The next test is practical: run the current rule on cases it did not see, record which restrictions the evidence required, and inspect failures before adding more instructions.
The paper’s proof stops at its assumptions. Applying the idea to service work also requires a defined task, a test set outside the writing sample, and someone who can judge the result. A task with no stable standard cannot show whether a hypothesis generalized.
FAQ
What is generalization in machine learning?
Generalization is when a hypothesis learned from observed cases still holds on cases the system did not see while forming the rule. A good fit to the sample is not enough.
What is the difference between generalization and memorization?
Memorization reproduces the cases in the sample. Generalization applies the learned rule to new cases. A test set must include cases that were not used to write or fit the rule.
Is a shorter hypothesis always better?
No. Shortness measures how few words or symbols describe a hypothesis. Weakness measures how many possible cases it leaves open. Bennett argues that, under his stated assumptions, weakness is what favors generalization.
What is Bennett's Razor?
Bennett's Razor says, "Explanations should be no more specific than necessary." It favors the least specific hypothesis that still explains the observed cases, under the paper's assumptions.
What assumption does Bennett's proof make?
The result assumes tasks are uniformly distributed and uses a formalism of enactive cognition. It is a conditional result about hypothesis selection, not an unconditional law for every model or workflow.
How can I test whether an AI workflow generalizes?
Remove the examples used to write the rule from the test set. Run the workflow on representative new clients, inputs, documents, and exceptions, then score whether the result stays correct and checkable.