Small Edits, Shifting Decisions: Benchmarking LLM Accuracy and Reliability on French Input Variants
Organizations: Hangzhou International Innovation Institute, Beihang University, Hangzhou, China · School of Automation, Central South University, Changsha, China · School of Reliability and Systems Engineering, Beihang University, China
Abstract
French users may omit apostrophes and diacritics or make keyboard typos in everyday input. The effects of these common variations on language model performance and prediction reliability remain insufficiently understood. To address this gap, we construct a controlled French surface-variant benchmark covering seven task types, with 4,200 original-low-high triplets (12,600 input instances). Each high-intensity variant retains all low-intensity edits and adds further changes. We evaluate six models from two LLM families. The results show that accuracy decreases and Brier score and negative log-likelihood (NLL) increase with perturbation intensity. Larger models show smaller accuracy losses under high intensity, but increases in Brier score and NLL do not consistently decrease with scale. Keyboard typos cause the largest losses in accuracy and the quality of predicted probabilities at the predefined high-intensity settings. Finally, calibration temperatures fitted on original inputs transfer effectively to surface variants. Combining calibration with input restoration further improves Brier score and NLL over either method alone while preserving restored accuracy. Our benchmark provides a unified framework for jointly evaluating task accuracy and prediction reliability under common French surface variations.
Figures & tables
| Name | Authors | Input | Fr. | Perturbations | Evaluation | ||
|---|---|---|---|---|---|---|---|
| Paired | Levels | Task | Prob. | ||||
| FLUE | Le et al. (2020) | Original | ✓ | ✗ | ✗ | ✓ | ✗ |
| FQuAD | d’Hoffschmidt et al. (2020) | Original | ✓ | ✗ | ✗ | ✓ | ✗ |
| FrenchBench | Faysse et al. (2025) | Original | ✓ | ✗ | ✗ | ✓ | ✗ |
| MTNT | Michel and Neubig (2018) | Natural noise | ✓ | ✗ | ✗ | ✓ | ✗ |
| Noised tests | Cooper Stickland et al. (2023) | Injected errors | ✓ | ✓ | ✗ | ✓ | ✗ |
| Dataset | Task | #Choices | #Triplets |
|---|---|---|---|
| MARC ( Keung et al., 2020 ) | Review rating | 5 | 600 |
| FrenchNLI | Natural language inference (NLI) | 3 | 600 |
| Belebele ( Bandarkar et al., 2024 ) | Reading comprehension | 4 | 600 |
| HellaSwag ( Zellers et al., 2019 ; Faysse et al., 2025 ) | Commonsense continuation | 4 | 600 |
| Global-MMLU ( Singh et al., 2025 ) | Mathematical reasoning | 4 | 600 |
| HistoiresMorales ( Leteno et al., 2025 ) | Moral action judgment | 2 | 600 |
| #Triplets | Mean edits (%) | |||
|---|---|---|---|---|
| Perturbation | Held-out | Test | Low | High |
| Apostrophe omission | 280 | 1,120 | 2.50 | 5.10 |
| Diacritic removal | 280 | 1,120 | 4.99 | 9.96 |
| Keyboard typos | 280 | 1,120 | 5.00 | 10.14 |
| Total | 840 | 3,360 | – | – |
| Original | Low | High | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | Acc. | ECE | Brier | NLL | Acc. | ECE | Brier | NLL | Acc. | ECE | Brier | NLL |
| Qwen3-8B | 73.96 | 4.67 | 0.370 | 0.654 | 73.18 | 4.88 | 0.379 * | 0.668 * | 72.17 * | 5.61 | 0.388 * | 0.681 * |
| Qwen3-14B | 78.39 | 6.49 | 0.314 | 0.571 | 78.01 | 5.82 | 0.318 | 0.579 | 77.08 * | 6.02 | 0.323 * | 0.589 * |
| Qwen3-32B | 80.65 | 3.77 | 0.276 | 0.506 | 80.48 | 4.20 | 0.283 * | 0.520 * | 79.97 | 4.57 | 0.289 * | 0.529 * |
| Gemma-3-4B-it | 62.41 | 23.95 | 0.597 | 1.123 | 61.67 | 24.09 | 0.603 | 1.127 | 61.07 | 24.19 | 0.608 | 1.130 |
| Gemma-3-12B-it | 75.86 | 16.41 | 0.394 | 0.789 | 75.68 | 16.17 | 0.399 | 0.796 | 74.70 | 16.76 | 0.407 | 0.806 |
| Raw | Calibration | Restoration | Combined | ||||||||||||||
| Size | Intensity | Acc. | ECE | Brier | NLL | Acc. | ECE | Brier | NLL | Acc. | ECE | Brier | NLL | Acc. | ECE | Brier | NLL |
| Qwen3 | |||||||||||||||||
| 8B | Low | 73.18 | 4.88 | 0.379 | 0.668 | 73.18 | 2.40 | 0.376 | 0.663 | 73.33 | 5.05 | 0.374 | 0.661 | 73.33 | 1.95 | 0.371 | 0.655 |
| High | 72.17 | 5.61 | 0.388 | 0.681 | 72.17 | 2.43 | 0.384 | 0.675 | 73.10 | 5.02 | 0.378 | 0.666 | 73.10 | 1.85 | 0.374 | 0.660 | |
| 14B | Low | 78.01 | 5.82 | 0.318 | 0.579 | 78.01 | 2.07 | 0.311 | 0.565 | 78.21 | 6.15 | 0.316 | 0.575 | 78.21 | 2.68 | 0.309 | 0.560 |
| High | 77.08 | 6.02 | 0.323 | 0.589 | 77.08 | 2.57 | 0.317 | 0.576 | 77.86 | 6.04 | 0.319 | 0.581 | 77.86 | 2.23 | 0.312 | 0.566 | |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | French instruction |
|---|---|
| Review rating | Déterminez le degré de satisfaction envers le produit exprimé dans cet avis client Amazon. |
| NLI | Déterminez si l’hypothèse découle de la prémisse, la contredit, ou si leur relation reste indéterminée. |
| Reading comprehension | Répondez à la question en vous fondant uniquement sur le passage. |
| Mathematics | Résolvez cette question de mathématiques. |
| Continuation | Identifiez la continuation la plus plausible et la plus cohérente avec le contexte. |
| Moral action | Identifiez l’action qui respecte le mieux les normes morales et sociales ordinaires compte tenu de la situation et de l’intention. |
| Dataset | Factor | Acc. | ECE | Brier | NLL |
|---|---|---|---|---|---|
| Qwen3-8B | |||||
| MARC | Apostrophe | 55.63 / 57.50 / 57.50 | 17.39 / 16.47 / 17.37 | 0.566 / 0.567 / 0.563 | 0.983 / 0.990 / 0.988 |
| Diacritic | 55.63 / 55.00 / 53.75 | 18.52 / 19.57 / 19.37 | 0.617 / 0.623 / 0.624 | 1.110 / 1.113 / 1.111 | |
| Keyboard | 56.88 / 56.25 / 50.63 | 16.16 / 15.48 / 20.46 | 0.596 / 0.596 / 0.632 | 1.057 / 1.064 / 1.120 | |
| Belebele | Apostrophe | 93.75 / 93.13 / 94.38 | 6.66 / 6.78 / 5.44 | 0.102 / 0.101 / 0.104 | 0.221 / 0.222 / 0.229 |
| Diacritic | 87.50 / 90.63 / 89.38 | 3.12 / 2.65 / 1.49 | 0.171 / 0.155 / 0.168 | 0.347 / 0.322 / 0.347 | |
| Dataset | Factor | Acc. | ECE | Brier | NLL |
|---|---|---|---|---|---|
| Qwen3-32B | |||||
| MARC | Apostrophe | 57.50 / 56.88 / 57.50 | 11.31 / 11.98 / 14.36 | 0.578 / 0.582 / 0.582 | 1.015 / 1.024 / 1.025 |
| Diacritic | 51.88 / 51.25 / 51.25 | 14.61 / 15.34 / 14.03 | 0.610 / 0.614 / 0.614 | 1.085 / 1.092 / 1.089 | |
| Keyboard | 56.25 / 53.75 / 52.50 | 9.90 / 11.12 / 12.47 | 0.548 / 0.568 / 0.605 | 1.005 / 1.041 / 1.101 | |
| Belebele | Apostrophe | 94.38 / 95.63 / 94.38 | 10.08 / 11.06 / 10.04 | 0.088 / 0.086 / 0.093 | 0.222 / 0.218 / 0.229 |
| Diacritic | 94.38 / 93.75 / 92.50 | 10.07 / 11.95 / 10.71 | 0.119 / 0.129 / 0.132 | 0.280 / 0.298 / 0.309 | |
| Dataset | Factor | Acc. | ECE | Brier | NLL |
|---|---|---|---|---|---|
| Gemma-3-12B-it | |||||
| MARC | Apostrophe | 53.13 / 53.75 / 55.00 | 37.91 / 37.03 / 37.29 | 0.786 / 0.779 / 0.786 | 1.687 / 1.668 / 1.669 |
| Diacritic | 51.25 / 52.50 / 52.50 | 38.71 / 37.33 / 38.46 | 0.838 / 0.836 / 0.831 | 1.831 / 1.827 / 1.808 | |
| Keyboard | 59.38 / 55.00 / 54.38 | 29.53 / 32.91 / 33.53 | 0.677 / 0.734 / 0.754 | 1.546 / 1.648 / 1.693 | |
| Belebele | Apostrophe | 93.13 / 93.13 / 92.50 | 4.36 / 4.25 / 3.90 | 0.107 / 0.115 / 0.100 | 0.211 / 0.228 / 0.198 |
| Diacritic | 92.50 / 91.88 / 91.25 | 6.31 / 6.24 / 6.79 | 0.129 / 0.142 / 0.151 | 0.299 / 0.320 / 0.352 | |
| Model | Intensity | Flip | Harm | Help | Acc. | Conf. | HCE O | HCE V | |
|---|---|---|---|---|---|---|---|---|---|
| Qwen3-8B | Low | 4.23 | 2.11 | 1.34 | -0.77 | -0.55 | -0.88 | 7.74 | 7.68 |
| High | 5.89 | 3.42 | 1.64 | -1.79 | -1.03 | -1.61 | 7.74 | 7.95 | |
| Qwen3-14B | Low | 3.39 | 1.58 | 1.19 | -0.39 | -0.74 | -0.68 | 8.07 | 7.80 |
| High | 4.91 | 2.68 | 1.37 | -1.31 | -1.46 | -1.42 | 8.07 | 7.86 | |
| Qwen3-32B | Low | 3.18 | 1.55 | 1.37 | -0.18 | -0.87 | -0.93 | 2.80 | 2.80 |
| High | 4.49 | 2.35 | 1.67 | -0.68 | -1.41 | -1.53 | 2.80 | 2.47 |
| Model | Low | High |
|---|---|---|
| Qwen3-8B | 91.55 [84.48, 97.33] | 86.09 [79.49, 92.17] |
| Qwen3-14B | 96.23 [90.38, 100.00] | 83.33 [75.55, 90.70] |
| Qwen3-32B | 92.31 [84.09, 98.18] | 93.67 [87.50, 98.63] |
| Gemma-3-4B-it | 72.88 [64.66, 80.61] | 63.48 [56.29, 70.41] |
| Gemma-3-12B-it | 96.88 [91.94, 100.00] | 85.34 [78.51, 91.35] |
| Gemma-3-27B-it | 94.03 [87.88, 98.67] | 86.67 [79.27, 93.27] |
| Model | Original | Low | High |
|---|---|---|---|
| Qwen3-8B | 1.1496 | 1.1493 | 1.1652 |
| Qwen3-14B | 1.2223 | 1.2360 | 1.2220 |
| Qwen3-32B | 0.8184 | 0.7948 | 0.8045 |
| Gemma-3-4B-it | 2.0327 | 2.1003 | 2.0985 |
| Gemma-3-12B-it | 1.8867 | 1.8412 | 1.8106 |
| Gemma-3-27B-it | 2.3754 | 2.3778 | 2.3655 |
| All test triplets | Correct to incorrect | |||||||
|---|---|---|---|---|---|---|---|---|
| Model | Intensity | 95% CI | 95% CI | |||||
| Qwen3-8B | Low | 0.069 | 0.202 | [0.174, 0.230] | 71 | 0.848 | -0.083 | [-0.305, 0.137] |
| High | 0.111 | 0.396 | [0.357, 0.435] | 115 | 1.137 | -0.116 | [-0.323, 0.092] | |
| Qwen3-14B | Low | 0.090 | 0.304 | [0.269, 0.338] | 53 | 1.107 | -0.248 | [-0.631, 0.142] |
| High | 0.153 | 0.588 | [0.543, 0.636] | 90 | 1.461 | 0.242 | [-0.026, 0.505] | |
| Qwen3-32B | Low | 0.063 | 0.184 | [0.160, 0.207] | 52 | 0.766 | -0.142 | [-0.351, 0.059] |
| Original | Low | High | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Acc. | Repairs | Harms | Acc. | Repairs | Harms | Acc. | Repairs | Harms |
| Qwen3-8B | +0.03 | 5 | 4 | +0.15 | 54 | 49 | +0.92 | 83 | 52 |
| Qwen3-14B | -0.03 | 2 | 3 | +0.21 | 45 | 38 | +0.77 | 73 | 47 |
| Qwen3-32B | -0.06 | 2 | 4 | +0.18 | 42 | 36 | +0.33 | 64 | 53 |
| Gemma-3-4B-it | -0.03 | 9 | 10 | +0.03 | 93 | 92 | +0.63 | 146 | 125 |
| Gemma-3-12B-it | -0.03 | 3 | 4 | -0.15 | 40 | 45 | +0.21 | 87 | 80 |
| Low | High | ||||
|---|---|---|---|---|---|
| Model | Metric | Difference [95% CI] | Adjusted | Difference [95% CI] | Adjusted |
| Qwen3-8B | Acc. | ||||
| ECE | |||||
| Brier | |||||
| NLL | |||||
| Qwen3-14B | Acc. | ||||
| (a) Calibration and restoration relative to raw variants | |||||
|---|---|---|---|---|---|
| Calibration Raw | Restoration Raw | ||||
| Model | Intensity | ECE | Brier | NLL | Acc. |
| Qwen3-8B | Low | ||||
| High | |||||
| Qwen3-14B | Low | ||||
| High | |||||
Language Model Robustness
Language model robustness studies how reliably language models preserve correct, safe behavior under input changes, distribution shifts, and adversarial pressure.
See all 495 papers