Coalitional Bargaining via Reinforcement Learning: An Application to Collaborative Vehicle Routing

Stephen Mak, Liming Xu, Tim Pearce, Michael Ostroumov, Alexandra BrintruparXiv 2023

Abstract

Collaborative Vehicle Routing is where delivery companies cooperate by sharing their delivery information and performing delivery requests on behalf of each other. This achieves economies of scale and thus reduces cost, greenhouse gas emissions, and road congestion. But which company should partner with whom, and how much should each company be compensated? Traditional game theoretic solution concepts, such as the Shapley value or nucleolus, are difficult to calculate for the real-world problem of Collaborative Vehicle Routing due to the characteristic function scaling exponentially with the number of agents. This would require solving the Vehicle Routing Problem (an NP-Hard problem) an exponential number of times. We therefore propose to model this problem as a coalitional bargaining game where - crucially - agents are not given access to the characteristic function. Instead, we implicitly reason about the characteristic function, and thus eliminate the need to evaluate the VRP an exponential number of times - we only need to evaluate it once. Our contribution is that our decentralised approach is both scalable and considers the self-interested nature of companies. The agents learn using a modified Independent Proximal Policy Optimisation. Our RL agents outperform a strong heuristic bot. The agents correctly identify the optimal coalitions 79% of the time with an average optimality gap of 4.2% and reduction in run-time of 62%.

Introduction

Collaborative Vehicle Routing (CVR) allows delivery companies to share requests, significantly reducing operational costs and environmental impact. However, two major hurdles prevent widespread adoption: partner selection (identifying the most synergistic collaborators) and gain sharing (determining a fair split of the savings).

Comparison of vehicle routes before and after collaboration, showing a significant reduction in total cost.

Traditional game theory uses concepts like the Shapley value to determine fair splits, but these require a "characteristic function"—a mapping of every possible group of companies to their potential savings. Calculating this is computationally prohibitive: for $n$ companies, one must solve the NP-hard Vehicle Routing Problem (VRP) $2^n$ times. This research investigates whether reinforcement learning (RL) agents can "sense" these savings from raw spatial data and bargain effectively without ever seeing the full characteristic function.

Methodology: Coalitional Bargaining

The problem is framed as a Coalitional Bargaining Game. In each round, a random agent is chosen as a "proposer" to suggest a coalition and a profit split. The other agents then "respond" by accepting or rejecting. If everyone agrees, the deal is struck; if not, bargaining continues with a "patience" penalty (a discount factor) that encourages quick agreement.

Key technical components include:

  • Multi-Agent RL: Agents learn using Independent Proximal Policy Optimization (I-PPO).
  • Architecture: A Transformer-based encoder processes high-dimensional graph inputs, specifically the (x, y) coordinates of depots and customers.
  • Implicit Reasoning: Crucially, agents are never given the calculated savings of a coalition. They must learn to estimate synergy based solely on the geographic distribution of delivery points, solving the VRP only once for the final agreed-upon coalition.

Experimental Setup

The study uses synthetic datasets with 3 companies, each with one depot and three customers. By varying the spatial distribution of customers, the authors create scenarios ranging from high synergy (overlapping routes) to "dummy players" (companies too distant to provide value). For evaluation, the Gurobi optimizer was used to calculate the exact optimal coalitions and savings as a ground truth.

Key Results and Insights

The RL agents significantly outperformed a "Heuristic Bot" (which always tries to form the grand coalition) and a random baseline.

Training performance of RL agents compared to baselines, showing average accuracy and optimality gap over 10,000 episodes.
  • Accuracy and Optimality: The agents correctly identified the optimal coalition 79% of the time, with an average optimality gap of only 4.2%.
  • Computational Efficiency: The RL approach achieved a 62% reduction in run-time compared to brute-forcing the characteristic function (9.2 seconds vs. 24.3 seconds).
  • Bargaining as a Filter: The bargaining framework acts as a decentralized mechanism for stability. Self-interested agents naturally reject sub-optimal coalitions, pushing the system toward the "core" of the game.
  • The Role of Entropy: High entropy regularization was critical during training to prevent agents from prematurely converging on the "grand coalition" and instead finding more efficient, smaller partnerships.

Limitations and Future Work

While promising, the current study assumes an "egalitarian split" (equal sharing of gains) to simplify the initial bargaining. Future work will explore more complex negotiations where companies bid for larger shares based on contribution. Additionally, scaling the system to larger numbers of agents and ensuring robustness against strategic manipulation (e.g., reporting fake tasks) remain key challenges for real-world deployment.

Summary updated

BibTeX
@misc{mak2023coalitional,
  author = {Stephen Mak and Liming Xu and Tim Pearce and Michael Ostroumov and Alexandra Brintrup},
  title = {{Coalitional Bargaining via Reinforcement Learning: An Application to Collaborative Vehicle Routing}},
  year = {2023},
  eprint = {2310.17458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.17458},
}
Figure