A Framework for Multi-stage Bonus Allocation in meal delivery Platform

Zhuolin Wu, Li Wang, Fangsheng Huang, Linjun Zhou, Yu Song, Chengpeng Ye, Pengyu Nie, Hao Ren, Jinghua Hao, Renqing He, Zhizhao SunKDD 2022

TL;DR

Researchers at Meituan and Huazhong University of Science and Technology have developed a Multi-Stage Bonus Allocation (MSBA) framework to reduce order cancellations in meal delivery. By combining a semi-black-box probability model with Lagrangian dual-based dynamic programming, the system optimizes delivery bonuses in real-time, reducing total order cancellations by over 25% while staying within strict budget constraints.

Problem Statement

In the massive world of on-demand meal delivery, "NA-canceled" (No-Accept) orders are a significant operational challenge. These occur when crowdsourced drivers find the delivery price for an order unattractive and refuse to pick it up. For a platform like Meituan, which handles 30 million orders daily, this leads to roughly 165,000 cancellations per day.

The consequences are severe: frustrated customers, lost income for drivers, and billions of RMB in food waste compensation paid to restaurants. Traditional solutions rely on static "empirical rules"—for example, adding a flat 3 RMB bonus if an order isn't picked up in 10 minutes. However, these rules lack global optimization and fail to account for the unique context of each order, such as weather, location, or driver density. The challenge is to determine the optimal bonus for every order at multiple stages of its "life" to maximize acceptance without exceeding the monthly budget.

Methods

The authors propose a three-part framework designed for both accuracy and extreme low-latency (millisecond-level) decision-making:

  1. Acceptance and Cancellation Model: A semi-black-box model that predicts the probability of a driver accepting an order based on the bonus offered and "contextual features" (like distance, ETA, and local driver supply). They use a neural network architecture where different hidden layers are updated based on whether a bonus was actually applied, ensuring the model learns the specific sensitivity of drivers to extra pay.
  2. Lagrangian Dual-based Dynamic Programming (LDDP): This is the core offline optimization engine. Solving a multi-stage, non-convex budget problem is computationally "intractable." The authors simplify this by using dimensionality reduction to turn a complex multi-dimensional problem into a 1D recursion. They solve for the Lagrangian multiplier (λ)—essentially the "shadow price" or marginal utility of the budget—for each stage of an order's lifecycle.
  3. Online Allocation Algorithm: Because the heavy lifting (calculating λ) is done offline, the real-time decision for a new order is simple. The system finds the bonus $c$ that maximizes the expected gain (acceptance probability) minus the "cost" (the bonus multiplied by the pre-calculated λ). This results in a computational complexity of $O(1)$, essential for high-traffic platforms.
The MSBA framework architecture, separating offline optimization from online decision-making.

Key Insights and Ideas

  • The "Order B" Strategy: The model identifies that some orders (Order A) have a high baseline acceptance probability; adding a bonus there is inefficient. Other orders (Order B) are on the edge; a small bonus significantly boosts their chances. The framework shifts funds from "A" to "B."
  • Multi-Stage Planning: Unlike single-stage models that only look at the "now," MSBA recognizes that an order has multiple chances to be accepted. It calculates whether it is better to spend a bonus now or wait and spend it in a later stage if the order remains unaccepted.
  • Budget Drift Management: Since future order volume is unpredictable, the authors implemented a Periodic Control Strategy. They re-run the offline optimization daily and use a "proportional-integral" style control to adjust bonuses if the real-time spend deviates more than 10% from the target budget.
Targeted bonus allocation logic: shifting funds from high-probability orders (A) to marginal orders (B).

Key Results

The framework was evaluated using massive real-world datasets from four Chinese cities (Lanzhou, Nanchang, Weihai, and Chengdu) and online A/B tests covering nearly 5 million orders per day. The results were highly successful:

  • Cancellation Reduction: In online A/B tests, the MSBA method reduced the NA-canceled order ratio by more than 25% compared to single-stage allocation and by 29% compared to unified (flat) bonus schemes.
  • Cost Savings: The platform saved over 30% in compensation costs for food waste.
  • Efficiency: The system makes decisions in milliseconds, proving it can handle the scale of one of the world's largest delivery platforms.
  • Diminishing Returns: The researchers found that increasing the number of allocation stages beyond 10 yields diminishing returns and can annoy drivers by changing the price too frequently.

Limitations and Future Work

  • Extreme Weather: The paper explicitly notes that it does not address driver shortages caused by extreme weather (e.g., blizzards or typhoons), where no amount of bonus can overcome the lack of physical drivers.
  • Driver Behavior: The current model assumes drivers make independent decisions based on the current bonus. Future work could explore more complex game-theoretic interactions between drivers or how bonuses affect long-term driver retention.
  • Integration: There is potential to more tightly integrate bonus allocation with the platform's dispatching and routing algorithms for even greater efficiency.

Summary updated

BibTeX
@inproceedings{wu2022framework,
  author = {Zhuolin Wu and Li Wang and Fangsheng Huang and Linjun Zhou and Yu Song and Chengpeng Ye and Pengyu Nie and Hao Ren and Jinghua Hao and Renqing He and Zhizhao Sun},
  title = {{A Framework for Multi-stage Bonus Allocation in meal delivery Platform}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  url = {https://openreview.net/forum?id=GcPrcy3SFAe},
}
Figure