Partition, Prompt, Aggregate: Statistical Self-Consistency in Language Models· 大模型上下文学习的概率自洽性
In-context learning is commonly interpreted as a form of conditional inference, in which the prompt specifies a context and the model's output is treated as an estimate of the corresponding conditional distribution. If this interpretation holds, then LLM estimates should satisfy basic probabilistic identities. In particular, the law of total probability asserts that prior-weighted conditional distributions aggregate into population-level marginals over any valid partition of the population. In this work, we investigate to what extent LLM estimates adhere to this self-consistency principle. We use binary trees as an evaluation scaffold to recursively partition a population into increasingly fine-grained subpopulations. We then prompt LLMs with verbalized subpopulation descriptions in context, aggregate the resulting estimates back into population-level estimates, and compare them across partitions of varying granularity. Applying this protocol across problem domains and state-of-the-art frontier models, we show widespread violations of basic consistency properties. An in-depth study of persona prompting reveals a pattern we call the macro fallacy: estimates reconstructed from more fine-grained subpopulation responses are often better aligned with human reference data than direct population-level estimates. This effect persists across variations in tree structure and estimation task, and can be partially recovered through implicit prompting. Together, these findings suggest that models possess relevant subpopulation knowledge but do not reliably propagate it into aggregate estimates. This gap establishes statistical self-consistency as an unsaturated, reference-free criterion for evaluating LLMs.
研究大模型上下文学习的概率自洽性,揭示模型在聚合子群体估计时的局限与优势。
- 核心方法
- 通过使用二叉树结构递归地将群体细分为更精细的子群体,对LLM进行上下文提示,然后将子群体的估计值聚合回群体水平估计,并在不同粒度的分区之间进行比较。
- 适合谁读
- 研究者、工程师
- 要解决的问题
- 论文探讨大型语言模型(LLM)在进行上下文学习时,其估计是否符合基本的概率一致性原则。
- 关键实验
- 实验包括在不同问题领域和最先进的前沿模型上应用上述协议,比较子群体估计和直接群体估计的一致性偏差。
- 主要贡献
- 揭示了LLM普遍违反基本的一致性属性,并发现了‘宏观谬误’现象:从更精细的子群体响应重构的估计通常比直接的群体水平估计更符合人类参考数据。
- 意义与局限
- 这项研究的意义在于证明了模型具备相关子群体知识,但未能可靠地将其转化为聚合估计,提出了统计自洽性作为评估LLM的一个未饱和、无参考标准。