Dense retrieval, as an embedding-based semantic matching technique, is widely adopted in industrial search systems. However, constrained by the need for real-time query embedding, existing methods primarily rely on encoder-based pretrained language models (e.g., BERT) as embedding models to meet latency requirements. This limitation has hindered the exploration of large language models (LLMs) in real-world dense retrieval systems. Considering the high query cache hit rate in Meituan’s food-related search scenario, we propose to deploy LLMs for dense retrieval by implementing embedding caching for both queries and products. We extensively explore the usage of LLMs, and provide practical insights for deploying LLMs in industrial search systems. Specifically, based on the empirical validation of general improved designs, we further propose a generative learning strategy that leverages auxiliary textual information to assist LLMs in domain adaptation, significantly boosting the retrieval capabilities. Offline experiments and online A/B tests demonstrate the effectiveness of our proposed method.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Large Language Model-Enhanced Dense Retrieval for Food-Related Search on Meituan

  • Yuluo Chen,
  • Haorui Li,
  • Tai Guo,
  • Junda She,
  • Siyu Lu,
  • Qiang Liu,
  • Jun Lei,
  • Xingxing Wang,
  • Cheng Yang

摘要

Dense retrieval, as an embedding-based semantic matching technique, is widely adopted in industrial search systems. However, constrained by the need for real-time query embedding, existing methods primarily rely on encoder-based pretrained language models (e.g., BERT) as embedding models to meet latency requirements. This limitation has hindered the exploration of large language models (LLMs) in real-world dense retrieval systems. Considering the high query cache hit rate in Meituan’s food-related search scenario, we propose to deploy LLMs for dense retrieval by implementing embedding caching for both queries and products. We extensively explore the usage of LLMs, and provide practical insights for deploying LLMs in industrial search systems. Specifically, based on the empirical validation of general improved designs, we further propose a generative learning strategy that leverages auxiliary textual information to assist LLMs in domain adaptation, significantly boosting the retrieval capabilities. Offline experiments and online A/B tests demonstrate the effectiveness of our proposed method.