sPhinX: Sample Efficient Multilingual Instruction Fine-Tuning Through N-shot Guided Prompting
<|reference_start|>sPhinX: Sample Efficient Multilingual Instruction Fine-Tuning Through N-shot Guided Prompting: Despite the remarkable success of LLMs in English, there is a significant gap in performance in non-English languages. In order to address this, we introduce a novel recipe for creating a multilingual synthetic instruction tuning dataset, sPhinX, which is created by selectively translating instruction response pairs from English into 50 languages. We test the effectiveness of sPhinX by using it to fine-tune two state-of-the-art models, Phi-3-small and Mistral-7B and then evaluating them across a comprehensive suite of multilingual benchmarks that test reasoning, question answering, and reading comprehension. Our results show that Phi-3-small and Mistral-7B fine-tuned with sPhinX perform better on an average by 4.2%pt and 5%pt respectively as compared to the baselines. We also devise a strategy to incorporate N-shot examples in each fine-tuning sample which further boosts the performance of these models by 3%pt and 10%pt respectively. Additionally, sPhinX also outperforms other multilingual instruction tuning datasets on the same benchmarks along with being sample efficient and diverse, thereby reducing dataset creation costs. Additionally, instruction tuning with sPhinX does not lead to regression on most standard LLM benchmarks.<|reference_end|>
@article{ahuja2024sphinx:,
    title={sPhinX: Sample Efficient Multilingual Instruction Fine-Tuning Through
  N-shot Guided Prompting},
    author={Sanchit Ahuja, Kumar Tanmay, Hardik Hansrajbhai Chauhan, Barun Patra,
  Kriti Aggarwal, Luciano Del Corro, Arindam Mitra, Tejas Indulal Dhamecha,
  Ahmed Awadallah, Monojit Choudhary, Vishrav Chaudhary, Sunayana Sitaram},
    journal={arXiv preprint arXiv:2407.09879},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.09879},
    primaryClass={cs.CL}
}