Randomized online algorithms can achieve strictly better competitive ratios than deterministic ones against an oblivious adversary. Explain why, using the paging problem as an example.
Think about your answer, then reveal below.
Model answer: Against an oblivious adversary (who must fix the entire request sequence before the algorithm's random choices), the adversary cannot adaptively target the algorithm's eviction decisions. In paging, the randomized marking algorithm achieves competitive ratio O(log k), exponentially better than the deterministic lower bound of k. The algorithm works in phases: it marks pages as they are requested, and when a fault occurs on an unmarked page, it evicts a uniformly random UNMARKED page. The adversary, who commits to the request sequence in advance, cannot know which unmarked page will be evicted, so cannot consistently force faults. This randomization breaks the adversarial construction that proves the deterministic lower bound.
The distinction between adversary types matters: against an adaptive adversary (who sees the algorithm's random bits), randomization provides no benefit and the deterministic lower bound applies. The O(log k) randomized bound versus the Theta(k) deterministic bound for paging is one of the most dramatic separations between deterministic and randomized online algorithms.