A ai coolAId

Monte Carlo Rollout

In One Sentence
Sampling a complete trajectory (a full game or full LLM answer) end-to-end by drawing stochastic actions until termination to estimate its outcome.
ELI5 (Intuition)
Instead of trying to calculate every possible chess future in your head, just play out 20 full practice games quickly and see which opening won most often.
ELI18 (Technical)
In LLM post-training, sampling tokens \(y_1, \dots, y_T \sim \pi_\theta(\cdot \mid x, y_{<t})\) with temperature \(T > 0\) until <EOS> is literally a single Monte Carlo trajectory whose terminal score \(R(x, y)\) drives policy-gradient updates.
In Practice
Powers both training (GRPO/RLOO sampling 8–64 completions per coding prompt) and inference-time scaling (Best-of-N sampling + unit-test filtering).