Problem
A navigator shows an estimated time of arrival (ETA), and for taxi and delivery partners the ETA also sets the price. The team's simple additive ETA on a road graph was biased in different directions in different cities and treated taxi drivers like ordinary drivers. It also used current speeds for edges reached much later (for example after 40 minutes). Standard error metrics could not rank the fixes: MAE depends on trip length, and MAPE can improve while the algorithm gets worse.
Example from the article: both ETA/RTA and MAPE improved, yet per-trip ratios showed huge variance; only NFCAM flagged it.
Solution in brief
Judge ETA changes by NFCAM, which is MAPE measured as if the mean ETA/RTA ratio were already 1. Build the base ETA from edge traversal times, hourly speed forecasts and maneuver penalties. Then remove the remaining city and driver-group bias with a daily-retrained correction model that takes the base ETA and route features.
Questions this case answers
- How to compare predictors of a ratio-scale quantity when the error metric rewards a constant bias and a bias-free metric is needed to see variance
- How to remove a group-specific systematic bias from a base physical estimate by learning a correction on top of it
- How to estimate a current state of a network edge from sparse noisy trajectories and fall back when data are missing
- How to compare two ETA algorithms when MAPE and the mean ETA/RTA ratio disagree
Tools and methods
- Traversal time — edge speed from GPS coordinates, not GPS speeds
- Speed forecast models — one per city and 5-minute step
- ETA correction model — adjusts the base ETA from route features
- NFCAM — bias-insensitive metric for comparing ETA algorithms
- Offline replay plus A/B test — offline for ETA error, A/B for route quality
- ClickHouse, ONNX — feature computation and model format
Google or a one-time email code. No password.