PromptDA: Label-guided Data Augmentation for Prompt-based Few-shot Learners

Canyu Chen, Kai Shu
5/18/2022
cs.CLcs.AI

Official code: canyuchen/PromptDA (10 stars, Python, last commit 2023-10-18).

Abstract

Recent advances in large pre-trained language models (PLMs) lead to impressive gains in natural language understanding (NLU) tasks with task-specific fine-tuning. However, directly fine-tuning PLMs heavily relies on sufficient labeled training instances, which are usually hard to obtain.

Show full abstract

Prompt-based tuning on PLMs has shown to be powerful for various downstream few-shot tasks. Existing works studying prompt-based tuning for few-shot NLU tasks mainly focus on deriving proper label words with a verbalizer or generating prompt templates to elicit semantics from PLMs. In addition, conventional data augmentation strategies such as synonym substitution, though widely adopted in low-resource scenarios, only bring marginal improvements for prompt-based few-shot learning. Thus, an important research question arises: how to design effective data augmentation methods for prompt-based few-shot tuning? To this end, considering the label semantics are essential in prompt-based tuning, we propose a novel label-guided data augmentation framework PromptDA, which exploits the enriched label semantic information for data augmentation. Extensive experiment results on few-shot text classification tasks demonstrate the superior performance of the proposed framework by effectively leveraging label semantics and data augmentation for natural language understanding. Our code is available at https://github.com/canyuchen/PromptDA.

View on arXivView PDF

Code Implementations(1)

canyuchen/PromptDAOfficial100%

The code for the EACL 2023 paper "PromptDA: Label-guided Data Augmentation for Prompt-based Few-Shot Learners"

102Python, ShellFeb 11, 20233 years ago

Similar Papers

Cite this paper

@article{chen2022promptda,
  title  = {PromptDA: Label-guided Data Augmentation for Prompt-based Few-shot Learners},
  author = {Canyu Chen and Kai Shu},
  year   = {2022},
  eprint = {2205.09229},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.09229}
}

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

Discussion