Soft Language Prompts for Language Transfer

Ivan Vykopal, Simon Ostermann, Marián Šimko
7/2/2024
cs.CL

No official code found. Best implementation: kinit-sk/adapter-prompt-evaluation (0 stars, MIT, last commit 2025-05-07).

Abstract

Cross-lingual knowledge transfer, especially between high- and low-resource languages, remains challenging in natural language processing (NLP). This study offers insights for improving cross-lingual NLP applications through the combination of parameter-efficient fine-tuning methods. We systematically explore strategies for enhancing cross-lingual transfer through the incorporation of language-specific and task-specific adapters and soft prompts. We present a detailed investigation of various combinations of these methods, exploring their efficiency across 16 languages, focusing on 10 mid- and low-resource languages. We further present to our knowledge the first use of soft prompts for language transfer, a technique we call soft language prompts. Our findings demonstrate that in contrast to claims of previous work, a combination of language and task adapters does not always work best; instead, combining a soft language prompt with a task adapter outperforms most configurations in many cases.

View on arXivView PDF

Code Implementations(1)

MIT
01PythonApr 4, 20241 years agoMIT

Similar Papers

Cite this paper

@article{vykopal2024soft,
  title  = {Soft Language Prompts for Language Transfer},
  author = {Ivan Vykopal and Simon Ostermann and Marián Šimko},
  year   = {2024},
  eprint = {2407.02317},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02317v2}
}

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

Discussion