Skip to content
Sahithyan's S3
1
Sahithyan's S3 — Artificial Intelligence

Uncertainty

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

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.

Assumes that outcomes have likelihoods.

Probability captures degrees of belief, summarizing uncertainty due to ignorance.

Uncertainty can be approached with either:

  • Non-monotonic logic
    Retractable conclusions (e.g., “Birds can fly” except penguins).
  • Probability theory
    Quantitative model of uncertainty.

Revise Probability basics covered in semester 2.

Ω\Omega is the set of all possible world descriptions. Elements of Ω\Omega are atomic (cannot be broken down).

Aka. probability space. Defined by sample space Ω\Omega and probability function PP which assigns a probability for all elements of Ω\Omega.

Given a joint distribution, probability of any proposition φ:

P(φ)=ω:ωφP(ω)P(φ)=\sum_{\omega: \omega\models φ} P(ω)

Conditional inference uses normalization:

P(CavityToothache)=αP(Cavity,Toothache)P(\text{Cavity}|\text{Toothache})=\alpha P(\text{Cavity},\text{Toothache})

Here α\alpha is a constant ensuring probabilities sum to 1.

In general:

P(YE=e)=αhP(Y,E=e,H=h)P(Y|E=e)=α\sum_h P(Y,E=e,H=h)

Here HH means hidden variables. Time complexity is O(2n)O(2^n) for nn binary variables.

AA and BB are conditionally independent given CC if:

P(A,BC)=P(AC)P(BC)P(A,B|C)=P(A|C)P(B|C)

Reduces required parameters from exponential to linear in n. Useful for efficient probabilistic reasoning.

Assumes conditional independence of effects given the cause:

P(Cause,Effect1,,Effectn)=P(Cause)iP(EffectiCause)P(\text{Cause},\text{Effect}_1,…,\text{Effect}_n)=P(\text{Cause})\prod_i P\left(\text{Effect}_i|\text{Cause}\right)

Simplifies computation—parameters grow linearly with n. Example: P(Cavity|toothache ∧ catch) computed from individual conditional probabilities.