arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.12173cs.CLcs.AIcs.IR
收藏

TnT-LLM:利用大语言模型进行大规模文本挖掘

TnT-LLM: Text Mining at Scale with Large Language Models

Microsoft Corporation(微软公司);University of Washington(华盛顿大学)
Mengting Wan, Tara Safavi, Sujay Kumar Jauhar, Yujin Kim, Scott Counts, Jennifer Neville, Siddharth Suri, Chirag Shah, Ryen W White, Longqi Yang, Reid Andersen,… 展开作者

Mengting Wan, Tara Safavi, Sujay Kumar Jauhar, Yujin Kim, Scott Counts, Jennifer Neville, Siddharth Suri, Chirag Shah, Ryen W White, Longqi Yang, Reid Andersen, Georg Buscher, Dhruv Joshi, Nagu Rangan

AI总结:

提出TnT-LLM两阶段框架,利用大语言模型自动生成和分配标签分类体系,减少人工干预,在Bing Copilot场景中验证了其生成标签更准确且分类效率与准确性平衡良好。

摘要:

将非结构化文本转化为由有用类别标签组织的结构化且有意义的形式,是文本挖掘中用于下游分析和应用的基本步骤。然而,现有的大多数用于生成标签分类体系和构建基于文本的标签分类器的方法仍然严重依赖领域专业知识和人工整理,使得该过程昂贵且耗时。当标签空间未被充分指定且缺乏大规模数据标注时,这一问题尤为棘手。在本文中,我们利用大语言模型(LLMs)来应对这些挑战,其基于提示的接口有助于归纳和使用大规模伪标签。我们提出了TnT-LLM,这是一个两阶段框架,利用LLMs自动化端到端的标签生成和分配过程,对于任何给定的用例只需最少的人力。在第一阶段,我们引入了一种零样本、多阶段推理方法,使LLMs能够迭代地生成和完善标签分类体系。在第二阶段,LLMs被用作数据标注器,产生训练样本,从而可以可靠地构建、部署和服务轻量级监督分类器,并实现规模化。我们将TnT-LLM应用于Bing Copilot(前身为Bing Chat)的用户意图和对话领域分析,这是一个开放领域的基于聊天的搜索引擎。使用人工和自动评估指标的大量实验表明,与最先进的基线相比,TnT-LLM生成了更准确和相关的标签分类体系,并在大规模分类中实现了准确性和效率之间的良好平衡。我们还分享了在实际应用中使用LLMs进行大规模文本挖掘所面临的挑战和机遇的实践经验与见解。

英文摘要:

Transforming unstructured text into structured and meaningful forms, organized by useful category labels, is a fundamental step in text mining for downstream analysis and application. However, most existing methods for producing label taxonomies and building text-based label classifiers still rely heavily on domain expertise and manual curation, making the process expensive and time-consuming. This is particularly challenging when the label space is under-specified and large-scale data annotations are unavailable. In this paper, we address these challenges with Large Language Models (LLMs), whose prompt-based interface facilitates the induction and use of large-scale pseudo labels. We propose TnT-LLM, a two-phase framework that employs LLMs to automate the process of end-to-end label generation and assignment with minimal human effort for any given use-case. In the first phase, we introduce a zero-shot, multi-stage reasoning approach which enables LLMs to produce and refine a label taxonomy iteratively. In the second phase, LLMs are used as data labelers that yield training samples so that lightweight supervised classifiers can be reliably built, deployed, and served at scale. We apply TnT-LLM to the analysis of user intent and conversational domain for Bing Copilot (formerly Bing Chat), an open-domain chat-based search engine. Extensive experiments using both human and automatic evaluation metrics demonstrate that TnT-LLM generates more accurate and relevant label taxonomies when compared against state-of-the-art baselines, and achieves a favorable balance between accuracy and efficiency for classification at scale. We also share our practical experiences and insights on the challenges and opportunities of using LLMs for large-scale text mining in real-world applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑