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

自动标注中的知识蒸馏:基于LLM生成训练标签的监督文本分类

Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labels

University of Pennsylvania(宾夕法尼亚大学)

Nicholas Pangakis, Samuel Wolken

AI总结:

本文评估了用生成式LLM生成的标签替代人工标注数据来微调监督文本分类器的潜力,提出推荐工作流并在14个任务上复现实验,发现基于LLM标签微调的模型表现与人工标注相当,是一种快速高效且低成本的构建方法。

摘要:

计算社会科学(CSS)研究者通常依赖人工标注数据来微调监督文本分类器。我们评估了研究者用生成式大语言模型(LLMs)生成的替代训练标签来增强或替代人工生成训练数据的潜力。我们提出了一套推荐工作流,并通过复现14个分类任务和测量性能来测试该LLM应用。我们采用了一个来自高影响力期刊近期CSS文章的英文文本分类数据集的新语料库。由于这些数据集存储在受密码保护的档案库中,我们的分析不易受到数据污染问题的影响。对于每个任务,我们将使用GPT-4标签微调的监督分类器与使用人工标注微调的分类器,以及使用GPT-4和Mistral-7B结合少样本上下文学习生成的标签进行对比。研究结果表明,基于LLM生成标签微调的监督分类模型,其表现与使用人工标注标签微调的模型相当。使用LLM生成标签微调模型可以成为一种快速、高效且具成本效益的监督文本分类器构建方法。

英文摘要:

Computational social science (CSS) practitioners often rely on human-labeled data to fine-tune supervised text classifiers. We assess the potential for researchers to augment or replace human-generated training data with surrogate training labels from generative large language models (LLMs). We introduce a recommended workflow and test this LLM application by replicating 14 classification tasks and measuring performance. We employ a novel corpus of English-language text classification data sets from recent CSS articles in high-impact journals. Because these data sets are stored in password-protected archives, our analyses are less prone to issues of contamination. For each task, we compare supervised classifiers fine-tuned using GPT-4 labels against classifiers fine-tuned with human annotations and against labels from GPT-4 and Mistral-7B with few-shot in-context learning. Our findings indicate that supervised classification models fine-tuned on LLM-generated labels perform comparably to models fine-tuned with labels from human annotators. Fine-tuning models using LLM-generated labels can be a fast, efficient and cost-effective method of building supervised text classifiers.

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

↑