Glossary

What is Maximum likelihood estimation?

In Turkish: En çok olabilirlik tahmini · Topic: Math foundations

An estimation method that picks the model parameters that make the observed data as probable as possible. In short, it looks for the setting that best explains the data.

How does it work?

A model assigns a probability to each data point, given its parameters. The combined probability of all the data is called the likelihood. The method searches for the parameter values that maximize it. In practice, logarithms are taken instead of products, because working with sums is easier and avoids numerical underflow. The peak is usually found with gradient descent. In a coin-flip example, if seven of ten tosses land heads, the heads probability that maximizes the likelihood is 70 percent.

Why does it matter?

Much of AI model training rests on this principle, often implicitly. The loss function language models use when predicting the next word is in fact the negative log-likelihood. The method's limits are that it can overfit with little data and does not account for prior knowledge.

Example

In language model training, the model is asked to give the highest possible probability to the word that actually comes next in the training text, which is the same as increasing the likelihood.

FAQ

What is the difference between likelihood and probability?

In probability, the parameter is fixed and the data varies: if a coin is fair, how likely are seven heads in ten tosses? In likelihood, the data is fixed and the parameter varies: given this data, which heads probability fits best?

How does maximum likelihood estimation relate to Bayesian inference?

When the prior treats all values as equally plausible, the peak of the posterior coincides with the maximum likelihood estimate. When there is real prior information, the result is shaped by it and the two methods diverge.

All terms