What is Probability distribution?
In Turkish: Olasılık dağılımı · Topic: Math foundations
A complete description of how likely each possible outcome of an uncertain event is. The probabilities of all outcomes add up to one.
How does it work?
For a die roll, each of the six faces is assigned a probability of one in six, which is a simple distribution. Language models work on a similar principle: given the text so far, they compute a probability for every token in the vocabulary being the next one. The network's raw outputs are turned into probabilities that sum to one by an operation called softmax. The model then picks a token from this distribution, and settings such as temperature sharpen or flatten it.
Why does it matter?
This concept explains why generative AI can give different answers to the same question. The 'confidence scores' of classification models are also probability distributions, though they do not always reflect real accuracy. That difference matters when deciding how far to trust a model's output.
Example
An email filter might rate a message as 95 percent likely to be spam and 5 percent likely to be legitimate; those two numbers form a simple probability distribution.
FAQ
How does the temperature setting affect a probability distribution?
A low temperature sharpens the distribution and favors the most likely option. A high temperature flattens it, so outputs become more varied but less predictable.
If a model says it is 90 percent sure, is it right 90 percent of the time?
Not necessarily. A model's stated probability may not match its real accuracy, a problem known as poor calibration.