A Versatile Multi-Agent Reinforcement Learning Benchmark for Inventory Management

Xianliang Yang, Zhihao Liu, Wei Jiang, Chuheng Zhang, Li Zhao, Lei Song, Jiang BianarXiv 2023

Abstract

Multi-agent reinforcement learning (MARL) models multiple agents that interact and learn within a shared environment. This paradigm is applicable to various industrial scenarios such as autonomous driving, quantitative trading, and inventory management. However, applying MARL to these real-world scenarios is impeded by many challenges such as scaling up, complex agent interactions, and non-stationary dynamics. To incentivize the research of MARL on these challenges, we develop MABIM (Multi-Agent Benchmark for Inventory Management) which is a multi-echelon, multi-commodity inventory management simulator that can generate versatile tasks with these different challenging properties. Based on MABIM, we evaluate the performance of classic operations research (OR) methods and popular MARL algorithms on these challenging tasks to highlight their weaknesses and potential.

Introduction

While Reinforcement Learning (RL) has achieved significant success in controlled environments like games, its application to industrial "real-world" problems like inventory management remains a significant hurdle. In a typical supply chain, managing thousands of Stock Keeping Units (SKUs) across multiple layers of warehouses (echelons) from factory to customer presents unique challenges. Existing MARL benchmarks often fail to capture the scale, non-stationary dynamics (e.g., sudden demand shifts), and complex agent interactions inherent in global logistics. To bridge this gap, we introduce MABIM (Multi-Agent Benchmark for Inventory Management), a high-fidelity simulator designed to stress-test MARL algorithms in realistic supply chain scenarios.

Methodology: The MABIM Environment

MABIM is built on the OpenAI Gym framework and models a multi-echelon system where each SKU in each warehouse is treated as an individual agent.

Overview of the multi-echelon supply chain structure in MABIM, showing product flow from factory to customer and replenishment/demand signals moving upstream.

The environment incorporates several key features:

  • Action-to-Replenishment Converters: Agents utilize converters that factor in average demand rather than outputting raw numbers, enhancing decision generalizability.
  • Flexible Reward Shaping: While profit is the primary metric, the system supports custom rewards to incentivize specific behaviors like backlog reduction or overflow minimization.
  • Multi-Echelon Modeling: The simulator supports complex chains where upstream warehouses replenish downstream ones based on demand signals.

Experimental Setup and Datasets

MABIM's realism is grounded in real-world retail data, utilizing demand patterns for over 2,000 SKUs from a retail partner. We defined 51 built-in tasks categorized by specific challenges:

  1. Scaling: Increasing the number of agents (SKUs).
  2. Cooperation: Multi-layer warehouse chains requiring coordinated replenishment.
  3. Robustness: Introducing noise and unseen demand patterns ("Gap" levels).

We evaluated two classic Operations Research (OR) methods—Base Stock (BS) and (s, S) policies—against popular MARL algorithms like Independent PPO (IPPO) and QTRAN.

Results and Discussion

Our evaluation revealed several critical insights into the current state of MARL for inventory management:

The Scaling Wall

While IPPO performs well with a few hundred agents, its performance collapses when scaled to 2,000 agents. Training QTRAN at this scale required over 52 hours and 44GB of GPU memory, highlighting the massive computational overhead of sophisticated MARL in large-scale industrial settings.

Cooperation and Hybrid Approaches

In multi-echelon tasks, pure MARL agents often struggle to cooperate, failing to pass sufficient product down the chain. Interestingly, hybrid models—using MARL for upstream warehouses and classic OR rules for downstream ones—significantly outperformed pure MARL. For instance, in a 3-echelon setup, a QTRAN+BS hybrid achieved a profit of 9.18k, compared to 8.09k for pure QTRAN and 4.25k for pure IPPO.

Generalization and Robustness

Classic OR methods like static Base Stock are efficient but brittle. When faced with high-noise environments or unseen demand patterns, MARL algorithms (especially IPPO) demonstrated superior resilience. IPPO maintained nearly 100% of the profit achieved by a "hindsight" optimal algorithm in high-noise settings, whereas the static BS method's performance dropped to roughly 60%.

Conclusion and Future Work

MABIM provides a rigorous framework for evaluating MARL in complex, real-world inventory scenarios. While MARL shows promise in robustness and generalization, significant challenges remain in scaling and multi-agent cooperation. Future work will focus on implementing graph-based structures for explicit agent communication and introducing partially observable settings to mimic real-world information silos.

The MABIM code is publicly available to facilitate further research in this domain.

Summary updated

BibTeX
@misc{yang2023versatile,
  author = {Xianliang Yang and Zhihao Liu and Wei Jiang and Chuheng Zhang and Li Zhao and Lei Song and Jiang Bian},
  title = {{A Versatile Multi-Agent Reinforcement Learning Benchmark for Inventory Management}},
  year = {2023},
  eprint = {2306.07542},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.07542},
}
Figure