CLAIIRMar 18, 2024

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

arXiv:2403.12173v166 citationsh-index: 14KDD
Originality Incremental advance
AI Analysis

This addresses the challenge of expensive and time-consuming text mining for applications like search engines, offering a scalable solution with minimal human effort, though it is incremental as it builds on existing LLM capabilities.

The paper tackles the problem of automating text mining for label taxonomy generation and classification, which traditionally requires manual effort, by proposing TnT-LLM, a two-phase LLM-based framework; it demonstrates improved accuracy and relevance in generating label taxonomies and achieves a favorable balance between accuracy and efficiency for classification at scale in experiments on Bing Copilot data.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes