arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.20923cs.LOcs.AIcs.PL
收藏

因果过去逻辑用于分布式大语言模型代理工作流的运行时验证

Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflows

Université Paris-Saclay, CNRS, ENS Paris-Saclay, LMF, Gif-sur-Yvette, France(巴黎-萨克雷大学,国家科学研究中心,巴黎-萨克雷高等师范学院,LMF,法国吉夫昂蒂埃)

Benedikt Bollig

AI总结:

本文提出了一种因果过去逻辑(CPL)用于分布式大语言模型代理工作流的运行时验证,通过在ZipperGen框架中引入CPL,实现了对工作流中因果可见事件的实时监控和控制流影响,从而将运行时验证整合到协调语言本身。

摘要:

分布式大语言模型代理工作流不应被当作产生单一顺序日志来监控。在异步执行中,一个决策只能依赖于对其生命线可见的因果事件:某些日志中出现较早的事件可能在本地仍未知。我们扩展ZipperGen代理工作流框架,引入因果过去逻辑(CPL),一种用于条件和while循环中守卫的简洁过去时间时序逻辑。除了标准的过去时间模态如previous和since外,守卫可以检查另一个生命线和所选变量中最新可见的事件。公式是一种源级守卫:它由拥有生命线在线评估,并可以在运行时影响控制流。我们给出了一个具有最新值视图的向量钟监控器,并证明本地计算的监控值与守卫在当前事件处的指称语义一致。因此,运行时验证成为协调语言本身的一部分,而不是执行日志上的事后检查。

英文摘要:

We study runtime monitoring for distributed LLM-agent workflows. In an asynchronous execution, a decision can only depend on events that are causally visible to the lifeline that makes it: an event that appears earlier in some log may still be unknown locally. We extend the ZipperGen agent-workflow framework with Causal Past Logic (CPL), an adaptation of PT-DTL to guards in if-constructs and while loops. In addition to standard past-time modalities such as previous and since, a guard can inspect the latest causally visible event of another lifeline and selected variables stored there. The owner evaluates the guard online to select the next branch or loop step. We adapt the knowledge-vector monitor to ZipperGen and prove that the locally computed monitor value coincides with the denotational semantics of the guard at the current event.

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

↑