单一网关远未足够:为智能体AI组合有状态的前置动作控制
文章背景与核心概要
现代智能体AI(Agentic AI)系统在执行动作之前,通常依赖多个“网关”(例如权限检查、资源检查和证据检查)来进行管控。然而,本文指出这些系统存在一个关键漏洞:补救诱发的控制耦合(remediation-induced control coupling)。当某个控制措施施加了补救(例如修改动作或上下文)时,可能会无意中使其他控制措施此前做出的判定失效。
作者将这种耦合进行了形式化定义,并提出了“补救与再网关(remediate-and-regate)”协议以恢复系统的正确性。研究证明,补救顺序是控制平面语义学中一个至关重要的方面,因为不同的操作算子(如证据替换与资源预算降级路由)并不满足交换律。该论文利用确定性的开放数据构件提供了实证证据,并提出了管理有状态证据缓冲区以防止投毒的策略。
Modern Agentic AI systems often rely on multiple "gates"—such as authority, resource, and evidence checks—to govern actions before they are executed. This paper identifies a critical vulnerability in these systems: remediation-induced control coupling. When one control applies a remediation (e.g., modifying an action or context), it can inadvertently invalidate the judgments made by other controls.
The author formalizes this coupling and proposes a "remediate-and-regate" protocol to restore soundness. The research demonstrates that remediation order is a fundamental aspect of control-plane semantics, as different operators (such as evidence substitution vs. resource-budget downrouting) do not commute. The paper provides empirical evidence using a deterministic open-data artifact and offers strategies for managing stateful evidence buffers to prevent poisoning.
核心贡献 (Key Contributions)
- 控制耦合的形式化: 定义了一个控制施加的补救如何影响其他控制有效性的机制。
- 补救与再网关协议: 提出了一种在有界、幂等环境中确保单动作正确性的机制。
- 补救的语义分析: 证明了补救的顺序不仅仅是一个实现细节,而是核心的语义需求。
- 证据缓冲区安全性: 分析了“受管证据缓冲区”的风险,并针对缺陷类投毒提供了缓解措施。
- 实证验证: 使用三个不同的引擎,在30个预注册随机种子下对该机制进行了验证。
- Formalization of Control Coupling: Defines how remediation by one control affects the validity of others.
- Remediate-and-Regate Protocol: A proposed mechanism to ensure per-action soundness in bounded, idempotent environments.
- Semantic Analysis of Remediation: Demonstrates that the order of remediation is not merely an implementation detail but a core semantic requirement.
- Evidence Buffer Security: Analyzes the risks of "governed evidence buffers" and provides mitigations against defect-class poisoning.
- Empirical Validation: Validates the mechanism across 30 pre-registered seeds using three distinct engines.
元数据与资源 (Metadata & Resources)
| 字段 (Field) | 详情 (Details) |
|---|---|
| 全文 (Full-text) | PDF | HTML | TeX Source |
| 代码与数据 (Code & Data) | GitHub Repository |
| DOI | 10.5281/zenodo.22003399 |
| 许可 (License) | CC BY 4.0 |
Field Details Full-text PDF | HTML | TeX Source Code & Data GitHub Repository DOI 10.5281/zenodo.22003399 License CC BY 4.0
摘要 (Abstract)
智能体AI系统会采取由多个前置动作控制同时管辖的实质性动作:即在动作执行前可以准入、降级或补救动作的权限、资源和证据网关。本文的核心研究对象是补救诱发的控制耦合:由一个控制所应用的补救可以改变另一个控制所评估的动作、证据或上下文,从而使该控制先前的判定失效。我们将这种耦合进行了形式化,并给出了一个“补救与再网关”协议,在既定的假设下,它在当前的双重有界、幂等设置中恢复了单动作的正确性。我们进一步表明,两个实现的补救算子(证据替换和资源预算降级路由)不满足交换律——有限模型检查器找到了具体的反例实例——这使得补救顺序成为控制平面语义学的一部分,而不仅仅是一个实现细节。信任其自身最近一次准入写入的受管证据缓冲区,是状态层面同一问题的又一实例——当前的准入并不意味着未来的引用可信度——并且它容易受到来自声明未覆盖缺陷类的投毒影响;两项缓解措施降低了这种暴露风险,但并未完全消除。支持性结果确定了网关结果的正权重线性聚合可以补偿成员否决的确切条件、统一的跨控制证据集,并诚实地报告了组合不会产生新的检测覆盖率。在实证方面,在一个组合了三个未修改的已发布引擎的确定性开放数据构件上,CH1-CH5在所有30个预注册随机种子下均满足其注册的决策规则;CH6在W1下满足,但在较小的W2工作流下不满足,并如实报告了这一情况。这是一项在带有合成元数据层的开放负载数据上的机制演示,并非关于生产环境流行程度的主张。
Agentic AI systems take consequential actions governed by more than one pre-action control at once: authority, resource, and evidence gates that can admit, degrade, or remediate an action before it executes. This paper's central object is remediation-induced control coupling: a remediation applied by one control can change the action, evidence, or context another control evaluates, invalidating that control's earlier judgment. We formalize this coupling and give a remediate-and-regate protocol that restores per-action soundness in the current bounded, idempotent setting under its stated assumptions. We further show that the two implemented remediation operators (evidence substitution and resource-budget downroute) do not commute -- a finite-model checker finds concrete counterexample instances -- making remediation order part of the control-plane semantics rather than an implementation detail. A governed evidence buffer that trusts its own most recent admitted write is a further instance of the same problem at the level of state -- current admissibility does not imply future reference trustworthiness -- and is vulnerable to poisoning from declared-uncovered defect classes; two mitigations reduce, not eliminate, that exposure. Supporting results establish the exact condition under which positive-weight linear aggregation of gate outcomes can compensate a member veto, a unified cross-control Evidence Set, and that composition manufactures no new detection coverage, reported honestly. Empirically, on a deterministic open-data artifact composing three published engines unmodified, CH1-CH5 meet their registered decision rules across all 30 pre-registered seeds; CH6 does so under W1 but not under the smaller W2 workflow, reported as such. This is a mechanism demonstration on open payload data with a synthetic metadata layer, not a claim about production prevalence.