A policy gradient approach for Finite Horizon Constrained Markov Decision Processes

Soumyajit Guin, Shalabh Bhatnagar
10/10/2022
cs.LG
rl

Official code: gsoumyajit/Finite-Horizon-with-constraints (1 star, Python, last commit 2024-06-24).

Abstract

The infinite horizon setting is widely adopted for problems of reinforcement learning (RL). These invariably result in stationary policies that are optimal.

Show full abstract

In many situations, finite horizon control problems are of interest and for such problems, the optimal policies are time-varying in general. Another setting that has become popular in recent times is of Constrained Reinforcement Learning, where the agent maximizes its rewards while it also aims to satisfy some given constraint criteria. However, this setting has only been studied in the context of infinite horizon MDPs where stationary policies are optimal. We present an algorithm for constrained RL in the Finite Horizon Setting where the horizon terminates after a fixed (finite) time. We use function approximation in our algorithm which is essential when the state and action spaces are large or continuous and use the policy gradient method to find the optimal policy. The optimal policy that we obtain depends on the stage and so is non-stationary in general. To the best of our knowledge, our paper presents the first policy gradient algorithm for the finite horizon setting with constraints. We show the convergence of our algorithm to a constrained optimal policy. We also compare and analyze the performance of our algorithm through experiments and show that our algorithm performs better than some other well known algorithms.

View on arXivView PDF

Code Implementations(1)

10PythonJun 25, 20212 years ago

Similar Papers

Cite this paper

@article{guin2022policy,
  title  = {A policy gradient approach for Finite Horizon Constrained Markov Decision Processes},
  author = {Soumyajit Guin and Shalabh Bhatnagar},
  year   = {2022},
  eprint = {2210.04527},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04527}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.04527.svg)](https://codeofpaper.com/paper/2210.04527)

Discussion