EE 520: Random Processes (Fall 2026). Due: November 20, 2026, 11:59 PM PT. Instructor: John Lipor.
Submit your work as a PDF through the course submission system. If you need an accommodation or an alternate format, contact the instructor.
Note: For all questions asked in this course, unless the question is simply asking about definitions, please justify all answers. Stating the correct answer without justification will earn no credit. For example, if you write down a string of equations, each successive equation should be accompanied by some justification such as “by the additivity axiom” or “because the outcomes are equally likely” or “by the distributive property of set operations.” You do not need to justify algebra.
A lidar receiver counts photons in a gate. With no target present, the count is (dark counts plus background). With a target present, .
Write the likelihood ratio and show it is monotone increasing in . Conclude that both the ML and the MAP rules are threshold rules: decide “target” if and only if .
Find the ML threshold explicitly. With prior , find the MAP threshold. Which direction did the prior move it, and why does that make sense?
Compute and for the MAP rule (finite sums; give numbers).
The gate is lengthened so that both means double (, ). Recompute the error probabilities. In one sentence: what did the extra integration time buy, in the language of separating the likelihoods?
Instead of one long gate, the receiver records two back-to-back gates of the original length. Their counts are independent given the hypothesis, each with no target and with one. Show that the MAP rule (prior ) depends on only through the total , and that it is the rule you found in part (d). Then prove that, under either hypothesis, is Poisson with twice the mean (sum the joint PMF over the line and use the binomial theorem), so the two receivers make exactly the same errors. In one sentence: where does the evidence in a photon count live?
A hydrophone either records ambient noise or noise plus a known weak tone. Without computing anything, define the latent variable, the observation, the two likelihoods (state your modeling assumptions and what would justify them), the prior, and the decision rule you would use. Three of these five choices are modeling decisions, not mathematics. Identify which three.
A relay link succeeds on each transmission independently with unknown probability : given , the outcomes (with for a success) are independent . Adopt the prior . By Session 11’s conjugacy result, after successes in transmissions the posterior is ; use it freely.
Show that the probability that the next transmission succeeds is the posterior mean: Condition on , and say exactly where the independence assumption enters. Then take the flat prior and a link that has succeeded on all of its first transmissions: what probability do you quote for the eleventh, and why is it not ?
Before any data are seen, show that , so two transmissions are positively correlated even though they are independent given . Under , compare with . In one sentence each: why must the transmissions be dependent for learning to be possible at all, and what kind of prior would make them independent?
With prior
and observations
,
compute
numerically (one line of scipy). Would you make a
one-sentence recommendation to deploy the relay?
Two relay links have unknown success rates and (unknown to the algorithm). At each of rounds you must pick one link. Implement and compare three strategies:
greedy on the empirical means (after forced pulls of each arm);
-greedy with ;
Thompson sampling with priors on each arm.
Before running: predict which strategy suffers most from “premature commitment,” and why. Then put a number on it for greedy:
Evaluate Session 11’s greedy lock-in bound for this instance ( forced pulls per arm, ). Is it informative here?
Compute the probability that, after the forced pulls, the worse link’s empirical mean is strictly higher than the better link’s (a finite double sum). Predict greedy’s average regret at under the first-order story “a run settles on the worse link if and only if that link leads after the forced pulls.”
Turn in: cumulative regret curves (averaged over runs), your predictions versus the outcome, and your code. For greedy, also report the fraction of runs that spend most of the last rounds on the worse link: overall, among the runs in which the worse link led after the forced pulls, and among the rest. In two sentences: how can a run escape the first-order story, and how can a run be trapped against it? In one sentence: where exactly in your Thompson-sampling code does “posterior action” happen?
(Callback to Homework 3, Problem 5.) In the buy-a-measurement problem of Homework 3, replace the binary sensor with the photon counter of Problem 1 (priors and utilities unchanged; measurement cost ). Is the photon counter worth buying? (You may sum the relevant Poisson terms numerically.)
The assistant was asked: “An optical link’s gate count is with no pulse present and with a pulse; the prior probability of a pulse is . Find the MAP detection rule and its false-alarm probability.” It answered:
This solution contains zero, one, or two errors.
Identify the first line that goes wrong, or certify the solution correct.
Name the violated result or modeling rule in one sentence, citing the session. (Apply to each error you find.)
Fix it: give the corrected detection rule and false-alarm probability, and state the Session-10 sanity check that flags each wrong line before any recomputation. (Apply to each error you find.)
One sentence: why is this a mistake a language model plausibly makes?
Flagging a correct step as an error costs credit; certifying correctness is part of the skill.