Evolution and Scale of Uber’s Delivery Search Platform

Divya Nagar, Zheng Liu, Jiasen Xu14 Apr 2026

Problem

Search is a main entry point for Uber Eats orders. Lexical matching fails on synonyms, typos, shorthand ("gf pizza") and mixed languages. Users then bounce or fall back to browsing. A semantic model fixes the matching but adds a vector index over billions of documents and an embedding model that must stay in sync with it. The team had to keep recall high, cut compute and storage, and refresh the model without outages.

Example from the article: "pan" means bread in Spanish and a cooking container in English, so a string match cannot tell which one a user wants.

Solution in brief

One two-tower model with a Qwen backbone and Matryoshka (MRL) training serves all verticals and markets. Query embeddings are computed online and document embeddings in batch. Index cost drops through lower per-shard k, scalar quantization and shorter embedding cuts. Every two weeks the model and index are rebuilt and shipped through blue/green embedding columns with validation gates and automatic rollback.

Questions this case answers
  • How to serve vector retrieval over a very large multilingual corpus within a fixed latency and storage budget
  • How to ship a new embedding model together with its index so that a corrupted build or a model-index mismatch never reaches users
  • How to serve semantic (embedding) search over a multi-billion document catalog without exploding index cost and latency?
  • How to refresh an embedding model and its vector index every two weeks without breaking live traffic?

Tools and methods

  • Two-tower model on Qwen — separate query and document encoders in one embedding space, fine-tuned on Uber Eats data
  • MRL-based infoNCE loss — one model, several embedding dimensions
  • HNSW index in Apache Lucene Plus — ANN retrieval with float32 and int8 vectors, one index per vertical
  • PyTorch, Hugging Face Transformers, Ray, DeepSpeed (ZeRO-3) — distributed training
  • Pre-filters and micro-re-ranker — narrow candidates before ANN, refine after
Continue reading — it's free

Google or a one-time email code. No password.