Movement I: Belief and Conditioning
EE 520: Random Processes (Fall 2026). Instructor: John Lipor.
Sessions 1 and 2 built the machine that moves belief: conditioning, and its industrial form, Bayes’ rule. One assumption rode along underneath the repeated-search formula without inspection. When we said “ failed looks at a cell multiply its odds by ,” we quietly treated those looks as independent given the target’s location. Today we ask when that is legitimate, discover that the same two observations can be independent in one breath and dependent in the next, and then close the loop the course keeps promising: we turn a posterior into an action. The session thesis has two clauses: independence is a modeling assumption, not a default, and a posterior is only as valuable as the action it improves.
[Thread A] Two sonar passes sweep the same seafloor region; both come back empty. Were those two pieces of evidence independent? The honest answer is no and yes, and the gap between those two answers is the most important modeling idea in this course. Yes, in the sense that once we fix where the wreck actually is, the second sonar ping knows nothing about the first: the sensor’s noise is fresh each pass. No, in the sense that we do not know where the wreck is, and the first empty pass has already nudged our belief, so it changes what we expect from the second. By the end of the hour we will make both answers precise, name the property that reconciles them (conditional independence), and then use the belief they produce to decide where to look next, at which point Movement I is complete: a belief, moved by evidence, converted into an action.
Conditioning measures how much one event tells us about another. When it tells us nothing, the events are independent.
Definition 1 (Independence). Two events and are independent if A collection is (mutually) independent if for every finite subset ,
When , independence is equivalent to : learning leaves belief in untouched. That is the reading to carry around, but the product form above is the definition because it is symmetric in and and survives .
Pitfall. Do not conflate disjoint with independent. Disjoint events satisfy , a statement about the sets alone; independence is a statement about the sets and the probability measure. In fact two events with positive probability that are disjoint are as far from independent as possible: while , and observing one rules the other out.
Example 1 (Testing independence numerically). Roll a fair die. Let and , so and . Their intersection is , so : the events are independent, even though nothing about “low” and “even” looks obviously unrelated. Independence is a numerical fact to be checked, not an intuition to be trusted.
Mutual independence asks more than independence of every pair. The gap is easiest to see with two fair coins. Toss them and define Each has probability . Every pair is independent: and by the same token. Yet the three are not mutually independent: knowing and pins down (if both coins are heads they certainly agree), so
Pairwise mutual. Checking independence one pair at a time is not enough: any two of carry no information about each other, but the three together are rigidly linked. Mutual independence must be verified on every subset, not just on pairs. The lesson generalizes: independence is a property of a whole collection under one probability measure, and it can fail at the joint level while holding at every pairwise level.
We can now settle the launch question. The reconciliation of “no and yes” is that independence can hold once a third event is fixed without holding on its own.
Definition 2 (Conditional independence). Events and are conditionally independent given (with ) if
Return to two looks at cell . Let be the target’s location, and take the prior (so ). Each look at cell fails with the overlook probability if the target is there, and always fails if it is not. Let be the events “the first (second) look fails.”
Conditionally on the location, the looks are independent. Given that the target is in cell , the two looks are separate coin flips of the sensor: Given that the target is not in cell , both looks fail for certain, . So and are conditionally independent given .
Marginally, the looks are dependent. Average over the two locations with the law of total probability: By symmetry as well, so The first failure makes the second failure more likely. The mechanism is exactly Session 2: a failed look in cell lowered our belief that the target is there (from to ) and correspondingly raised our belief that it is elsewhere, where a second look is guaranteed to fail. The two observations are entangled not through any direct link but through the common cause they both depend on.
Conditionally i.i.d. given is the default sensor model. Repeated measurements of one latent quantity are the workhorse of the rest of the course: given the truth , the measurements are independent and identically distributed; marginally they are not, precisely because each one carries information about the shared . Every fusion rule, detector, and regression method ahead is built on this “conditionally i.i.d. given ” assumption. It is what made Session 2’s factor legitimate.
A posterior is not the end of the story; it is an input. The course thesis asks how observation should change belief and action, and we now supply the second half. Fix a finite set of possible actions and a utility recording the payoff of taking action when the truth is . We do not know ; we have a belief about it. So we score each action by its average payoff under that belief.
Definition 3 (Expected utility and the optimal action). Under a belief over , the expected utility of action is and an optimal action is any .
Belief in, action out. The belief is the input and the action is the output. Change the belief and the optimal action can change, with the utility held fixed. This is why the loop matters: every observation updates the belief through Bayes’ rule, and the updated belief may call for a different action than the one before it.
A one-shot illustration, continuing the two-cell search. After a failed look in cell our belief that the target is there is . A recovery vehicle can be sent now (action “commit”) or held back (action “defer”). Committing pays if the target is really in cell and if it is not (a wasted, expensive deployment); deferring pays either way. Then so the optimal action is to defer. Note the dependence on belief: with the prior (before any look) the same utilities give , and committing would be optimal. One failed look flipped the decision. The utility never changed; the belief did.
When the action is “which cell to search next,” expected utility takes a concrete and useful form. Suppose a single look at cell costs and, if the target is there, detects it with probability (so ). A natural objective is detection probability per unit cost.
Proposition 1 (Single-look allocation). Under the current belief , the single look maximizing the expected detection probability per unit cost is the cell maximizing
The proof is one line, and it is deliberately yours: Proof: HW1, Problem 4. The lecture’s job is the modeling, that three ingredients, belief , sensor quality , and cost , all enter the decision, and that none of them alone decides it.
Remark 1 (The greedy rule, repeated, is optimal). For equal costs there is a striking fact we will use but not prove: repeating the greedy rule, look where is largest, then apply Bayes’ rule, then look again, minimizes the expected number of looks to find the target. This is the opening theorem of Stone’s Theory of Optimal Search. We will not prove it, but Homework 1 will make you feel why it is plausible. Anything more, sequencing many looks under a budget, belongs to sequential decision theory and its later course, not here.
Posterior Action. The whole of Movement I is one loop. A belief selects an action, the look maximizing ; the action produces an observation, here a failure ; the observation drives an update, Bayes’ rule, which returns a new belief; and the cycle repeats with the quantities recomputed. Figure 1 draws the loop with the search quantities on each edge. Belief, action, observation, update: every session in this course is a new set of labels on these four nodes.
Four cells carry the prior . The sensors and search costs differ by cell: detection probabilities and costs . Which cell should we look in first? Score each by Proposition 1: The optimal first look is cell , not cell , even though cell holds the largest prior. Cell is doubly penalized: its sensor is weak () and its search is expensive (). A large prior is not a mandate to look; belief, sensor quality, and cost all vote.
One failed look, then re-rank. Suppose we look in cell and fail. Its overlook probability is , so by the failed-search update of Session 2 the evidence is , and the posterior is Re-score with the same and : Now cell leads and the next look moves there: the failed look in cell drained its score and promoted the runners-up. This is the loop of Figure 1 turning once, with every number on the page.
AI corner: a language model is a conditional pmf. A large language model is, stripped to its mathematics, a single object: , a conditional distribution over a finite alphabet, learned from data. Generating text is Session 1’s chain rule run forward. For a four-token string, and the model emits one token at a time by sampling from each conditional in turn. Two takeaways. First, everything such a model “knows” lives in conditional distributions, this course’s central object. Second, a “hallucination” is not a failed database lookup but confident sampling from a conditional distribution that the context has conditioned badly; the machine is doing exactly what its mathematics says, which is why the remedy is better conditioning, not better memory. One look ahead: every homework in this course closes by auditing such a machine’s probability work, and the toolkit for those audits is this course.
Work these in class.
(Mechanical, conditional independence.) Two looks at a
cell that holds the target with prior
;
each look overlooks a present target with probability
and always fails otherwise. Compute
,
,
and
,
and say whether
are marginally independent.
Answer:
;
;
,
so they are not marginally independent (they are conditionally
independent given the location).
(Mechanical, allocation.) Three cells with belief
,
detection probabilities
,
and costs
.
Which cell is the optimal single look?
Answer: scores
;
cell
wins, though
cell
has the largest prior.
(Conceptual.) A colleague fuses two passes of the
same sonar over one region by multiplying their likelihoods as
if the passes were independent, without conditioning on the target’s
location. In one sentence, what goes wrong?
Answer: the passes are only conditionally independent
given the location; treating them as marginally independent
double-counts the shared latent cause and overstates the
evidence.
Movement I is now complete, and the course slogan has all three of its clauses answered for the search problem. What is uncertain? A latent , the target’s cell. What is observed? Looks, whose outcomes depend on . How should observation change belief and action? Belief moves by conditioning and Bayes’ rule; action follows by maximizing expected utility, which for search is the rule . Independence turned out to be the subtle hinge: not a default to assume but a modeling choice to verify, and the right version of it, conditional independence given , is what lets us treat repeated sensor readings as clean, i.i.d. evidence while still letting each reading teach us about the shared cause. The four nodes, belief, action, observation, update, are the shape of everything ahead. Movement II keeps the loop and changes the objects inside it: the latent and the observations become numbers, random variables, and we will need expectation, distributions, and densities to run the same machine on them.
In the two-coin example, every pair of
is independent, yet the three are not mutually independent. In one
sentence, why?
Answer: any two of the events leave the third genuinely
uncertain, but
and
together determine
,
so
.
Two looks at one cell are conditionally independent given the
target’s location but marginally dependent. What couples them
marginally?
Answer: the shared latent cause
;
the first outcome shifts belief about
,
which changes the probability of the second (here a first failure raises
the chance of a second).
In the allocation rule
,
give one reason the cell with the largest prior can be the wrong place
to look.
Answer: a weak sensor (small
)
or a high cost
can pull that cell’s score below a rival’s, as
cell
fell behind
cell
in the worked example.