cs.CLOct 22, 2026

Latent Coherence: Do Frontier Language Models' Probability Judgments Obey the Law of Total Probability?

Authors: Peter Potash

Abstract

LawZero's Scientist AI trains a Predictor toward the Bayesian posterior, with an objective that penalizes inconsistent probabilities among latent explanations. We ask whether current frontier language models, with no such training, are already consistent in this sense zero-shot: do their probability judgments satisfy the law of total probability, P(X)=∑zP(z)P(X∣z)P(X)=\sum_z P(z)P(X|z), when the latent zz must be inferred from records in the context? In separate single-turn calls, models are asked for P(X)P(X), for P(z)P(z) over the latent's states, and for P(X∣z)P(X|z); a causal family applies the same test to P(y∣do(x))P(y|do(x)) and the back-door adjustment. Every query has an exact ground-truth probability, and a subset of items is asked in three wordings to separate persistent incoherence from rewording noise. Across seven models, GPT-6.1 Sol and Claude Opus 5.5 are the most coherent (mean absolute residual 0.08 and 0.12 log-odds, about 2 percentage points). Claude Haiku 5.5, Gemini 3.8 Flash and DeepSeek V4-Pro show persistent incoherence (0.27-0.35 log-odds) that is mostly item-specific rather than a shared offset. Within every model, larger residuals go with larger errors against the truth (Spearman 0.40-0.62), so the residual, which needs no ground truth, flags unreliable answers. Reasoning length does not predict coherence, across models or within a model across rewordings of the same question. Simple consistency checks pass almost everywhere; the failures are specific to reasoning through a latent variable. Code and data: https://github.com/ppotash/latent-coherence

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond Calibration: Do a Typed-Decision Model's Probabilities Obey the Probability Axioms?

    Sep 27, 2026Keyi Li, Yihao He, Quanyi LiReasoning Consistency in Language Models

  2. Probabilistic Attribution For Large Language Models

    May 20, 2026Shilpika Shilpika, Carlo Graziani, Bethany Lusch +2LLM InterpretabilityLLM Uncertainty Estimation

  3. Capable yet Parsimonious: Extracting and Characterizing Hidden Chain-of-Thought in Frontier Models

    Sep 22, 2026Xiaoyu Luo, Tao Ren, Wenrui Yu +3LLM InterpretabilityCoT Reasoning