Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.“Getting closer” can mean different things
A robot keeps improving its estimate of a wall’s distance. What does “the estimate converges” mean?
- Every run settles down. If you replay the robot’s life, the estimate homes in on the truth, every time (except in impossible-to-notice cases).
- Big mistakes become rare. At any late moment, a big error is unlikely, though some runs might still have occasional hiccups forever.
- The average error shrinks. On average over many runs, the mistake gets small.
- Only the pattern settles. The histogram of estimates across runs takes a fixed shape, even if each run keeps jumping around.
These are different promises, and mixing them up leads to real bugs in reasoning.
“This learning algorithm converges”, “this estimator is consistent” and “this filter’s error is asymptotically Gaussian” each mean a specific mode of convergence. Knowing which one tells you whether a single deployed run can be trusted, or only the average over many runs.
- 1. 'Every run eventually settles' is the strongest of the everyday meanings. Its name is…
- 2. If only the histogram's shape settles, individual runs…
- 3. A rare but endless hiccup in each run is compatible with…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Four definitions
Let be random variables on the same probability space (except for the last mode, which doesn’t need one).
- Almost surely: . Written .
- In probability: for every . Written .
- In (): . For , the MSE goes to 0.
- In distribution (weakly): at every continuity point of . Written .
How they relate
No other implications hold in general. The strong LLN is a.s., the weak LLN is in probability, and the CLT is in distribution.
- 1. Which is the weakest mode?
- 2. L² convergence implies…
- 3. The CLT is a statement about convergence…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Counterexamples (try them in the demo)
Take .
- In probability, not a.s.: the typewriter sequence. Write and let . , but each sweep across hits every , so no path converges.
- A.s., not : . Once it is 0 forever, but .
- In distribution, not in probability: . Every , but forever.
Partial converses
- To a constant: .
- Fast enough in probability: if for every , then a.s. (Borel–Cantelli, A4.3-4). Every sequence converging in probability has an a.s.-converging subsequence.
- To get from a.s.: you need uniform integrability, for example a dominating integrable bound (DCT, A4.3-1).
The working toolkit
- Continuous mapping: if (in any of the three modes) and is continuous, then in the same mode.
- Slutsky: if and , then and . This is why you can replace by the sample in CLT intervals.
- 1. Xₙ = (−1)ⁿZ converges…
- 2. Slutsky lets you replace σ in √n(X̄ − μ)/σ with…
- 3. Convergence in distribution to a constant implies…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.Proofs of the main implications
a.s. ⇒ in probability. Let . The decrease to a subset of the non-convergence set, which has probability 0. By continuity of measure, , and . ∎
L^p ⇒ in probability. Markov: . ∎
In probability ⇒ in distribution. Fix a continuity point of and .
- Upper bound. .
- Lower bound. Symmetrically, .
- Limit. Let , then . Continuity of at gives . ∎
Characterizations of convergence in distribution
These are equivalent (the portmanteau theorem):
- at continuity points;
- for every bounded continuous ;
- for all (Lévy, A4.3-3).
Skorokhod’s representation: if , there exist and on one space with a.s. (take , A4.3-2). This often turns distributional arguments into pathwise ones.
Exercise 3.1: Why only at continuity points?
Let (constant). Then surely. But for all , while . The jump of the limit’s CDF at 0 has to be excluded, or this obvious convergence wouldn’t count.
- 1. The proof that a.s. ⇒ in probability uses…
- 2. Convergence in distribution is equivalent to E g(Xₙ) → E g(X) for all…
- 3. Skorokhod builds an a.s.-convergent copy using…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Consistency and asymptotic normality: calibrating a range bias
An estimator is consistent if . It’s asymptotically normal if . The asymptotic variance measures efficiency. To calibrate a lidar’s range bias from readings with Laplace noise, both the mean and the median are consistent. The mean has . The sample median has : twice as efficient, and robust to outliers too. The MLE is asymptotically normal with equal to the inverse Fisher information (A5), so here the median is the MLE.
Convergence modes in AI, robotics and aerospace
- SGD and stochastic approximation. Robbins–Monro gives a.s. convergence. Many deep-learning results give convergence in expectation of the gradient norm (an -type statement), which says nothing about a single run (Bottou, Curtis and Nocedal, 2018).
- Particle filters converge in at rate for each fixed time. Uniform-in-time guarantees need mixing assumptions (Del Moral, 2004).
- Q-learning converges a.s. under Robbins–Monro step sizes and infinite exploration (Watkins and Dayan, 1992; Tsitsiklis, 1994).
- Generative models are judged by distributional convergence: Wasserstein and MMD metrize convergence in distribution, for example in GANs and diffusion models.
- Safety statements about one mission need a.s. or high-probability guarantees. Mean-error guarantees describe a fleet, not a single vehicle.
References
- P. Billingsley (1999). Convergence of Probability Measures, 2nd ed. Wiley.
- R. Durrett (2019). Probability: Theory and Examples, 5th ed., Ch. 2–3. Cambridge University Press.
- A. van der Vaart (1998). Asymptotic Statistics, Ch. 2. Cambridge University Press.
- G. Grimmett, D. Stirzaker (2020). Probability and Random Processes, 4th ed., Ch. 7. Oxford University Press.
- E. Slutsky (1925). “Über stochastische Asymptoten und Grenzwerte.” Metron, 5.
- A. Skorokhod (1956). “Limit theorems for stochastic processes.” Theory of Probability and Its Applications, 1(3).
- L. Bottou, F. Curtis, J. Nocedal (2018). “Optimization methods for large-scale machine learning.” SIAM Review, 60(2).
- J. Tsitsiklis (1994). “Asynchronous stochastic approximation and Q-learning.” Machine Learning, 16.
- C. Watkins, P. Dayan (1992). “Q-learning.” Machine Learning, 8.
- P. Del Moral (2004). Feynman–Kac Formulae. Springer.