“A satisfied customer is the best business strategy of all” – Michael Leboeuf
In this two-part series, we will explore how we engineer the Delivery Partner-ETA predictive model to navigate successfully around roadblocks like sparsity of road mapping and dense networks of inroads in smaller towns and cities.
Brand equity and customer loyalty are two very valuable currencies for a company. Timely and accurate delivery of brand promise is critical to customer satisfaction. In a food delivery ecosystem, the accurate prediction and low-cost computation of Estimated Time of Arrival (ETA) is a game-changer.
It is a brand promise that makes or breaks the customer experience.
At Zomato, ETA is at the heart of menu browsing, restaurant selection, delivery partner (DP) assignment, order tracking, and delay communication experiences. The Time Microservice owns the ETA computation and subsequently distributes this information to other services.
Our job is to set correct expectations with the customer and meet these expectations through a measure of punctuality and tolerance interval.
Zomato’s ETA goes beyond Delivery Partner Travel Time (DP-ETA). It factors in the computation of additional components like Kitchen Preparation Time (KPT), real-time dynamic buffers, and localised DP arrival times.
DP-ETA is the transit time between the order pickup (restaurant location) and drop-zone-geo-fenced entry (customer location). While the DP-ETA is predicted in a feedforward method, real-time dynamic buffers adjust the estimated arrival time based on factors such as customer demand, traffic, road closures and repairs, DP supply, local weather, and real-time stress observed in the system. DP-ETA serves as a compensator in a variety of situations.
On the contrary, highly precise values with low tolerance are more sensitive to dynamic settings, making them more error-prone in the event of disruptions such as traffic, diversions, and weather. Whereas the overstretched ETA and underpredictions have visible negative effects on customer metrics.
Roadblocks:
As a response, Zomato switched to a tree-based prediction model from the previously used map-graph-based model.
Precision is measured using the 2-minute and 5-minute accuracy-compliance matrix, the R2 (R Square) score, error standard deviation and MAE (Mean Absolute Error). The performance indicators on the customer side include ORS (Order Requiring Support), Extreme Delays (>20 minutes), and user flows such as search to cart, cart to order, etc.
Stay tuned for part 2, where we will talk about eliminating these roadblocks.
This blog was written in collaboration with Shubh Chaurasia and Siddhartha Agnihotri.
If you found this to be an exciting problem to solve and would like to be a part of our engineering team, please reach out to me on LinkedIn.