NS-Gym: Open-Source Simulation Environments and Benchmarks for Non-Stationary Markov Decision Processes

Nathaniel S. Keplinger, Baiting Luo, Iliyas Bektas, Yunuo Zhang, Kyle Hollins Wray +3 more
1/16/2025
cs.AI

No official code found. Best implementation: scope-lab-vu/ns_gym (13 stars, MIT, last commit 2026-04-20).

Abstract

In many real-world applications, agents must make sequential decisions in environments where conditions are subject to change due to various exogenous factors. These non-stationary environments pose significant challenges to traditional decision-making models, which typically assume stationary dynamics. Non-stationary Markov decision processes (NS-MDPs) offer a framework to model and solve decision problems under such changing conditions. However, the lack of standardized benchmarks and simulation tools has hindered systematic evaluation and advance in this field. We present NS-Gym, the first simulation toolkit designed explicitly for NS-MDPs, integrated within the popular Gymnasium framework. In NS-Gym, we segregate the evolution of the environmental parameters that characterize non-stationarity from the agent's decision-making module, allowing for modular and flexible adaptations to dynamic environments. We review prior work in this domain and present a toolkit encapsulating key problem characteristics and types in NS-MDPs. This toolkit is the first effort to develop a set of standardized interfaces and benchmark problems to enable consistent and reproducible evaluation of algorithms under non-stationary conditions. We also benchmark six algorithmic approaches from prior work on NS-MDPs using NS-Gym. Our vision is that NS-Gym will enable researchers to assess the adaptability and robustness of their decision-making algorithms to non-stationary conditions.

View on arXivView PDF

Code Implementations(1)

scope-lab-vu/ns_gymCommunity100%
MIT

A framework for modeling non-stationary Markov decision processes and the key decision making problems in these environments

132Python, Jupyter NotebookOct 3, 20246 months agoMIT
decision-makingdecision-making-under-uncertaintygymnasiummarkov-decision-processesnon-stationary-environment+2 more

Similar Papers

Cite this paper

@article{keplinger2025nsgym,
  title  = {NS-Gym: Open-Source Simulation Environments and Benchmarks for Non-Stationary Markov Decision Processes},
  author = {Nathaniel S. Keplinger and Baiting Luo and Iliyas Bektas and Yunuo Zhang and Kyle Hollins Wray and Aron Laszka and Abhishek Dubey and Ayan Mukhopadhyay},
  year   = {2025},
  eprint = {2501.09646},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09646v1}
}

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/2501.09646.svg)](https://codeofpaper.com/paper/2501.09646)

Discussion