Markov Decision Process
A Markov Decision Process (MDP) is a mathematical framework for modeling sequential decision-making, defined by states, actions, transition probabilities, and rewards, used as the formal foundation of reinforcement learning.
Definition
A Markov Decision Process (MDP) is a mathematical framework for modeling sequential decision-making, defined by states, actions, transition probabilities, and rewards, used as the formal foundation of reinforcement learning.
Overview
An MDP formalizes an agent interacting with an environment over discrete time steps: at each step the agent observes a state, chooses an action, receives a reward, and the environment transitions to a new state according to a probability distribution that depends only on the current state and action — the Markov property. Formally, an MDP is the tuple (S, A, P, R, γ), where S is the state space, A the action space, P the transition function, R the reward function, and γ a discount factor that weighs future rewards against immediate ones. The goal in an MDP is to find a policy — a mapping from states to actions — that maximizes expected cumulative discounted reward. The value function and the Bellman equation are central tools for this: they express the value of a state (or state-action pair) recursively in terms of immediate reward plus the discounted value of successor states, which is what makes dynamic-programming methods like value iteration and policy iteration possible when the model is fully known. When the transition and reward functions are unknown, reinforcement learning algorithms such as Q-learning, SARSA, and policy gradient methods estimate optimal behavior directly from experience rather than from a known model. MDPs also generalize to partially observable MDPs (POMDPs) when the agent cannot fully observe the state, which connects the framework back to hidden-state models like HMMs. The MDP formalism underlies applications from robotics and game-playing agents like AlphaGo to resource allocation, inventory management, and recommendation systems, anywhere a sequence of decisions must be optimized under uncertainty.
Key Concepts
- Formal tuple of states, actions, transition probabilities, rewards, and discount factor
- Markov property — transitions depend only on the current state and action
- Policies map states to actions to maximize expected cumulative reward
- Bellman equation provides a recursive definition of state and action values
- Value iteration and policy iteration solve MDPs when the model is known
- Discount factor balances immediate versus future rewards
- Extends to partially observable MDPs (POMDPs) for hidden-state settings
- Foundational formalism underlying modern reinforcement learning
Use Cases
Frequently Asked Questions
From the Blog
What Is a Decision Tree in Machine Learning
A decision tree predicts by asking a series of yes/no questions about your data, splitting it step by step until it reaches an answer. It is simple, visual, and easy to read.
Read More AI & TechnologyWhat Is Business Process Management, and Why It Matters
Business process management is the discipline of designing, monitoring, and continuously improving the recurring workflows an organization depends on. This guide breaks down what a business process actually is and how it gets optimized.
Read More AI & TechnologyAccounts Payable Explained: How the Process Works
Accounts payable is the process of managing and paying a company's outstanding bills to suppliers and vendors. This guide explains the full workflow, common controls, and how automation is changing the function.
Read More AI & TechnologyHow vision models process image resolution, tiling and detail
Vision models see patch tokens, not pixels. Learn how resizing and tiling decide what detail survives, and how cropping fixes missed small text more than prompting.
Read More