liveBook · Manning

Markov decision process

A Markov decision process is a mathematical model of sequential decision-making defined by states, actions, probabilistic transitions, and rewards, with future dynamics depending on the current state and action.

How 4 Manning books explain it

Optimization Algorithms: AI techniques for design, planning, and control problems

A Markov decision process is a model of sequential decision-making defined by states, actions, transition probabilities, and rewards with future dynamics dependent only on the current state and action.

How it is used
Frames sequential optimization as an environment in which actions affect future states and an agent seeks a high-reward policy.
How deep it goes
Explains the transition condition and works through states, actions, rewards, and policies using an agent–environment loop.
Examples
Uses uncertain commute times to illustrate transitions and identifies routing and dispatch as optimization applications.
What you can do after
Evaluate/understand whether a sequential decision problem needs states and future consequences when framing it for reinforcement learning.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains Markov decision process →

Reinforcement Learning from Human Feedback

A Markov decision process is a mathematical framework that models states, actions, rewards, and probabilistic transitions for sequential decision making under the Markov property.

How it is used
Frames reinforcement learning as sequential decision making over states, actions, rewards, and transitions.
How deep it goes
Defines finite-MDP objectives, returns, value functions, and rollout estimates, then connects them to policy-gradient updates.
Examples
Uses RLHF prompts and completions, token-level actions and prefixes, PPO advantages, and sampled trajectories as concrete formulations.
What you can do after
Evaluate/understand how RL objectives represent trajectories, estimate returns, weight states, and update policies from sampled experience.

Read how Reinforcement Learning from Human Feedback explains Markov decision process →

Transformers in Action

A Markov decision process is a mathematical model for sequential decision-making in which an agent selects actions in states, receives rewards, and undergoes probabilistic transitions.

How it is used
Frames reinforcement-learning alignment as sequential decision-making before introducing proximal policy optimization.
How deep it goes
Defines stochastic control, five components, state-based policies, uncertainty, and reward maximization without developing PPO.
Examples
Uses portfolio construction and a dog-training obstacle course to illustrate uncertain sequential decisions and reward maximization.
What you can do after
Evaluate sequential decision problems by identifying agents, states, actions, rewards, policies, and uncertain transitions.

Read how Transformers in Action explains Markov decision process →

Causal AI

A Markov decision process is a sequential decision model in which an agent selects actions in states and receives rewards, with future dynamics determined by the current state and action.

How it is used
Models sequential decisions in reinforcement learning and supports causal reasoning about state transitions under chosen actions.
How deep it goes
Defines states, actions, transitions, rewards, and the Markov assumption, then identifies the transition function as a causal kernel.
Examples
Uses a 3 × 4 grid world with movement actions, an obstacle, positive and negative terminal rewards, and random starting positions.
What you can do after
Evaluate sequential decision problems by specifying states, actions, transitions, rewards, and their causal DAG representation.

Read how Causal AI explains Markov decision process →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.