Cardiff University | Prifysgol Caerdydd ORCA
Online Research @ Cardiff 
WelshClear Cookie - decide language by browser settings

Guiding generative language models for data augmentation in few-shot text classification

Edwards, Aleksandra, Ushio, Asahi, Camacho Collados, Jose ORCID: https://orcid.org/0000-0003-1618-7239, Ribaupierre, Helene and Preece, Alun ORCID: https://orcid.org/0000-0003-0349-9057 2022. Guiding generative language models for data augmentation in few-shot text classification. Presented at: DaSH 2022, Abu Dhabi, United Arab Emirates (Hybrid), 08 December 2022. Published in: Dragut, Eduard, Li, Yunyao, Popa, Lucian, Vucetic, Slobodan and Srivastava, Shashank eds. Proceedings of the Fourth Workshop on Data Science with Human-in-the-Loop (Language Advances). Abu Dhabi, United Arab Emirates: ACL, pp. 51-63.

Full text not available from this repository.

Abstract

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 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 has over the quality of GPT-generated samples and consequently the classifier performance. We propose a human-in-the-loop approach for selecting seed samples. Further, we compare the approach to other seed selection strategies that exploit the characteristics of specialised domains such as human-created class hierarchical structure and the presence of noun phrases. Our results show that fine-tuning GPT-2 in a handful of label instances leads to consistent classification improvements and outperform competitive baselines. The seed selection strategies developed in this work lead to significant improvements over random seed selection for specialised domains. We show that guiding text generation through domain expert selection can lead to further improvements, which opens up interesting research avenues for combining generative models and active learning.

Item Type: Conference or Workshop Item (Paper)
Date Type: Publication
Status: Published
Schools: Schools > Computer Science & Informatics
Publisher: ACL
ISBN: 978-1-959429-08-1
Last Modified: 24 Sep 2025 15:45
URI: https://orca.cardiff.ac.uk/id/eprint/181326

Actions (repository staff only)

Edit Item Edit Item