用大模型自动标注电商搜索中的查询与商品相关性,效率远超人工。
Automated Query-Product Relevance Labeling using Large Language Models for E-commerce Search
- 通过提示工程让大模型判断查询与商品的相关性
- 在多个数据集上达到接近人工标注的准确率
- 适合需要大规模标注的电商搜索与推荐系统
精准的查询-商品相关性标注对生成电商搜索排名的真值数据集至关重要。传统方法依赖人工标注,成本高、耗时长且易出错。本文探索使用大语言模型(LLMs)自动化完成大规模电商搜索的查询-商品相关性标注。我们采用多个公开及私有LLM,在两个开源数据集和一个内部电商搜索数据集上进行实验。通过链式思维(CoT)、上下文学习(ICL)以及基于最大边际相关性(MMR)的检索增强生成(RAG)等提示工程技术,结果显示LLM性能可接近人类水平,且耗时和成本仅为人工标注的一小部分,表明该方法比传统方式更高效。我们已利用LLM大规模生成相关性标签,并用于评估搜索算法优化效果。本研究证明了LLM在提升查询-商品相关性标注方面的潜力,从而改善电商搜索体验。更重要的是,这种可扩展的替代方案对信息检索领域(如搜索与推荐系统)具有重要意义,其中相关性评分对优化商品与内容排序、提升用户参与度和转化率至关重要。
原文摘要 · Abstract (English)
Accurate query-product relevance labeling is indispensable to generate ground truth dataset for search ranking in e-commerce. Traditional approaches for annotating query-product pairs rely on human-based labeling services, which is expensive, time-consuming and prone to errors. In this work, we explore the application of Large Language Models (LLMs) to automate query-product relevance labeling for large-scale e-commerce search. We use several publicly available and proprietary LLMs for this task, and conducted experiments on two open-source datasets and an in-house e-commerce search dataset. Using prompt engineering techniques such as Chain-of-Thought (CoT) prompting, In-context Learning (ICL), and Retrieval Augmented Generation (RAG) with Maximum Marginal Relevance (MMR), we show that LLM's performance has the potential to approach human-level accuracy on this task in a fraction of the time and cost required by human-labelers, thereby suggesting that our approach is more efficient than the conventional methods. We have generated query-product relevance labels using LLMs at scale, and are using them for evaluating improvements to our search algorithms. Our work demonstrates the potential of LLMs to improve query-product relevance thus enhancing e-commerce search user experience. More importantly, this scalable alternative to human-annotation has significant implications for information retrieval domains including search and recommendation systems, where relevance scoring is crucial for optimizing the ranking of products and content to improve customer engagement and other conversion metrics.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。