Value-Based Methods
The Tricks That Made It Work
8 min+90 XPStep 1/10
Experience replay: study your past, shuffled
Consecutive RL experiences are correlated — frame 1001 looks like frame 1000. Training a network on that stream is like cramming one flashcard for hours: it overfits the recent past and forgets everything else.
Experience replay stores every transition in a buffer and trains on random samples drawn from it. That breaks the correlation, lets each experience teach the net many times — crucial when experiences are expensive — and smooths the distribution the network sees.
analogy
Training on consecutive frames is cramming a single chapter the night before the exam. Replay is a shuffled deck of flashcards covering the whole course.