GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation

Kang Min Yoo, Dongju Park, Jaewook Kang, Sang-Woo Lee, Woomyeong Park
4/18/2021
cs.CLcs.AI

Official code: naver-ai/hypermix (63 stars, Python, MIT, last commit 2021-12-20).

Abstract

Large-scale language models such as GPT-3 are excellent few-shot learners, allowing them to be controlled via natural text prompts. Recent studies report that prompt-based direct classification eliminates the need for fine-tuning but lacks data and inference scalability.

Show full abstract

This paper proposes a novel data augmentation technique that leverages large-scale language models to generate realistic text samples from a mixture of real samples. We also propose utilizing soft-labels predicted by the language models, effectively distilling knowledge from the large-scale language models and creating textual perturbations simultaneously. We perform data augmentation experiments on diverse classification tasks and show that our method hugely outperforms existing text augmentation methods. Ablation studies and a qualitative analysis provide more insights into our approach.

View on arXivView PDF

Code Implementations(1)

naver-ai/hypermixOfficial100%
MIT

Code for text augmentation method leveraging large-scale language models

632PythonNov 18, 20214 years agoMIT

Similar Papers

Cite this paper

@article{yoo2021gptmix,
  title  = {GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation},
  author = {Kang Min Yoo and Dongju Park and Jaewook Kang and Sang-Woo Lee and Woomyeong Park},
  year   = {2021},
  eprint = {2104.08826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08826}
}

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/2104.08826.svg)](https://codeofpaper.com/paper/2104.08826)

Discussion