通过公理约束从大型语言模型嵌入中恢复事件概率
Recovering Event Probabilities from Large Language Model Embeddings via Axiomatic Constraints
AI总结:
针对 LLM 事件概率违反概率论公理的问题,本文用扩展 VAE 对嵌入建模并施加公理约束,从而恢复更一致且更接近真实概率的事件概率。
摘要:
不确定性下的理性决策要求对事件具有一致的信念度。然而,研究表明,大型语言模型(LLM)生成的事件概率存在不一致性,违反概率论公理。这就提出了一个问题:能否从模型使用的嵌入中恢复出一致的事件概率?如果可以,这些导出概率便可在涉及不确定性的事件中用作更准确的估计。为探究该问题,我们提出在应用于 LLM 嵌入的扩展变分自编码器(VAE)所学习的潜在空间中,强制执行概率论加法规则等公理约束。该方法使事件概率能够在潜在空间中自然涌现,因为 VAE 同时学习重建原始嵌入并预测语义相关事件的嵌入。我们在互补事件(即事件 A 及其补集非 A 事件)上评估了方法,这两个事件的真实概率之和必须为 1。在开放权重语言模型上的实验结果表明,从嵌入中恢复的概率比相应模型直接报告的概率具有更强的一致性,并且与真实概率紧密吻合。
英文摘要:
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分析而来,可能存在错误,请以论文正文为准。