NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FairFoody: Bringing In Fairness in Food Delivery

Anjali Gupta, Rahul Yadav, Ashish Nair, Abhijnan Chakraborty, Sayan Ranu, Amitabha Bagchi

Abstract

Food delivery platforms experience significant income inequality among delivery agents, primarily due to geographic constraints rather than effort or hours worked. This paper presents FAIRFOODY, a novel order-allocation algorithm designed to balance driver income fairness with strict customer delivery time requirements. By relaxing rigid zone boundaries and amortizing fairness over time, FAIRFOODY achieves a 10x improvement in equitable pay distribution with negligible impact on customer wait times.

The Income Inequality Problem

Gig economy platforms like DoorDash, Zomato, and UberEats rely on thousands of delivery agents paid per delivery. Traditional order-matching algorithms prioritize minimizing customer wait times, often at the expense of driver equity. Analysis of real-world data reveals a stark disparity: the top 10% of earners account for 50% of total pay, while the bottom 60% earn just 10%.

Lorenz curve showing the significant income inequality among delivery drivers across three major cities (City A, B, and C).

This inequality is not a result of "skill" or "hustle." The authors found that low-earning drivers are not less efficient; their actual delivery times relative to optimal routes are comparable to those of top earners. Furthermore, the distribution of shifts (lunch vs. dinner) is similar across earning brackets, debunking the myth that top earners simply work more peak hours.

Geography as Destiny

The primary driver of income disparity is spatial distribution. Drivers in low-volume "catchment areas" earn significantly less because proximity-based algorithms rarely pull them into high-volume zones. This "geographic locking" prevents a large portion of the workforce from accessing a living wage.

Spatial heatmaps of customers, restaurants, and delivery agents, illustrating the geographic clustering that leads to algorithmic locking and income disparity.

The FAIRFOODY Algorithm

To address this, FAIRFOODY formulates the problem as a multi-objective optimization task: minimizing the income gap while bounding delivery time increases. The algorithm employs several key strategies:

  1. Time-Normalized Income: It tracks driver pay proportional to active hours, aiming for "Proportional Equality."
  2. Batching and Clustering: Orders are batched in short windows (e.g., 3 minutes) and clustered using Ward's method to optimize multi-delivery routes.
  3. Bipartite Graph Matching: Assignments are made by building a weighted bipartite graph where edge weights prioritize equalizing a driver's normalized income in the next slot.
  4. Bounded Search: To maintain customer Service Level Agreements (SLAs), the algorithm uses Best-First Search to restrict matches to drivers within a specific distance threshold.

Results and Impact

Evaluated on a proprietary dataset of over 112,000 orders across three Indian metropolises, FAIRFOODY demonstrated transformative results:

  • Fairness: The Gini coefficient improved by over 10x (e.g., dropping from ~0.51 to ~0.035).
  • Efficiency: Average delivery times increased by only seconds (e.g., 15.2 to 15.4 minutes), with virtually no change in SLA violations.
  • Driver Welfare: Approximately 75% of drivers saw an increase in income compared to historical baselines.
  • Scalability: The system computes allocations for large batches in roughly 10 seconds, making it viable for real-time operations.

Conclusion and Future Work

FAIRFOODY proves that algorithmic fairness in the gig economy does not require sacrificing operational efficiency. By removing artificial zone restrictions and amortizing fairness over shifts, platforms can ensure more equitable outcomes for their workforce. Future research will examine whether these slight delivery delays disproportionately affect specific customer demographics and how driver routing influences restaurant order volumes.

Summary updated

BibTeX
@inproceedings{gupta2022fairfoody,
  author = {Anjali Gupta and Rahul Yadav and Ashish Nair and Abhijnan Chakraborty and Sayan Ranu and Amitabha Bagchi},
  title = {{FairFoody: Bringing In Fairness in Food Delivery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21447},
}
Figure