DAIL: Data Augmentation for In-Context Learning via Self-Paraphrase

Dawei Li, Yaxuan Li, Dheeraj Mekala, Shuyao Li, Yulin wang +3 more
11/6/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

In-Context Learning (ICL) combined with pre-trained large language models has achieved promising results on various NLP tasks. However, ICL requires high-quality annotated demonstrations which might not be available in real-world scenarios. To overcome this limitation, we propose \textbf{D}ata \textbf{A}ugmentation for \textbf{I}n-Context \textbf{L}earning (\textbf{DAIL}). DAIL leverages the intuition that large language models are more familiar with the content generated by themselves. It first utilizes the language model to generate paraphrases of the test sample and employs majority voting to determine the final result based on individual predictions. Our extensive empirical evaluation shows that DAIL outperforms the standard ICL method and other ensemble-based methods in the low-resource scenario. Additionally, we explore the use of voting consistency as a confidence score of the model when the logits of predictions are inaccessible. We believe our work will stimulate further research on ICL in low-resource settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023dail,
  title  = {DAIL: Data Augmentation for In-Context Learning via Self-Paraphrase},
  author = {Dawei Li and Yaxuan Li and Dheeraj Mekala and Shuyao Li and Yulin wang and Xueqi Wang and William Hogan and Jingbo Shang},
  year   = {2023},
  eprint = {2311.03319},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.03319v1}
}

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

Discussion