Paper: 2606.27359 Authors: Johannes Zenn, Jonas Geiping Categories: stat.ML, cs.LG

The Gap

Existing decoding methods (greedy, beam search, top-k, nucleus sampling, etc.) all push probability mass toward more likely sequences — either locally (token-level) or globally (sequence-level). The implicit assumption is that higher model probability correlates with correctness. However, no prior work had systematically quantified this relationship across multiple dimensions: methods, hyperparameters, prompt-answer pairs, and repeated responses. Prior evaluations either assumed the correlation (e.g., in MBR decoding or self-consistency) or only tested isolated cases. This paper fills the gap by asking: when does this assumption hold, and when does it break?

[Problem: Decoding methods shift prob to likely outputs]
        |
        v
[Assumption: higher seq prob -> more correct answers]
        |
        v
[Method: Quantify prob-correctness alignment at 4 levels]
        |
        v
[Evidence: alignment is conditional; breaks across methods/hyperparams/repeats]
        |
        v
[Conclusion: decoding cannot be expected to reliably improve correctness]

The Increment

One sentence: Before this paper, it was common to treat sequence probability as a proxy for correctness; after this paper, we know that probability is only a correct proxy when comparing different answers to the same prompt across a dataset, and fails entirely for choosing among decoding methods or hyperparameters, or for picking among repeated responses to the same prompt.

Core Mechanism

The authors propose no new algorithm. Instead, they design a controlled measurement framework. They take a fixed set of prompts (from benchmarks). For each prompt, they generate continuations using different decoding methods (greedy, beam, top-k, top-p, typical, etc.) and different hyperparameter settings (temperature, top-k range, beam width, etc.). For each generated continuation, they record both its sequence probability (the log-prob of the entire output under the model) and whether it is correct (based on benchmark labels). They then compute correlation measures and compare across four levels:

  • Across methods: does a method that yields higher probability sequences also yield higher accuracy?
  • Across hyperparameters within a method: does increasing temperature (which usually lowers probability) hurt accuracy? Or does narrowing top-k (which increases probability) help?
  • Across prompt-answer pairs within a fixed dataset: among all answers to different prompts, are those with higher probability more likely to be correct?
  • Across repeated responses to the same prompt: if you sample multiple times from the same model with the same hyperparameters, does the most probable response tend to be the correct one?

The data flow: Prompt -> Model (with fixed decoding config) -> Sequence (utterance) -> Compute log-probability -> Compare to ground-truth correctness label -> Aggregate into per-level correlation stats.

  +---

![Concept animation](/arxiv-visuals/when-are-likely-answers-right-on/ConceptScene.gif)

------+   +-----------+   +--------+   +---------+
  | Prompt  |-> | LLM Model |-> | Output |-> | Prob    |
  +---------+   +-----------+   +--------+   +---------+
                                            \|/
                +-----------------+    +-------------+
                | Correctness?    |<- | Label from  |
                | (binary)        |    | benchmark   |
                +-----------------+    +-------------+
                     |
                     v
     +-------------------------------+ 
     | Compare prob vs correctness   |
     | at four levels:               |
     | 1) across methods             |
     | 2) across hyperparameters     |
     | 3) across prompt-answer pairs |
     | 4) across repeated responses  |
     +-------------------------------+

Structural metaphor: Think of sequence probability as a thermometer reading, and correctness as whether it’s actually raining outside. You have four scenarios:

  • Across cities (different prompts): temperature readings correlate with rain probability — warmer cities tend to be rainier? That’s the “across prompt-answer pairs” level; it holds.
  • Across weather stations in the same city (different responses to the same prompt): temperature readings from different stations are all similar and don’t tell you which one is truly raining—that’s the “repeated responses” level; probability doesn’t discriminate because all samples have nearly equal probability.
  • Changing the thermometer type (different decoding methods): a mercury thermometer and a digital thermometer give different readings; the higher reading doesn’t tell you more rain—that’s “across methods”; the alignment breaks.
  • Adjusting the measurement unit (hyperparameters like temperature): moving from Celsius to Kelvin shifts all numbers; a higher number doesn’t mean more rain—that’s “across hyperparameters”; also broken.

So the thermometer (probability) is only useful when comparing apples to apples across different cities; otherwise it’s a distraction.

Key Concepts

  • Sequence probability: The conditional probability of an entire generated token sequence given the prompt, computed as the product of token-level probabilities (in log space). It’s a single scalar that the model itself assigns to its output. High sequence probability doesn’t mean “the model is confident” in any human sense — it means the output lies in a high-density region of the model’s distribution. The paper uses it as the independent variable.

  • Correctness: A binary label from a benchmark dataset (e.g., whether the answer matches the expected output on GSM8K or MMLU). Important nuance: correctness is defined externally, not by the model. The entire paper hinges on comparing an intrinsic property (probability) with an extrinsic property (correctness).

  • Decoding methods: Algorithms that convert the model’s token probability distribution into a concrete output sequence. Greedy always takes the most likely token. Beam search keeps a set of high-probability partial sequences. Top-k and top-p restrict the sampling pool. Each method implicitly biases toward higher or lower sequence probabilities. The paper treats the method itself as a treatment variable.

Framework Shift

Before (mainstream assumption):        After (this paper):

  [model distribution]                    [model distribution]
        |                                        |
  [decode method]                          [decode method]
        |                                        |
  [high prob output]        +---X---?---X-> [output correctness]
        |                    |            |
  [more correct?]            +--> prob helps across pairs
                                     but not across methods
                                     , hyperparams, or repeats

From “higher sequence probability → more correct answers” to “sequence probability predicts correctness only when comparing different answers to different prompts under the same decoding conditions.” The core shift is context dependence: the signal in probability is dataset-relative, not absolute or invariant.

Expert Assessment

Problem choice: Real gap. Prior work often assumed the link between likelihood and correctness (e.g., in self-consistency and MBR). Showing that the link is conditional is both practically important and theoretically underexplored. The paper sits at a critical junction between decoding theory and applied LLM usage.

Method maturity: Clever in its simplicity — no new algorithm, just careful measurement. However, the analysis is entirely empirical. There is no theoretical explanation for why the breakdown occurs (e.g., why across methods the correlation disappears). A more mature paper might attempt a causal model or prove a bound. The approach is brute-force experimental, which is fine for a gap-filling paper, but lacks depth.

Experimental integrity: Baselines are fair (they compare standard decoding methods). The four-level decomposition is clean. However, I worry about statistical power: the number of repeats per prompt (e.g., 10 or 100) could affect the across-repeated-responses conclusion. The paper does not report confidence intervals or effect sizes thoroughly. Another red flag: all experiments use a single model family (likely Llama or similar)? The paper abstract mentions “models” plural, but the actual experiments may be limited. If they only test one base model, generalization claims are weak.

Writing quality: Well structured, but the results section is dense with numbers. The authors could cut the steady stream of correlation values and instead show a summarizing decision tree or a cheat-sheet table. The weakest section is the conclusion — they list practical guidance but don’t connect it back to the four-level framework cleanly. Rewriting the conclusion as a “when to trust probability” rule set would elevate the paper.

Verdict: weak accept — the question is important and the evidence is sufficient to shift practice, but the paper lacks theoretical grounding and statistical rigor.

Takeaways

  • Don’t tune hyperparameters to increase sequence probability: higher temperature (lower probability) sometimes improves accuracy; lowering temperature (higher probability) can hurt. The paper’s data shows that accuracy and probability are not monotonic across hyperparameters.
  • Self-consistency (majority vote across samples) relies on the assumption that the most frequent answer is correct — but note that frequency correlates weakly with average probability. This paper suggests self-consistency might work not because the most probable answer is right, but because majority voting averages out random noise. The “correct answer” may not be the one with highest sequence probability.
  • If you must use probability for selection (e.g., in MBR), restrict comparisons to outputs generated under the same decoding method and same hyperparameter configuration. Cross-method probability comparisons are meaningless.
  • For verifier-free self-improvement (e.g., training on high-probability outputs), beware that high probability can be a misleading target. Better to filter by correctness (if labels exist) or by consistency across multiple samples.

论文: 2606.27359 作者: Johannes Zenn, Jonas Geiping 分类: stat.ML, cs.LG

缺口

现有的解码方法(贪心、束搜索、top-k、核采样等)都在将概率质量推向更可能的序列——无论是词级别还是序列级别。 隐含的假设是更高的模型概率与正确性相关。 然而,没有工作系统地量化这种关系在多个维度上的一致性:方法、超参数、提示-答案对、以及重复响应。 先前的工作要么默认这个假设成立(如MBR解码或自一致性),要么只测试了孤立的案例。 这篇论文填补了空白,提出了一个核心问题:这个假设何时成立,何时失效?

[问题:解码方法将概率推向高可能输出]
        |
        v
[假设:高序列概率 -> 更正确的答案]
        |
        v
[方法:在4个层面量化概率-正确性对齐]
        |
        v
[证据:对齐是有条件的;在跨方法/超参数/重复时失效]
        |
        v
[结论:解码不能可靠地提升正确性]

增量

一句话:这篇论文之前,人们普遍将序列概率视为正确性的代理;之后,我们知道概率只在比较同一数据集内不同提示的答案时有效,而在选择解码方法、超参数或同一提示的多次响应中完全不可靠。

核心机制

作者没有提出新算法,而是设计了一个受控的测量框架。 他们选用一组固定提示(来自标准基准),对每个提示使用不同的解码方法(贪心、束搜索、top-k、top-p、typical等)和不同的超参数设置(温度、top-k范围、束宽等)生成续写。 对于每个生成的续写,记录其序列概率(整个输出的对数概率)以及它是否正确(基于基准标签)。 然后计算相关性指标,并在四个层面进行比较:

  • 跨方法:产生更高概率序列的方法是否也产生更高的正确率?
  • 跨超参数(同一方法内):提高温度(通常降低概率)会损害正确率吗?缩小top-k(提高概率)有帮助吗?
  • 跨提示-答案对(同一数据集内):在所有不同提示的答案中,概率更高的答案更可能正确吗?
  • 跨重复响应(同一提示):如果从同一模型、相同参数多次采样,最可能的响应是否倾向于正确?

数据流:提示 -> 模型(带固定解码配置) -> 输出序列 -> 计算对数概率 -> 与真实正确标签比较 -> 聚合成每个层面的相关性统计。

  +---------+   +-----------+   +--------+   +---------+
  | 提示    |-> | LLM 模型  |-> | 输出   |-> | 概率    |
  +---------+   +-----------+   +--------+   +---------+
                                            \|/
                +-----------------+    +-------------+
                | 是否正确?       |<- | 基准标签   |
                | (二值)           |    |             |
                +-----------------+    +-------------+
                     |
                     v
     +-------------------------------+
     | 比较概率与正确性              |
     | 在四个层面:                  |
     | 1) 跨方法                    |
     | 2) 跨超参数                  |
     | 3) 跨提示-答案对             |
     | 4) 跨重复响应                |
     +-------------------------------+

结构隐喻:把序列概率想象成温度计读数,正确性想象成外面是否下雨。 有四种场景:

  • 跨城市(不同提示):温度读数与降雨概率相关——温暖的城市更容易下雨?这就是”跨提示-答案对”层面,成立。
  • 同城市内的不同气象站(同一提示的不同响应):各气象站读数相近,无法判断哪个站报告的是真实降雨——这是”重复响应”层面,概率无法区分,因为所有样本的概率几乎相等。
  • 换温度计类型(不同解码方法):水银温度计和数字温度计读数不同,但更高的读数不代表更多降雨——这是”跨方法”层面,失效。
  • 改变度量单位(超参数如温度):从摄氏度转到开尔文,数值整体移动,更高数值不意味着更多降雨——这是”跨超参数”层面,同样失效。

因此,温度计(概率)只有在跨城市比较时才有效,其他情况下是个干扰。

关键概念

  • 序列概率:给定提示后,整个生成的 token 序列的条件概率,由 token 级概率乘积(在对数空间)得到。 它是一个标量,表示模型认为该输出位于其分布的高密度区域。 高序列概率并不等同于”模型有把握”——它只意味着输出是模型认为”常见”的句子。 本文将其作为自变量。
  • 正确性:来自基准数据集的二值标签(例如,在 GSM8K 或 MMLU 上答案是否匹配期望输出)。 关键点是:正确性由外部定义,而非模型。 全文的核心就在于比较内在属性(概率)和外在属性(正确性)。
  • 解码方法:将模型 token 概率分布转化为具体输出序列的算法。 贪心始终取最可能 token;束搜索保留一组高概率部分序列;top-k 和 top-p 限制采样池。 每种方法隐式地偏向更高或更低的序列概率。 本文将方法本身视为一种处理变量。

框架转变

之前(主流假设):                  之后(本文):

  [模型分布]                          [模型分布]
        |                                  |
  [解码方法]                          [解码方法]
        |                                  |
  [高概率输出]       +---X---?---X-> [输出正确性]
        |                |            |
  [更正确?]            +--> 概率在跨答案对时有效
                             但跨方法、超参数
                             、重复响应时失效

从”高序列概率 → 更正确的答案”转变为”序列概率仅在相同解码条件下、比较不同提示的答案时能预测正确性”。 核心转变是情境依赖性:概率中的信号是数据集相对的,而不是绝对的或不变的。

专家评审

选题眼光:真缺口。 先前工作经常默认似然度与正确性相关(例如自一致性和MBR)。 揭示这种关系是有条件的,既有实际意义又在理论上未被充分探索。 该论文处于解码理论与LLM应用之间的关键交汇点。

方法成熟度:巧妙在简洁——没有新算法,只是仔细测量。 然而,分析完全是经验性的,没有理论解释为何关系会破裂(例如跨方法相关性消失的原因)。 更成熟的论文可能会尝试因果模型或证明某个界限。 暴力实验法对于填补空白论文来说可以接受,但缺乏深度。

实验诚意:基线公平(比较了标准解码方法)。 四个层面的分解很清晰。 但存在疑虑:每个提示的重复次数(例如10次或100次)可能影响跨重复响应的结论。 论文没有充分报告置信区间或效应量。 另一个危险信号:所有实验可能只使用了一个模型家族(如Llama?)。 摘要提到”models”复数,但实际实验可能有限。 如果只测试一个基础模型,泛化性主张较弱。

写作功力:结构良好,但结果部分数字密集。 作者可以减少接连不断的相关系数值,改为展示一个决策树或速查表。 最弱的段落是结论——他们列出了实用指导,但没有将其与四个层面的框架清晰连接。 将结论改写成”何时信任概率”的规则集,会使整篇论文提升一个档次。

判决:弱接收——问题重要,证据足以改变实践,但缺乏理论根基和统计严谨性。

要点总结

  • 不要通过调超参数来提高序列概率:提高温度(降低概率)有时反而提升正确率;降低温度(提高概率)可能有害。 论文数据显示正确率和概率在超参数维度上并非单调。
  • 自一致性(多轮采样的多数投票)依赖于假设最频繁答案是正确的——但需注意:频率与平均概率弱相关。 这篇论文暗示自一致性之所以有效,不是因为最可能答案正确,而是因为多数投票平滑了随机噪声。 “正确答案”可能不是序列概率最高的那个。
  • 如果必须使用概率进行选择(例如MBR),请限制比较范围:只在相同解码方法和相同超参数配置下生成的输出之间比较。 跨方法的概率比较毫无意义。
  • 对于无验证器的自我改进(例如在高概率输出上训练),注意高概率可能是一个误导性目标。 更好的做法是根据正确性(若有标签)或多个样本间的一致性来筛选。