A Markov Decision Process (MDP) is a mathematical framework used for modeling decision-making in situations where outcomes are partly random and partly under the control of a decision maker. MDPs are the mathematical foundation for reinforcement-learning (RL).

Key Features

An MDP is formally defined by a 5-tuple :

  • States (): A finite or infinite set of environmental states.
  • Actions (): A finite set of actions available to the agent.
  • Transition Probability (): The probability that action in state at time will lead to state at time .
  • Reward (): The immediate reward received after transitioning from state to state due to action .
  • Discount Factor (): A factor representing the difference in value between present and future rewards.
  • Markov Property: The key assumption that the transition probabilities depend only on the current state and action, not on historical states or actions: .
  • Bellman Equation: Recursive equations that decompose value functions into immediate rewards and discounted future values.
  • Dynamic Programming: Model-based techniques like Value Iteration and Policy Iteration used to solve MDPs when transition and reward functions are fully known.
  • Q-Learning: A model-free reinforcement learning algorithm used to find optimal action-selection policies for any given MDP.
  • Partially Observable MDPs (POMDPs): A generalization of MDPs where the agent cannot directly observe the complete environment state.