Triple-BERT: Do We Really Need MARL for Order Dispatch on Ride-Sharing Platforms?

Zijian Zhao, Sen Li

TL;DR

Triple-BERT challenges the prevailing wisdom that large-scale ride-sharing dispatch requires Multi-Agent Reinforcement Learning (MARL). By utilizing a centralized Single-Agent Reinforcement Learning (SARL) approach powered by a BERT-inspired architecture and a clever action decomposition strategy, the authors achieve an 11.95% improvement over state-of-the-art methods, significantly reducing passenger wait times and increasing the number of orders served.

What Problem Does This Paper Address?

On-demand ride-sharing platforms like Uber and Lyft face a massive real-time optimization problem: how to match thousands of available drivers with thousands of incoming passenger requests to maximize revenue and minimize wait times.

Traditionally, researchers have turned to Multi-Agent Reinforcement Learning (MARL) to solve this. The logic is that treating each driver as an independent agent makes the massive "observation space" (the data about every driver and order) more manageable. However, MARL has two major flaws:

  1. Independent agents often fail to cooperate, leading to "selfish" behavior that hurts the platform's overall efficiency.
  2. Centralized MARL methods (which try to coordinate agents) suffer from the Curse of Dimensionality, becoming computationally overwhelmed as the number of drivers and orders grows.

The authors of Triple-BERT ask a provocative question: Do we really need MARL? They argue that a centralized "Single-Agent" approach—where one brain makes all the decisions—is fundamentally better for global coordination, provided you can solve the scaling issues.

Methods

The authors introduce Triple-BERT, a centralized framework based on a variant of the Twin Delayed DDPG (TD3) algorithm. Its novelty lies in three key areas:

Overall framework comparing the decentralized IDDQN pre-training and the centralized TD3 fine-tuning stages.
  • Action Decomposition: To handle the astronomical number of possible driver-order combinations (which can reach $10^{30}$ in a typical city scenario), Triple-BERT breaks down the "joint action" into individual driver-order probabilities. It then uses Integer Linear Programming (ILP) to find the mathematically optimal global assignment based on those probabilities.
  • Two-Stage Training: Centralized SARL often suffers from "sample scarcity" because it only learns from one stream of global data. To fix this, the authors use a two-stage approach: they first pre-train the feature extractors using a simple MARL method (Independent Double DQN) to give the model a "head start" on understanding local features, then fine-tune the entire system using centralized SARL.
The Triple-BERT architecture, detailing the Actor and Critic networks alongside the QK-Attention mechanism.
  • BERT-based Architecture: Borrowing from Natural Language Processing, the model uses a Transformer-style architecture with bi-directional self-attention. This allows the model to capture complex, non-local relationships between any driver and any order, regardless of where they are in the data sequence.
  • QK-Attention Optimization: They implement a specialized attention mechanism that reduces computational complexity from multiplication to addition, ensuring the model stays fast even as the city gets busier.

Datasets

The researchers validated Triple-BERT using real-world ride-hailing trip records from New York City:

  • Manhattan Yellow Taxi Data: Used for primary training and evaluation.
  • Manhattan High Volume For-Hire Vehicle (FHV) Data: Used to test the model's ability to generalize to different order distributions.
  • Queens FHV Data: Used to test the model in a lower-density, geographically larger environment with different traffic patterns.

Key Insights and Ideas

  • Centralization Wins: The paper demonstrates that a single "global brain" is more effective at coordinating a fleet than a collection of individual agents, provided the architecture can handle the input scale.
  • Transformers for Spatial Tasks: While BERT was built for text, its self-attention mechanism is perfectly suited for ride-sharing. In a city, an order on one block affects the availability of drivers ten blocks away; Triple-BERT’s attention layers capture these "global" ripples that local MARL agents miss.
  • The Hybrid Training Secret: One of the most interesting findings is that while the final model is Single-Agent, it needs Multi-Agent pre-training to succeed. Without that first stage of decentralized learning, the centralized model fails to converge.
  • Parameter Efficiency: By using parameter reuse in the BERT layers, the model size doesn't explode as you add more drivers, making it surprisingly efficient for such a complex task.

Key Results

Triple-BERT significantly outperformed existing MARL and SARL baselines across several metrics:

  • Overall Performance: Achieved an 11.95% improvement over current state-of-the-art methods.
  • Efficiency: Increased the number of served orders by 4.26%.
  • Customer Experience: Reduced average pickup times by 22.25%.
  • Scalability: The model maintained high performance even when the number of drivers was increased to 2,000 without requiring retraining, and it kept decision times under 0.2 seconds per step.

Limitations and Future Work

The authors acknowledge a few hurdles:

  • Single Point of Failure: Because the system is centralized, it is more sensitive to "single points of failure" compared to decentralized MARL.
  • Pre-training Dependency: The method still relies on an initial MARL phase. Future work could explore "offline training" or more efficient SARL-only frameworks to remove this dependency.
  • Exploration Strategies: The authors suggest that more advanced importance sampling or off-policy gradient methods could further improve how the model explores the vast action space during training.

Summary updated

BibTeX
@inproceedings{zhao2026triple,
  author = {Zijian Zhao and Sen Li},
  title = {{Triple-BERT: Do We Really Need MARL for Order Dispatch on Ride-Sharing Platforms?}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=symgW6FhA6},
}
Figure