A Cooperative Multi-Agent Reinforcement Learning Framework for Resource Balancing in Complex Logistics Network

Xihan Li, Jia Zhang, Jiang Bian, Yunhai Tong, Tie-Yan Liu

Abstract

This paper presents a novel Multi-Agent Reinforcement Learning (MARL) framework designed to address the resource balancing challenge in global logistics, specifically the repositioning of empty shipping containers. By introducing "Diplomatic Awareness," a mechanism that enables agents to cooperate across disparate shipping routes, the framework overcomes the limitations of traditional Operations Research (OR) methods. Evaluated on real-world historical data, the proposed Diplomatic Awareness MARL (DA-MARL) significantly improves fulfillment ratios and demonstrates superior stability in the face of supply-demand volatility.

Introduction

In the global shipping industry, supply and demand for containers are rarely balanced. Export-heavy regions accumulate massive surpluses of empty containers, while importing regions face severe shortages. This imbalance necessitates "Empty Container Repositioning" (ECR), a costly and complex logistical operation.

Traditional approaches typically rely on Operations Research (OR) models that follow a "forecast then optimize" paradigm. These methods often struggle with three primary issues:

  1. Uncertainty: Volatile demand influenced by external factors like policy changes or holidays.
  2. Mutual Dependency: Optimization plans alter future states, creating feedback loops difficult for static models to capture.
  3. Complex Constraints: Real-world business logic and vessel capacities are often non-convex "black-box" constraints that are hard to model mathematically.

Methodology: From Self to Diplomatic Awareness

The authors formulate the ECR problem as a stochastic game and employ an event-driven MARL approach. Uniquely, vessels—rather than ports—are defined as agents. This allows for policy sharing across routes, reducing the state space and model complexity.

The core innovation is the hierarchy of cooperative metrics used for state and reward design:

  • Self Awareness (SA): Agents optimize based solely on their current port and capacity.
  • Territorial Awareness (TA): Agents consider the entire route, including successive terminals and other vessels on the same path.
  • Diplomatic Awareness (DA): Agents look beyond their own route to intersecting paths, identifying "transshipment ports" where containers can be exchanged between different routes to benefit the wider network.
The three levels of cooperative awareness: Self, Territorial, and Diplomatic.

The algorithm utilizes a DQN-based approach where agents take actions (loading or discharging) triggered by vessel arrival events.

Experimental Setup

The framework was tested in a simulated environment using real-world historical data from a major commercial ocean logistics company. The network comprised 17 ports, 4 major routes (including Pacific Atlantic and Japan-China-Singapore), and 31 vessels. The task involved managing 3,000 to 4,500 containers over a 400-day episode. Performance was benchmarked against No Repositioning, Rule-Based Inventory Control (IC), and Online Linear Programming (LP).

Key Results and Insights

The primary performance metric was the Fulfillment Ratio—the percentage of container demands successfully met.

  • Superior Performance: The DA-MARL model achieved a fulfillment ratio of 95.97%, significantly outperforming the best OR-based baseline (Online LP with IC) at 88.99%.
  • Robustness: MARL agents learn policies that react to environmental states rather than relying on fixed forecasts, making them more resilient to uncertainty.
  • Network-Wide Coordination: DA-MARL successfully coordinated transshipments through hubs like Tokyo and Kobe to supply "starving" ports like Shekou, a feat other methods failed to achieve consistently.
Performance comparison of SA, TA, and DA-MARL training curves and sensitivity analysis.

Conclusion and Future Work

The research demonstrates that "diplomacy"—sacrificing local route gains for global network efficiency—is key to solving complex logistics problems. While successful, future work could explore moving beyond discretized container counts for finer control and integrating multi-objective optimization to account for fuel costs and port fees.

Summary updated

BibTeX
@inproceedings{li2019cooperative,
  author = {Xihan Li and Jia Zhang and Jiang Bian and Yunhai Tong and Tie-Yan Liu},
  title = {{A Cooperative Multi-Agent Reinforcement Learning Framework for Resource Balancing in Complex Logistics Network}},
  booktitle = {AAMAS},
  year = {2019},
}
Figure