arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.19775cs.AIcs.CLcs.ETcs.MAcs.RO
收藏

从行为到理解:LLM代理中时间概念的符合可解释性

From Actions to Understanding: Conformal Interpretability of Temporal Concepts in LLM Agents

Georgia State University(佐治亚州立大学);Computer Science Lab, SRI(SRI计算机科学实验室);Army Cyber Institute(陆军网络学院);United States Military Academy(美国军事学院);University of Florida(佛罗里达大学)
Trilok Padhi, Ramneet Kaur, Krishiv Agarwal, Adam D. Cobb, Daniel Elenius, Manoj Acharya, Colin Samplawski, Alexander M. Berenbeim, Nathaniel D. Bastian, Susmit… 展开作者

Trilok Padhi, Ramneet Kaur, Krishiv Agarwal, Adam D. Cobb, Daniel Elenius, Manoj Acharya, Colin Samplawski, Alexander M. Berenbeim, Nathaniel D. Bastian, Susmit Jha, Ugur Kursuncu, Anirban Roy

AI总结:

本文提出通过符合视角解释LLM代理时间概念演变的框架,结合逐步奖励建模与符合预测,识别时间概念的潜在方向,实验表明这些概念可线性分离,为LLM代理提供可靠故障检测和干预方法。

摘要:

大型语言模型(LLMs)正越来越多地被部署为能够推理、规划和在交互环境中行动的自主代理。尽管它们在多步推理和决策任务中的能力不断增强,但指导其序列行为的内部机制仍不透明。本文提出了一种通过逐步符合视角解释LLM代理时间概念演变的框架。我们引入了用于时间任务的符合可解释性框架,结合逐步奖励建模与符合预测,以统计方式在每一步标记模型的内部表示为成功或失败。然后,线性探针被训练在这些表示上,以识别时间概念的方向——模型激活空间中的潜在方向,对应于一致的成功、失败或推理漂移概念。在两个模拟交互环境(即ScienceWorld和AlfWorld)上的实验结果表明,这些时间概念是线性可分的,揭示了与任务成功一致的可解释结构。我们进一步展示了通过利用所提出框架引导模型内已识别的成功方向来提高LLM代理性能的初步结果。因此,所提出的方法为LLM代理的早期故障检测和干预提供了系统方法,为复杂交互环境中的可信自主语言模型铺平了道路。

英文摘要:

Large Language Models (LLMs) are increasingly deployed as autonomous agents capable of reasoning, planning, and acting within interactive environments. Despite their growing capability to perform multi-step reasoning and decision-making tasks, internal mechanisms guiding their sequential behavior remain opaque. This paper presents a framework for interpreting the temporal evolution of concepts in LLM agents through a step-wise conformal lens. We introduce the conformal interpretability framework for temporal tasks, which combines step-wise reward modeling with conformal prediction to statistically label model's internal representation at each step as successful or failing. Linear probes are then trained on these representations to identify directions of temporal concepts - latent directions in the model's activation space that correspond to consistent notions of success, failure or reasoning drift. Experimental results on two simulated interactive environments, namely ScienceWorld and AlfWorld, demonstrate that these temporal concepts are linearly separable, revealing interpretable structures aligned with task success. We further show preliminary results on improving an LLM agent's performance by leveraging the proposed framework for steering the identified successful directions inside the model. The proposed approach, thus, offers a principled method for early failure detection as well as intervention in LLM-based agents, paving the path towards trustworthy autonomous language models in complex interactive settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑