Jargonautica
Maths and Statistics

Maximum Likelihood Estimation

Also called: MLE

A method for choosing a model’s settings by asking which settings would have made the data you actually saw most likely. If a coin lands heads seven times out of ten, the most likely explanation is a coin that lands heads 70 per cent of the time. Training a language model to predict the next word is this same idea applied at enormous scale.

Technical view

Chooses the parameters that maximise the likelihood of the observed data under a model, in practice by minimising the negative log-likelihood. Cross-entropy loss for classification and next-token prediction, and mean squared error under Gaussian noise, are both maximum likelihood objectives. Under regularity conditions the estimates are consistent and asymptotically efficient, but they overfit with small samples or very flexible models and give a single point estimate rather than a full distribution over parameters, with uncertainty available only through approximations such as standard errors from the Fisher information. Adding a prior gives maximum a posteriori estimation, which corresponds to regularisation; full Bayesian inference keeps the whole posterior instead.


Part of AI Terminology Index, section: Maths and Statistics.

How it connects

Maximum Likelihood Estimation links to 5 other terms. The faint lines are links between those terms. See it in the full graph.

Loss FunctionLoss FunctionEntropy and InformationEntropy and Informa…OverfittingOverfittingProbability DistributionProbability Distrib…Prior and PosteriorPrior and PosteriorMaximum Likelihood Estimation