Abstract
Large Language Models (LLMs) have demonstrated remarkable capabilities in few-shot learning through prompting. However, cross-lingual scenarios present unique challenges due to template-inference discrepancies and data scarcity in target languages. This paper introduces Dual Prompt Augmentation (DPA), a framework designed to enhance few-shot cross-lingual NLP tasks. By integrating language-agnostic "Universal Prompting" with multilingual label supervision and a novel "Prompt Mixup" technique, DPA achieves significant performance gains over standard finetuning and existing prompting baselines.
Introduction
Prompting recasts downstream tasks into a fill-in-the-blank format, allowing models to leverage pre-trained knowledge effectively. In cross-lingual settings, researchers typically have abundant English data but limited resources in target languages like Turkish or Hindi. Existing cross-lingual prompting methods often suffer from discrepancies: using English templates during training but translated templates during inference can confuse the model. Furthermore, in extreme few-shot settings, models struggle to generalize across diverse linguistic structures. DPA addresses these issues by creating a robust, language-agnostic prompting baseline and expanding the training signal through augmentation.
Methodology
Universal Prompting (UP)
The authors first establish Universal Prompting (UP). They observed that language-specific template words often introduce noise during cross-lingual transfer. By removing these words to create a "null prompt" and utilizing English verbalizers during inference, UP avoids the training-inference mismatch common in previous methods.
Dual Prompt Augmentation (DPA)
The DPA framework builds upon UP by attacking data scarcity from two directions:
- Prompt Answer Augmentation: Instead of supervising the model with a single English label (e.g., "yes"), DPA utilizes a multilingual verbalizer. The model is trained to maximize the likelihood of the label across multiple languages simultaneously (e.g., "yes" in English, "Evet" in Turkish). This provides a richer, more aligned supervision signal for the model's [MASK] token.
- Prompt Input Augmentation (Prompt Mixup): To improve generalization, the authors adapt the "Mixup" technique for text. They interpolate the hidden representations of [MASK] tokens from two different prompts. This creates "virtual" training examples in the semantic space, helping the model bridge gaps between real data points in the few-shot regime.
Experimental Setup
The framework was evaluated on two primary cross-lingual benchmarks:
- XNLI (Cross-lingual Natural Language Inference): 15 languages, determining entailment, contradiction, or neutrality.
- PAWS-X (Multilingual Paraphrase Identification): 7 languages, identifying paraphrases.
Models were trained exclusively on English few-shot data and evaluated on all other languages to test zero-shot transfer capabilities.
Key Results
The DPA framework demonstrated superior performance across various shot counts and languages. On the XNLI benchmark with 16 training examples, DPA achieved an average accuracy of 46.54%, a substantial improvement over the 34.99% achieved by standard finetuning.
Key insights from the results include:
- Simplicity and Robustness: Stripping away language-specific "fluff" in Universal Prompting outperformed more complex, manually engineered templates.
- Effective Supervision: Using translated labels as training targets (rather than just inference targets) significantly improved the alignment of different languages in the model's latent space.
- Scalability: DPA maintained its advantage even as the number of training examples increased, showing a 7.1% absolute gain over finetuning at 256 shots.
Discussion and Limitations
While DPA provides a powerful framework for cross-lingual classification, several areas remain for future exploration. The current method relies on external machine translation for generating multilingual verbalizers. Additionally, the study focused on sentence-pair classification; extending DPA to sequence tagging (e.g., NER) or generative tasks like open-ended question answering is a necessary next step. Finally, testing the framework on truly low-resource languages not represented in standard benchmarks like XNLI will further validate its robustness.
Summary updated