Skip to content

Consistency of an Estimator in Machine Learning

2026-11-15

An estimator is consistent when its estimates converge in probability to the true parameter as the amount of training data grows. Goodfellow, Bengio, and Courville set up the idea in Section 5.4.5 of Deep Learning: "Usually, we are also concerned with the behavior of an estimator as the amount of training data grows." They continue: "we usually wish that, as the number of data points m in our dataset increases, our point estimates converge to the true value of the corresponding parameters." Formally, plim of θ̂ₘ as m → ∞ equals θ, and "The symbol plim indicates convergence in probability, meaning that for any ε > 0, P(|θ̂ₘ − θ| > ε) → 0 as m → ∞." In their words, "The condition described by equation 5.55 is known as consistency."

They also separate it from unbiasedness. "Consistency ensures that the bias induced by the estimator diminishes as the number of data examples grows. However, the reverse is not true—asymptotic unbiasedness does not imply consistency." A clarification of my own, not from the book: the first of those sentences needs an extra condition to hold in general, because convergence in probability alone does not make the expected value converge, and a standard sufficient condition is uniform integrability of the estimation errors. The sample mean in the example below is unbiased at every sample size, so it is not affected. Their example estimates the mean of a normal distribution by using only the first sample: that estimator is unbiased for every m, but "it is not the case that θ̂ₘ → θ as m → ∞."

Try it by hand. Let the data be independent draws from a normal distribution with mean 5 and standard deviation 2, and take ε = 0.5. The sample mean of m draws has standard deviation 2 / √m. For m = 4 that is 1, so the chance the mean is more than 0.5 away from 5 is the chance a standard normal variable exceeds 0.5 in size, 0.617. For m = 16 the standard deviation is 0.5, and the chance is 0.317. For m = 64 it is 0.046, and for m = 256 it is 0.00006. The probability shrinks toward zero, which is consistency. Now use only the first draw. It is unbiased, since its average over datasets is 5, but its standard deviation is 2 for every m, so the chance of missing by more than 0.5 is 0.803 at every m. It never improves, so it is unbiased but not consistent, exactly the book's example. One more thing consistency does not do: suppose you predict a fresh draw from the same distribution using the sample mean. The typical error, as a root mean squared error, is √(4 + 4/m), which is 2.236 at m = 4, 2.062 at m = 16, 2.016 at m = 64, and 2.004 at m = 256. It falls toward 2 and no lower, because the new draw carries noise with standard deviation 2 that no estimate of the mean can remove. I computed the probabilities from the normal distribution and checked them with 400,000 simulated datasets per size, and the data are invented.

The trap: reading consistency as a promise that predictions become perfect. It says the estimate of the parameter homes in on the truth as data grows, under the assumptions that make that true. It says nothing about the noise in each new outcome. A caution of my own, not from the section I read: consistency is a statement about a sequence of estimators as m grows, so it does not tell you how large m must be, and for a small dataset an inconsistent but low-variance estimator can still do better.

Prof Rod's rule: ask whether the estimate converges to the true parameter as data grows, and never confuse that with predicting each new noisy outcome exactly.

Goodfellow, Bengio, and Courville, Deep Learning, MIT Press, 2016, Section 5.4.5 Consistency, pp. 128–129