paper-with-me

홈 › Papers

The Effect of Sampling Temperature on Problem Solving in Large Language Models

2024-02-07 · Matthew Renze, Erhan Guven

In this research study, we empirically investigate the effect of sampling temperature on the performance of Large Language Models (LLMs) on various problem-solving tasks. We created a multiple-choice question-and-answer (MCQA) exam by randomly sampling problems from standard LLM benchmarks. Then, we used nine popular LLMs with five prompt-engineering techniques to solve the MCQA problems while increasing the sampling temperature from 0.0 to 1.6. Despite anecdotal reports to the contrary, our empirical results indicate that changes in temperature from 0.0 to 1.0 do not have a statistically significant impact on LLM performance for problem-solving tasks. In addition, these results appear to generalize across LLMs, prompt-engineering techniques, and problem domains. All code, data, and supplemental materials are available on GitHub at: https://github.com/matthewrenze/jhu-llm-temperature

📄 PDF Abstract BibTeX arXiv:2402.05201

Code (1)

matthewrenze/jhu-llm-temperature 공식 구현

Tasks

Multiple-choicePrompt Engineering

Similar Papers 제목 키워드 기반

Temperature-Dependent Performance of Prompting Strategies in Extended Reasoning Large Language Models

2026-03-18 · Mousa Salah, Amgad Muneer arxiv

Extended reasoning models represent a transformative shift in Large Language Model (LLM) capabilities by enabling explicit test-time computation for complex problem solving. However, the optimal configuration of sampling…

On the Role of Temperature Sampling in Test-Time Scaling

2025-10-02 · Yuheng Wu, Azalia Mirhoseini, Thierry Tambe arxiv

Large language models (LLMs) can improve reasoning at inference time through test-time scaling (TTS), where multiple reasoning traces are generated and the best one is selected. Prior work shows that increasing the numbe…

Reinforcement Learning

EDT: Improving Large Language Models' Generation by Entropy-based Dynamic Temperature Sampling

2024-03-21 · Shimao Zhang, Yu Bao, ShuJian Huang

Recently, Large Language Models (LLMs) have demonstrated outstanding performance across a wide range of downstream language tasks. Temperature sampling is a commonly used decoding strategy for LLMs' generation process. H…

Diversity

Control the Temperature: Selective Sampling for Diverse and High-Quality LLM Outputs

2025-09-20 · Sergey Troshin, Wafaa Mohammed, Yan Meng, Christof Monz 외 arxiv

Diversity is an essential metric for evaluating the creativity of outputs generated by language models. Temperature-based sampling is a common strategy to increase diversity. However, for tasks that require high precisio…

Mathematical Reasoning

Physics-Informed Machine Learning for Two-Phase Moving-Interface and Stefan Problems

2025-12-16 · Che-Chia Chang, Te-Sheng Lin, Ming-Chih Lai arxiv

The Stefan problem is a classical free-boundary problem that models phase-change processes and poses computational challenges due to its moving interface and nonlinear temperature-phase coupling. In this work, we develop…