Balanced Multi-Factor In-Context Learning for Multilingual Large Language Models
Masahiro Kaneko, Alham Fikri Aji, Timothy Baldwin
Abstract
Multilingual large language models (MLLMs) are able to leverage in-context learning (ICL) to achieve high performance by leveraging crosslingual knowledge transfer without parameter updates.However, their effectiveness is highly sensitive to example selection, particularly in multilingual settings.Based on the findings of existing work, three key factors influence multilingual ICL: (1) semantic similarity, (2) linguistic alignment, and (3) language-specific performance.However, existing approaches address these factors independently, without explicitly disentangling their combined impact, leaving optimal example selection underexplored.To address this gap, we propose balanced multi-factor ICL (BMF-ICL), a method that quantifies and optimally balances these factors for improved example selection.Experiments on mCSQA and TYDI across four MLLMs demonstrate that BMF-ICL outperforms existing methods.Further analysis highlights the importance of incorporating all three factors and the importance of selecting examples from multiple languages.6 https://huggingface.co/meta-llama/ Llama-4-Maverick-17B-128E-Instruct 7 https://huggingface.co/CohereForAI/aya-23-8B 8 https://huggingface.co/docs/transformers/v4. 37.0/en/tasks/prompting 9 The results for 2, 4, and 16 are presented in Appendix E Prompt for TYDIAnswer the question using the context.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Builds on18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein et al.ICML 2021 · 1,843 citations
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order SensitivityYao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel et al.ACL 2022 · 1,494 citations
- True Few-Shot Learning with Language ModelsEthan Perez, Douwe Kiela, Kyunghyun ChoNeurIPS 2021 · 547 citations
- Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations
Related papers
- Blessing of Multilinguality: A Systematic Analysis of Multilingual In-Context LearningYilei Tu, Andrew Xue, Freda ShiACL Findings 2025 · 2 citations
- How Does the Textual Information Affect the Retrieval of Multimodal In-Context Learning?Yang Luo, Zangwei Zheng, Zirui Zhu, Yang YouEMNLP 2024 · 2 citations
- An Empirical Study of In-context Learning in LLMs for Machine TranslationPranjal A. Chitale, Jay P. Gala, Raj DabreACL Findings 2024 · 10 citations
- Is In-Context Learning Sufficient for Instruction Following in LLMs?Hao Zhao, Maksym Andriushchenko, Francesco Croce, Nicolas FlammarionICLR 2025
- In-context Mixing (ICM): Code-mixed Prompts for Multilingual LLMsBhavani Shankar, Preethi Jyothi, Pushpak BhattacharyyaACL 2024
