Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classification

Jan Cegin, Branislav Pecher, Jakub Simko, Ivan Srba, Maria Bielikova +1 more
10/14/2024
cs.CL

No official code found. Best implementation: kinit-sk/selec-strats-for-aug (1 star, last commit 2024-10-16).

Abstract

The generative large language models (LLMs) are increasingly used for data augmentation tasks, where text samples are paraphrased (or generated anew) and then used for classifier fine-tuning. Existing works on augmentation leverage the few-shot scenarios, where samples are given to LLMs as part of prompts, leading to better augmentations. Yet, the samples are mostly selected randomly and a comprehensive overview of the effects of other (more ``informed'') sample selection strategies is lacking. In this work, we compare sample selection strategies existing in few-shot learning literature and investigate their effects in LLM-based textual augmentation. We evaluate this on in-distribution and out-of-distribution classifier performance. Results indicate, that while some ``informed'' selection strategies increase the performance of models, especially for out-of-distribution data, it happens only seldom and with marginal performance increases. Unless further advances are made, a default of random sample selection remains a good option for augmentation practitioners.

View on arXivView PDF

Code Implementations(1)

10Shell, PythonOct 14, 20242 years ago

Similar Papers

Cite this paper

@article{cegin2024random,
  title  = {Use Random Selection for Now: Investigation of Few-Shot Selection Strategies in LLM-based Text Augmentation for Classification},
  author = {Jan Cegin and Branislav Pecher and Jakub Simko and Ivan Srba and Maria Bielikova and Peter Brusilovsky},
  year   = {2024},
  eprint = {2410.10756},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.10756v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.10756.svg)](https://codeofpaper.com/paper/2410.10756)

Discussion