EE 520: Random Processes (Fall 2026). Due: November 6, 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.
Two packets arrive at a router at times distributed uniformly over the triangle (packet 1 always arrives first).
Find the joint PDF (careful with the normalizing constant), both marginals, and sketch the support.
Find and . Interpret: given the first arrival time, what is the best prediction of the second?
Are and independent? Prove your answer two ways: via the support, and via the factorization test.
Compute and the correlation coefficient . One sentence: explain the sign using your answer to part (b).
(Callback to Homework 2 Problem 3: the lying oracle, now with a continuous target and a continuous belief.)
A target’s position is . You query a point ; the sensor returns , but the bit is flipped with probability .
You query and observe . Derive the posterior density of (it is piecewise constant; sketch it).
Compute the posterior mean and the posterior median.
For your second query, you will bisect the posterior mass. Find the query point and explain in one sentence why mass-bisection, not interval-bisection, is the right generalization of binary search. (This is the continuous lying oracle, and the core update inside probabilistic binary search.)
A surveillance region contains targets; each is independently detected with probability .
Let be the number detected. Using the tower property (condition on ), find and .
Find the PMF of . (You will discover it is , i.e. thinning. One sentence on why this is remarkable.)
Implement the noisy-comparison localizer of Problem 2 on a -point grid: drawn uniformly, queries, each query placed at the posterior-mass median, with flip probability . The posterior update is the rule you derived in Homework 2 Problem 3(c), with and replaced by and : after answers, grid point has posterior weight proportional to , where is the number of answers consistent with .
Before running: predict how the posterior width after queries compares between and (a rough factor is fine).
Turn in: posterior plots after , , and queries for both values of , your prediction versus the outcome, and your code.
(Builds on Session 9’s Gumbel-max theorem, which tells you who comes first. This problem asks about everyone else.)
Systems that learn from human feedback often show a labeler several responses to the same prompt and ask for a ranking from best to worst. A standard probability model for such rankings is the Plackett–Luce model. Give response a strength and an independent clock (rate ). The ranking lists the responses in the order in which their clocks ring, so the first clock to ring is ranked best. Write . For the numerical parts, there are four responses with strengths .
Who comes first. Show that clock rings first with probability . Hint: the earliest of the other clocks is itself a single exponential clock (Session 6); then condition on . What is the probability that is ranked first? One sentence: how does this match Session 9’s softmax?
Everyone else. For a fixed , , and for every , show that Explain why this product form means that, once the first clock rings, the leftover times are independent clocks, independent of which clock rang first and when. Conclude that the rest of the ranking is a fresh race among the remaining responses, and deduce that a ranking (best first) has probability Compute the probability of the ranking , and the probability that the weakest-looking response lands in the top two.
Ignoring the winner. Show that Now add a fifth response that is a near-copy of , with . Under the model, what is the probability that is ranked first now? In one or two sentences, explain why a real labeler might disagree, and what assumption of the model this exposes.
Sampling rankings with Gumbels. Let and let be independent standard Gumbels. Using (Session 7), show that sorting the scores from largest to smallest produces a Plackett–Luce ranking. Keeping only the top of the sorted list therefore draws distinct items without replacement in one pass, with no renormalizing between draws; this is the Gumbel-top- trick, used to draw several distinct candidate responses from a language model at once.
Before running: use part (b) to predict how often, out of sampled rankings of , you will see the ranking , and how often lands in the top two.
Implement the sampler using uniform draws only and draw rankings.
Turn in: your predictions versus the observed frequencies, a plot of the observed frequency of each of the possible rankings against the Plackett–Luce formula, and your code.
Read this article by Ben Orlin on getting stuck on difficult problems. Share something that resonated with you, that you might try going forward, or that you disagree with, in the discussion thread on Canvas.
The assistant was asked: “ is uniform on the triangle with vertices , , . Find the marginal density of and .” It answered:
This solution contains zero, one, or two errors; a single wrong step and everything it drags down counts as one error.
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 marginal, conditional density, and conditional mean, and settle the independence claim with a zero-computation argument. (Apply to each error you find.)
One sentence: why is this a mistake a language model plausibly makes?