Skip to main content
QUICK REVIEW

[Paper Review] Real-Time Reinforcement Learning of Constrained Markov Decision Processes with Weak Derivatives

Vikram Krishnamurthy, Felisa Vázquez Abad|arXiv (Cornell University)|Oct 22, 2011
Reinforcement Learning in RoboticsComputer Science33 references3 citations
TL;DR

This paper proposes a novel simulation-based policy gradient algorithm for real-time reinforcement learning in constrained average-cost Markov decision processes (MDPs) with unknown transition probabilities. By leveraging spherical coordinate parameterization and weak derivatives via frozen phantoms, the method achieves significantly lower gradient estimation variance (O(1)) compared to the standard score function estimator (O(N)), enabling efficient, adaptive, and constraint-aware control in time-varying environments.

ABSTRACT

We present on-line policy gradient algorithms for computing the locally optimal policy of a constrained, average cost, finite state Markov Decision Process. The stochastic approximation algorithms require estimation of the gradient of the cost function with respect to the parameter that characterizes the randomized policy. We propose a spherical coordinate parametrization and present a novel simulation based gradient estimation scheme involving weak derivatives (measure-valued differentiation). Such methods have substantially reduced variance compared to the widely used score function method. Similar to neuro-dynamic programming algorithms (e.g. Q-learning or Temporal Difference methods), the algorithms proposed in this paper are simulation based and do not require explicit knowledge of the underlying parameters such as transition probabilities. However, unlike neuro-dynamic programming methods, the algorithms proposed here can handle constraints and time varying parameters. Numerical examples are given to illustrate the performance of the algorithms. This paper was originally written in 2004. One reason we are putting this on arxiv now is that the score function gradient estimator continues to be used in the online reinforcement learning literature even though its variance grows as $O(n)$ given $n$ data points (for a Markov process). In comparison the weak derivative estimator has significantly smaller variance of $O(1)$ as reported in this paper (and elsewhere).

Motivation & Objective

  • To develop online, simulation-based policy gradient algorithms for constrained average-cost MDPs when transition probabilities are unknown.
  • To address the limitations of high-variance score function gradient estimators in online reinforcement learning.
  • To enable real-time adaptation to slowly time-varying MDP parameters without explicit knowledge of transition dynamics.
  • To incorporate multiple average-cost constraints (e.g., QoS in networks) into the policy optimization framework.
  • To design a parameter-free, consistent gradient estimator using measure-valued differentiation and frozen phantoms.

Proposed method

  • Uses spherical coordinate parameterization to represent randomized policies, ensuring valid probability distributions over actions.
  • Introduces a weak derivative estimator based on 'frozen phantoms'—past system trajectories preserved and reused to compute gradients.
  • Employs a 'cut and paste' technique to generate two correlated sample paths, enabling low-variance gradient estimation via difference of expectations.
  • Applies fixed-step stochastic approximation with primal-dual or multiplier-based updates to handle L average-cost constraints.
  • Filters frozen phantoms through moving or exponentially discounted averages to reduce bias while maintaining consistency.
  • Derives a measure-valued gradient estimator that avoids explicit knowledge of transition probabilities, enabling online learning.

Experimental results

Research questions

  • RQ1Can a low-variance gradient estimator be constructed for constrained MDPs without knowledge of transition probabilities?
  • RQ2How does the weak derivative estimator compare in variance to the standard score function estimator in online learning settings?
  • RQ3Can the proposed method track time-varying optimal policies in MDPs with slowly changing dynamics?
  • RQ4Can the algorithm effectively enforce multiple average-cost constraints while minimizing long-run cost?
  • RQ5What is the convergence behavior of the stochastic approximation algorithm using weak derivatives in the presence of constraints?

Key findings

  • The weak derivative estimator achieves O(1) variance, whereas the score function estimator has O(N) variance, leading to significantly faster and more stable learning.
  • The frozen phantom method enables consistent, parameter-free gradient estimation without off-line simulations or explicit transition probability knowledge.
  • Numerical examples demonstrate that the algorithm converges to a local minimum with identifiable and negligible bias, even under time-varying dynamics.
  • The method outperforms score function-based approaches in terms of convergence speed and stability, especially for nearly constant or slowly varying cost functions.
  • Theoretical analysis confirms weak convergence to a Markov-modulated ODE when the optimal policy itself evolves as a Markov chain with small transition rates.
  • The approach is suitable for real-time applications such as admission control in wireless networks, where QoS constraints must be enforced alongside cost minimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.