Problem
Picnic runs a just-in-time grocery supply chain, so every step has to be predicted in advance. Assortment, promotions and shopping habits keep changing. Early gradient-boosted trees could not extrapolate when COVID-19 changed buying habits overnight. Forecasts must also cover items with no sales history, and past orders show only the demand that staff and vehicle capacity allowed.
Example from the article: a new vegan burger has no past sales, but its similarity to the regular burger and weather that suits a barbecue can guide the forecast.
Solution in brief
Each step of an order's path has its own model, and each output drives an automated decision. Demand and delivery volume come from Temporal Fusion Transformer (TFT) models, with unconstrained demand estimated before capacity is applied and a human review at the end. Items in totes are counted by a prompted, then fine-tuned vision language model (VLM).
Questions this case answers
- How to forecast demand when the observed history is censored by the capacity that was available at the time
- How to forecast demand for items that have no history when the item mix and customer behavior drift over time
- How to get usable item counts from images when labeled training data is scarce
- How to forecast demand for individual articles when the assortment, promotions and shopping habits keep changing?
Tools and methods
- Temporal Fusion Transformer — per-article demand and daily delivery-volume forecasts
- Unconstrained demand estimation — estimate demand without capacity limits, then apply capacity
- Human-in-the-loop review — business and operations teams adjust the forecast for local events and promotions
- Gemini (vision language model) — counts items in tote images, prompted with a product reference photo, then a lighter variant fine-tuned
- Neural network for stop time — learns non-linear effects of order size, building and customer familiarity
Google or a one-time email code. No password.