mlsanityData to 7 Oct 2026

Contextual Temperature for Language Modeling

arXiv 2012.13575 ↗First posted 25 Dec 2020cs.CL cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

Temperature scaling has been widely used as an effective approach to control the smoothness of a distribution, which helps the model performance in various tasks. Current practices to apply temperature scaling assume either a fixed, or a manually-crafted dynamically changing schedule. However, our studies indicate that the individual optimal trajectory for each class can change with the context. To this end, we propose contextual temperature, a generalized approach that learns an optimal temperature trajectory for each vocabulary over the context. Experimental results confirm that the proposed method significantly improves state-of-the-art language models, achieving a perplexity of 55.31 and 62.89 on the test set of Penn Treebank and WikiText-2, respectively. In-depth analyses show that the behaviour of the learned temperature schedules varies dramatically by vocabulary, and that the optimal schedules help in controlling the uncertainties. These evidences further justify the need for the proposed method and its advantages over fixed temperature schedules.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Dec 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 1; 2023: 0; 2024: 10; 2025: 5; 2026: 7.

25 papers.

Sort:

By area:

  1. 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
  2. 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
  3. 2025Reasoning with Sampling: Your Base Model is Smarter Than You Thinkcited by 84
  4. 2024Large Language Models have Intrinsic Self-Correction Abilitycited by 45
  5. 2026Scalable Power Sampling: Unlocking Efficient, Training-Free Reasoning for LLMs via Distribution Sharpeningcited by 27
  6. 2024Adaptive Preference Scaling for Reinforcement Learning with Human Feedbackcited by 20
  7. 2021Straight to the Gradient: Learning to Use Novel Tokens for Neural Text Generationcited by 19
  8. 2024Cognitive Overload Attack:Prompt Injection for Long Contextcited by 13
  9. 2025Certified Self-Consistency: Statistical Guarantees and Test-Time Training for Reliable Reasoning in LLMscited by 12
  10. 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
  11. 2025TreeSynth: Synthesizing Diverse Data from Scratch via Tree-Guided Subspace Partitioningcited by 6
  12. 2024Improving Local Training in Federated Learning via Temperature Scalingcited by 5
13 more
  1. 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learningcited by 4
  2. 2026Sampling for Quality: Training-Free Reward-Guided LLM Decoding via Sequential Monte Carlocited by 4
  3. 2021Learning Natural Language Generation from Scratchcited by 2
  4. 2024From Text to Pose to Image: Improving Diffusion Model Control and Qualitycited by 1
  5. 2025A statistically consistent measure of semantic uncertainty using Language Modelscited by 1
  6. 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Datacited by 1
  7. 2022Fine-tune your Classifier: Finding Correlations With Temperaturecited by 0
  8. 2024Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Modelscited by 0
  9. 2025Temperature in SLMs: Impact on Incident Categorization in On-Premises Environmentscited by 0
  10. 2026Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generationcited by 0
  11. 2026Thinking effort aligns between humans and reasoning models in abductive reasoningcited by 0
  12. 2026TeMo: Temperature Modulation for Multimodal Contrastive Learningcited by 0
  13. 2026Sampling via Decision-Flow: Training-Free Extraction of Improved Latent Reasoning Paths in Large Language Modelscited by 0