English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

When Are Likely Answers Right? Sequence Probability and Correctness in LLMs Explained

Forum topic · 小凯 · 2026-06-27

Summary

A forum post interprets the paper 'When are likely answers right? On Sequence Probability and Correctness in LLMs' by Johannes Zenn and Jonas Geiping (arXiv:2606.27359). The study systematically examines whether higher sequence probability in large language models correlates with answer correctness, testing 8 decoding methods (low-temperature, top-k, top-p, epsilon sampling, beam search, Best-of-N, power sampling) across 14 models (Qwen2.5/Qwen3, OLMo3) and 6 benchmarks (MATH500, GPQA, HumanEval, IFEval, MedQA, MMLU) at four granularity levels. Key findings: probability is a useful correctness signal across samples within a dataset (nearly perfect correlation r=+0.96 on MATH500, negative on IFEval), but not across decoding methods or hyperparameter choices, and nearly useless for selecting among repeated samples of the same prompt. Post-trained models show better calibration than base models. The reliability of probability signals depends on the model's baseline accuracy, which has major implications for self-consistency voting and verifier-free self-improvement approaches.

When Are Likely Answers Right? On Sequence Probability and Correctness in LLMs

> Paper: When are likely answers right? On Sequence Probability and Correctness in LLMs > Authors: Johannes Zenn, Jonas Geiping > arXiv: 2606.27359

The Core Question

In LLMs, a high sequence probability means an output feels "natural" and "fluent" to the model — it is the most *salient* answer. But is the most salient answer necessarily the correct one? This paper systematically studies the relationship between how "likely" an answer is and how "right" it actually is — the same question we implicitly address whenever we tune temperature, beam search, or top-p sampling.

Decoding Methods: Local vs. Global

Local decoding (per-token decisions)

  • Low-Temperature Sampling (LTS): picks conservatively from the highest-probability tokens; lower temperature = more conservative.
  • Top-k / Top-p sampling: only consider the top-k tokens or tokens whose cumulative probability reaches p.
  • ε-sampling: any token above a small probability threshold ε can be selected.
  • All of these make local decisions; locally optimal choices don't guarantee a globally optimal sequence.

    Global decoding (whole-sequence optimization)

  • Beam Search: tracks K candidate paths; K=1 reduces to greedy decoding. Famously, beam search tends to produce repetitive, bland text of *lower* quality.
  • Best-of-N (BoN): generates N full responses, picks the highest-probability one. As N→∞ it approaches the mode of the distribution.
  • Power Sampling: sharpens the whole sequence-level distribution by exponent α without changing local choices; larger α concentrates mass on high-probability sequences.
  • Variational view

    The paper shows all global decoding methods optimize a variational objective balancing expected sequence probability and output diversity. The power distribution pα is the analytic solution; as α→∞, optimization collapses to the distribution's mode, explaining why large-N BoN resembles large-α power sampling.

    Four Levels of Experimental Analysis

    The authors ran correlation analyses across 8 decoding methods, 14 models (Qwen2.5, Qwen3, OLMo3 series), and 6 benchmarks (MATH500, GPQA, HumanEval, IFEval, MedQA, MMLU), at four levels:

    1. Across-method correlation

    Compared against an LTS baseline (α=4): does higher probability mean higher accuracy? MATH500 showed mostly "green" (probability ↑, accuracy ↑), but MMLU, HumanEval, MedQA, GPQA, and IFEval showed many cases of "yellow" (probability ↑, accuracy ↓) and "blue" (probability ↓, accuracy ↑). No method stably beats the LTS baseline, and higher-probability answers are not necessarily more correct.

    2. Within-method correlation

    Increasing hyperparameters reliably yields higher-probability sequences — but accuracy goes up about half the time and down the other half. There is no universal "more conservative = more correct" rule; hyperparameters must be tuned per method, model, and dataset.

    3. Within-dataset correlation (the most exciting finding)

    Bin samples into 10 probability buckets and measure accuracy per bucket:
  • MATH500: near-perfect positive correlation (Pearson r = +0.96).
  • GPQA, HumanEval, MedQA, MMLU: moderate positive correlation.
  • IFEval: negative correlation — the more "confident" the answer, the more likely it is wrong (likely because base models treat fluently formatted but instruction-violating outputs as high probability).
  • A key observation: post-trained models are almost always positively correlated, while base models are variable and often negative. Post-training (SFT/RLHF) improves not just capability but also calibration — the model's judgment of its own correctness.

    4. Within-sample correlation

    For a single prompt sampled 32 times, correlation coefficients distribute symmetrically around zero: probability tells you almost nothing about which sample is correct. The exception: when the model is already highly accurate on that question, the correlation strengthens significantly.

    Core Conclusions: The Usability Boundary of Probability

    1. Across samples (within a dataset): probability is a useful signal — models can usually distinguish correct from incorrect answers — but signal strength depends on task type and model quality. 2. Across methods/hyperparameters: probability is not a useful selection criterion. 3. Across repeated attempts on the same prompt: probability is nearly useless for picking the best answer. 4. Key precondition: the reliability of the probability signal correlates with the model's baseline accuracy on the task. Only a strong-enough model can use probability as a self-improvement cue.

    Practical Implications

    Decoding strategy

  • Don't blindly trust global methods: beam search and power sampling find high-probability sequences, not necessarily better ones. Simple low-temperature sampling is often sufficient.
  • Hyperparameter tuning is necessary; no universal optimal configuration exists.
  • On math tasks, power sampling is almost always beneficial — the one task where probability and correctness align strongly.
  • Self-consistency

  • Standard self-consistency works better with uniform voting than probability-weighted voting, since within a single question, probability barely correlates with correctness.
  • Power self-consistency helps on MATH but is unstable elsewhere.
  • Verifier-free self-improvement

    Methods that use probability itself as a reward signal (e.g., self-distillation on high-probability samples) face a serious caveat: the probability signal is only reliable once the model is already sufficiently accurate. Otherwise the model reinforces wrong patterns — like a failing student grading their own exam and marking wrong answers as correct.

    Closing Thought

    Probability is a multifaceted tool: informative across samples, nearly random within repeated attempts, and unreliable for method selection. This is not pessimistic — it is a more precise map of when to trust probability and when to set it aside.

    References

  • Zenn J., Geiping J. (2026). *When are likely answers right? On Sequence Probability and Correctness in LLMs*. arXiv:2606.27359.
  • Holtzman, A., et al. (2020). *The Curious Case of Neural Text Degeneration*. ICLR.
  • Wang, X., et al. (2023). *Self-Consistency Improves Chain of Thought Reasoning in Language Models*. ICLR.
  • Yang, A., et al. (2025). *Qwen3 Technical Report*. arXiv.

Tags

#llm#decoding-strategies#sequence-probability#model-calibration#self-consistency#paper-interpretation#power-sampling#beam-search

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208230