arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.04140cs.CL
收藏

在保持准确性的同时提升多样性:基于大语言模型与人工干预的文本数据生成

Increasing Diversity While Maintaining Accuracy: Text Data Generation with Large Language Models and Human Interventions

University of Michigan(密歇根大学);Microsoft Research(微软研究院)

John Joon Young Chung, Ece Kamar, Saleema Amershi

AI总结:

本文研究人机协作下的LLM文本数据生成,发现logit抑制和温度采样能提升多样性但降低准确性,而标签替换可显著提高模型准确率,范围外过滤效果有限。

摘要:

大语言模型(LLMs)可用于生成文本数据,以训练和评估其他模型。然而,利用LLMs创建高质量数据集可能具有挑战性。在本工作中,我们探索人机协作,以促进基于LLM的文本数据生成中的高多样性和高准确性。我们首先考察两种使文本生成多样化的方法:1)logit抑制,即尽量减少生成已经频繁出现的语言;2)温度采样,即拉平token采样概率。我们发现,多样化方法可以提高数据多样性,但往往以牺牲数据准确性为代价(即文本和标签是否适合目标领域)。为解决这一问题,我们考察了两种人工干预:1)标签替换(LR),用于纠正不一致的标签;2)范围外过滤(OOSF),用于移除超出用户感兴趣领域或没有适用标签的实例。通过oracle研究,我们发现LR使基于多样化数据集训练的模型的绝对准确率提高了14.4%。此外,我们发现一些使用经LR干预生成的数据训练的模型优于基于LLM的少样本分类。相比之下,OOSF在提高模型准确率方面并不有效,这表明未来需要在人在回路的文本数据生成方面开展进一步工作。

英文摘要:

Large language models (LLMs) can be used to generate text data for training and evaluating other models. However, creating high-quality datasets with LLMs can be challenging. In this work, we explore human-AI partnerships to facilitate high diversity and accuracy in LLM-based text data generation. We first examine two approaches to diversify text generation: 1) logit suppression, which minimizes the generation of languages that have already been frequently generated, and 2) temperature sampling, which flattens the token sampling probability. We found that diversification approaches can increase data diversity but often at the cost of data accuracy (i.e., text and labels being appropriate for the target domain). To address this issue, we examined two human interventions, 1) label replacement (LR), correcting misaligned labels, and 2) out-of-scope filtering (OOSF), removing instances that are out of the user's domain of interest or to which no considered label applies. With oracle studies, we found that LR increases the absolute accuracy of models trained with diversified datasets by 14.4%. Moreover, we found that some models trained with data generated with LR interventions outperformed LLM-based few-shot classification. In contrast, OOSF was not effective in increasing model accuracy, implying the need for future work in human-in-the-loop text data generation.

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

↑