arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.06175cs.CLcs.LG
收藏

聚类算法与RAG增强大语言模型在半监督文本分类中的应用

Clustering Algorithms and RAG Enhancing Semi-Supervised Text Classification with Large LLMs

CIB

Shan Zhong, Jiahao Zeng, Yongxin Yu, Bohong Lin

AI总结:

本文提出“先聚类、再标注、后增强”框架,通过聚类选取地标并结合RAG、LLM重写和同义词替换生成合成标注数据,在Reuters和Web of Science数据集上分别取得95.41%和82.43%的最新准确率,显著降低人工标注成本并保障数据质量与隐私。

摘要:

本文提出了一种“先聚类、再标注、后增强”的框架,显著提升了半监督文本分类(SSTC)任务中的性能,有效应对了海量数据集但标注样本有限的挑战。与传统的SSTC方法依赖预定义的小规模标注数据来为无标注数据生成伪标签不同,该框架创新性地利用聚类来选择具有代表性的“地标(landmarks)”进行标注。这些地标随后作为多种增强技术组合中的中介,包括检索增强生成(Retrieval-Augmented Generation, RAG)、基于大语言模型(Large Language Models, LLMs)的重写以及同义词替换,从而生成合成的标注数据,而无需为无标注数据生成伪标签。实验结果表明,即使在涉及超过100个类别的复杂文本文档分类场景中,我们的方法在Reuters数据集上达到了95.41%的最新准确率,在Web of Science数据集上达到了82.43%的最新准确率。我们的方法显著减少了对人工标注工作和相关费用的依赖,同时确保了高数据质量并最小化隐私风险。微调结果进一步表明,针对文本分类任务微调LLMs具有高效性,突显了一种利用有限标注数据的稳健解决方案。

英文摘要:

This paper proposes a Clustering, Labeling, then Augmenting framework that significantly enhances performance in Semi-Supervised Text Classification (SSTC) tasks, effectively addressing the challenge of vast datasets with limited labeled examples. Unlike traditional SSTC approaches that rely on a predefined small set of labeled data to generate pseudo-labels for the unlabeled data, this framework innovatively employs clustering to select representative "landmarks" for labeling. These landmarks subsequently act as intermediaries in an ensemble of augmentation techniques, including Retrieval-Augmented Generation (RAG), Large Language Model (LLMs)-based rewriting, and synonym substitution, to generate synthetic labeled data without making pseudo-labels for the unlabeled data. Empirical results show that even in complex text document classification scenarios involving over 100 categories, our method achieves state-of-the-art accuracies of 95.41% on the Reuters dataset and 82.43% on the Web of Science dataset. Our approach significantly reduces the reliance on human labeling efforts and the associated expenses, while simultaneously ensuring high data quality and minimizing privacy risks. The finetuning results further show the efficiency of fine-tuning LLMs for text classification tasks, highlighting a robust solution for leveraging limited labeled data.

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

↑