paper-with-me

홈 › Papers

The Well-Tempered Classifier: Some Elementary Properties of Temperature Scaling

2026-02-16 · Pierre-Alexandre Mattei, Bruno Loureiro arxiv

Temperature scaling is a simple method that allows to control the uncertainty of probabilistic models. It is mostly used in two contexts: improving the calibration of classifiers and tuning the stochasticity of large language models (LLMs). In both cases, temperature scaling is the most popular method for the job. Despite its popularity, a rigorous theoretical analysis of the properties of temperature scaling has remained elusive. We investigate here some of these properties. For classification, we show that increasing the temperature increases the uncertainty in the model in a very general sense (and in particular increases its entropy). However, for LLMs, we challenge the common claim that increasing temperature increases diversity. Furthermore, we introduce two new characterisations of temperature scaling. The first one is geometric: the tempered model is shown to be the information projection of the original model onto the set of models with a given entropy. The second characterisation clarifies the role of temperature scaling as a submodel of more general linear scalers such as matrix scaling and Dirichlet calibration: we show that temperature scaling is the only linear scaler that does not change the hard predictions of the model.

📄 PDF Abstract BibTeX arXiv:2602.14862

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Tempered Hilbert Simplex Distance and Its Application To Non-linear Embeddings of TEMs

2023-11-22 · Ehsan Amid, Frank Nielsen, Richard Nock, Manfred K. Warmuth

Tempered Exponential Measures (TEMs) are a parametric generalization of the exponential family of distributions maximizing the tempered entropy function among positive measures subject to a probability normalization of t…

Fitting Generalized Tempered Stable distribution: Fractional Fourier Transform (FRFT) Approach

2022-05-02 · A. H. Nzokem, V. T. Montshiwa

The paper investigates the rich class of Generalized Tempered Stable distribution, an alternative to Normal distribution and the $\alpha$-Stable distribution for modelling asset return and many physical and economic syst…

Boosting with Tempered Exponential Measures

2023-06-08 · NeurIPS 2023 11

One of the most popular ML algorithms, AdaBoost, can be derived from the dual of a relative entropy minimization problem subject to the fact that the positive weights on the examples sum to one. Essentially, harder examp…

Improving Text Generation Evaluation with Batch Centering and Tempered Word Mover Distance

2020-10-13 · EMNLP (Eval4NLP) 2020 11 · Xi Chen, Nan Ding, Tomer Levinboim, Radu Soricut

Recent advances in automatic evaluation metrics for text have shown that deep contextualized word representations, such as those generated by BERT encoders, are helpful for designing metrics that correlate well with huma…

Text Generation

Interpolating Classifiers Make Few Mistakes

2021-01-28 · Tengyuan Liang, Benjamin Recht

This paper provides elementary analyses of the regret and generalization of minimum-norm interpolating classifiers (MNIC). The MNIC is the function of smallest Reproducing Kernel Hilbert Space norm that perfectly interpo…