Problem
Avito Delivery shows buyers a delivery time at checkout. Short times raise the share of buyers who choose delivery over meeting the seller, and late deliveries lower the chance that a buyer returns. Avito controls neither seller handover speed nor carrier speed, and carriers overstate their promised times. The standard logistics metric PSDD rated 55% of orders as well predicted and became uninformative on routes with a wide spread of delivery times.
Example from the article: on Moscow to Saint Petersburg, delivery takes 2 to 5 days; splitting by dispatch day gives 2–4 days on working days and 3–5 at weekends.
Solution in brief
Score a forecast by the share of orders inside the promised interval (target at least 90%) and the interval length (target at most 3 days). Build the interval from the 5th and 95th percentiles of actual delivery time, cut by dispatch day and carrier, with a fallback from city pairs to region pairs. A quantile random forest hit the targets offline; simple heuristics came close and shipped.
Questions this case answers
- How to choose an uncertainty interval for a promised date so that most promises are kept and the interval stays short
- How to evaluate interval forecasts when the common metric penalizes early results and rewards fitting the window to the data
- How to produce percentile forecasts for thousands of groups when many groups have too little data and a real-time model is too costly to run
- How to show buyers a delivery interval that is both honest and short?
Tools and methods
- Quantile Random Forest — per-route model predicting the 5th and 95th percentiles; an offline benchmark.
- Percentile heuristics by route, dispatch day and carrier — the production algorithm.
- Two-metric evaluation — share of orders on time plus average interval length.
- A/B test with changed intervals — effect of shorter and longer promises on orders, retention and support contacts.
Google or a one-time email code. No password.