MAP estimation adds a prior to Maximum Likelihood Estimation :
Taking logs:
The prior acts as a regularizer:
| Prior | Penalty | Effect |
|---|---|---|
| Gaussian | (L2) | Weight decay — shrinks all weights toward zero |
| Laplace | (L1) | Sparsity — drives some weights exactly to zero |
Key insight: L2 Regularization = MAP with Gaussian prior. L1 regularization = MAP with Laplace prior. The regularization strength is inversely proportional to the prior variance.
MAP vs MLE vs Full Bayesian:
- MLE — no prior, just likelihood → prone to overfitting
- MAP — point estimate with prior → regularized, but still a single point
- Full Bayesian — compute entire posterior → most principled but often intractable
See also: Bayes' Theorem , Regularization , Bias-Variance Tradeoff