8.3 Belief Networks

The third edition of Artificial Intelligence: foundations of computational agents, Cambridge University Press, 2023 is now available (including full text).

8.3.1 Observations and Queries

A belief network specifies a joint probability distribution from which arbitrary conditional probabilities can be derived. The most common probabilistic inference task is to compute the posterior distribution of a query variable, or variables, given some evidence, where the evidence is a conjunction of assignment of values to some of the variables.

Example 8.14.

Before there are any observations, the distribution over intelligence is P⁢(I⁢n⁢t⁢e⁢l⁢l⁢i⁢g⁢e⁢n⁢t), which is provided as part of the network. To determine the distribution over grades, P⁢(G⁢r⁢a⁢d⁢e), requires inference.

If a grade of A is observed, the posterior distribution of I⁢n⁢t⁢e⁢l⁢l⁢i⁢g⁢e⁢n⁢t is given by:

P(Intelligent∣Grade=A).

If it was also observed that W⁢o⁢r⁢k⁢s⁢_⁢h⁢a⁢r⁢d is false, the posterior distribution of I⁢n⁢t⁢e⁢l⁢l⁢i⁢g⁢e⁢n⁢t is:

P(Intelligent∣Grade=A∧Works_hard=false).

Although I⁢n⁢t⁢e⁢l⁢l⁢i⁢g⁢e⁢n⁢t and W⁢o⁢r⁢k⁢s⁢_⁢h⁢a⁢r⁢d are independent given no observations, they are dependent given the grade. This might explain why some people claim they did not work hard to get a good grade; it increases the probability they are intelligent.