Problem
Airports are 15% of Uber's global mobility gross bookings, and demand there follows flights, delays, holidays and weather. Too many drivers means long waits in the first-in-first-out (FIFO) queue and drivers who reject low-value offers (cherry-picking). Too few drivers means longer rider wait for a driver to accept (spinner time) and more cancellations. City marketplace models do not fit because of queues and airport rules.
Example from the article: a driver asks "Is the wait time in the queue worth the potential earnings?", while the platform must bring drivers in before a shortage appears.
Solution in brief
Uber built three airport models: estimated time to request (ETR) and earnings per hour (EPH), both one hour ahead, and driver deficit, 30 minutes ahead. Streaming pipelines turn flight, queue and marketplace signals into features. ETR learns the measured wait directly, EPH is a Gaussian mixture, and deficit is a Transformer encoder over 5-minute buckets.
Questions this case answers
- How to predict the waiting time of a first-in-first-out queue directly from a measured label instead of chaining a demand forecast with a queue-length estimate
- How to forecast a supply shortfall in short time buckets in real time so that an automated action can fire before the imbalance grows
- How to tell drivers how long they will wait in a first-in-first-out queue before the next trip offer?
- How to forecast the earnings per hour of a location when the outcome is a wide, skewed distribution?
Tools and methods
- ETR model — wait in the FIFO queue, trained on actual time to request (ATR)
- Deep Gaussian mixture model (GMM) — predicts mean and variance of hourly earnings for an airport
- Transformer-encoder forecaster — driver deficit, next 30 minutes
- Apache Flink — streaming aggregation of queue, marketplace and flight events
- Apache Spark — daily jobs for historical autoregressive features
- Apache Cassandra — key-value store for online feature retrieval
Google or a one-time email code. No password.