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

当常规操作破坏LLM智能体管控框架中的架构模式关系时

When Routine Operations Break Architectural Pattern Relationships in LLM Agent Harnesses

Responsible AI Research Centre(负责任人工智能研究中心);Adelaide University(阿德莱德大学);CSIRO(联邦科学与工业研究组织);UNSW(新南威尔士大学)

Boming Xia, Qinghua Lu, Dino Sejdinovic, Liming Zhu

AI总结:

该研究针对5个LLM智能体管控框架,借助PatternOps评估程序,发现常规操作会悄无声息破坏架构模式关系,建议架构师结合部署的决策路径等评估模式关系。

摘要:

LLM智能体管控框架将工具调解、状态管理和安全护栏分布在原生服务、独立编写的插件及配置中。常规操作可在无需任何代码变更的情况下,改变架构模式关系所需的运行时顺序或保留状态。我们研究了5种与护栏执行点、自主控制器和黑板模式相关的关系,涉及5个已发布的管控框架,分析了14个独立编写插件的主要样本。使用评估程序PatternOps,我们追踪了从模式描述、提供商文档和部署配置到实现它们的提供商及决定它们的记录的需求。随后,我们比较了支持操作下的替代分配方案。此类操作会悄无声息地破坏关系:在重新应用插件或保存允许规则后,策略会停止评估编辑,而所有插件仍处于活动状态,且被禁止的编辑得以执行。哪些替代方案符合条件取决于具体需求。保持所需顺序、保留或重建所需状态的分配方案,在其测试路径和操作序列中保持稳定;其他方案虽阻止了被禁止的效果,但遗漏了在其他地方被拒绝的编辑。在这些管控框架中,模式关系是运行系统及其历史的属性,因此架构师应根据其部署使用的决策路径、状态生命周期和操作序列对其进行评估。

英文摘要:

LLM agent harnesses distribute tool mediation, state management and safety guardrails across native services, independently written plugins and configuration. Routine operations can change the runtime order or retained state that architectural pattern relationships require, without any code change. We study five relationships associated with the Guardrail Enforcement Point, Autonomy Controller and Blackboard patterns across five released harnesses, analysing a main sample of fourteen independently written plugins. Using PatternOps, our assessment procedure, we trace requirements from pattern descriptions, provider documentation and deployment profiles to the providers that realise them and the records that decide them. We then compare alternative allocations under supported operations. Such operations broke relationships silently: after a plugin was reapplied or an allow rule saved, policy stopped evaluating edits while every plugin stayed active, and a prohibited edit executed. Which alternatives qualified depended on the requirement. Allocations that kept the required order, or kept or rebuilt the needed state, held on their tested paths and operation sequences, while others prevented prohibited effects but missed edits rejected elsewhere. In these harnesses, a pattern relationship is a property of the running system and its history, so architects should evaluate it against the decision paths, state lifetimes and operation sequences their deployments use.

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

↑