TL;DR
Large Language Models (LLMs) exhibit severe calibration errors when operating in non-English languages, frequently outputting highly under- or over-confident predictions. This paper discovers that while English-centric alignment warps the confidence signals at the model's final layer, late-intermediate layers retain highly calibrated, language-agnostic representations. By leveraging these hidden layers, the authors introduce a training-free ensembling method (LACE) that dramatically improves multilingual calibration across diverse model families and tasks.
What Problem Does This Paper Address?
Confidence calibration—the alignment between a model's predicted probability and its actual accuracy—is vital for deploying LLMs safely in high-stakes fields like medicine or law. An ideal model should be 80% accurate on predictions it makes with 80% confidence.
While calibration has been heavily optimized for English, multilingual calibration suffers from "Square One Bias": models are evaluated for multilingual coverage or English alignment, but rarely their intersection. The authors show that non-English languages face a massive calibration gap. For instance, LLaMA3 achieves a crisp 4.6% Expected Calibration Error (ECE) in English but spikes to 23.1% in non-English languages. This miscalibration stems from English-centric alignment pipelines (SFT/RLHF) that warp the final layer's output distribution to favor English patterns, leaving non-English confidence signals highly distorted.
Methods
The authors propose a novel early-decoded confidence estimation technique. Instead of applying the language modeling head only to the final hidden state, they attach it to every intermediate transformer layer. This allows them to extract logits and trace the confidence of the model's ultimate prediction at a granular, layer-by-layer level.
Using this probing framework, they introduce Language-Aware Confidence Ensemble (LACE), a training-free method that:
- Evaluates which intermediate layers are better calibrated than the final layer for a given language using a small validation set.
- Adaptively averages the predictive distributions across these "good layers" during inference to reduce layer-specific noise.
- Combines this ensemble with standard post-hoc calibration techniques (like Temperature Scaling or Isotonic Regression).
Crucially, LACE requires no retraining or weight modifications and adds negligible inference latency because it reuses intermediate logits from a single forward pass.
Datasets
The study utilizes two large-scale, human-curated multilingual benchmarks for multiple-choice question answering (MCQA):
- MMMLU: 15 languages, spanning low- and high-resource categories.
- Belebele: 122 language variants, providing a massive parallel reading comprehension evaluation.
To prove generalizability beyond multiple-choice tasks, the authors also evaluate their findings on MKQA (open-ended multilingual QA) and MGSM (multilingual chain-of-thought math reasoning).
Key Insights and Ideas
- The Intermediate Layer Sweet Spot: For English, calibration improves monotonically with model depth, peaking at the final layer. However, for almost all non-English languages, calibration peaks in the late-intermediate layers (e.g., layer 24 out of 32 for LLaMA3) before degrading sharply at the final layer.
- Language-Agnostic Representations: Intermediate layers act as a shared, language-neutral semantic space. The final layer, heavily modified by English-centric alignment, forces the model to re-specialize its output distribution, destroying the calibration of non-English tokens.
- Two Miscalibration Regimes: English-aligned models (like LLaMA3) tend to be underconfident in non-English languages, whereas multilingual-first models (like Aya) are systematically overconfident across all languages, including English.
- Resource Correlation: A language's calibration error strongly correlates with its representation in the pre-training corpus. Low-resource languages suffer the worst miscalibration.
Key Results
- Drastic ECE Reductions: LACE consistently closes the cross-lingual calibration gap. On MMMLU, LACE (combined with Isotonic Regression) slashes LLaMA3's average non-English ECE from 22.44% down to 3.09%, and Aya's ECE from 24.39% down to 3.45%.
- Scalability to Large Models: The method scales seamlessly to massive models. On LLaMA-3.1-70B, LACE reduces the baseline ECE of 23.51% down to 2.81%.
- Generalization to Generation: The layer-wise calibration peak holds true in generative settings (MKQA and MGSM). By training a simple logistic regression selector to route examples based purely on their intermediate layer signatures (without explicit language tags), they managed to halve the non-English ECE on generative tasks.
Limitations and Future Work
- Validation Data Dependency: LACE relies on a small per-language validation set to identify the optimal layer subsets. However, sensitivity analysis shows it remains highly stable with as few as 500 examples.
- Coarse Granularity: Layer selection is currently performed at the language level rather than per-instance, which could limit performance on code-mixed inputs (sentences mixing multiple languages).
- Upstream Mitigation: The authors note that post-hoc fixes are a sticking plaster; future work should address this gap during actual training time, potentially via per-language ECE penalties during RLHF/DPO alignment.
Summary updated