Inferensys

Glossary

Markov Decision Process (MDP)

A mathematical framework for modeling sequential decision-making in stochastic environments, defined by a state space, action space, transition probabilities, and a reward function.
Governance lead reviewing model governance framework on laptop, policy documents visible, executive office setup.
SEQUENTIAL DECISION FRAMEWORK

What is Markov Decision Process (MDP)?

A Markov Decision Process is the foundational mathematical framework for modeling decision-making in situations where outcomes are partly random and partly under the control of a decision-maker.

A Markov Decision Process (MDP) is a discrete-time stochastic control process defined by the tuple (S, A, P, R, γ), where an agent observes a state s ∈ S, takes an action a ∈ A, and transitions to a new state s' according to a probabilistic transition function P(s'|s, a), receiving a scalar reward R(s, a). The defining Markov property ensures that the future depends only on the current state and action, not on the history of prior interactions.

The objective is to derive an optimal policy π(a|s) that maximizes the expected cumulative discounted reward, formalized by the Bellman optimality equation. In the context of Deep Reinforcement Learning for RAN, MDPs provide the rigorous mathematical scaffolding for framing radio resource management problems—such as handover optimization and dynamic spectrum access—as sequential decision tasks solvable by algorithms like Deep Q-Networks and Proximal Policy Optimization.

FRAMEWORK FUNDAMENTALS

Key Characteristics of MDPs

A Markov Decision Process provides the formal scaffolding for sequential decision-making under uncertainty. These five characteristics define its structure and distinguish it from simpler control or planning paradigms.

01

The Markov Property

The defining assumption of an MDP: the future is independent of the past given the present. Formally, a state (S_t) is Markov if and only if (P(S_{t+1} | S_t) = P(S_{t+1} | S_1, ..., S_t)). This implies the current state captures all relevant history for decision-making.

  • Sufficient statistic: The state must encode position, velocity, and context—no hidden memory required.
  • Practical implication: In a wireless scheduler, the state must include queue backlogs and channel quality indicators (CQI); omitting either breaks the Markov assumption.
  • Contrast: Partially Observable MDPs (POMDPs) relax this by maintaining a belief state over hidden variables.
02

State Space Definition

The state space (\mathcal{S}) is the complete set of all possible configurations the agent can encounter. It defines the input dimensionality for the policy and value function approximators.

  • Discrete states: Finite sets, such as grid-world cells or buffer occupancy levels (e.g., 0–100 packets).
  • Continuous states: Real-valued vectors, such as SINR measurements, user positions, or battery levels.
  • RAN example: A deep reinforcement learning agent for load balancing may define state as a vector of per-cell PRB utilization, active user counts, and average throughput—typically a high-dimensional continuous space requiring neural network function approximation.
03

Action Space Structure

The action space (\mathcal{A}) enumerates every possible decision available to the agent at each time step. Its structure directly determines which reinforcement learning algorithms are applicable.

  • Discrete actions: A finite set of choices—e.g., select cell A, B, or C for handover; choose MCS index 1 through 15.
  • Continuous actions: Real-valued parameters—e.g., transmit power in dBm, beamforming angle in radians, or cell individual offset (CIO) in decibels.
  • Hybrid spaces: Common in RAN optimization, where an agent might discretely select a user and continuously adjust power allocation. Algorithms like Soft Actor-Critic (SAC) handle continuous actions natively, while Deep Q-Networks (DQN) require discretization.
04

Transition Dynamics

The transition function (P(s' | s, a)) defines the probability of moving to state (s') after taking action (a) in state (s). This encodes the environment's stochasticity.

  • Model-based RL: The agent learns or is given an explicit model of (P), enabling planning via rollouts or dynamic programming.
  • Model-free RL: The agent learns directly from sampled transitions without modeling (P)—dominant in wireless applications where channel dynamics are too complex to model explicitly.
  • Deterministic transitions: A special case where (P(s' | s, a) = 1) for exactly one (s'). Rare in real networks due to fading, mobility, and traffic randomness.
05

Reward Function Design

The reward function (\mathcal{R}(s, a)) is the scalar signal that defines the agent's objective. It is the only mechanism for communicating design intent to the learning algorithm.

  • Dense rewards: Provided at every time step—e.g., instantaneous throughput or negative energy consumption—enabling faster credit assignment.
  • Sparse rewards: Given only at terminal states or rare events—e.g., successful handover completion or call drop—requiring sophisticated exploration strategies.
  • Shaping risks: Poorly designed rewards cause reward hacking, where the agent maximizes the signal without achieving the true objective. In RAN energy optimization, a naive reward of "minimize transmit power" may cause the agent to serve zero users—the reward must jointly consider power and QoS constraints.
06

Discount Factor and Horizon

The discount factor (\gamma \in [0, 1)) determines the present value of future rewards, controlling the agent's planning horizon. The objective is to maximize the expected discounted return: (\mathbb{E}[\sum_{t=0}^{\infty} \gamma^t r_t]).

  • (\gamma \approx 0): Myopic agent—prioritizes immediate reward. Suitable for fast-fading channel decisions where future states are nearly irrelevant.
  • (\gamma \approx 1): Far-sighted agent—values long-term outcomes. Essential for energy-saving strategies where powering down a cell now yields cumulative savings over hours.
  • Episodic vs. continuing: Finite-horizon tasks (e.g., a fixed-duration video stream) may use (\gamma = 1) with terminal states; infinite-horizon tasks require (\gamma < 1) to ensure convergence.
MDP FUNDAMENTALS

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the mathematical framework underpinning sequential decision-making in stochastic environments.

A Markov Decision Process (MDP) is a discrete-time stochastic control process that provides a mathematical framework for modeling decision-making in situations where outcomes are partly random and partly under the control of a decision-maker. It works by formalizing the interaction between an agent and an environment. At each time step t, the agent observes the current state s, selects an action a from the available set, and receives a numerical reward r. The environment then transitions to a new state s' according to a transition probability P(s' | s, a). The core objective is to find an optimal policy π(a|s)—a mapping from states to actions—that maximizes the expected cumulative discounted reward over time. The defining property is the Markov property, which asserts that the future state depends solely on the current state and action, not on the history of prior states. This memoryless assumption makes MDPs computationally tractable for a vast range of sequential optimization problems, from robotics to radio resource management.

SEQUENTIAL DECISION FRAMEWORK

MDPs in AI-Enhanced Radio Access Networks

The Markov Decision Process provides the formal mathematical scaffolding for modeling how an AI agent interacts with a dynamic cellular environment. By defining states, actions, transition probabilities, and rewards, MDPs enable deep reinforcement learning algorithms to optimize radio resource management under uncertainty.

01

The 5-Tuple Formalism

An MDP is rigorously defined by the tuple (S, A, P, R, γ). S represents the finite set of all possible network states (e.g., buffer levels, SINR measurements). A is the set of actions (e.g., power adjustments, scheduling decisions). P(s'|s, a) is the state transition probability function. R(s, a) is the immediate reward signal. γ ∈ [0,1] is the discount factor that balances immediate versus future rewards.

02

The Markov Property in Wireless Channels

The core assumption is that the future state depends only on the current state and action, not the full history. In RAN optimization, this is a practical approximation: the next SINR depends primarily on the current interference pattern and power allocation, not on conditions from minutes ago. This property makes the problem computationally tractable for real-time control loops operating on millisecond timescales.

03

Policy and Value Functions

The goal of solving an MDP is to find an optimal policy π(a|s)—a mapping from states to actions that maximizes expected cumulative reward. Two key functions guide this search:

  • State-value function V(s): Expected return starting from state s and following policy π thereafter
  • Action-value function Q(s, a): Expected return starting from state s, taking action a, then following π Deep Q-Networks directly approximate Q(s,a) to handle the high-dimensional state spaces of modern cellular deployments.
04

Reward Engineering for RAN Objectives

The reward function R(s, a) translates network operator goals into a scalar signal. Effective designs often combine multiple objectives:

  • Throughput maximization: +reward proportional to bits successfully transmitted
  • Energy penalty: -reward for each watt of transmission power consumed
  • SLA violation cost: -reward when latency exceeds a threshold
  • Handover penalty: -reward for each unnecessary cell transition Careful weighting prevents reward hacking where the agent exploits a single metric at the expense of overall network health.
05

Partially Observable MDPs (POMDPs)

In real RAN deployments, the agent rarely has access to the true global state. A POMDP extends the MDP framework with an observation function O(o|s, a) and a belief state—a probability distribution over possible true states. For example, a base station observes CQI reports but not the exact interference from hidden nodes. Practical solutions use recurrent neural networks to maintain an implicit belief state over time.

06

Bellman Optimality Equation

The recursive heart of MDP solving: Q(s, a) = R(s, a) + γ Σ P(s'|s, a) max_a' Q(s', a')**. This equation states that the optimal action-value equals the immediate reward plus the discounted expected value of the best action in the next state. Deep reinforcement learning algorithms like DQN and PPO iteratively approximate this equation using neural networks and stochastic gradient descent, enabling learning without an explicit model of the wireless environment.

FRAMEWORK COMPARISON

MDP vs. Related Decision-Making Frameworks

Comparing the mathematical structure and assumptions of Markov Decision Processes against alternative sequential decision-making paradigms used in wireless network optimization.

FeatureMarkov Decision ProcessMulti-Armed BanditPartially Observable MDPContextual Bandit

State Observation

Fully observable

No state

Partially observable (belief state)

Observed context vector

Markov Property

Transition Dynamics

Probabilistic state transitions

Probabilistic state transitions with observation model

Action Impact

Affects future states

No state transition

Affects future states

No state transition

Feedback Signal

Scalar reward per step

Scalar reward per arm pull

Scalar reward per step

Scalar reward per context-action pair

Planning Horizon

Finite or infinite

Typically infinite

Finite or infinite

Typically infinite

Use Case in RAN

Handover optimization, power control

Dynamic spectrum access

Interference management with hidden nodes

Link adaptation with CQI context

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.