信念轨迹能量:衡量通往预测的路径

·

研究论文 · 2026/10/19

大型语言模型在Transformer各层中逐步修正预测,但通常只观察最终输出,丢弃了形成轨迹。我们提出信念轨迹能量(BTE),一种基于模型的度量,通过模型诱导的逐层预测修正来表征输入。将中间状态映射到共享预测空间后,BTE提供了信念变化的原则性度量,可总结为标量或结构化深度剖面。理论上,我们证明局部BTE对应于Fisher-Rao几何下的预测修正,而修正序列捕获了超出初始到最终信念变化的信息。实验上,标量BTE为多种推理任务提供了模型相对的难度信号,而更丰富的BTE表示支持人机评审检测和细粒度生成器归因,达到高达0.998的宏AUROC和95.6%的八路归因准确率。进一步分析表明,BTE在预训练过程中发展,并被针对性训练选择性重塑,证明所得度量反映了评分模型所学内容。总之,我们的结果将信念轨迹确立为一种原则性的基于模型的信号,并提出了更广泛的视角,即学习模型本身可以作为表征其所处理数据的工具。更多演示见https://yingjiahao14.github.io/BTE-web/。

该论文提出了一种新颖的基于模型内部信念轨迹的度量方法,不仅理论上有几何解释,而且在多个任务上表现出色,为理解模型内部决策过程和利用模型作为数据表征工具提供了新视角。

Large language models (LLMs) progressively revise their predictions across Transformer layers, yet we typically observe only the final output, discarding the trajectory through which it is formed. We introduce Belief-Trajectory Energy(BTE), a model-grounded measure that characterizes an input through the layerwise predictive revisions it induces in a model. By mapping intermediate states into a shared predictive space, BTE provides a principled measure of belief change that can be summarized as either a scalar or a structured depth profile. Theoretically, we show that local BTE corresponds to predictive revision under the Fisher-Rao geometry, while the sequence of revisions captures information beyond the initial-to-final belief change. Empirically, scalar BTE provides a model-relative signal of difficulty across diverse reasoning tasks, while richer BTE representations support human-LLM review detection and fine-grained generator attribution, reaching up to 0.998 macro-AUROC and 95.6% eight-way attribution accuracy. Further analysis shows that BTE develops throughout pretraining and is selectively reshaped by targeted training, demonstrating that the resulting measurement reflects what the scoring model has learned. Together, our results establish belief trajectories as a principled model-grounded signal and suggest a broader perspective in which learned models can themselves serve as instruments for characterizing the data they process. More demonstrations can be found at https://yingjiahao14.github.io/BTE-web/.

阅读原文

参与讨论