Calibrated Language Models and How to Find Them with Label Smoothing
Not on the map. Why?
Abstract (arXiv)
Recent advances in natural language processing (NLP) have opened up greater opportunities to enable fine-tuned large language models (LLMs) to behave as more powerful interactive agents through improved instruction-following ability. However, understanding how this impacts confidence calibration for reliable model output has not been researched in full. In this work, we examine various open-sourced LLMs, identifying significant calibration degradation after instruction tuning in each. Seeking a practical solution, we look towards label smoothing, which has been shown as an effective method to regularize for overconfident predictions but has yet to be widely adopted in the supervised fine-tuning (SFT) of LLMs. We first provide insight as to why label smoothing is sufficient to maintain calibration throughout the SFT process. However, settings remain where the effectiveness of smoothing is severely diminished, in particular the case of large vocabulary LLMs (LV-LLMs). We posit the cause to stem from the ability to become over-confident, which has a direct relationship with the hidden size and vocabulary size, and justify this theoretically and experimentally. Finally, we address an outstanding issue regarding the memory footprint of the cross-entropy loss computation in the label smoothed loss setting, designing a customized kernel to dramatically reduce memory consumption without sacrificing speed or performance in comparison to existing solutions for non-smoothed losses.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 32 of its 43 references that are in the map. First posted on arXiv 1 Aug 2025.
Builds on
32 of 43 references.
References · 32
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2019When Does Label Smoothing Help?cited by 988
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 974
20 more
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
- 2019Measuring Calibration in Deep Learningcited by 446
- 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 408
- 2021Revisiting the Calibration of Modern Neural Networkscited by 390
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
- 2020Does label smoothing mitigate label noise?cited by 204
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
- 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2020Self-Distillation as Instance-Specific Label Smoothingcited by 71
- 2021To Smooth or Not? When Label Smoothing Meets Noisy Labelscited by 70
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 40
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolationcited by 9
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 16
- 2025Prompting from the bench: Large-scale pretraining is not sufficient to prepare LLMs for ordinary meaning analysiscited by 4
- 2026CATTO: Balancing Preferences and Confidence in Language Modelscited by 4
- 2026Balancing Classification and Calibration Performance in Decision-Making LLMs via Calibration Aware Reinforcement Learningcited by 3
- 2026A Unifying Lens on Supervised Fine-Tuning Through Target Distribution Designcited by 0
- 2026Beyond Post-Hoc Temperature Scaling: Bilevel Optimization for LLM Calibrationcited by 0
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Controlcited by 0
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Control21 Sep 2026
- 2026Beyond Post-Hoc Temperature Scaling: Bilevel Optimization for LLM Calibration7 Aug 2026
- 2026A Unifying Lens on Supervised Fine-Tuning Through Target Distribution Design9 Jun 2026
- 2026CATTO: Balancing Preferences and Confidence in Language Models30 Jan 2026
- 2026Balancing Classification and Calibration Performance in Decision-Making LLMs via Calibration Aware Reinforcement Learning19 Jan 2026
- 2025Prompting from the bench: Large-scale pretraining is not sufficient to prepare LLMs for ordinary meaning analysis29 Oct 2025
- 2025Mamba Modulation: On the Length Generalization of Mamba23 Sep 2025