Metraipolis › archive › dc_717f6df6156b

Learning How Much to Collaborate: Difficulty-Aware Topology Selection for Multi-Agent Code Generation — arXiv:2609.13890

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.13890
License (as archived)
CC0-1.0
Archived
2026-10-15T22:41:22.938Z
SHA-256 of the archived text
389e21d657456236a71797efb7f12941e7e80401dfc4ba37b1bd0d4bc1eafeac
Stable URL of this page
https://metraipolis.com/documento/dc_717f6df6156b

How to cite

Learning How Much to Collaborate: Difficulty-Aware Topology Selection for Multi-Agent Code Generation — arXiv:2609.13890 — arXiv (en), https://arxiv.org/abs/2609.13890 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_717f6df6156b (Metraipolis archive dc_717f6df6156b, sha256 389e21d657456236a71797efb7f12941e7e80401dfc4ba37b1bd0d4bc1eafeac)
BibTeX
@misc{dc717f6df6156b,
  title = {Learning How Much to Collaborate: Difficulty-Aware Topology Selection for Multi-Agent Code Generation — arXiv:2609.13890},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.13890},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_717f6df6156b; sha256 389e21d657456236a71797efb7f12941e7e80401dfc4ba37b1bd0d4bc1eafeac},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.13890. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Multi-agent systems for code generation are deployed with a single communication topology, chosen once for every problem. This is the wrong granularity. Evaluating five topologies on 614 problems from APPS, HumanEval+ and LiveCodeBench, we find that the advantage of hierarchical collaboration over a single agent grows from 2.4 points of pass@1 on the easiest third of problems to 21.1 points on the hardest third, while its token cost stays about ten times higher. We propose the Difficulty-Aware Topology Selector (DATS), which predicts each topology's probability of solving a problem and selects the one maximising predicted success minus cost. Its predictor is a graph network that treats the five topologies as nodes of a connectivity order rather than independent labels, worth 1.7 points over a flat multi-label head. Because the cost penalty is a single scalar recalibrable without retraining, routers compare at equal spend: under this budget-matched protocol six cost-aware methods span 21.6 percentage points, and two baselines leading DATS fall behind once calibrated to it. Fixed at 40% of the always-hierarchical cost, DATS reaches 77.7% pass@1 against 73.6% (always-hierarchical) and 74.3% (strongest learned competitor), all eleven pairwise McNemar comparisons surviving Holm-Bonferroni correction. The 4.1-point gain holds across four backbones spanning fourteen points of capability, and replacing the 39 interpretable features with a graph network or a pretrained encoder shifts accuracy by at most 1.3 points, never significantly. A cross-domain study on 400 mathematical reasoning problems reproduces the effect, the gap widening from 2.5 to 20.9 points.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-15 in cs.MA).
Categorie arXiv: Multiagent Systems (cs.MA) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.13890 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T22:21:04.221Z dalla pagina https://arxiv.org/catchup/cs.MA/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).