Probability and Utility

So far, Bolt has been learning functions and searching for solutions. From here on, Bolt must act in an uncertain world. This chapter gives it the two tools every rational agent needs: probability, to say how much to believe something, and utility, to say how much it wants something. Combine them and you get the most important equation in decision-making: choose the action with maximum expected utility.

$$\text{Decision theory} = \text{Probability theory} + \text{Utility theory}$$ Probability describes the world. Utility describes your goals. Expected utility combines them into a choice.

  • §4.1 Probability: the axioms, random variables, joint distributions, marginalization, conditioning and the normalization trick.
  • §4.2 Bayes' rule and independence: turning "how likely is the evidence given the cause" into "how likely is the cause given the evidence," and the independence assumptions that make reasoning tractable.
  • §4.3 Utility theory: lotteries, the axioms of rational preference, expected utility, the utility of money and risk attitudes.
Bolt's problems
  • Bolt's bump sensor fires. It is right 90% of the time when there's a pothole, but potholes are rare. How sure should Bolt be that there's really a pothole? (Bayes' rule, §4.2.)
  • The shortcut across the lawn is 4 minutes faster but floods when it rains. There's a 30% chance of rain. Should Bolt risk it? (Expected utility, §4.3, then §5.1.)
Connections

Why does uncertainty appear at all? Look back at Chapter 2: \(y = f(x) + \varepsilon\). Noise is uncertainty. Probability is the language for things we can't predict exactly. Every later chapter uses it: MDPs (Ch 5) have probabilistic transitions, decision trees (Ch 6) measure uncertainty with entropy, and Bayesian networks (Ch 7) are compact descriptions of probability distributions.