Paper: 2607.15277 Authors: Patrik Wolf, Thomas Kleine Buening, Andreas Krause, Celestine Mendler-Dünner Categories: cs.CL
The Gap
People have been treating in-context learning as conditional inference for a while now: you describe a subpopulation, the model gives you a distribution, and you hope it’s a reasonable estimate. Benchmarks test accuracy against ground truth, calibration against expected frequencies, and prompt sensitivity against paraphrases. But nobody has seriously asked: do LLM estimates obey the basic axioms that any probability estimator must satisfy?
Specifically, if you ask a model “what fraction of Americans support X?” and also ask about men, women, young, old, etc., then the law of total probability says you should be able to reconstruct the population answer from the subpopulation answers weighted by subpopulation sizes. This is a reference-free consistency check — you don’t need ground truth to detect failure.
The gap: existing evaluation either needs ground truth (accuracy metrics) or tests surface-level properties (calibration). Nobody has tested whether LLM outputs satisfy the compositional structure that the conditional-inference interpretation demands. If they don’t, the whole framing of “LLMs as approximate Bayesians” is on shaky ground.
LLMs as conditional estimators
|
v
This interpretation predicts
probabilistic consistency
|
v
Partition population into subgroups
|
v
Prompt for each subgroup's distribution
|
v
Aggregate via law of total probability
|
v
Compare aggregated vs. direct estimate
|
v
Widespread violations found
|
v
Models have subgroup knowledge
but fail at aggregation
|
v
"Macro fallacy": fine-grained > coarse
The Increment
One sentence: Before this paper, nobody systematically tested whether LLM probability estimates obey the law of total probability; after it, we know they don’t — and that the violations are *informative, revealing that models know more at the subpopulation level than they let on at the population level.
Core Mechanism
The method has three clean phases — partition, prompt, aggregate — and one crucial diagnostic loop.
Phase 1: Partition. Take any population (e.g., “US adults”) and recursively split it using a binary tree. Level 0 is the whole population. Level 1 might split by gender. Level 2 splits each gender cell by age. And so on. Each leaf node is a subpopulation described in natural language.
Phase 2: Prompt. For each node in the tree (including internal nodes), verbalize the subpopulation description as a prompt: “What fraction of [subgroup] would answer yes to [question]?” Record the model’s output probability. Do this for every node at every level.
Phase 3: Aggregate. Using the law of total probability, combine leaf-level estimates back up the tree. At each internal node, the aggregated estimate equals the weighted sum of its children’s estimates, weighted by the known (or estimated) subpopulation sizes. Compare the aggregated estimate at each level with the direct prompt estimate at that same level.
The gap between the direct estimate and the aggregated estimate is the consistency violation. The authors measure this across multiple domains (opinion polling, demographic questions), multiple frontier models, and multiple tree structures.
[Level 0: "All US adults"]
/ \
[Level 1a: Men] [Level 1b: Women]
/ \ / \
[Young M] [Old M] [Young W] [Old W]
For each node: prompt -> get p_est
For each internal node:
p_agg = w_left * p_left + w_right * p_right
violation = |p_est - p_agg|
Structural metaphor: The Census Bureau That Can’t Add.
Imagine a Census Bureau that sends surveyors to every county. Each county surveyor returns an estimate: “In our county, 62% support policy X.” The Bureau then needs to compute the state-level number by weighting each county’s answer by its population. Simple arithmetic.
Now imagine the Bureau also independently surveys the state as a whole and gets a different number — say 55%. That’s a problem: the direct survey and the aggregated survey disagree. Someone’s math is wrong, or the surveyors are systematically biased in ways that don’t compose.
This paper does exactly this with LLMs. Each “county surveyor” is a prompt conditioned on a subpopulation description. The “state-level survey” is the direct population prompt. The “weighting” is the law of total probability. And the consistent finding is: the Bureau can’t add. The county-level estimates, when properly weighted, don’t match the state-level estimate. And here’s the twist — the county-level numbers are often more accurate against real-world polling data than the state-level number. The Bureau’s local offices know more than headquarters.
The method’s components map directly: tree nodes = counties, prompt = survey question, aggregation = population weighting, consistency violation = the discrepancy between local and central reporting.
Key Concepts
-
Law of Total Probability: Imagine you have a bag of marbles — 60% red, 40% blue. Among red marbles, 30% have a dot. Among blue marbles, 70% have a dot. The overall fraction of dotted marbles is 0.6 × 0.3 + 0.4 × 0.7 = 0.46. This is the most basic rule of how parts compose into a whole. If someone gave you answers for the red and blue groups that didn’t add up to the total, you’d know something is broken. That’s exactly what this paper tests, with “marbles” = people and “dotted” = “would say yes.”
-
The Macro Fallacy: This is the paper’s key discovery. When you ask an LLM “what do Americans think about X?”, it gives you a mediocre answer. But when you ask “what do young urban Americans think?” and “what do rural retired Americans think?” separately and combine, you get a *better answer — one closer to real polling data. The model is like a doctor who gives vague general advice but excellent specific advice when you tell them exactly who the patient is. The “macro” (population-level) estimate suffers from some kind of averaging-out blur, while the “micro” (subpopulation) estimates are sharper and more grounded.
-
Reference-Free Evaluation: Most AI benchmarks need a “right answer” to compare against. Self-consistency is different: it’s like checking whether someone’s arithmetic is internally consistent without knowing what the correct sum is. If A + B should equal C, and it doesn’t, you’ve found a bug — even without knowing what C *should be. This makes the evaluation framework reusable across any domain where you can define a meaningful partition.
Framework Shift
Before (mainstream approach): After (this paper):
Prompt LLM Partition population
| |
v v
Get answer Prompt per subgroup
| |
v v
Compare to ground truth Aggregate via probability
|
v
Compare aggregated
vs. direct estimate
|
v
No ground truth needed;
consistency IS the test
From testing accuracy against external truth to testing internal coherence against probabilistic axioms, the core shift is treating LLMs as probability estimators that must satisfy structural constraints, not just point-estimate machines that need to be close to a number.
Expert Assessment
Problem choice: This is a genuine, clean gap. The conditional-inference framing of in-context learning is widespread (Garg et al., Xie et al., Abernethy et al.), but nobody followed through on the obvious implication: if it’s really inference, it should satisfy the axioms. The paper picks one axiom — compositionality via the law of total probability — and tests it rigorously. That’s elegant. The problem sits right at the intersection of probabilistic reasoning and prompt engineering, which is a live and underexplored area.
Method maturity: The binary-tree partition scaffold is clever but not overengineered. It gives structure to what could be an ad hoc exploration. The macro fallacy finding is the real contribution — it’s surprising, reproducible, and practically useful. One weakness: the method assumes you know or can estimate subpopulation sizes (priors), and the paper doesn’t deeply explore sensitivity to misspecified priors. Also, there’s no attempt to *fix the inconsistency — the paper is diagnostic, not prescriptive.
Experimental integrity: The experiments span multiple domains (GSS survey questions, demographic splits), multiple frontier models, and multiple tree structures. That’s solid. The macro fallacy effect is shown to persist across variations, which is convincing. One concern: the choice of partition tree (what to split by first, how deep to go) is still somewhat arbitrary, and the paper acknowledges but doesn’t fully resolve whether the results are tree-structure-dependent. The comparison against human reference data (GSS ground truth) is a nice validation that the subpopulation estimates are actually better, not just different.
Writing quality: The paper is well-written for its audience. The three-phase structure (partition, prompt, aggregate) is easy to follow. The main weakness is Section 5 on “implicit prompting” — it’s brief and somewhat hand-wavy. The authors show you can partially recover consistency by hinting at the aggregation structure in the prompt, but the treatment feels like an afterthought. If Section 5 were expanded into a full ablation on *why the macro fallacy occurs and what prompt structures mitigate it, the paper would go from “interesting finding” to “actionable insight.”
Verdict: weak accept — clean problem, clean method, surprising finding, but the diagnostic-only nature and underexplored mechanistic explanation keep it from strong accept territory.
Takeaways
-
Don’t trust a single LLM call for population-level estimates. If you’re using LLMs to estimate demographic or subgroup-level properties, break the population into meaningful subgroups, estimate separately, and aggregate yourself. The macro fallacy suggests this consistently outperforms direct estimation.
-
Self-consistency as a debugging tool. Whenever you use an LLM to estimate something compositional (market segments, risk categories, sentiment across groups), check whether the parts sum to the whole. If they don’t, trust the parts more than the whole.
-
Subpopulation prompting is a cheap accuracy boost. You don’t need new models or fine-tuning. Just condition on relevant demographic/contextual descriptors when prompting, then weight-average the results. This paper gives a principled justification for what good prompt engineers already do intuitively.
论文: 2607.15277 作者: Patrik Wolf, Thomas Kleine Buening, Andreas Krause, Celestine Mendler-Dünner 分类: cs.CL
缺口
学界已经把 in-context learning 当条件推断来理解:你描述一个子群体,模型给你一个分布,你把它当估计用。 基准测试关心的是准确率(跟真实值比)、校准度(跟频率比)、提示敏感度(换个说法还能不能对)。 但有一个根本性的问题被忽略了:大模型的估计值是否遵守概率估计器必须满足的基本公理?
具体来说,如果你问模型”美国人有多大比例支持 X?“,又分别问了男性、女性、年轻人、老年人等子群体, 那么全概率公式告诉你:用子群体的估计值按人口比例加权求和,应该能还原出总体的估计值。 这是一个不需要真实标签的一致性检验——你不需要知道”正确答案”就能发现模型出了问题。
缺口在于:现有的评估要么需要真实数据(准确率指标),要么只测表面属性(校准度)。 没有人系统地检验过大模型的输出是否满足”条件推断”这个解释所要求的组合结构。 如果不满足,那”大模型是近似贝叶斯推断器”这个叙事就站不住脚。
大模型被视为条件估计器
|
v
这个解释预测概率一致性
|
v
把总体递归划分为子群体
|
v
分别提示每个子群体获取分布
|
v
按全概率公式聚合
|
v
对比聚合估计 vs 直接估计
|
v
发现广泛的一致性违反
|
v
模型有子群体知识但聚合失败
|
v
"宏观谬误":细粒度 > 粗粒度
增量
一句话: 在这篇论文之前,没有人系统地检验过大模型的概率估计是否遵守全概率公式;之后我们知道它们不遵守——而且这个违反本身是有信息量的,揭示模型在子群体层面知道的比在总体层面表现出来的更多。
核心机制
方法分三个干净的阶段——划分、提示、聚合——加上一个关键的诊断循环。
阶段一:划分。 取一个总体(比如”美国成年人”),用二叉树递归分裂。 第 0 层是整个总体。第 1 层可能按性别分。第 2 层在每个性别格子里再按年龄分。以此类推。 每个叶节点是一个用自然语言描述的子群体。
阶段二:提示。 对树上的每个节点(包括内部节点),把子群体描述组织成提示语: “有多大比例的[子群体会]对[问题]回答是?“记录模型输出的概率。 对每一层的每个节点都这样做。
阶段三:聚合。 用全概率公式,把叶节点的估计值沿树向上传递。 在每个内部节点,聚合估计等于子节点估计的加权和,权重是已知(或估计的)子群体人口比例。 把每一层的聚合估计值和该层的直接提示估计值做对比。
直接估计和聚合估计之间的差距就是一致性违反。 作者在多个领域(民调问题、人口统计问题)、多个前沿模型、多种树结构上测量了这个差距。
[第 0 层: "所有美国成年人"]
/ \
[第 1a 层: 男性] [第 1b 层: 女性]
/ \ / \
[年轻男性] [老年男性] [年轻女性] [老年女性]
对每个节点: 提示 -> 得到 p_est
对每个内部节点:
p_agg = w_left * p_left + w_right * p_right
violation = |p_est - p_agg|
核心比喻:不会加法的人口普查局。
想象一个普查局,派调查员去每个县。每个县的调查员报回一个估计:“我们县有 62% 的人支持政策 X。” 局里需要按人口加权算出全州的数字。简单算术。
但局里又独立地对全州做了调查,得到一个不同的数字——比如 55%。这就出问题了:直接调查和加权汇总对不上。要么是算术错了,要么是调查员们有系统性偏差,而且偏差之间不满足可组合性。
这篇论文做的就是这件事。每个”县调查员”是一个以子群体描述为条件的提示。 “全州调查”是直接的总体提示。“加权”是全概率公式。 一致的发现是:普查局不会加法。县里的数字加权后跟州里的数字对不上。 而更离谱的是——县里的数字跟真实民调数据的吻合度反而更高。 地方办事处比总部知道得更多。
方法的组成部分直接映射:树节点 = 县,提示 = 调查问题,聚合 = 人口加权,一致性违反 = 地方与中央报告的差异。
关键概念
-
全概率公式: 假设你有一袋弹珠——60% 红色,40% 蓝色。红色弹珠中 30% 有圆点。蓝色弹珠中 70% 有圆点。所有弹珠中有圆点的比例是 0.6 × 0.3 + 0.4 × 0.7 = 0.46。这是”部分如何组成整体”的最基本规则。如果有人给你的红蓝两组答案加起来跟总数对不上,你就知道出了问题。这篇论文测的就是这件事,只不过”弹珠”换成了人,“有圆点”换成了”会回答是”。
-
宏观谬误: 这是本文的核心发现。当你问大模型”美国人怎么看 X?“,它给你的答案质量一般。但当你分别问”年轻的城市美国人怎么看?“和”退休的农村美国人怎么看?“然后加权组合,你反而得到一个更好的答案——更接近真实民调数据。这就像一个医生,你跟他讲泛泛的症状他就给你泛泛的建议,但你告诉他具体是什么样的病人,他就给出精准的诊断。“宏观”(总体层面)的估计受到了某种平均化的模糊影响,而”微观”(子群体层面)的估计更尖锐、更接地气。
-
无需真实标签的评估: 大多数 AI 基准测试需要一个”正确答案”来对比。自一致性不同:它就像检查一个人的算术是否内部自洽,而不需要知道正确答案是多少。如果 A + B 应该等于 C,结果不是,你就找到了一个 bug——即使你不知道 C “应该”是什么。这让评估框架可以在任何能定义有意义划分的领域复用。
框架转变
之前(主流方法): 之后(本文方法):
提示大模型 划分总体为子群体
| |
v v
获取答案 分别提示每个子群体
| |
v v
对比真实标签 按概率公式聚合
|
v
对比聚合估计
vs 直接估计
|
v
不需要真实标签;
一致性本身就是测试
从用外部真实值测试准确率到用概率公理测试内部一致性,核心转变是把大模型当作必须满足结构约束的概率估计器来审视,而不仅仅是需要”猜对数字”的点估计机器。
专家评审
选题眼光: 这是一个真实的、干净的缺口。把 in-context learning 当条件推断的文献已经不少(Garg et al., Xie et al., Abernethy et al.),但没有人跟进这个显而易见的推论:如果它真的是推断,就应该满足公理。论文选了一条公理——通过全概率公式的可组合性——然后严格检验。很漂亮。这个选题正好在概率推理和提示工程的交叉地带,是一个活跃但探索不足的区域。
方法成熟度: 二叉树划分的脚手架设计巧妙但不过度工程化,给本来可能是随意探索的过程加了结构。宏观谬误的发现才是真正的贡献——出人意料、可复现、而且有实际用途。一个弱点:方法假设你知道或能估计子群体的先验概率(人口比例),论文对先验误设的敏感性分析不够深入。另外,论文没有尝试修复不一致性——它是诊断性的,不是处方性的。
实验诚意: 实验覆盖了多个领域(GSS 民调问题、人口统计分组)、多个前沿模型、多种树结构。这很扎实。宏观谬觉效应在不同设置下持续存在,有说服力。一个顾虑:划分树的选择(先按什么分、分多深)仍然有些任意,论文承认了但没有完全解决结果是否依赖树结构的问题。跟人类参考数据(GSS 真实数据)的对比是个很好的验证,证明了子群体估计确实更好,而不仅仅是不同。
写作功力: 面向目标读者来说写得不错。三阶段结构(划分、提示、聚合)很容易跟。主要弱点在关于”隐式提示”的第 5 节——篇幅短、论证有些潦草。作者展示了可以通过在提示中暗示聚合结构来部分恢复一致性,但这个处理看起来像是事后想到的。如果把第 5 节扩展成一个完整的消融实验,深入分析宏观谬误的成因以及什么样的提示结构能缓解它,论文就能从”有趣的发现”升级为”可操作的洞见”。
判决: 弱接收——选题干净,方法干净,发现惊人,但纯诊断性质和机制解释不够深入让它够不上强接收。
要点总结
-
不要信任单次大模型调用来做总体层面的估计。 如果你在用大模型估计人口统计或子群体层面的属性,先把总体拆成有意义的子群体,分别估计,然后自己聚合。宏观谬误表明这样做持续优于直接估计。
-
用自一致性做调试工具。 每当你用大模型估计某种可组合的东西(市场细分、风险类别、跨群体情感),检查各部分是否加起来等于整体。如果对不上,信局部不信全局。
-
子群体提示是一种低成本的准确率提升。 你不需要新模型或微调。只要在提示时加上相关的人口/情境描述,然后对结果加权平均。这篇论文为好的提示工程师凭直觉在做的事情提供了一个原理层面的依据。