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

用于Few-Shot文本分类数据增强的引导生成语言模型

Guiding Generative Language Models for Data Augmentation in Few-Shot Text Classification

Cardiff University(卡迪夫大学)

Aleksandra Edwards, Asahi Ushio, Jose Camacho-Collados, Hélène de Ribaupierre, Alun Preece

摘要:

数据增强技术被广泛用于通过解决类不平衡问题和数据稀疏性来增强机器学习模型的性能。最先进的生成语言模型已被证明在不同的NLP任务中提供了显着的收益。然而,其适用性的文本分类任务在Few-Shot设置的数据增强尚未得到充分探讨,特别是对于专业领域。在本文中,我们利用GPT-2(Radford A et al,2019)来生成人工训练实例,以提高分类性能。我们的目的是分析种子训练样本的选择过程对GPT生成的样本质量以及分类器性能的影响。我们进行实验,几个种子选择策略,其中包括利用类层次结构和领域专家选择。我们的结果表明,在少数标签实例中微调GPT-2可以带来一致的分类改进并优于竞争基线。最后,我们表明,通过领域专家选择指导这一过程可以导致进一步的改进,这开辟了有趣的研究途径,结合生成模型和主动学习。

英文摘要:

Data augmentation techniques are widely used for enhancing the performance of machine learning models by tackling class imbalance issues and data sparsity. State-of-the-art generative language models have been shown to provide significant gains across different NLP tasks. However, their applicability to data augmentation for text classification tasks in few-shot settings have not been fully explored, especially for specialised domains. In this paper, we leverage GPT-2 (Radford A et al, 2019) for generating artificial training instances in order to improve classification performance. Our aim is to analyse the impact the selection process of seed training examples have over the quality of GPT-generated samples and consequently the classifier performance. We perform experiments with several seed selection strategies that, among others, exploit class hierarchical structures and domain expert selection. Our results show that fine-tuning GPT-2 in a handful of label instances leads to consistent classification improvements and outperform competitive baselines. Finally, we show that guiding this process through domain expert selection can lead to further improvements, which opens up interesting research avenues for combining generative models and active learning.

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

↑