arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.20127cs.AI
收藏

智能体 AI 过程可观测性:发现行为变异性

Agentic AI Process Observability: Discovering Behavioral Variability

IBM Research(IBM研究院)

Fabiana Fournier, Lior Limonad, Yuval David

AI总结:

本研究针对 LLM 智能体行为的非确定性问题,提出利用过程与因果发现分析执行轨迹,并结合基于 LLM 的静态分析技术区分预期与非预期行为变异性,以增强开发者的可观测性与控制力。

摘要:

利用大型语言模型(LLM)的 AI 智能体正日益成为现代软件系统的核心构建块。目前已有广泛的框架可用于支持此类应用的规约。这些框架允许使用自然语言提示来定义智能体设置,从而为涉及的各种智能体分配角色、目标和工具。在此类设置中,对于任何给定输入,智能体行为都是非确定性的,这凸显了对稳健调试和可观测性工具的关键需求。在本研究中,我们探索将过程和因果发现应用于智能体执行轨迹,以此作为增强开发者可观测性的手段。该方法有助于监控和理解智能体行为中涌现的变异性。此外,我们辅以基于 LLM 的静态分析技术,以区分预期和非预期的行为变异性。我们认为,此类检测手段对于赋予开发者对不断演进的规约更大的控制权,以及识别可能需要更精确定义的功能方面至关重要。

英文摘要:

AI agents that leverage Large Language Models (LLMs) are increasingly becoming core building blocks of modern software systems. A wide range of frameworks is now available to support the specification of such applications. These frameworks enable the definition of agent setups using natural language prompting, which specifies the roles, goals, and tools assigned to the various agents involved. Within such setups, agent behavior is non-deterministic for any given input, highlighting the critical need for robust debugging and observability tools. In this work, we explore the use of process and causal discovery applied to agent execution trajectories as a means of enhancing developer observability. This approach aids in monitoring and understanding the emergent variability in agent behavior. Additionally, we complement this with LLM-based static analysis techniques to distinguish between intended and unintended behavioral variability. We argue that such instrumentation is essential for giving developers greater control over evolving specifications and for identifying aspects of functionality that may require more precise and explicit definitions.

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

↑