{"paper":{"title":"Learning How Much to Collaborate: Difficulty-Aware Topology Selection for Multi-Agent Code Generation","arxiv_id":"2609.13890","primary_cat":"cs.MA","submitted_at":"2026-09-12T11:28:16+00:00","version_compiled":"v1"},"notice":"Every quoted sentence is the authors' text from the arXiv listing abstract. Labels and probabilities are the outputs of classifier-1.13.0 on the question bank abstract-p1-20260923, exactly as returned. No sentence in this record was written by a language model.","schema":"pith.compiled-record/v0","status":"compiled","abstract":{"source":"arXiv listing abstract v1","sentences":[{"i":0,"p":0.99,"id":"s0","own":false,"role":"background","text":"Multi-agent systems for code generation are deployed with a single communication topology, chosen once for every problem.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.08,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.1,"role_probabilities":{"gap":0.01,"method":0.0,"result":0.0,"background":0.99,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":1,"p":0.51,"id":"s1","own":false,"role":"gap","text":"This is the wrong granularity.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.09,"main_claim_p":0.09,"quantitative":false,"quantitative_p":0.03,"role_probabilities":{"gap":0.51,"method":0.0,"result":0.0,"background":0.29,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.2}},{"i":2,"p":0.99,"id":"s2","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.96,"main_claim_p":0.26,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.99,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.01,"interpretation":0.0}},{"i":3,"p":0.58,"id":"s3","own":true,"role":"contribution","text":"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.","hedge":{"p":0.99,"label":"asserted"},"own_p":0.91,"main_claim_p":0.28,"quantitative":false,"quantitative_p":0.06,"role_probabilities":{"gap":0.0,"method":0.42,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.58,"interpretation":0.0}},{"i":4,"p":0.76,"id":"s4","own":true,"role":"method","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.94,"main_claim_p":0.04,"quantitative":true,"quantitative_p":0.98,"role_probabilities":{"gap":0.0,"method":0.76,"result":0.17,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.07,"interpretation":0.0}},{"i":5,"p":0.93,"id":"s5","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.91,"main_claim_p":0.15,"quantitative":true,"quantitative_p":0.98,"role_probabilities":{"gap":0.0,"method":0.05,"result":0.93,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.01,"interpretation":0.01}},{"i":6,"p":1.0,"id":"s6","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.96,"main_claim_p":0.4,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":7,"p":1.0,"id":"s7","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.96,"main_claim_p":0.16,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":8,"p":0.98,"id":"s8","own":true,"role":"result","text":"A cross-domain study on 400 mathematical reasoning problems reproduces the effect, the gap widening from 2.5 to 20.9 points.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.91,"main_claim_p":0.11,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.98,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.02,"interpretation":0.0}}]},"compiled":{"main_claim":{"p":0.39,"text":"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.","location":"abstract s6","hedge_strength":{"p":1.0,"label":"asserted"}},"provenance":{"route":{"via":"TypeSafe API","model":"classifier-1.13.0","endpoint":"https://api.typesafe.ai/v1/systemone","provider":"TypeSafe"},"packing":"one request per paper","requests":1,"input_tokens":7272,"cost_usd_reported":0.0},"compiled_at":"2026-09-23","bank_version":"abstract-p1-20260923","model_version":"classifier-1.13.0","abstract_states":{"claims_first":0.06,"states_limitation":0.32,"human_participants":0.05,"controlled_comparison":0.96,"randomized_assignment":0.03,"states_quantitative_result":0.99,"compares_with_prior_results":0.98,"mentions_code_or_data_availability":0.03},"evidential_basis":{"p":0.97,"value":"observation or experiment","probabilities":{"argument":0.0,"literature":0.0,"proof_or_derivation":0.0,"analysis_of_existing_data":0.0,"observation_or_experiment":0.97,"simulation_or_computation":0.03}},"contribution_type":{"p":1.0,"value":"method or tool","probabilities":{"review":0.0,"method_or_tool":1.0,"empirical_study":0.0,"simulation_study":0.0,"theoretical_result":0.0,"dataset_or_benchmark":0.0,"position_or_commentary":0.0}},"contribution_statement":{"p":1.0,"text":"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.","location":"abstract s3"}},"coverage":{"tier":"abstract","levels_run":["P abstract"],"not_examined":["full text","figures and tables","references and citing sentences","relations to other papers"],"sources_read":["arXiv listing abstract v1"],"levels_not_run":["S sections","T body sentences","C citations","R cross-paper relations"],"sentences_examined":9,"sentences_in_abstract":9},"measured_accuracy":{"url":"https://pith.science/accuracy","measured_on":"2026-10-02","method":"two independent model families labelled a fresh random sample blind; the figure is how often the published label matches their consensus","sentence_role_agreement":0.92,"main_claim_agreement":0.908,"typed_citation_agreement":0.933,"typed_citation_agreement_95_interval":[0.917,0.945],"review_comments_accurate":0.758,"review_comments_accurate_95_interval":[0.684,0.82],"review_caught_admitted_error_found_or_related":0.448,"review_comments_judged":{"judged_by":["gpt-5.6-luna","grok-4.7"],"judged_against":"Pith's own text copy of each paper: text extracted from the PDF, the first 90,000 characters","measured_on":"2026-10-04","accurate":113,"decided":149,"sampled_reviews":200,"split_by_lane":false,"by_lane":"https://pith.science/accuracy#by-lane"}}}