ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrieval

Yue Yu, Yuchen Zhuang, Rongzhi Zhang, Yu Meng, Jiaming Shen +1 more
5/18/2023
cs.CLcs.IRcs.LG

No official code found. Best implementation: yueyu1030/ReGen (24 stars, MIT, last commit 2023-09-08).

Abstract

With the development of large language models (LLMs), zero-shot learning has attracted much attention for various NLP tasks. Different from prior works that generate training data with billion-scale natural language generation (NLG) models, we propose a retrieval-enhanced framework to create training data from a general-domain unlabeled corpus. To realize this, we first conduct contrastive pretraining to learn an unsupervised dense retriever for extracting the most relevant documents using class-descriptive verbalizers. We then further propose two simple strategies, namely Verbalizer Augmentation with Demonstrations and Self-consistency Guided Filtering to improve the topic coverage of the dataset while removing noisy examples. Experiments on nine datasets demonstrate that REGEN achieves 4.3% gain over the strongest baselines and saves around 70% of the time compared to baselines using large NLG models. Besides, REGEN can be naturally integrated with recently proposed large language models to boost performance.

View on arXivView PDF

Code Implementations(1)

yueyu1030/ReGenCommunity100%
MIT

[ACL'23 Findings] This is the code repo for our ACL'23 Findings paper "ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrieval".

244Shell, PythonMay 8, 20233 years agoMIT
acl2023agnewsdataset-generationdense-retrievalimdb+7 more

Similar Papers

Cite this paper

@article{yu2023regen,
  title  = {ReGen: Zero-Shot Text Classification via Training Data Generation with Progressive Dense Retrieval},
  author = {Yue Yu and Yuchen Zhuang and Rongzhi Zhang and Yu Meng and Jiaming Shen and Chao Zhang},
  year   = {2023},
  eprint = {2305.10703},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.10703v1}
}

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

Discussion