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 ee, the feasible action set A(e)A(e), the possible outcomes ss, and the supplied utility U(a,s)U(a,s) of choosing action aa and obtaining outcome ss. 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 ss 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)P(s\mid e) for every action. This simplification needs that assumption; it does not hold automatically.


Four connected boxes show how evidence and feasible actions lead through an outcome model and utility calculation to an action choice.


Evaluate the whole outcome distribution

An action's expected utility is its probability-weighted average utility across possible outcomes:


EU(a∣e)=∑sP(s∣e,a)U(a,s).EU(a\mid e)=\sum_s P(s\mid e,a)U(a,s).


The agent chooses a feasible action attaining the largest value. The argmax notation permits ties:


a∗∈arg⁡max⁡a∈A(e)EU(a∣e).a^*\in\arg\max_{a\in A(e)}EU(a\mid e).


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 xx 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 V0V_0 and the value before paying for the report as VreportV_{\text{report}}:


V0=max⁡aEU(a∣e),V_0=\max_a EU(a\mid e),


Vreport=∑xP(x∣e)max⁡aEU(a∣e,x).V_{\text{report}}=\sum_x P(x\mid e)\max_a EU(a\mid e,x).


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 cc, expressed on the same utility scale, purchasing improves the decision when


Vreport−c>V0.V_{\text{report}}-c>V_0.


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.700.70 and wet with probability 0.300.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 55 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.700.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)=−120.30(-40)=-12 utility points. Adding both contributions gives


EU(standard)=0.70(80)+0.30(−40)=56−12=44 points.EU(\text{standard})=0.70(80)+0.30(-40)=56-12=44\text{ points}.


Next evaluate the protected route. Its dry-weather contribution is 0.70(55)=38.50.70(55)=38.5 utility points, and its wet-weather contribution is ________. Therefore,


EU(protected)=0.70(55)+0.30(35)=38.5+10.5=49 points.EU(\text{protected})=0.70(55)+0.30(35)=38.5+10.5=49\text{ points}.


Compare the totals rather than choosing solely for the more likely dry weather.


Answer: Choose the protected route, with expected utility 4949 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 ________:


EU(standard∣favourable)=0.90(80)+0.10(−40)=68 points,EU(protected∣favourable)=0.90(55)+0.10(35)=53 points.\begin{aligned} EU(\text{standard}\mid\text{favourable})&=0.90(80)+0.10(-40)=68\text{ points},\\ EU(\text{protected}\mid\text{favourable})&=0.90(55)+0.10(35)=53\text{ points}. \end{aligned}


Choose the standard route after a favourable forecast. After an unfavourable forecast, the protected route's expected utility is ________:


EU(standard∣unfavourable)=0.40(80)+0.60(−40)=8 points,EU(protected∣unfavourable)=0.40(55)+0.60(35)=43 points.\begin{aligned} EU(\text{standard}\mid\text{unfavourable})&=0.40(80)+0.60(-40)=8\text{ points},\\ EU(\text{protected}\mid\text{unfavourable})&=0.40(55)+0.60(35)=43\text{ points}. \end{aligned}


Choose the protected route after an unfavourable forecast. Finally, weight these selected values by the probabilities of receiving the forecasts:


Vforecast=0.60(68)+0.40(43)=40.8+17.2=58 points.V_{\text{forecast}}=0.60(68)+0.40(43)=40.8+17.2=58\text{ points}.


Answer: Choose standard after a favourable forecast and protected after an unfavourable forecast. This policy has expected utility 5858 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 ________:


58−49=9 points.58-49=9\text{ points}.


Subtract the forecast fee once. The expected utility after buying the forecast is


58−5=53 points.58-5=53\text{ points}.


Now compare that net value with the 4949-point baseline:


net improvement=53−49=4 points.\text{net improvement}=53-49=4\text{ points}.


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 44 points.

An inspection drone chooses one scanning mode for a roof survey. Quick mode succeeds with probability 0.800.80, giving 3030 utility points, and fails with probability 0.200.20, giving −90-90 utility points. Steady mode gives 88 utility points with certainty. Both modes are feasible, and these utilities include all costs. Which choice maximizes expected utility?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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.

Match each term
A.

Network element whose parents fix the numerical desirability of an outcome

B.

Network element for a choice the agent itself controls

C.

Network element for a random variable outside the agent's control

D.

Probability-weighted average of the utilities of an action's possible outcomes

E.

Gain in best achievable expected utility from learning a variable's exact value before acting

F.

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

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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.

ConfigurationExpected utility (points)Maximizes expected utility
Compact
Replicated

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice