In real life systems, AI has to support uncertainty. Probability theory provides a mathematical framework for reasoning under uncertainty.
Required in environments when they are:
- Partially observable
- Stochastic
- Noisy
Deterministic Reasoning
Section titled “Deterministic Reasoning”Assumes perfect information and predictable outcomes.
Not suitable in uncertain domains, because of:
- Impractical to write exhaustive axioms.
- Incomplete knowledge of domain laws.
- Missing evidence about current case.
Probabilistic Reasoning
Section titled “Probabilistic Reasoning”Assumes that outcomes have likelihoods.
Probability captures degrees of belief, summarizing uncertainty due to ignorance.
Approaches
Section titled “Approaches”Uncertainty can be approached with either:
- Non-monotonic logic
Retractable conclusions (e.g., “Birds can fly” except penguins). - Probability theory
Quantitative model of uncertainty.
Probability Theory
Section titled “Probability Theory”Revise Probability basics covered in semester 2.
is the set of all possible world descriptions. Elements of are atomic (cannot be broken down).
Probability Model
Section titled “Probability Model”Aka. probability space. Defined by sample space and probability function which assigns a probability for all elements of .
Inference by Enumeration
Section titled “Inference by Enumeration”Given a joint distribution, probability of any proposition φ:
Conditional inference uses normalization:
Here is a constant ensuring probabilities sum to 1.
In general:
Here means hidden variables. Time complexity is for binary variables.
Conditional Independence
Section titled “Conditional Independence”and are conditionally independent given if:
Reduces required parameters from exponential to linear in n. Useful for efficient probabilistic reasoning.
Naïve Bayes Model
Section titled “Naïve Bayes Model”Assumes conditional independence of effects given the cause:
Simplifies computation—parameters grow linearly with n. Example: P(Cavity|toothache ∧ catch) computed from individual conditional probabilities.