arXiv:2411.05048cs.CLcs.AI2024-11被引 2

用大模型让销售平台自然语言搜索更准更快

Leveraging LLMs to Enable Natural Language Search on Go-to-market Platforms

  • 用大模型提取自然语言中的搜索实体,自动转为结构化查询
  • 97%准确率,单字段最低90%,微调模型表现接近闭源模型
  • 适合销售、市场人员快速查企业数据,无需学复杂检索语法

企业搜索需用户掌握复杂查询语法与元数据知识,传统营销平台的高级搜索界面选项繁多,使用困难。本文针对Zoominfo销售平台,提出基于大模型的自然语言搜索方案:通过自然语言输入,由大模型提取实体并生成结构化搜索字段,再转化为查询语句。该中间表示避免语法错误,提升模型理解效率。结合系统提示、少样本提示、思维链推理与执行优化等策略,并构建500+条人工标注真实查询作为监督信号,对Llama-3-8B-Instruct进行微调。在精确匹配、杰卡德相似度、余弦相似度及语义相似度上评估各搜索实体,结果表明,最准确闭源模型平均查询准确率达97%,仅一个字段低于90%,微调模型表现相当。

原文摘要 · Abstract (English)

Enterprise searches require users to have complex knowledge of queries, configurations, and metadata, rendering it difficult for them to access information as needed. Most go-to-market (GTM) platforms utilize advanced search, an interface that enables users to filter queries by various fields using categories or keywords, which, historically, however, has proven to be exceedingly cumbersome, as users are faced with seemingly hundreds of options, fields, and buttons. Consequently, querying with natural language has long been ideal, a notion further empowered by Large Language Models (LLMs). In this paper, we implement and evaluate a solution for the Zoominfo product for sellers, which prompts the LLM with natural language, producing search fields through entity extraction that are then converted into a search query. The intermediary search fields offer numerous advantages for each query, including the elimination of syntax errors, simpler ground truths, and an intuitive format for the LLM to interpret. We paired this pipeline with many advanced prompt engineering strategies, featuring an intricate system message, few-shot prompting, chain-of-thought (CoT) reasoning, and execution refinement. Furthermore, we manually created the ground truth for 500+ natural language queries, enabling the supervised fine-tuning of Llama-3-8B-Instruct and the introduction of sophisticated numerical metrics. Comprehensive experiments with closed, open source, and fine-tuned LLM models were conducted through exact, Jaccard, cosine, and semantic similarity on individual search entities to demonstrate the efficacy of our approach. Overall, the most accurate closed model had an average accuracy of 97% per query, with only one field performing under 90%, with comparable results observed from the fine-tuned models.

自然语言搜索LLM应用企业数据提示工程

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。