在Uber Eats配送中扩展多语言语义检索
Scaling Multilingual Semantic Search in Uber Eats Delivery
AI总结:
本文提出了一种面向生产的多语言语义检索系统,通过微调Qwen2模型和Matryoshka Representation Learning技术,实现了在多个市场和垂直领域中的高召回率提升。
摘要:
我们提出了一种面向生产的语义检索系统,用于Uber Eats,该系统能够跨商店、菜品和杂货/零售物品进行检索。我们的方法通过使用数十亿个经过聚合和匿名化预训练的查询-文档交互数据,对Qwen2双塔基础模型进行微调。我们结合了批次内负样本上的InfoNCE损失和难例上的三元组NCE损失进行训练,并利用Matryoshka Representation Learning (MRL)从单一模型中服务于多种嵌入尺寸。我们的系统在六个市场和三个垂直领域中,相对于强基线取得了显著的召回率提升。本文展示了端到端的工作,包括数据整理、模型架构、大规模训练和评估。我们还分享了构建统一、多语言和多垂直检索系统的关键见解和实用经验。
英文摘要:
We present a production-oriented semantic retrieval system for Uber Eats that unifies retrieval across stores, dishes, and grocery/retail items. Our approach fine-tunes a Qwen2 two-tower base model using hundreds of millions of query-document interactions that were aggregated and anonymized pretraining. We train the model with a combination of InfoNCE on in-batch negatives and triplet-NCE loss on hard negatives, and we leverage Matryoshka Representation Learning (MRL) to serve multiple embedding sizes from a single model. Our system achieves substantial recall gains over a strong baseline across six markets and three verticals. This paper presents the end to end work including data curation, model architecture, large-scale training, and evaluation. We also share key insights and practical lessons for building a unified, multilingual, and multi-vertical retrieval system for consumer search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。