Building the Intent Engine: How Instacart Revamped Query Understanding with LLMs
Instacart's traditional ML-based Query Understanding system struggled with long-tail searches, noisy labeled data, and a fragmented architecture of multiple independent bespoke models that introduced inconsistencies and slowed development.
The legacy query rewrite system covered only 50% of search traffic, and the category classification model produced irrelevant suggestions due to noisy conversion data while lacking contextual understanding for nuanced queries.
The LLM-powered system increased query rewrite coverage to over 95% with 90%+ precision, reduced average scroll depth by 6%, and cut user complaints for tail query search results by 50%, with the system now serving millions of cold-start queries weekly.
Show all 12 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
The LLM-powered system increased query rewrite coverage to over 95% with 90%+ precision, reduced average scroll depth by 6%, and cut user complaints for tail query search results by 50%, with the system now serving mi…
What tools did this team use?
LLMs, RAG, LoRA, A100 GPU, H100 GPUs.
What results were reported?
Query rewrite coverage: over 95%; Query rewrite precision: 90%+; Legacy query rewrite coverage: 50%; Average scroll depth reduction: 6% (source-reported, not independently verified).
What failed first in this deployment?
The legacy query rewrite system covered only 50% of search traffic, and the category classification model produced irrelevant suggestions due to noisy conversion data while lacking contextual understanding for nuanced…
How is this ecommerce ops AI workflow structured?
User search query submitted → Cache hit/miss routing → Offline RAG context injection → Post-processing guardrails → Real-time fine-tuned model inference → Enhanced search results delivered.