Decision-Theoretic Agents: Choosing Under Uncertainty
Decision-Theoretic Agents turn beliefs about uncertain outcomes into choices. A decision-theoretic agent selects an available action using a probability model and utilities assigned to its consequences. You use this framework when no action guarantees the best outcome: one server configuration may offer greater reliability, while another offers greater benefit when it succeeds. Here, the probabilities and utility scale are supplied, and the agent makes a single decision.
Specify the decision
Identify the evidence e, the feasible action set A(e), the possible outcomes s, and the supplied utility U(a,s) of choosing action a and obtaining outcome s. Utility expresses the desirability of the complete consequence, including any costs already incorporated in the model. Larger utility values represent more preferred consequences.
For each action, the outcomes must be mutually exclusive and collectively exhaustive. Their probabilities must sum to one. An action can change the outcome probabilities, so use the probabilities appropriate to the action being evaluated.
If s describes an external condition that the action does not affect, such as tomorrow's weather, the model may instead supply the same P(s∣e) for every action. This simplification needs that assumption; it does not hold automatically.
Evaluate the whole outcome distribution
An action's expected utility is its probability-weighted average utility across possible outcomes:
The agent chooses a feasible action attaining the largest value. The argmax notation permits ties:
For each action, multiply every outcome's probability by its utility, preserving negative signs, and add the contributions. Then compare the resulting totals. A large possible reward can be outweighed by a sufficiently costly failure, even when failure is unlikely.
Comparison rule | Information it uses | What it establishes |
|---|---|---|
Largest possible utility | Each action's best outcome | Which action has the greatest upside |
Highest success probability | Probabilities of designated successful outcomes | Which action succeeds most often under the model |
Highest expected utility | All outcome probabilities and supplied utilities | Which action satisfies the agent's decision criterion |
Utilities need not equal monetary rewards. Use money directly as utility only when the problem explicitly makes that assumption. Likewise, maximizing expected utility does not guarantee that the chosen action produces the best realized outcome on a particular occasion.
Decide whether information is worth obtaining
Suppose the agent can receive a report x before choosing its action. The report leaves the world and feasible actions unchanged, but changes the probabilities available to the agent. Evaluate every action using the probabilities conditional on each report, choose the best action for that report, and then average over possible reports.
Write the best expected utility without the report as V0 and the value before paying for the report as Vreport:
The report probabilities and conditional outcome probabilities must belong to a consistent model. The maximization sits inside the sum because the action can depend on the report actually received.
For a constant information cost c, expressed on the same utility scale, purchasing improves the decision when
At equality, purchasing and declining have equal expected utility. Free information cannot reduce optimal expected utility under these assumptions because the agent can ignore it and retain its original action.
What to remember
- Specify feasible actions, complete outcomes, probabilities, and utilities.
- Compare probability-weighted utilities across all outcomes.
- With information, optimize separately after each report before averaging.
- Compare the resulting improvement with the information cost.
Example: Buying a Delivery Forecast
A delivery agent must choose a standard route or a protected route for one scheduled trip. The weather will be dry with probability 0.70 and wet with probability 0.30. The route does not affect the weather. Utilities include all delivery consequences and route costs.
Route | Dry-weather utility (points) | Wet-weather utility (points) |
|---|---|---|
Standard | 80 | -40 |
Protected | 55 | 35 |
Before choosing a route, the agent can buy a forecast for 5 utility points. This fee is additional to the utilities above, applies regardless of the forecast result, and does not change the weather or available routes.
Forecast | Forecast probability | Probability of dry weather after forecast | Probability of wet weather after forecast |
|---|---|---|---|
Favourable | 0.60 | 0.90 | 0.10 |
Unfavourable | 0.40 | 0.40 | 0.60 |
The forecast model is consistent with the original dry-weather probability because 0.60(0.90)+0.40(0.40)=0.70.
a) Which route should the agent choose without buying the forecast, and what is its expected utility?
First evaluate the standard route. Its dry-weather contribution is ________, while its wet-weather contribution is 0.30(−40)=−12 utility points. Adding both contributions gives
Next evaluate the protected route. Its dry-weather contribution is 0.70(55)=38.5 utility points, and its wet-weather contribution is ________. Therefore,
Compare the totals rather than choosing solely for the more likely dry weather.
Answer: Choose the protected route, with expected utility 49 points.
b) If the agent obtains the forecast, which route should it choose after each possible result? Find the strategy's expected utility before subtracting the forecast fee.
A contingent policy assigns an action to each possible report. To construct one here, compare both routes after each forecast result.
After a favourable forecast, the standard route's expected utility is ________:
Choose the standard route after a favourable forecast. After an unfavourable forecast, the protected route's expected utility is ________:
Choose the protected route after an unfavourable forecast. Finally, weight these selected values by the probabilities of receiving the forecasts:
Answer: Choose standard after a favourable forecast and protected after an unfavourable forecast. This policy has expected utility 58 points before the fee.
c) Should the agent buy the forecast? State the net improvement over its best choice without the forecast.
First compare the forecast strategy's value before its fee with the optimized no-forecast baseline. The improvement before paying is ________:
Subtract the forecast fee once. The expected utility after buying the forecast is
Now compare that net value with the 49-point baseline:
The forecast is worth buying because its benefit exceeds its cost. This improves expected utility; it does not guarantee a better realized outcome on this particular trip.
Answer: Buy the forecast. It increases expected utility by 4 points.
An engineer is drawing a decision network for a warehouse robot that must choose a route before it knows the traffic. Match each decision-theory term on the left with the description that defines it.
Network element whose parents fix the numerical desirability of an outcome
Network element for a choice the agent itself controls
Network element for a random variable outside the agent's control
Probability-weighted average of the utilities of an action's possible outcomes
Gain in best achievable expected utility from learning a variable's exact value before acting
Choice that does worse than some other option in every possible state
Value of perfect information
Strictly dominated action
Utility node
Expected utility
Chance node
Decision node
An agent chooses one server configuration for a single service request. Success and failure are the only outcomes. The supplied probabilities already account for how each configuration affects reliability, and the utilities include all operating consequences.
Configuration | Success probability | Success utility (points) | Failure utility (points) |
|---|---|---|---|
Compact | 0.75 | 40 | -20 |
Replicated | 0.90 | 28 | -32 |
Complete the table. Enter each expected utility as an exact number in utility points, and enter yes or no to indicate whether that configuration maximizes expected utility among the two choices.
| Configuration | Expected utility (points) | Maximizes expected utility |
| Compact | ||
| Replicated |