Probability p(x)
A probability or probability density; p is usually the true or model distribution, q an approximation.
In ML papers
is the probability (or, for continuous variables, the probability density) of . Capital or is usually the probability of an event. Different arguments mean different distributions: and are not the same function.
By convention is the "real" or model distribution and a second one, often an approximation, such as the variational posterior . is the data distribution and the model's.
Other meanings, by context
- Attention. A lowercase (or ) is a query vector; see Q, K, V (query, key, value).
- Other uses of p. A dropout probability, or the order of a norm .
- Capital P. A projection or permutation matrix.
How to type it
| LaTeX | Shows |
|---|---|
p(x) | |
P(A) | |
\Pr(A) |
A worked example
Probabilities over all outcomes add to 1 (densities integrate to 1).
Equations that use it
- The ELBO
- KL divergence
- GELU
- Dropout
- DPO loss
- Bellman equation
- Diffusion forward process
- GAN minimax objective
- Perplexity
- Logistic regression