English

sPhinX: Sample Efficient Multilingual Instruction Fine-Tuning Through N-shot Guided Prompting

Computation and Language 2025-06-23 v4

Abstract

Despite the remarkable success of large language models (LLMs) in English, a significant performance gap remains in non-English languages. To address this, we introduce a novel approach for strategically constructing a multilingual synthetic instruction tuning dataset, sPhinX. Unlike prior methods that directly translate fixed instruction-response pairs, sPhinX enhances diversity by selectively augmenting English instruction-response pairs with multilingual translations. Additionally, we propose LANGIT, a novel N-shot guided fine-tuning strategy, which further enhances model performance by incorporating contextually relevant examples in each training sample. Our ablation study shows that our approach enhances the multilingual capabilities of Mistral-7B and Phi-3-Small improving performance by an average of 39.8% and 11.2%, respectively, across multilingual benchmarks in reasoning, question answering, reading comprehension, and machine translation. Moreover, sPhinX maintains strong performance on English LLM benchmarks while exhibiting minimal to no catastrophic forgetting, even when trained on 51 languages.

Keywords

Cite

@article{arxiv.2407.09879,
  title  = {sPhinX: Sample Efficient Multilingual Instruction Fine-Tuning Through N-shot Guided Prompting},
  author = {Sanchit Ahuja and Kumar Tanmay and Hardik Hansrajbhai Chauhan and Barun Patra and Kriti Aggarwal and Luciano Del Corro and Arindam Mitra and Tejas Indulal Dhamecha and Ahmed Awadallah and Monojit Choudhary and Vishrav Chaudhary and Sunayana Sitaram},
  journal= {arXiv preprint arXiv:2407.09879},
  year   = {2025}
}

Comments

20 pages, 12 tables, 5 figures

R2 v1 2026-06-28T17:39:43.319Z