Yelp scales LLM-based search query understanding to millions of daily searches in production
Yelp's pre-LLM query understanding systems were fragmented — several different systems stitched together — and often lacked the intelligence to handle nuanced user intent, spelling errors, ambiguous locations, and complex semantic phrase expansions.
Traditional Named Entity Recognition and text similarity models could not handle the nuances of Yelp's query understanding needs, including multi-concept queries, ambiguous locations, and creative semantic expansions.
Yelp successfully deployed LLM-based query understanding to production, scaling review highlights to 95% of traffic through pre-computed results, achieving up to 100x cost savings compared to direct GPT-4 usage, and increasing Session / Search CTR across platforms.
Show all 5 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Yelp successfully deployed LLM-based query understanding to production, scaling review highlights to 95% of traffic through pre-computed results, achieving up to 100x cost savings compared to direct GPT-4 usage, and i…
What tools did this team use?
LLMs, GPT-4, GPT3, RAG, o1-mini, o1-preview, GPT4o-mini, BERT, T5, OpenAI.
What results were reported?
cost savings vs direct GPT-4 usage: up to a 100x savings in cost; Traffic coverage via pre-computation: 95%; Session / Search CTR: increased Session / Search CTR; Remaining traffic not pre-computed: 5% (source-reported, not independently verified).
What failed first in this deployment?
Traditional Named Entity Recognition and text similarity models could not handle the nuances of Yelp's query understanding needs, including multi-concept queries, ambiguous locations, and creative semantic expansions.
How is this back office ops AI workflow structured?
User search query submitted → RAG context augmentation → LLM segmentation and spell correction → LLM phrase expansion for highlights → Offline and A/B evaluation → Fine-tune GPT4o-mini for offline scale → BERT and T5 for real-time long-tail queries → Pre-computed results served from cache → CTR signals refine ranking.