The University of Melbourne · FACULTY OF ARTIFICIAL INTELLIGENCE

COMP90054 Chap.5 Markov Decision Processes and Bellman Reasoning

- one subject, every graph, every model, every mark
5 Chapters2-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 5 of 11 · COMP90054

Markov Decision Processes and Bellman Reasoning

Define Markov decision process

The course material gives this chapter a concrete anchor: Week 5 materials cover MDPs and their recursive value structure.

That Markov decision process anchor controls how policy is explained and how Bellman optimality is tested in changed practice.

Markov Decision Processes and Bellman Reasoning turns Markov decision process, policy and Bellman optimality into executable reasoning.

The chapter's practical target is to calculate state or action values and select a policy under uncertainty, so every explanation should connect syntax to program state, control flow and observable output.

Treat Markov decision process as a precise program object, not a loose label. Identify the value or responsibility of Markov decision process before execution, then trace what can read it, change it or depend on it.

This makes state changes visible before they become debugging guesses.

Formula checkpoint: Markov decision process

Bellman optimality
V(s)=maxasP(ss,a)[R(s,a,s)+γV(s)]V^*(s)=\max_a\sum_{s'}P(s'|s,a)[R(s,a,s')+\gamma V^*(s')]

Optimal value selects the action with highest probability-weighted immediate and discounted continuation return.

Trace policy

Use policy to explain the program's next move.

Work through one representative policy input by hand and name the branch, iteration or call that follows. If the policy trace cannot be stated, the code may run by accident rather than by understood design.

Bring in Bellman optimality as the test of structure.

Compare normal, boundary and invalid inputs for Bellman optimality; state the expected behaviour first; then use the mismatch between expectation and result to localise the defect.

For the application — calculate state or action values and select a policy under uncertainty — write the smallest complete example that exposes the rule.

Explain why the Bellman optimality result works, what would break it and how the program should signal or recover from that failure.

Test with Bellman optimality

Before running an example involving Markov decision process, make a trace table with the important state before and after each operation.

Include the value associated with Markov decision process, the control decision governed by policy and the output or object affected by Bellman optimality. The Markov decision process table turns an unexplained result into a sequence that can be tested one transition at a time.

Test three inputs: an ordinary case, a boundary case and an invalid case.

State the expected Bellman optimality result for each before execution, then compare it with what the program actually does. A useful test of policy isolates one rule; changing several conditions at once cannot reveal which condition caused the failure.

Practise explaining the solution without reading the code.

For comp90054, name the data representation, the control flow, the responsibility of each function or class and the reason the chosen design supports calculate state or action values and select a policy under uncertainty.

This Bellman optimality rehearsal matters when a written test or interview asks why the program works rather than whether it produces one correct output.

Transfer to Markov Decision Processes and Bellman Reasoning

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to policy, and use Bellman optimality to test the result.

The final sentence about Bellman optimality should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: The markov property, reward design, discount factor and transition model are modelling assumptions.

Keep that Bellman optimality limit beside the worked example, because it separates a careful comp90054 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve Markov decision process, policy and Bellman optimality without notes, explain their relationship aloud, then complete a changed version of the application: calculate state or action values and select a policy under uncertainty.

Record the first failed policy reasoning move and repair it before attempting another case.

In this chapter

What this chapter covers

  • 01

    Markov decision process

  • 02

    policy

  • 03

    Bellman optimality

  • 04

    Applying Markov decision process

  • 05

    Limits of policy and Bellman optimality

Worked example · free

Evaluate one Bellman choice

Q [4 marks]. AskSia-authored practice. At state s, action A yields reward 2 then value 10; action B yields reward 5 then value 5. Gamma is 0.9 and transitions are certain.
  • 1Compute A value 2+0.9×10=11.
  • 1Compute B value 5+0.9×5=9.5.
  • 1Choose A under this model.
  • 1Inspect whether rewards encode all safety costs.
Action A has greater model value, 11 versus 9.5, but the choice is only as valid as the state, reward and transition representation.
Sia tip — Bellman arithmetic cannot repair a badly specified reward.
Glossary

Key terms

Markov decision process
Model of sequential decisions with states, actions, transition probabilities, rewards and discounting. This chapter uses the concept when students calculate state or action values and select a policy under uncertainty. Use this definition when the task is to calculate state or action values and select a policy under uncertainty.
policy
Rule mapping states or observations to action choices. It helps explain the reasoning required to calculate state or action values and select a policy under uncertainty. Use this definition when the task is to calculate state or action values and select a policy under uncertainty.
Bellman optimality
Recursive relation expressing optimal value through immediate reward and optimal continuation value. Its limit matters because the Markov property, reward design, discount factor and transition model are modelling assumptions. Use this definition when the task is to calculate state or action values and select a policy under uncertainty.
FAQ

Markov Decision Processes and Bellman Reasoning FAQ

What is the main task in Markov Decision Processes and Bellman Reasoning?

Calculate state or action values and select a policy under uncertainty.

How do Markov decision process and policy work together?

Use Markov decision process to establish the object or condition, then use policy to explain how it changes the outcome being analysed.

What must a comp90054 answer qualify here?

The markov property, reward design, discount factor and transition model are modelling assumptions.

How should I revise Markov Decision Processes and Bellman Reasoning?

Retrieve Markov decision process, policy and Bellman optimality, apply them to a changed case, and correct the first point where the evidence no longer supports the conclusion.

Study strategy

Exam move

Reconstruct the relationship among Markov decision process, policy and Bellman optimality; complete the chapter application without notes; then test the result against this limit: The markov property, reward design, discount factor and transition model are modelling assumptions.

Working through Markov Decision Processes and Bellman Reasoning in COMP90054? Sia is AskSia’s AI Artificial Intelligence tutor — ask any COMP90054 Markov Decision Processes and Bellman Reasoning question and get a clear, step-by-step explanation grounded in how COMP90054 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 24 of your The University of Melbourne subjects - and 1,000+ Bibles across every Australian university.
Sia - your COMP90054 tutor, unlimited, worked the way the exam marks it
The full 2-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Unlock the full COMP90054 Bible + 24 The University of Melbourne subjects
$0.99 Trial