arXiv:2505.07883cs.CLcs.AI2025-05被引 1

用数学约束从大模型嵌入中恢复更合理的事件概率

Recovering Event Probabilities from Large Language Model Embeddings via Axiomatic Constraints

  • 在大模型嵌入的隐空间施加概率公理约束,让概率自然浮现
  • 对互补事件测试,恢复的概率与真实值高度吻合,且比原模型更一致
  • 适合需要可靠概率估计的AI决策场景,如风险评估、推理系统

不确定性下的理性决策依赖于事件信念的一致性。然而,大型语言模型(LLMs)生成的事件概率常违背概率公理,表现出不一致性。这引发一个问题:能否从模型的嵌入表示中恢复出一致的概率?若能,这些推导出的概率可作为不确定事件的更准确估计。为此,我们提出在扩展变分自编码器(VAE)学习的隐空间中施加概率公理约束(如加法规则),该方法使事件概率在隐空间中自然涌现——因为VAE既要重构原始嵌入,又要预测语义相关事件的嵌入。我们在互补事件(事件A及其补集非A)上评估该方法,真值要求两事件概率之和为1。实验结果表明,从嵌入中恢复的概率比对应模型直接报告的概率更具一致性,并与真实概率高度匹配。

原文摘要 · Abstract (English)

Rational decision-making under uncertainty requires coherent degrees of belief in events. However, event probabilities generated by Large Language Models (LLMs) have been shown to exhibit incoherence, violating the axioms of probability theory. This raises the question of whether coherent event probabilities can be recovered from the embeddings used by the models. If so, those derived probabilities could be used as more accurate estimates in events involving uncertainty. To explore this question, we propose enforcing axiomatic constraints, such as the additive rule of probability theory, in the latent space learned by an extended variational autoencoder (VAE) applied to LLM embeddings. This approach enables event probabilities to naturally emerge in the latent space as the VAE learns to both reconstruct the original embeddings and predict the embeddings of semantically related events. We evaluate our method on complementary events (i.e., event A and its complement, event not-A), where the true probabilities of the two events must sum to 1. Experiment results on open-weight language models demonstrate that probabilities recovered from embeddings exhibit greater coherence than those directly reported by the corresponding models and align closely with the true probabilities.

概率建模大模型嵌入解析可信AI

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。