Cross-Lingual Transfer for Natural Language Inference via Multilingual Prompt Translator

Xiaoyu Qiu, Yuechen Wang, Jiaxin Shi, Wengang Zhou, Houqiang Li
3/19/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Based on multilingual pre-trained models, cross-lingual transfer with prompt learning has shown promising effectiveness, where soft prompt learned in a source language is transferred to target languages for downstream tasks, particularly in the low-resource scenario. To efficiently transfer soft prompt, we propose a novel framework, Multilingual Prompt Translator (MPT), where a multilingual prompt translator is introduced to properly process crucial knowledge embedded in prompt by changing language knowledge while retaining task knowledge. Concretely, we first train prompt in source language and employ translator to translate it into target prompt. Besides, we extend an external corpus as auxiliary data, on which an alignment task for predicted answer probability is designed to convert language knowledge, thereby equipping target prompt with multilingual knowledge. In few-shot settings on XNLI, MPT demonstrates superiority over baselines by remarkable improvements. MPT is more prominent compared with vanilla prompting when transferring to languages quite distinct from source language.

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. 3 weaker matches are hidden by default — 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{qiu2024crosslingual,
  title  = {Cross-Lingual Transfer for Natural Language Inference via Multilingual Prompt Translator},
  author = {Xiaoyu Qiu and Yuechen Wang and Jiaxin Shi and Wengang Zhou and Houqiang Li},
  year   = {2024},
  eprint = {2403.12407},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.12407v1}
}

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

Discussion