Yuxuan Lin
旧日存档

MDP <马尔科夫决策过程>

历史版本,2024-04-24

这是历史版本,其中的信息和观点可能已经过时。阅读现行文章,或查看当前简介。

Markov Decision Process

A Markov Decision Process (MDP) is defined by:

  • A set of states, 𝑠 ∈ 𝒮
  • A set of actions, 𝑎 ∈ 𝒜
  • A transition model, 𝑃(𝑆t+1 = 𝑠t+1|𝑆t = 𝑠t, 𝑎t)

    • 𝑆t is the state at time t
    • 𝑎t is the action taken at time t (not random)
  • A reward function, 𝑟(𝑠)

Solving an MDP: The Policy

  • Since 𝑃(𝑆t+1 = 𝑠t+1|𝑆t = 𝑠t, 𝑎t) and 𝑟(𝑠) depend only on the state (the model is Markov), a complete solution can be expressed as follows:
  • What is the best action to take in any given state?
  • A policy , 𝑎 = 𝜋(𝑠), is a function telling you, for any state 𝑠, what is the best action to take in that state.

Utility

The utility of a state, 𝑢(𝑠), is defined to be:

  • the sum of all current and future rewards that can be achieved if we start in state 𝑠, if we choose the best possible sequence of actions, and if we average over all possible results of those actions.

  • The utility of a state, u(s), is the maximum, over all possible sequences of actions, of the expected value, over all possible results of those actions, of the total of all future rewards.