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

基于现成大语言模型的意图分类数据增强

Data Augmentation for Intent Classification with Off-the-shelf Large Language Models

University of Waterloo(滑铁卢大学);ServiceNow Research(ServiceNow研究院)

Gaurav Sahu, Pau Rodriguez, Issam H. Laradji, Parmida Atighehchian, David Vazquez, Dzmitry Bahdanau

摘要:

数据增强是一种广泛使用的技术,以缓解数据稀缺的问题。在这项工作中,我们提出了一种基于标记的方法来生成标记的训练数据,用于使用现成的语言模型(LM)(如GPT-3)进行意图分类。该方法的优点是不需要用于数据生成的任务特定LM微调;因此该方法不需要超参数调整,并且即使在可用的训练数据非常稀缺时也是适用的。我们评估所提出的方法在Few-Shot设置四个不同的意图分类任务。我们发现,GPT生成的数据显着提高意图分类器的性能时,考虑的意图是足够的彼此不同。在语义接近意图的任务中,我们观察到生成的数据不太有用。我们的分析表明,这是因为GPT经常生成属于密切相关的意图,而不是所需的话语。我们提出的初步证据表明,一个基于过滤的GPT分类器可能有助于过滤生成的数据,以提高其质量。

英文摘要:

Data augmentation is a widely employed technique to alleviate the problem of data scarcity. In this work, we propose a prompting-based approach to generate labelled training data for intent classification with off-the-shelf language models (LMs) such as GPT-3. An advantage of this method is that no task-specific LM-fine-tuning for data generation is required; hence the method requires no hyper-parameter tuning and is applicable even when the available training data is very scarce. We evaluate the proposed method in a few-shot setting on four diverse intent classification tasks. We find that GPT-generated data significantly boosts the performance of intent classifiers when intents in consideration are sufficiently distinct from each other. In tasks with semantically close intents, we observe that the generated data is less helpful. Our analysis shows that this is because GPT often generates utterances that belong to a closely-related intent instead of the desired one. We present preliminary evidence that a prompting-based GPT classifier could be helpful in filtering the generated data to enhance its quality.

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

↑