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

S-Bus: 多智能体LLM状态协调的自动读集重建

S-Bus: Automatic Read-Set Reconstruction for Multi-Agent LLM State Coordination

Sajjad Khan

Sajjad Khan

AI总结:

提出S-Bus中间件,通过服务端DeliveryLog机制在提交时从HTTP GET流量中重建每个智能体的读集,实现可观测读隔离(ORI)一致性,防止专用分片拓扑中的结构性竞态条件,并通过形式化证明和实验验证其安全性。

摘要:

我们解决了通过HTTP共享可变状态的LLM智能体的并发控制问题,其中智能体无法被修改以声明读集。S-Bus是一个HTTP中间件,其核心机制——服务端DeliveryLog——在提交时从观察到的HTTP GET流量中重建每个智能体的读集。它提供的一致性属性——可观测读隔离(ORI),一种基于HTTP可观测读投影的部分因果一致性——防止了专用分片拓扑中的结构性竞态条件。 三项贡献:(C1)DeliveryLog机制,具有三层机械化证据:TLAPS证明了ReadSetSoundness和ORICommitSafety(基于一个类型公理);N=3时的穷举TLC探索了20,763,484个状态,零违规;Dafny验证了9个归纳引理。(C2)与PostgreSQL 17 SERIALIZABLE和Redis 7 WATCH/MULTI的经验安全对等:在884,110次提交尝试中(其中427,308次处于活跃争用下)零Type-I损坏。(C3)ORI在专用分片工作负载中语义中性,但在单分片协作写入中有害,因为保留传播并发矛盾。 v2更新:PH-3 LLM评判器现在已针对人类标注者(Zahid Hussain, Mindgigs Peshawar)在400个(步骤,分片)对上进行独立验证,严格kappa=0.93(n=93,原始一致性96.8%)。LLM间评判器一致性为kappa=0.46(边界方差)。智能体自我报告高估分片使用量32%(LLM评判器)至49%(人类标注者)。SJ-v4语义质量评分标准仍为单评判器LLM-only。 源代码、形式化证明、测试框架、标注数据:https://github.com/sajjadanwar0/sbus

英文摘要:

We address concurrency control for LLM agents sharing mutable state over HTTP, where agents cannot be modified to declare read sets. S-Bus is an HTTP middleware whose central mechanism, a server-side DeliveryLog, reconstructs each agent's read set at commit time from observed HTTP GET traffic. The consistency property it provides -- Observable-Read Isolation (ORI), a partial causal consistency over the HTTP-observable read projection -- prevents Structural Race Conditions in dedicated-shard topologies. Three contributions. (C1) DeliveryLog mechanism with three-tier mechanised evidence: TLAPS proves ReadSetSoundness and ORICommitSafety (modulo one typing axiom); exhaustive TLC at N=3 explores 20,763,484 states with zero violations; Dafny discharges 9 inductive lemmas. (C2) Empirical safety parity against PostgreSQL 17 SERIALIZABLE and Redis 7 WATCH/MULTI: zero Type-I corruptions across 884,110 commit attempts (427,308 under active contention). (C3) ORI is semantically neutral in dedicated-shard workloads but harmful in single-shard collaborative writing because preservation propagates concurrent contradictions. v2 update: the PH-3 LLM judge is now independently validated against a human annotator (Zahid Hussain, Mindgigs Peshawar) on 400 (step, shard) pairs at strict kappa=0.93 (n=93, 96.8% raw agreement). Inter-LLM-judge agreement is kappa=0.46 (boundary variance). Agent self-reports over-claim shard usage by 32% (LLM judge) to 49% (human annotator). The SJ-v4 semantic-quality rubric remains single-judge LLM-only. Source code, formal proofs, harness, annotation data: https://github.com/sajjadanwar0/sbus

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

↑