Movement I: Belief and Conditioning
EE 520: Random Processes (Fall 2026). Instructor: John Lipor.
Session 1 ended with a promise. We had turned a prior of on a cell into a posterior of after one failed look, using nothing but the definition , and we called the move restriction and renormalization. Today we give that move its name, Bayes’ rule, and a formula that updates a belief over any number of cells, for any sensor, in one line. The session thesis: Bayes’ rule is the unique consistent way to move belief when evidence arrives, and applied repeatedly it is a learning algorithm.
[Thread A] Reopen the state of the Session 1 search game. Suppose the class looked in cell twice and came up empty both times. Watch what happened to the votes: on the first ballot the room still favored cell (it had the largest prior), but after the second failure the votes drifted toward cell . Nobody in the room was doing arithmetic; they were running an approximation to a law. Our job today is to write that law down exactly, prove it, and then push it further than intuition can follow: what does belief do after ten failed looks, or a hundred? By the end of the hour you will be able to answer, on paper, questions the voting could only gesture at.
Everything rests on two results that upgrade last session’s definition into a machine: the law of total probability, which assembles the probability of an observation from its possible causes, and Bayes’ rule, which runs that assembly backward to update belief about the cause.
We first need vocabulary for “a complete list of mutually exclusive possibilities.”
Definition 1 (Partition). A collection of events is a partition of if the are pairwise disjoint ( for ) and together they exhaust the sample space ().
In the search problem the events form a partition: the wreck is in exactly one cell.
Theorem 1 (Law of total probability). Let be a partition of with for every . Then for any event ,
Proof. Because the partition , the sets are pairwise disjoint and their union is . Finite additivity gives , and the chain rule rewrites each term as . ◻
Key idea. The law of total probability is a bookkeeping identity: to find how likely an observation is overall, average its conditional probability over every possible state of the world, weighting each by how likely that state is. It is how we compute the denominator in what follows.
Total probability runs “causes observation.” We want the reverse: an observation has arrived, and we want to revise belief about its cause.
Theorem 2 (Bayes’ rule). Let be a partition of with each , and let be an event with . Then for each ,
Proof. The chain rule gives two ways: . Divide by for the first equality; the second substitutes the law of total probability (Theorem 1) for . ◻
The four pieces of [eq:bayes] carry names we will use for the rest of the course. Read as a hypothesis about the world and as the data: The prior is what we believed before the data; the likelihood is how well hypothesis predicts the data we saw; the evidence is the total-probability normalizer; and the posterior is the updated belief. In three words: posterior prior likelihood, with the evidence fixing the constant so the posterior sums to one.
Pitfall. The likelihood is a function of the hypothesis with the data held fixed. It is not a probability distribution over the hypotheses: the numbers need not sum to , and there is no reason they should. (In the search game each is a single sensor probability like or .) Only after multiplying by the prior and dividing by the evidence do we get something that sums to one across .
We now specialize Bayes’ rule to the search problem and get a formula worth memorizing. Let the target lie in one of cells with prior . We search cell . As in Session 1, a search of the cell that holds the target fails with the overlook probability , while a search of a cell that does not hold the target always fails. Write for the per-look detection probability, and let be the event “the search of cell fails.”
Proposition 1 (Failed-search update). With the setup above,
Proof. The cells partition the possibilities, so Bayes’ rule applies with likelihoods (the target is there but the look overlooks it) and for (the look cannot find a target that is elsewhere). The evidence is, by the law of total probability, Dividing each likelihood-times-prior by this evidence gives [eq:failed]. ◻
Corollary 1 (Probability flows out of the searched cell). If and , then the searched cell’s probability strictly decreases, while every other cell’s probability increases by the same factor . Belief leaves the cell we searched and is redistributed among the rest in proportion to their current probabilities.
Proof. The ratio for cell is below exactly when , i.e. , which holds since and . For the ratio exceeds because , and it does not depend on . ◻
Pitfall. After writing down likelihood times prior, you must divide by the evidence. Skipping the division leaves you with the unnormalized numbers and , which do not sum to one and are not probabilities. The evidence is exactly the sum of those numerators; dividing by it is the renormalization step from Session 1.
What if we search the same cell again and again and keep failing? Model the looks as conditionally independent given the target’s location: if the target is in cell , each look fails independently with probability , so looks all fail with probability ; if the target is elsewhere, all looks fail with probability . (This conditional-independence assumption is the quiet workhorse of the whole course; Session 3 examines it directly.)
Proposition 2 (Vanishing belief under repeated failure). After failed searches of cell , starting from prior , For any this tends to as .
Proof. Group the world into the two hypotheses “cell ” (prior ) and “not cell ” (prior ). The likelihood of failures is under the first and under the second, so Bayes’ rule gives [eq:repeat]. As , , so the numerator while the denominator ; hence the ratio . ◻
One reading, worth stating aloud: unless the sensor is perfect () the belief drops fast, and unless the target is certainly in cell to begin with, persisting in searching a cell that keeps coming up empty is eventually irrational. The only way repeated failure fails to erode belief is , a sensor that never detects anything and therefore whose failures carry no information.
For two hypotheses, Bayes’ rule has an especially clean shape. Define the prior odds of hypothesis against its complement as , and likewise the posterior odds . Dividing the two instances of Bayes’ rule [eq:bayes] (for and for ) cancels the shared evidence : The update is now a single multiplication: posterior odds prior odds likelihood ratio. No normalizer appears, because odds are ratios and the evidence cancels.
The likelihood ratio is the evidence’s whole content. Equation [eq:odds] says an observation influences belief only through its likelihood ratio . Two different observations with the same likelihood ratio move belief identically. This one number is the entire evidentiary payload of the data; it returns in Session 10 as the detection statistic that decides target-or-no-target.
Take the Session 1 prior and , so . We search region and fail.
First failed look. The evidence is . Proposition 1 gives The four posteriors sum to , and every unsearched cell grew by the factor promised by Corollary 1. Notice already that region , at , has overtaken region , at : a single empty look was enough to unseat the favorite.
Second failed look in region . Treat the posterior above as the new prior; now and the evidence is . Then with regions and at and . Equivalently, the two-failure formula [eq:repeat] gives region directly as , a useful check.
When does region 2 overtake region 1?. Region passes region after the first failed look (posteriors vs. ), and the gap only widens with more failures. The crossover happens as soon as the searched favorite has enough probability drained to fall below the runner-up, which here is immediate.
Historical sidebar. This exact update guided real searches. When the submarine USS Scorpion was lost in 1968, John Craven’s team placed a prior over the seafloor and updated it as sonar sweeps came back empty, recovering the wreck near the posterior’s peak. The 2011 search for Air France 447’s flight recorders used the same Bayesian bookkeeping after earlier sweeps had failed. In both, a failed look was treated not as wasted effort but as data.
A cognitive-radio node must decide whether a licensed channel is occupied. Occupancy is rare: the prior is . The node’s detector has probability of detection and probability of false alarm . The detector raises a flag. How strongly should the node now believe the channel is occupied?
Work in odds. The prior odds of occupied against free are , i.e. . The likelihood ratio of a flag is By the odds form [eq:odds], the posterior odds are , i.e. , so
Pitfall. A detector that is right of the time fires, yet the channel is probably still free. That feels wrong until the odds form makes it obvious: the flag multiplied the odds by , but it started times more likely to be free than occupied, and cannot overcome in a single step. Ignoring the small prior and reading as “ sure” is base-rate neglect, the most common error in applied inference. The likelihood ratio is strong; the prior is stronger.
Work these in class.
(Mechanical.) Prior
over three cells, overlook probability
(so
).
Search
cell
and fail. Compute the full posterior.
Answer: evidence
;
posterior
.
(Odds form.) A test for a rare fault has prior
,
detection probability
,
false-alarm probability
.
The test fires. Give the posterior odds and probability of a
fault.
Answer: prior odds
,
,
posterior odds
,
so
.
(Conceptual.) In Proposition 2, what
happens to the posterior of
cell
under repeated failure if
?
Explain in one sentence why this is the only exception to “belief
erodes.”
Answer: it stays at
forever, because an
sensor fails with probability
whether or not the target is present, so its failures have likelihood
ratio
and carry no information.
Bayes’ rule is the answer to the third question of the course slogan: how should observation change belief? It does so in one identity, posterior prior likelihood, with the evidence renormalizing. Applied once, it turns a prior over cells into a posterior; applied repeatedly, with each posterior serving as the next step’s prior, it is a learning algorithm that drove the belief in a fruitlessly searched cell to zero and, in the odds form, reduced an observation’s whole effect to a single multiplier, the likelihood ratio. Every later session is a new home for this machinery: continuous data in Movement II, vectors in Movement IV, whole functions in Movement V, but always posterior prior likelihood. One assumption, though, has been running silently underneath the repeated-search formula: that successive looks are independent given the target’s location. Session 3 asks when that is legitimate, and what a belief is finally for once we have it, which is to choose an action.
In Bayes’ rule, which factor is a function of the hypothesis with
the data fixed, and why need it not sum to one over hypotheses?
Answer: the likelihood
;
it is a list of predictions of one fixed observation, not a distribution
over
,
so nothing forces
.
After a failed search of
cell ,
by what common factor do all the other cells’ probabilities grow, and
why is it the same for each?
Answer: by
;
it is common because each unsearched cell’s likelihood of the failure is
,
so only the shared evidence rescales them.
Prior odds
and a likelihood ratio of
give what posterior probability, and what is the lesson?
Answer: posterior odds
,
probability
;
a strong likelihood ratio can still lose to a strong prior (base-rate
neglect).