MLE finds the parameters that maximize the probability of the observed data:
In practice, maximize the log-likelihood (log turns product into sum):
Key insight: minimizing cross-entropy loss is maximizing log-likelihood.
- For classification: — this is the negative log-likelihood of the categorical distribution
- For regression with MSE loss: equivalent to MLE assuming Gaussian noise
MLE for a Gaussian:
- (sample mean)
- (sample variance, biased)
Properties:
- Consistent — converges to true as
- Asymptotically efficient — achieves lowest variance among consistent estimators
- Can overfit — maximizing likelihood on training data doesn't penalize complexity → motivates Regularization and Maximum A Posteriori Estimation
See also: Bayes' Theorem, Loss Functions