MARLIM: Multi-Agent Reinforcement Learning for Inventory Management

Rémi Leluc, Elie Kadoche, Antoine Bertoncello, Sébastien GourvénecarXiv 2023 · DOI

Introduction

Inventory management is a critical component of industrial supply chains, yet it remains a complex optimization challenge. Traditional methods often rely on rigid heuristics that struggle with the stochastic nature of real-world logistics. In the paper "MARLIM: Multi-Agent Reinforcement Learning for Inventory Management," researchers from TotalEnergies OneTech introduce a novel framework designed to move beyond these limitations. By leveraging Multi-Agent Reinforcement Learning (MARL), MARLIM optimizes replenishment decisions in multi-product environments, significantly reducing operating costs and stock-out risks.

The Inventory Management Challenge

Effective inventory management requires a delicate balance between competing costs. Ordering too much leads to high holding costs and potential storage overflows, while ordering too little results in shortage costs. In production environments, these shortages can be catastrophic, potentially leading to complete factory shutdowns.

The complexity arises from two primary factors:

  1. Stochasticity: Demand and lead-times (the duration between placing an order and its arrival) are highly volatile and unpredictable.
  2. Dimensionality: As the number of products and constraints increases, classical optimization techniques like Dynamic Programming become computationally intractable.

While much of the existing research focuses on retail—where back-ordering is a common solution—MARLIM specifically targets industrial warehouses where part availability is non-negotiable for systemic stability.

Methodology: The MARLIM Framework

The researchers model the inventory problem as a Markov Game, a multi-agent extension of the Markov Decision Process (MDP). In this setting, each product in the inventory is represented by an autonomous agent. These agents operate cooperatively, sharing the global objective of minimizing the total cost, which includes ordering, holding, and shortage costs.

The iterative decision-making process in the MARLIM framework, illustrating the cycle from state observation to order action and inventory update.

Algorithms and Capacity Handling

MARLIM utilizes Proximal Policy Optimization (PPO) for single-agent scenarios and Independent PPO (IPPO) for multi-agent settings. PPO is selected for its training stability and its capacity to handle both discrete and continuous action spaces, allowing agents to decide precisely how much to order.

A significant innovation in the framework is the management of shared storage capacity. When multiple products compete for limited warehouse space, MARLIM employs "overflow weights." These weights are proportional to the shortage cost of each item, ensuring that critical components—those most expensive or damaging to lose—are prioritized during replenishment cycles.

Experimental Setup

The framework was validated using real-world industrial data from a global corporation with warehouses across multiple countries. The dataset included 50 different products with historical records spanning nearly two decades (2002–2021). To create a robust simulation environment, the researchers used Maximum Likelihood Estimators (MLE) to fit this data into stochastic distributions, specifically Poisson processes for demand and geometric distributions for lead-times.

Results and Discussion

The performance of the MARLIM agents was compared against two baselines: the standard industry MinMax (s, S) heuristic and an "Oracle" agent with partial knowledge of future demand.

Comparison of inventory levels, demand, and order actions across MinMax, Oracle, and PPO agents over a 120-month period.

Key Findings

  • Cost Efficiency: MARLIM achieved a staggering 75% to 85% reduction in overall operating costs compared to the MinMax strategy across various product clusters.
  • Shortage Elimination: While the MinMax strategy frequently suffered from stock-outs during demand spikes, the RL agents often reduced shortages to zero.
  • Anticipatory Behavior: Unlike the reactive MinMax approach, RL agents learned to anticipate demand fluctuations. They maintained buffer stocks slightly above demand signals to mitigate the risks of stochastic lead-times.
  • Scalability: The multi-agent approach proved effective even as complexity scaled from 5 to 20 agents within a single shared-capacity cluster, preventing "greedy" behavior through cooperative learning.

Conclusion and Future Directions

MARLIM demonstrates the transformative potential of Reinforcement Learning in industrial logistics. By treating products as cooperative agents, the framework successfully navigates the complexities of shared capacity and stochastic variables.

Future work aims to extend this model to multi-echelon supply chains, involving multiple stages from factories to regional hubs. Additionally, incorporating exogenous variables such as market trends or economic shifts could further enhance the agents' predictive capabilities. For massive-scale operations, the authors suggest exploring mean-field theory to manage thousands of interacting agents efficiently.

Reference: Leluc, R., Kadoche, E., Bertoncello, A., & Gourvénec, S. (2023). MARLIM: Multi-Agent Reinforcement Learning for Inventory Management. arXiv:2308.01649v1.

Summary updated

BibTeX
@misc{leluc2023marlim,
  author = {Rémi Leluc and Elie Kadoche and Antoine Bertoncello and Sébastien Gourvénec},
  title = {{MARLIM: Multi-Agent Reinforcement Learning for Inventory Management}},
  year = {2023},
  eprint = {2308.01649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.01649},
}
Figure