English

PolyPrompt: Automating Knowledge Extraction from Multilingual Language Models with Dynamic Prompt Generation

Computation and Language 2025-06-04 v2 Machine Learning

Abstract

Large language models (LLMs) showcase increasingly impressive English benchmark scores, however their performance profiles remain inconsistent across multilingual settings. To address this gap, we introduce PolyPrompt, a novel, parameter-efficient framework for enhancing the multilingual capabilities of LLMs. Our method learns a set of trigger tokens for each language through a gradient-based search, identifying the input query's language and selecting the corresponding trigger tokens which are prepended to the prompt during inference. We perform experiments on two ~1 billion parameter models, with evaluations on the global MMLU benchmark across fifteen typologically and resource diverse languages, demonstrating accuracy gains of 3.7%-19.9% compared to naive and translation-pipeline baselines.

Keywords

Cite

@article{arxiv.2502.19756,
  title  = {PolyPrompt: Automating Knowledge Extraction from Multilingual Language Models with Dynamic Prompt Generation},
  author = {Nathan Roll},
  journal= {arXiv preprint arXiv:2502.19756},
  year   = {2025}
}

Comments

6 pages, 2 figures

R2 v1 2026-06-28T21:59:38.515Z