Embedding Hallucination for Few-Shot Language Fine-tuning

Yiren Jian, Chongyang Gao, Soroush Vosoughi
5/3/2022
cs.CLcs.AI

Official code: yiren-jian/EmbedHalluc (0 stars, Python, MIT, last commit 2024-06-04).

Abstract

Few-shot language learners adapt knowledge from a pre-trained model to recognize novel classes from a few-labeled sentences. In such settings, fine-tuning a pre-trained language model can cause severe over-fitting.

Show full abstract

In this paper, we propose an Embedding Hallucination (EmbedHalluc) method, which generates auxiliary embedding-label pairs to expand the fine-tuning dataset. The hallucinator is trained by playing an adversarial game with the discriminator, such that the hallucinated embedding is indiscriminative to the real ones in the fine-tuning dataset. By training with the extended dataset, the language learner effectively learns from the diverse hallucinated embeddings to overcome the over-fitting issue. Experiments demonstrate that our proposed method is effective in a wide range of language tasks, outperforming current fine-tuning methods. Further, we show that EmbedHalluc outperforms other methods that address this over-fitting problem, such as common data augmentation, semi-supervised pseudo-labeling, and regularization. The code will be made available at: https://github.com/yiren-jian/EmbedHalluc.

View on arXivView PDF

Code Implementations(1)

MIT

[NAACL 2022] Embedding Hallucination for Few-shot Language Learning

01Python, ShellJan 8, 20222 years agoMIT
conditional-ganfew-shot-learninglanguage-model

Similar Papers

Cite this paper

@article{jian2022embedding,
  title  = {Embedding Hallucination for Few-Shot Language Fine-tuning},
  author = {Yiren Jian and Chongyang Gao and Soroush Vosoughi},
  year   = {2022},
  eprint = {2205.01307},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.01307}
}

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

Discussion