Probability, Bayesian Inference, and Decision Theory
Uncertainty in AI
Why probability matters
Real-world AI must operate with incomplete, noisy, and ambiguous data. Probability provides a mathematically coherent framework for uncertainty, belief revision, and prediction.
Bayesian basics
Bayes update
-
1
Start with a prior .
-
2
Compute likelihood .
-
3
Form the posterior .
-
4
Use the posterior for prediction or decision-making.
In Bayesian inference, what does the posterior represent?
The posterior is the updated belief distribution after conditioning on observed evidence.
Correct answer: Belief after observing data
What is the role of the likelihood in Bayes' rule?
The likelihood links model parameters to observed evidence.
Correct answer: It measures how probable the observed data are under a hypothesis.
Decision theory
Decision theory chooses actions by maximizing expected utility: where is a random outcome. This framework separates beliefs from preferences.
Risk attitudes
Risk-neutral
- Optimizes expected value
- Ignores variance unless encoded in utility
Risk-averse
- Penalizes uncertain outcomes
- Often modeled by concave utility functions
Practical note
Approximate Bayesian methods such as variational inference and Monte Carlo sampling are often necessary because exact inference is computationally infeasible.
Expected utility theory primarily combines which two ingredients?
Decision theory uses beliefs about outcomes and utilities/preferences over them.
Correct answer: Beliefs and preferences