arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22997cs.AIcs.SE
收藏

TriCEGAR:一种基于跟踪的抽象机制用于代理AI

TriCEGAR: A Trace-Driven Abstraction Mechanism for Agentic AI

JetBrains Research(JetBrains研究)

Roham Koohestani, Ateş Görpelioğlu, Egor Klimov, Burcu Kulahcioglu Ozkan, Maliheh Izadi

AI总结:

TriCEGAR是一种基于跟踪的自动抽象机制,用于代理AI中在线构建MDP并进行概率模型检查,以提高验证效率和可靠性。

摘要:

代理AI系统通过工具进行操作,并在其长期的随机交互轨迹中不断演变其行为。这种设定使得保证变得复杂,因为行为依赖于非确定性环境和概率模型输出。先前的工作通过动态概率保证(DPA)为代理AI引入了运行时验证,通过在线学习MDP并检查定量属性。一个关键限制是开发者必须手动定义状态抽象,这将验证与应用特定的启发式方法耦合,并增加了采用摩擦。本文提出了TriCEGAR,一种基于跟踪的抽象机制,该机制从执行日志中自动构建状态,并支持在线构建代理行为的MDP。TriCEGAR将抽象表示为从轨迹中学习的谓词树,并通过反例进行细化。我们描述了一个框架原生的实现,该实现(i)捕获类型化的代理生命周期事件,(ii)从轨迹中构建抽象,(iii)构建MDP,(iv)进行概率模型检查以计算如Pmax(success)和Pmin(failure)等界限。我们还展示了运行可能性如何作为异常检测的守护信号。

英文摘要:

Agentic AI systems act through tools and evolve their behavior over long, stochastic interaction traces. This setting complicates assurance, because behavior depends on nondeterministic environments and probabilistic model outputs. Prior work introduced runtime verification for agentic AI via Dynamic Probabilistic Assurance (DPA), learning an MDP online and model checking quantitative properties. A key limitation is that developers must manually define the state abstraction, which couples verification to application-specific heuristics and increases adoption friction. This paper proposes TriCEGAR, a trace-driven abstraction mechanism that automates state construction from execution logs and supports online construction of an agent behavioral MDP. TriCEGAR represents abstractions as predicate trees learned from traces and refined using counterexamples. We describe a framework-native implementation that (i) captures typed agent lifecycle events, (ii) builds abstractions from traces, (iii) constructs an MDP, and (iv) performs probabilistic model checking to compute bounds such as Pmax(success) and Pmin(failure). We also show how run likelihoods enable anomaly detection as a guardrailing signal.

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

↑