Enhancing Cross-lingual Prompting with Dual Prompt Augmentation

Meng Zhou, Xin Li, Yue Jiang, Lidong Bing
2/15/2022
cs.CLcs.AI

Official code: DAMO-NLP-SG/DPA (5 stars, Python, last commit 2023-05-23).

Abstract

Prompting shows promising results in few-shot scenarios. However, its strength for multilingual/cross-lingual problems has not been fully exploited.

Show full abstract

Zhao and Schütze (2021) made initial explorations in this direction by presenting that cross-lingual prompting outperforms cross-lingual finetuning. In this paper, we conduct an empirical exploration on the effect of each component in cross-lingual prompting and derive language-agnostic Universal Prompting, which helps alleviate the discrepancies between source-language training and target-language inference. Based on this, we propose DPA, a dual prompt augmentation framework, aiming at relieving the data scarcity issue in few-shot cross-lingual prompting. Notably, for XNLI, our method achieves 46.54% with only 16 English training examples per class, significantly better than 34.99% of finetuning. Our code is available at https://github.com/DAMO-NLP-SG/DPA.

View on arXivView PDF

Code Implementations(1)

DAMO-NLP-SG/DPAOfficial100%

Implementation of ACL 2023 Findings: "Enhancing Cross-lingual Prompting with Dual Prompt Augmentation"

50Python, ShellMay 18, 20233 years ago

Similar Papers

Cite this paper

@article{zhou2022enhancing,
  title  = {Enhancing Cross-lingual Prompting with Dual Prompt Augmentation},
  author = {Meng Zhou and Xin Li and Yue Jiang and Lidong Bing},
  year   = {2022},
  eprint = {2202.07255},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07255}
}

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

Discussion