多智能体并行协作被建模为图结构分布式块优化问题
Parallel AI Agent Collaboration as Graph-Structured Distributed Block Optimization
这篇论文把多个 AI 智能体同时改代码互相打架的问题,用图染色理论给出了理论保证,还有代码修复和路网实验,做 Agent 系统的可以看看。
一篇 arXiv 论文把多个并行 AI 智能体编辑共享解时的冲突问题,建模为可精确求值的离散块优化问题。作者证明最优分数染色能保留 1/χ_f(G) 比例的已验证局部改进,且该界在同类合并方案中是紧的。代码修复实验显示,验证式合并能解决单个有效但合并后冲突的编辑,而朴素合并会失败。在三个公开路网上的 90 组配对实验中,分数整合保留了 922 个单位的图割改进;12 组路线搜索配对实验中,分数调度使实测墙钟时间中位数降低 15%。
Parallel AI Agent Collaboration as Graph-Structured Distributed Block Optimization
Parallel AI agents can produce useful local edits yet degrade a shared solution when their edits are combined. We model this coordination problem as discrete block optimization with an exactly evaluable objective and a known dependency graph. Independent sets certify compatible edits whose verified gains, measured against the same current solution, add exactly. A coordinator constructs a safe compatible candidate and can also evaluate interacting edits to capture favorable interactions. We prove that an optimal fractional coloring yields a merger that preserves a $1/χ_f(G)$ fraction of the total verified local improvement, where $χ_f(G)$ is the graph's fractional chromatic number. This guarantee is tight among mergers that select a subset of the same proposals. Under conditional local-improvement guarantees and a block error-bound condition, repeated collaboration converges geometrically in the objective gap. The rate separates task structure, agent allocation, and computation cost, yielding a linear program for agent assignment and an explicit time-cost trade-off. Code-repair experiments show that verified merging resolves conflicts between individually useful edits that cause naive merging to fail. On larger conflict-free tasks, parallel agents reduce modeled completion time at higher input-token-equivalent cost. On three public road networks, fractional integration retains 922 units of verified graph-cut improvement across 90 paired runs. For route-search agents sharing exclusive access to vehicle routes, fractional scheduling reduces measured wall time by a median of 15% across twelve paired runs, with route-cost changes varying across runs.