Evidence adds points
Something is behind a door. Cat or not-cat? Before any clue arrives, call it even: odds of 1:1.
Now a clue: it’s furry. Furry things are, say, four times likelier if it’s a cat. Your odds multiply by 4 → 4:1.
Another clue: it meows. Suppose this is ten times as likely for a cat as for a non-cat. If the clues are independent within cat cases and within non-cat cases, their evidence factors multiply: 40:1.
That assumption is conditional independence: after you are told whether it is a cat, learning one clue does not change the probability of another. Without it, the evidence supplied by a new clue may depend on the clues already seen.
Multiply on one ruler, add on the other
Section titled “Multiply on one ruler, add on the other”But chapter one told us what to do with anything that multiplies: look at it on the log ruler. There, each clue becomes a fixed number of points — furry is +1.4, meows is +2.3, barks is −3.0 — and evidence simply adds:
0 + 1.4 + 2.3 = +3.7 log-odds → sigmoid(+3.7) ≈ 97.6% cat
Belief-updating becomes bookkeeping. Every clue contributes its points, positive or negative; the running total is where you stand on the straight ruler; the sigmoid translates the total back into a probability whenever you want one.
The connection to logistic regression
Section titled “The connection to logistic regression”Logistic regression uses a similar form: multiply each feature by a learned weight, add an intercept, and pass the total through a sigmoid. It fits an additive model of log-odds directly from labeled examples. It does not require the conditional-independence assumption used in our Bayesian example.
And it’s why the reward-model story in the preferences chapter reuses everything here: the Bradley–Terry gap z_A − z_B is a total of evidence on the log-odds ruler, and training it uses the same cross-entropy loss as logistic regression, because underneath they are the same object.
Go deeper: softmax is the many-door version
Two hypotheses need one number (the log-odds). What if there are 50,000 doors — say, every word in a vocabulary? Give each candidate its own score z_i on the log ruler, undo the log to get each one’s strength e^(z_i), and divide by the total so the strengths become shares:
P(i) = e^(z_i) / Σ_j e^(z_j)
That’s softmax — the sigmoid’s many-way generalization (the sigmoid is exactly softmax over two options with one score pinned at 0). It’s the machine at the mouth of every language model, turning scores back into words; temperature is nothing but stretching or shrinking the score ruler before the trip back.
Evidence moves beliefs one clue at a time. But a walk is more than its steps — it matters where you started. Next: the number almost everyone forgets, and the famous “paradox” that dissolves the moment you remember it.