Skip to content

Probability Basics: The Parts LLM Training Actually Uses ​

Translation pending

This page has not been translated yet. Please read the Chinese version.

1. Random variables and distributions: an LLM is a conditional distribution ​

2. Conditional probability and the chain rule: where autoregressive factorization comes from ​

3. Expectation and variance: the RL objective and its noise ​

4. Monte Carlo estimation: why GRPO samples a group ​

5. Baselines and variance reduction: why subtracting a constant keeps it unbiased ​

6. Importance sampling: updating a new policy with old samples ​

7. Bayes: prior, posterior and the evidence ratio ​

8. Maximum likelihood: pre-training and SFT do the same thing ​

9. LLN and CLT: can a sample mean stand in for the expectation? ​

Quick reference ​