arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.01490cs.SEcs.AIcs.MA
收藏

LLM联盟用于软件设计精化:多智能体协作拓扑的受控实验

LLM Consortium for Software Design Refinement: A Controlled Experiment on Multi-Agent Collaboration Topologies

LLM Consortium for Software Design Refinement(软件设计精炼LLM联盟)

Nagarjuna Kanamarlapudi, Praveen K

AI总结:

通过受控实验评估12种多智能体LLM协作拓扑在软件架构设计中的表现,发现结构对抗变体(v4b)和跨模型评审(v2)排名前二,并行合并因令牌饥饿和弗兰肯斯坦效应表现最差。

摘要:

我们提出了一项受控实验,评估了12种用于软件架构设计的多智能体LLM协作拓扑。采用$2\times2\times2$因子设计(权威性$\times$角色$\times$动态性),我们在8个不同复杂度的设计任务上进行了520次实验运行,每个任务重复5次。设计由三个独立的自动评估器(GPT-OSS 120B、Claude Opus 4.6、Claude Sonnet 4.6)按照12维评分标准进行评估。我们报告四个核心发现。第一,结构对抗(v4b)在集成排名中位列第一——一种提示工程化的对抗变体,要求重写指令而非补丁(加权集成:4.637/5.0)。第二,跨模型评审以全票获得第二——用一个模型生成,用另一个模型评审——所有三个评估器均将其排在第二(加权集成:4.606)。第三,评估器多样性本身就是一个发现——所有三个评估器一致认为v4b最好、v3最差,但对v2b分歧严重(Claude d=1.44 vs. GPT-OSS d=0.45),揭示了不同模型家族对设计质量的权重差异。第四,并行合并从根本上被破坏——所有三个评估器都将合并变体置于底层(3.65-3.79),原因是令牌饥饿和弗兰肯斯坦效应。加权集成($2\times$Opus + $2\times$Sonnet + $1\times$GPT-OSS)在520次运行中提供了稳健的排名,并通过独立交叉验证得到确认。

英文摘要:

We present a controlled experiment evaluating 12 multi-agent LLM collaboration topologies for software architecture design. Using a $2\times2\times2$ factorial design (Authority $\times$ Roles $\times$ Dynamics), we conducted 520 experimental runs across 8 design tasks of varying complexity, with 5 repetitions each. Designs were evaluated on a 12-dimensional rubric by three independent automated evaluators (GPT-OSS 120B, Claude Opus 4.6, Claude Sonnet 4.6). We report four core findings. First, structural adversarial (v4b) ranks #1 by ensemble -- a prompt-engineered adversarial variant that demands rewrite mandates rather than patches (weighted ensemble: 4.637/5.0). Second, cross-model review wins unanimously at #2 -- generate with one model, review with another -- ranking #2 by all three evaluators (weighted ensemble: 4.606). Third, evaluator diversity is itself a finding -- all three evaluators agree v4b is best and v3 is worst, but disagree sharply on v2b (Claude d=1.44 vs. GPT-OSS d=0.45), revealing how different model families weight design qualities. Fourth, parallel merge is fundamentally broken -- all three evaluators place merge variants in the bottom tier (3.65-3.79), due to token starvation and the Frankenstein effect. The weighted ensemble ($2\times$Opus + $2\times$Sonnet + $1\times$GPT-OSS) provides robust rankings across 520 runs, confirmed through independent cross-validation.

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

↑