TL;DR
While multilingual Large Language Models (LLMs) achieve impressive zero-shot question answering (QA) accuracy across languages, their confidence calibration degrades drastically outside of English. This paper presents the first comprehensive benchmark of confidence calibration for multilingual QA, demonstrating that temperature scaling on a small multilingual validation set, machine-translated data augmentation, and similarity-based in-context learning can significantly close the cross-lingual calibration gap.
What Problem Does This Paper Address?
For safety-critical applications—such as healthcare, autonomous driving, or finance—a model must not only provide correct answers, but also know when it is uncertain. Confidence calibration measures whether a model’s predicted probability matches its true empirical likelihood of being correct.
While calibration has been studied extensively for English classification and English QA, it remains poorly understood in multilingual settings. Multilingual LLMs (MLLMs) are often fine-tuned primarily on English and then deployed across global languages. Do their confidence estimates transfer reliably across languages, or do they become dangerously overconfident on non-English queries?
Methods
The authors evaluate five model families ranging from 110M to 8B parameters, spanning:
- Extractive encoder-only models: mBERT and XLM-R (predicting start/end span logits over a candidate set of answers $K=20$).
- Generative encoder-decoder models: mT5 and mBART (normalizing token generation probabilities across top beam search candidates).
- Decoder-only autoregressive LLMs: LLaMA-2-7B and Aya-Expanse-8B.
To measure calibration, they use Expected Calibration Error (ECE) partitioned across 10 confidence bins. The authors evaluate several remediation strategies:
- Post-Hoc Temperature Scaling (TS): Scaling logits by a learned temperature $\tau > 1$ optimized to minimize negative log-likelihood (NLL) on either an English validation set or a small, merged cross-lingual validation set.
- Regularized Fine-Tuning: Applying label smoothing to start/end spans or adding few-shot target language examples.
- Data Augmentation via Translation: Fine-tuning on English paired with cheap machine translations into five languages.
- In-Context Learning (ICL): Prompting decoder-only models using 2-shot demonstrations chosen either randomly or adaptively via semantic embedding similarity.
Datasets
The authors benchmarked models across in-distribution, out-of-distribution (OOD), and cross-lingual transfer settings:
- SQuAD 1.1: English-only reading comprehension benchmark used for baseline fine-tuning.
- XQuAD: 1,190 parallel QA pairs spanning 12 languages (derived from SQuAD dev).
- MLQA: Extractive multilingual QA benchmark covering 7 languages.
- TyDiQA (Gold-P): An out-of-distribution benchmark covering 9 typologically diverse languages gathered directly from native speakers without translation.
Key Insights and Ideas
- The Cross-Lingual Calibration Gap: When moving from English to other languages on XQuAD, model error increased by ~70% on average, but calibration error (ECE) surged by 145% (from 7.32% to 18.0%). High zero-shot accuracy does not imply reliable uncertainty estimation.
- Linguistic Distance Dictates Miscalibration: The syntactic distance between the target language and English (measured via URIEL/Glottolog metrics) strongly correlates with calibration error (Pearson's $r = 0.56$ to $0.77$). Pre-training corpus size also negatively correlates with ECE.
- Multilingual Validation Trumps Large English Validation: Optimizing temperature scaling on a small, multilingual validation set (~3k sentences across 7 languages) dramatically outperforms scaling on a 10k English-only set—even for target languages that were absent from the validation set (such as Swahili or Korean).
- Model Scaling Helps Calibration: Unlike findings in computer vision where larger neural nets often become more miscalibrated, scaling up multilingual LLMs consistently improves both accuracy and calibration.
- Monolingual Beats Multilingual in Calibration: Monolingual models (e.g., German-BERT, Arabic-BERT) calibrated substantially better on their native languages than mBERT, even when mBERT had higher accuracy.
Key Results
- Temperature Scaling: Applying cross-lingual TS to mBERT on XQuAD lowered overall ECE from 16.36% to 5.86%, and on mT5 reduced ECE from 23.06% to 10.19%.
- Data Augmentation: Augmenting fine-tuning data with translated instances decreased ECE by up to 75% (e.g., mBERT dropping from 17.75% to 5.56%), extending benefits even to languages completely absent from the translated training set (such as Russian and Turkish).
- In-Context Learning (ICL): On TyDiQA, 2-shot ICL boosted both accuracy and calibration for LLaMA-2 and Aya-8B. Selecting demonstrations using contextual embedding similarity (adaptive ICL) outperformed random demonstration selection, reducing ECE by more than 10% and yielding dramatic calibration gains on low-resource languages like Swahili.
- Model Size Scaling: On XQuAD, scaling XLM-R from Base to Large decreased ECE from 12.38% to 10.69% (while EM increased from 54.93% to 60.50%). For mT5, scaling from Small to Large decreased ECE from 27.44% to 21.60%.
Limitations and Future Work
- Evaluation Scope: The study primarily evaluated models up to 7B–8B parameters; massive frontier models (e.g., 70B+ or closed commercial APIs) were not evaluated.
- English-Centric Transfer: Experiments primarily focused on cross-lingual transfer originating from English fine-tuning data.
- Theoretical Foundations: A theoretical explanation of why translated cross-lingual data transfers calibration benefits to unseen languages remains an open question for future research.
Summary updated