Markov Decision Processes
Tags: #◇Computer Science #◇CSINTSY #◇Markov Decision Processes #◇Problem Solving #◇M6
◇Overview
A Markov Decision Process (MDP) provides a mathematical framework for modeling decision-making in environments where outcomes are uncertain. Unlike standard state-based models where actions deterministically lead to a specific state, MDPs account for the probability that an action might lead to various different states.
Key Components of an MDP:
States (): The set of all possible states.
Actions (): The set of actions available from a given state.
Transition Distribution : The probability of reaching a next state given the current state and action .
Reward : The reward received after transitioning from to via action .
Start / End States.
Goal:
The objective in an MDP is to find an Optimal Policy (), which is a rule or strategy defining the best action to take in every state to maximize the expected cumulative reward.
Discount Factor ():
A value between 0 and 1 that determines how much future rewards are valued compared to immediate rewards. A close to 1 heavily weights long-term rewards.
◇Important Formulas
Optimal Value Function ():
Calculates the maximum expected reward achievable from state .
Optimal Policy ():
Determines the best action to take in state .
◇Worked Examples
Iterative Algorithm (Value Iteration / Bellman Equation):
- Initialize for all states .
- For iteration until convergence:
For each state :
- The process repeats until the change in optimal values between iterations falls below a specific threshold. The policy is then extracted using .
Transport Puzzle with Uncertainty:
Walking takes 1 min deterministically (cost -1). Taking a tram takes 2 mins (cost -2) but has a 50% chance of failing to move the agent forward. The algorithm iteratively computes expected costs based on probabilities until the optimal path policy stabilizes.
◇References & Navigation
- Previous Topic: ◇Expert Systems Overview
- Next Topic: ◇Q-Learning
- Related Notes: ◇MDP, ◇Bayesian Inference
ACTIVE RECALL VERIFICATION
Select an answer to verify conceptual comprehension and reveal the technical rationale.
How does a Markov Decision Process (MDP) differ from standard state-based models like A* search?
What is the primary objective when solving a Markov Decision Process?
What role does the Discount Factor () play in an MDP?
In the formula for the Optimal Value Function (), what happens when the current state is a goal/end state?
During Value Iteration (Bellman Equation), how does the algorithm determine when to stop iterating?