Fair collaborative vehicle routing: A deep multi-agent reinforcement learning approach

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

Abstract

Collaborative vehicle routing occurs when carriers collaborate through sharing their transportation requests and performing transportation requests on behalf of each other. This achieves economies of scale, thus reducing cost, greenhouse gas emissions and road congestion. But which carrier should partner with whom, and how much should each carrier be compensated? Traditional game theoretic solution concepts are expensive to calculate as the characteristic function scales exponentially with the number of agents. This would require solving the vehicle routing problem (NP-hard) an exponential number of times. We therefore propose to model this problem as a coalitional bargaining game solved using deep multi-agent reinforcement learning, where - crucially - agents are not given access to the characteristic function. Instead, we implicitly reason about the characteristic function; thus, when deployed in production, we only need to evaluate the expensive post-collaboration vehicle routing problem once. Our contribution is that we are the first to consider both the route allocation problem and gain sharing problem simultaneously - without access to the expensive characteristic function. Through decentralised machine learning, our agents bargain with each other and agree to outcomes that correlate well with the Shapley value - a fair profit allocation mechanism. Importantly, we are able to achieve a reduction in run-time of 88%.

Introduction

In the logistics sector, inefficiencies such as "empty miles"—where heavy goods vehicles (HGVs) travel without cargo—represent a significant economic and environmental burden. In the UK alone, HGVs operate at approximately 61% capacity, with 30% of total mileage driven empty. Collaborative Vehicle Routing (CVR) offers a solution by allowing competing carriers to share delivery requests and optimize routes collectively. However, implementing CVR requires solving two complex problems: partner selection (who should collaborate?) and gain sharing (how to split profits fairly?).

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

Traditional game-theoretic approaches, such as the Shapley value, ensure fair profit distribution but are computationally prohibitive. They require solving the NP-hard Vehicle Routing Problem (VRP) for every possible subset of agents, a task that scales exponentially ($2^n$). This paper introduces a Deep Multi-Agent Reinforcement Learning (MARL) framework that circumvents these computational barriers by implicitly reasoning about the value of coalitions.

Methodology: Coalitional Bargaining via MARL

The proposed approach models CVR as a coalitional bargaining game. Unlike previous methods, agents do not have access to a pre-calculated "characteristic function" that defines the value of every possible coalition. Instead, they must learn to estimate the potential gains of a partnership implicitly from raw spatial data (customer and depot coordinates).

Bargaining Framework

The system utilizes a bargaining model based on Okada (1996), where agents take turns as "proposers" and "responders." A proposer suggests a coalition and a specific profit split; responders then decide whether to accept or reject. This decentralized process ensures that agents reach agreements through negotiation rather than central orchestration.

Learning Architecture

The framework employs Proximal Policy Optimization (PPO) with a multi-headed actor network to handle coalition formation, proposal generation, and response actions. To address sample inefficiency, feature extractors were pre-trained on a supervised dataset of 1 million instances. Furthermore, Counterfactual Multi-Agent Policy Gradients (COMA) were used to provide a baseline for response actions, helping agents understand the long-term impact of their decisions.

Key Insights and Results

The training process revealed an evolutionary path toward fairness. Initially, agents were "greedy," with proposers demanding the majority of gains. As responders learned to reject unfair deals, the system converged toward a stable, equal gain-sharing strategy where agreements were reached rapidly.

Performance and Efficiency

The MARL approach demonstrated significant advantages over traditional methods:

  • Computational Speed: Achieved an 88% reduction in run-time by avoiding the need to solve the VRP for all possible coalitions.
  • Fairness: Profit allocations showed a strong correlation ($R^2 = 0.76$) with the Shapley value, indicating that the learned bargaining mechanism naturally aligns with established fairness principles.
  • Optimality: Agents correctly identified the optimal coalition in 77% of cases, with a minimal relative optimality gap of 3.9%.

Conclusion and Future Work

This research represents the first successful attempt to simultaneously optimize route allocation and gain sharing in a decentralized manner without explicit characteristic function access. The inductive nature of the neural network allows the model to generalize to new delivery locations and agent capabilities.

Future research will focus on scaling the system to larger numbers of agents and incorporating real-world complexities such as heterogeneous fleets, time windows, and partial observability, where carriers may strategically withhold information to gain a competitive advantage.

Summary updated

BibTeX
@misc{mak2023fair,
  author = {Stephen Mak and Liming Xu and Tim Pearce and Michael Ostroumov and Alexandra Brintrup},
  title = {{Fair collaborative vehicle routing: A deep multi-agent reinforcement learning approach}},
  year = {2023},
  eprint = {2310.17485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.17485},
}
Figure