Inferensys

Glossary

Markov Decision Process (MDP)

A mathematical framework for modeling sequential decision-making in stochastic environments, defined by a set of states, actions, transition probabilities, and reward functions, forming the theoretical basis for reinforcement learning in spectrum access.
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 (MDP) is the formal 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, selects an action a ∈ A, and transitions to a new state s' according to the transition probability P(s'|s, a). The agent receives a scalar reward R(s, a) and aims to learn a policy π(a|s) that maximizes the expected discounted cumulative return.

MDPs formally encode 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 framework is the theoretical foundation for Reinforcement Learning (RL) and is directly applied in dynamic spectrum access to model channel occupancy, where the state represents spectrum availability and actions correspond to selecting a frequency for transmission.

FOUNDATIONAL FRAMEWORK

Core Components of an MDP

A Markov Decision Process provides the mathematical scaffolding for sequential decision-making under uncertainty. These five core components define the environment in which a reinforcement learning agent operates to learn optimal spectrum access policies.

01

State Space (S)

The finite set of all possible situations the agent can encounter. In spectrum access, a state typically encodes the occupancy status of multiple channels (idle/busy), the agent's current operating frequency, and residual battery level. The Markov property dictates that the state must capture all relevant history—the future depends only on the present state, not the sequence that preceded it. A well-designed state representation is critical: too sparse and the agent lacks context; too rich and the curse of dimensionality makes learning intractable.

02

Action Space (A)

The discrete set of decisions available to the agent at each time step. For a cognitive radio, actions include: switch to channel N, increase transmit power, remain idle and sense, or initiate handoff. The action space defines the agent's degrees of freedom. Constraining it to physically realizable operations—a radio cannot transmit and receive simultaneously on the same frequency—ensures the learned policy maps to executable hardware commands.

03

Transition Probability (P)

The state transition function P(s' | s, a) defines the probability of moving to state s' after taking action a in state s. This captures the stochastic nature of the RF environment: a primary user may arrive on a channel with some unknown probability, or a jamming signal may appear intermittently. In model-free RL, the agent never learns this function explicitly; in model-based RL, the agent approximates it to plan ahead. The transition kernel is the engine of non-determinism in the MDP.

04

Reward Function (R)

The scalar feedback signal R(s, a, s') that evaluates the desirability of a state transition. This is the only training signal the agent receives. In spectrum access, rewards are engineered to encode operational objectives: +1 for successful packet transmission, -10 for colliding with a primary user, -0.1 per time step to penalize latency. Reward shaping—adding intermediate bonuses for progress—can accelerate learning but risks reward hacking if not carefully aligned with the true objective.

05

Discount Factor (γ)

A parameter γ ∈ [0, 1] that determines the present value of future rewards. A γ close to 0 makes the agent myopic—it greedily maximizes immediate reward, suitable for fast-fading channels where future states are unpredictable. A γ close to 1 makes the agent far-sighted—it will sacrifice short-term throughput to position itself on a channel likely to remain vacant. This parameter fundamentally controls the exploration-exploitation trade-off over the agent's planning horizon.

06

Policy (π)

The agent's strategy: a mapping π(a | s) from states to a probability distribution over actions. The goal of all RL algorithms is to converge on an optimal policy π* that maximizes the expected cumulative discounted reward. A deterministic policy always selects the same action in a given state; a stochastic policy samples actions probabilistically, which aids exploration. In spectrum access, the policy is the cognitive engine that decides when and where to transmit.

SEQUENTIAL DECISION FRAMEWORK

How an MDP Models Spectrum Access Decisions

A Markov Decision Process formalizes dynamic spectrum access as a controlled stochastic process where a cognitive radio agent learns to select optimal frequency channels under uncertainty.

A Markov Decision Process (MDP) models spectrum access by defining the electromagnetic environment as a set of states—each representing a specific channel occupancy configuration—and a set of actions corresponding to transmission or sensing decisions. The transition probability function captures the stochastic nature of primary user activity, encoding the likelihood of moving from one occupancy state to another after an action is taken.

The agent's objective is encoded in a reward function that assigns positive values for successful throughput and negative penalties for collisions with primary users. By solving the MDP through algorithms like value iteration or Q-learning, the cognitive radio derives an optimal policy—a mapping from perceived spectrum states to actions—that maximizes cumulative reward while respecting interference constraints.

MDP FUNDAMENTALS

Frequently Asked Questions

Core questions about the mathematical framework that underpins reinforcement learning for dynamic spectrum access.

A Markov Decision Process (MDP) is a mathematical framework for modeling sequential decision-making in stochastic environments 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 across discrete time steps. At each step, the agent observes the current state, selects an action, and receives a numerical reward while the environment transitions to a new state according to a transition probability function. The defining characteristic is the Markov property: the future state depends only on the current state and action, not on the history of prior states. This structure provides the theoretical basis for reinforcement learning (RL) algorithms that learn optimal policies for problems like dynamic spectrum access, where a cognitive radio must decide which frequency to occupy next based on current spectrum occupancy without knowing the full historical pattern.

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.