跳到正文
arXiv cs.CL· Aviv Orly (School of Physics and Astronomy, Tel Aviv University, Israel), Ori Shem-Ur (School of Physics and Astronomy, Tel Aviv University, Israel), Yaron Oz (School of Physics and Astronomy, Tel Aviv University, Israel)·· 10 小时前AI 评分29

一个温度就够了?多温度采样在大模型 pass@K 推理中的实际收益研究

One Temperature to Rule Them All?

AI 导读

特拉维夫大学团队在 pass@K 设定下分析了多个模型与数据集上逐题成功概率随采样温度的变化,发现难题更难共享高效采样温度,但这一趋势仅随难度对数增长。他们提出高效评估理论最优多温度分配方案的方法,结果显示在按采样预算 K 调优温度时,多温度方案相对单温度基线的提升通常有限,并用“dulling effects”机制解释了温度选择在不同题目分布下的稳健性。

正文 · 原文

Authors:Aviv Orly (1), Ori Shem-Ur (1), Yaron Oz (1) ((1) School of Physics and Astronomy, Tel Aviv University, Israel)

View PDF HTML (experimental)

Abstract:Inference-time sampling is a central mechanism for improving large language models, with temperature controlling the tradeoff between reliability and diversity. While recent work suggests that varying temperature across samples can improve multi-sample inference, simple fixed-temperature schemes remain the standard in practice. We investigate this discrepancy in the canonical pass@K setting, asking when temperature diversity is useful, and when a single tuned temperature suffices. To this end, we analyze per-question success probabilities across multiple models and datasets, tracking how they vary with sampling temperature. We identify several consistent properties of these profiles, including that harder questions are less likely to share efficient sampling temperatures, although this trend is only logarithmic in hardness. We then derive an efficient method for evaluating the theoretically optimal multi-temperature allocation scheme, and show that although such a scheme improves performance, its gains over single-temperature baselines are typically modest when temperature is tuned as a function of the sampling budget K. We explain this phenomenon through mathematical mechanisms that we call dulling effects, and show how they ensure the robustness of temperature choices across different question distributions. Our results clarify when multi-temperature sampling is useful, and how temperatures should ideally be chosen.
Comments: Accepted at NeurIPS 2026. 82 pages, 45 figures, 6 tables. Code: this https URL
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2611.13077 [cs.LG]
  (or arXiv:2611.13077v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2611.13077

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Aviv Orly [view email]
[v1] Mon, 9 Nov 2026 19:00:01 UTC (18,550 KB)

来源:arXiv cs.CL · arxiv.org