Skip to content
ImagineWorld

Reinforcement Learning of Communication in a Mesh of Small Language Models

node_idnode-paper_arxiv-2609.30578_reinforcement-learning-of-communication-in-a-mesh-of-small-language-models
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2609.30578
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the agent-arxivs field, the work studies reinforcement learning of communication in a mesh of small language models — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleReinforcement Learning of Communication in a Mesh of Small Language Models
paper_authorsMehmet Kerem Turkcan
arxiv_id2609.30578
arxiv_urlhttps://arxiv.org/abs/2609.30578
arxiv_categories{"primary":"cs.LG","secondary":[]}
arxiv_v1
arxiv_submitted_at2026-09-24
arxiv_updated_at2026-09-24
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedfalse
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:34:29Z
local graph

Reinforcement Learning of Communication in a Mesh of Small Language Models

Section titled “Reinforcement Learning of Communication in a Mesh of Small Language Models”

Authors: Mehmet Kerem Turkcan

arxiv: 2609.30578

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering. This paper’s figures are not image-based or were unavailable; captions are kept.


Reinforcement Learning of Communication in a Mesh of Small Language Models

Mehmet Kerem Turkcan

Department of Civil Engineering, Columbia University

[email protected]

Abstract

Language models gain accuracy from more compute at test time, but majority voting over independent samples saturates: as samples grow, the vote converges to the model’s most frequent answer. Communication can add what sampling cannot: an agent that solves a problem can pass the key step to the others. We present TalkMesh, a decentralized mesh of small language model agents that learns when and what to communicate. Each agent samples a proposal and scores it with a trained confidence head. The most confident agent broadcasts a hint; agents below a confidence threshold revise, keeping each revision that outscores its proposal. Gossip consensus approximates the vote weighted by confidence without a coordinator. A talk policy, trained with group relative policy optimization on the change in correctness after revision, writes hints and revisions. With three agents, which together generate at most six outputs, the mesh reaches the accuracy of majority voting over 32 samples with each of three models. Trained with at most 8 agents and evaluated with 32, it raises accuracy from 0.568 under self-consistency to 0.705 (Qwen3.5-0.8B, GSM8K) and from 0.492 to 0.722 (SmolLM3-3B, MATH-500). When 4 of 8 agents collude on a wrong answer with fabricated confidence and poisoned hints, majority vote accuracy falls to 0.000 (Qwen3.5-0.8B, GSM8K). A defended mesh, whose agents rescore solutions with their own confidence heads, retains 0.507. Across reasoning, embodied coordination, and traffic signal control, messages improve a decision when the acting agent cannot observe the information it requires and another agent can send it.

Figure 1: Overview of TalkMesh. (a) Concept: independent proposals, one hint from the most confident agent, revisions gated by the confidence head, and gossip consensus. (b) Implementation: the frozen base model with two adapters, the five inference stages, and the training loop of the talk policy.

Self-consistency (Wang et al., 2022) scales the compute of a language model at test time: it samples independent chains of thought and returns the majority answer. Accuracy increases with the number of samples and saturates as the vote converges to the model’s most frequent answer. Reading a peer’s reasoning lets an agent correct errors and recover omitted steps, so interaction adds information. In multiagent debate and discussion (Du et al., 2023; Liang et al., 2024), a fixed set of agents reads one another’s solutions in rounds designed by hand. Agents that converge on the same answers correlate their errors, which removes the independence the majority vote relies on. Inference with interacting agents therefore requires communication that adds information and preserves independence.

We present TalkMesh, a decentralized mesh of small language model agents on a sparse communication graph, whose agents learn when and what to communicate (Figure 1). Each agent first samples a proposal y_iy\_{i} from the frozen base model MM, as in self-consistency. We attach two LoRA adapters to MM: the confidence head VV scores every proposal, and the talk policy TT writes hints and revisions. The agent with the highest score, the speaker, writes a hint. Every listener, an agent scoring below a threshold, reads the hint and rewrites its proposal as a revision y_i′y\_{i}^{\prime}. All other agents keep their proposals, which remain independent. The acceptance test replaces a proposal with its revision only if VV scores the revision higher. Gossip consensus, in which neighbours repeatedly average answer tallies, approximates the vote weighted by confidence scores (the weighted vote) without a coordinator. We train TT inside the protocol with group relative policy optimization (GRPO) on a flip reward, +1+1 for a revision that corrects a wrong proposal and −1-1 for the reverse; a hint receives the mean flip reward of its listeners. A curriculum over network size raises the rollout size KK (agents per training rollout) through 3, 5, and 8.

Figure 2 reports accuracy against network size NN. With three agents, the trained mesh reaches the accuracy of self-consistency with 32 samples for all three models. At N=32N=32 (200 test problems per model), the trained mesh raises accuracy from 0.492 under self-consistency to 0.722 for SmolLM3-3B on MATH-500 and from 0.568 to 0.705 for Qwen3.5-0.8B on GSM8K; without messages, the weighted vote (Rerank) reaches 0.590 and 0.655 (Table 2). For these two models and Qwen3-1.7B on MATH-500, the trained mesh exceeds self-consistency at every NN from 3 to 32 after training with at most K=8K=8 agents. When 4 of N=8N{=}8 agents are compromised, submitting a shared wrong answer with claimed confidence 0.99 and a poisoned hint as speaker, majority vote accuracy on 150 test problems falls to 0.000 for all three models. The defended mesh rescores every solution with the confidence head and applies the acceptance test to every revision. It retains 0.507 with Qwen3.5-0.8B on GSM8K (0.667 without attack) and exceeds the undefended mesh, which omits both checks and falls to at most 0.007, for every model (p<10−3p<10^{-3}, McNemar’s exact test; Section 5.3). On the embodied coordination benchmark SwarmBench, REINFORCE training raises the Flocking score of all three models over twenty unseen seeds, and a Qwen3.5-0.8B policy distilled from a centralized solver matches the solver on Synchronization (Section 5.4). We introduce a traffic signal control benchmark of sixteen intersections under New York City timing constraints and train language model meshes by behaviour cloning on traces of a communicating controller whose incident warnings reach intersections that cannot observe the incident. Before any language model evaluation, we fix a severe subset of ten of the 70 scenarios, on which messages reduce the communicating controller’s mean person delay by 48.2 s. On this subset, delivering messages reduces the person delay of the Qwen3.5-0.8B, 2B, and 4B meshes by 23.6±6.723.6\pm 6.7 s (standard error over 60 paired episodes). Over all 70 scenarios, the reduction for the 4B mesh is 11.4±6.911.4\pm 6.9 s (Section 5.5).

The hint and the incident warning illustrate the observability criterion: communication improves a decision when the required information is unobservable to the acting agent and observable to another agent that can send it. Withholding messages lowers performance in reasoning and traffic, where the acting agent cannot observe the required information; in two SwarmBench settings where it can, scores with and without messages agree within one standard error (Table 2).

Self-consistency (Wang et al., 2022) established majority voting over sampled chains of thought as the baseline for inference scaling. Cobbe et al. (2021) showed that reranking by a trained verifier outperforms finetuning alone, and Li et al. (2024) showed that voting accuracy increases with the number of agents across models and tasks. Without communication, the mesh reduces to the weighted vote (Rerank), which combines voting with verifier reranking. Multiagent debate (Du et al., 2023; Liang et al., 2024), ReConcile (Chen et al., 2024), and Exchange-of-Thought (Yin et al., 2023) use handcrafted discussion rounds and an untrained communication policy among a fixed number of agents. Decentralized agent networks (Yang et al., 2025; Li et al., 2025; Ruan et al., 2025; Zhang et al., 2026b; Tian et al., 2026) and consensus schemes robust to Byzantine agents (Jo and Park, 2025; Lee et al., 2026) use frozen models. Our training is closest to reinforcement learning of agent collaboration (Liu et al., 2026; Sun et al., 2024), learned multiround message protocols (Zhang et al., 2026a; Fan et al., 2026), communication guided by language models for cooperative control (Bae et al., 2026), and emergent communication in multiagent reinforcement learning (Foerster et al., 2016; Sukhbaatar et al., 2016; Lowe et al., 2017). In TalkMesh, (i) messages are natural language, (ii) the confidence head selects speakers and listeners, (iii) each hint receives the mean flip reward of its listeners, and (iv) we train TT inside the inference protocol.

Concurrent work with frontier models shows that agents sharing verified progress through a common workspace outperform the best independent agent (Park et al., 2026). Teams with collaboration strategies learned by reflective prompt search exceed a perfect router over their members’ answers in average accuracy on mathematics and physics benchmarks (Pappu et al., 2026). Both find that communication helps most when progress is verifiable; our acceptance test verifies each revision with the confidence head. TalkMesh trains the talk policy with GRPO on at most 8 agents, reaches consensus by gossip without a judge model or common workspace, and exceeds self-consistency at every NN up to 32 with five open models of 0.8B to 4B parameters (Sections 5.1 and 5.2).

Each agent in TalkMesh runs a frozen base model MM with two LoRA adapters: (i) a confidence head VV, which scores a solution, and (ii) a talk policy TT, which writes hints and revisions (Figure 1). Agents with the same base model share these weights; in a heterogeneous mesh (Section 5.3), each agent scores and revises with the adapters of its own model. Because MM is never updated, training leaves the accuracy of a single proposal unchanged.

Inference protocol. Given a problem xx and NN agents on a connected communication graph, the mesh executes five stages. (i) Propose: each agent samples a proposal y_i∼M(x)y\_{i}\sim M(x) with both adapters disabled and the sampler of self-consistency, so the extracted answers are i.i.d. Answers come from the ANSWER: tag (fallback: a boxed answer) and match numerically; a proposal without an answer abstains. (ii) Score: the confidence head assigns c_i=V(x,y_i)=σ(z_Yes−z_No)c\_{i}=V(x,y\_{i})=\sigma(z\_{\text{Yes}}-z\_{\text{No}}), the sigmoid of the logit gap between Yes and No after a fixed verification prompt. (iii) Speak: the speaker is the agent with the highest confidence score, s=arg⁡max⁡_ic_is=\arg\max\_{i}c\_{i}. Agents find ss without a coordinator by gossiping the maximum c_ic\_{i} within a number of rounds equal to the graph diameter. The speaker generates a hint m=T(x,y_s)m=T(x,y\_{s}) of at most 112 tokens; the speaker prompt requests the key idea, the critical step, and the final answer. (iv) Gated revision: every listener (agent i≠si\neq s with c_ic\_{i} below the threshold t=0.5t=0.5 or without an answer) generates a revision y_i′=T(x,y_i,m)y\_{i}^{\prime}=T(x,y\_{i},m). The acceptance test keeps the revision only if V(x,y_i′)>V(x,y_i)V(x,y\_{i}^{\prime})>V(x,y\_{i}). The other agents keep their proposals, which remain independent. (v) Consensus: gossip consensus computes the mesh answer as the weighted vote a^=arg⁡max⁡_a∑_ic_i 1 ⁣[a_i=a]\hat{a}=\arg\max\_{a}\sum\_{i}c\_{i}\,\mathbf{1}\!\left[a\_{i}=a\right], with answers a_ia\_{i} and scores c_ic\_{i} after stage (iv).

Gossip consensus. Each agent ii holds a sparse tally vector τ_i\tau\_{i} over answer strings, initialized as {a_i↦c_i}\{a\_{i}\mapsto c\_{i}\}, and in each gossip round rr averages it with the tallies of its neighbours:

τ_i(r+1)=W_ii τ_i(r)+∑_j∈N(i)W_ij τ_j(r),W_ij=11+max⁡(d_i,d_j),W_ii=1−∑_j∈N(i)W_ij,\begin{gathered}\tau\_{i}^{(r+1)}=W\_{ii}\,\tau\_{i}^{(r)}+\sum\_{j\in\mathcal{N}(i)}W\_{ij}\,\tau\_{j}^{(r)},\\[2.0pt] W\_{ij}=\frac{1}{1+\max(d\_{i},d\_{j})},\qquad W\_{ii}=1-\sum\_{j\in\mathcal{N}(i)}W\_{ij},\end{gathered}(1)

where agent ii has neighbours N(i)\mathcal{N}(i) and degree d_id\_{i}. These Metropolis weights form a symmetric, doubly stochastic mixing matrix, so on any connected graph every τ_i(r)\tau\_{i}^{(r)} converges to the network average (Xiao et al., 2005; Boyd et al., 2006). The answer of each agent, arg⁡max⁡_aτ_i(r)(a)\arg\max\_{a}\tau\_{i}^{(r)}(a), therefore converges to the centralized weighted vote; Section 5.1 measures their agreement. Over RR gossip rounds, agent ii sends O(d_iR)O(d\_{i}R) tallies, independent of NN; each tally holds one entry per distinct answer. All runs use connected Watts-Strogatz graphs with rewiring probability 0.10.1, mean degree 44 (22 at N=3N{=}3), and R=25R=25.

Training the confidence head. For each model and dataset, we train VV as an outcome verifier (Cobbe et al., 2021) on eight solutions sampled from MM per training problem, labelled by the ground truth answer. Batches balance correct and incorrect solutions, and we keep the checkpoint with the highest validation accuracy.

Training the talk policy. We train TT, one adapter for speaker and listener initialized to reproduce MM, with group relative policy optimization (Shao et al., 2024, GRPO;) on rollouts of the inference protocol. A rollout runs stages (i) to (iii) and selects the listeners. For each problem, we sample a group of G=4G{=}4 hints m_1,…,m_Gm\_{1},\dots,m\_{G} from the speaker context (x,y_s)(x,y\_{s}), and every listener writes one revision under each hint. The revision y_g,i′y\_{g,i}^{\prime} of listener ii under hint gg receives the flip reward

r_g,i=1 ⁣[y_g,i′ correct]−1 ⁣[y_i correct]∈{−1,0,+1},r\_{g,i}=\mathbf{1}\!\left[y\_{g,i}^{\prime}\text{ correct}\right]-\mathbf{1}\!\left[y\_{i}\text{ correct}\right]\in\{-1,0,+1\},(2)

and hint gg receives the speaker reward R_g=1∣L∣∑_i∈Lr_g,iR\_{g}=\frac{1}{|L|}\sum\_{i\in L}r\_{g,i}, the mean flip reward over listeners LL. Both rewards score revisions before the acceptance test. We obtain advantages by standardizing (i) speaker rewards over the GG hints of one problem and (ii) flip rewards over the GG revisions of one listener. Problems without listeners and groups with equal rewards contribute no gradient. We penalize the KL divergence of TT from MM with the k_3k\_{3} estimator (weight 0.10.1) (Schulman, 2020). Only training uses ground truth answers, as in centralized training with decentralized execution (Lowe et al., 2017). A curriculum over network size raises the rollout size KK through 3, 5, and 8 for 20 steps each, with learning rate 2×10−52\times 10^{-5}. We keep the checkpoint with the highest mesh accuracy on validation problems, evaluated every 10 steps.

Figure 2: Accuracy against network size N N for Qwen3.5-0.8B on GSM8K and Qwen3-1.7B and SmolLM3-3B on MATH-500 (pooled evaluation on 200 test problems, Section 4 ). Bands show one standard error. All conditions except SC use the centralized weighted vote. Labels give the margin of Trained talk over SC at N = 32 N{=}32 , rounded to two decimals.

We use Qwen3.5-0.8B, Qwen3-1.7B, and SmolLM3-3B with thinking disabled and rank 16 LoRA adapters on all linear layers (Hu et al., 2021). We evaluate the 0.8B model on GSM8K (Cobbe et al., 2021) and the larger models on the 326 numeric MATH-500 problems (Hendrycks et al., 2021; Lightman et al., 2023). We use Qwen3.5-2B and Qwen3.5-4B for scaling within one model family (Section 5.2); Section 5.3 states its own test sets. Training uses the GSM8K training split and, for MATH-500, 4,958 numeric MATH training problems; training, validation, and test sets are disjoint.

We compare four conditions on identical proposals: (i) SC, self-consistency by majority vote (Wang et al., 2022); (ii) Rerank, the weighted vote without communication; (iii) Frozen talk and (iv) Trained talk, the protocol with MM or TT, respectively, writing hints and revisions. Reasoning agents sample at temperature 0.7 (nucleus 0.8, or 0.9 for SmolLM3-3B; top-kk 20); proposals and revisions use at most 320 (GSM8K) or 448 (MATH-500) new tokens.

Pooled evaluation uses 200 test problems per model (of 326 on MATH-500) and two pools of P=32P{=}32 proposals per problem, scored once by VV. Each N∈{3,5,8,16,32}N\in\{3,5,8,16,32\} uses min⁡(4,⌊P/N⌋)\min(4,\lfloor P/N\rfloor) random subsets per pool, each rerunning stages (iii) and (iv). We average accuracy over subsets, then pools; standard errors combine both. Mesh accuracies use the centralized weighted vote. Gossip consensus (R=25R{=}25 rounds, one graph per NN) is compared with this vote and with SC (McNemar’s exact test).

5.1  Collective accuracy as a function of network size

Section titled “5.1  Collective accuracy as a function of network size”

We test whether Trained talk keeps its margin over SC as NN grows and how much of it communication causes. Figure 2 reports all four conditions. At N=32N{=}32, Trained talk exceeds SC by +0.137+0.137 (0.8B, GSM8K: 0.7050.705 against 0.5680.568), +0.085+0.085 (1.7B, MATH-500: 0.4630.463 against 0.3780.378), and +0.230+0.230 (3B, MATH-500: 0.7220.722 against 0.4920.492). With three agents, Trained talk reaches SC with 32 samples for every model (0.5760.576 against 0.5680.568, 0.4240.424 against 0.3780.378, 0.6030.603 against 0.4920.492). Rerank reaches 0.6550.655, 0.4170.417, and 0.5900.590 at N=32N{=}32, and Frozen talk 0.6800.680, 0.4500.450, and 0.6600.660. Trained talk exceeds both at every NN, so training TT adds accuracy beyond the weighted vote and beyond hints and revisions written by MM. Without the curriculum, a talk policy trained at fixed rollout size K=5K{=}5 (not plotted) exceeds SC only for N≤8N\leq 8. Gossip consensus agrees with the centralized weighted vote on 99.4% of problems averaged over models, NN, and both pools (at least 98% at every NN). Its margin over SC is significant at every NN for all three models in both pools (p<0.01p<0.01, McNemar’s exact test).

Table 1: GSM8K accuracy of Qwen3.5-0.8B, Qwen3.5-2B, and Qwen3.5-4B ( pooled evaluation on 200 test problems, two pools of 32 proposals; standard errors at most 0.020). Trained talk accuracy increases with model size at every NN (bold: highest accuracy at each NN). Under self-consistency, the 2B model trails the 0.8B model at N≥5N\geq 5 (italics: largest gap).

Self-consistencyTrained talk
NN0.8B2B4B0.8B2B4B
30.4290.4320.5790.5760.7080.726
50.4700.4580.6100.6190.7650.779
80.5030.4730.6210.6560.8040.809
160.5350.4950.6360.6750.8410.856
320.5680.4920.6450.7050.8550.865

The models of Section 5.1 differ in size and family. We therefore repeat confidence head training, talk policy training, and pooled evaluation on GSM8K for Qwen3.5-2B and Qwen3.5-4B. Table 1 reports accuracy of SC and Trained talk. Under SC, the 2B model trails the 0.8B model at every N≥5N\geq 5. Trained talk reaches 0.7050.705, 0.8550.855, and 0.8650.865 for 0.8B, 2B, and 4B at N=32N{=}32 and increases with model size at every NN. For the 2B model at N=32N{=}32, Trained talk exceeds SC by 0.3620.362 (from unrounded means over both pools), the largest margin over SC in this paper.

5.3  Compromised agents and heterogeneous meshes

Section titled “5.3  Compromised agents and heterogeneous meshes”

Figure 3: Traffic signal control. (a) The 4 × 4 4\times 4 grid with a blocked segment, an incident warning relayed between neighbouring intersections, and upstream metering. (b) Person delay of the Qwen3.5 meshes, all 70 scenarios, messages delivered. (c) The same meshes on the severe subset, messages withheld and delivered.

In a coordinated attack, k=4k{=}4 of N=8N{=}8 agents submit a shared wrong answer with claimed confidence 0.990.99 and, as speaker, send a hint asserting that answer. The defended mesh applies two checks: (i) agents rescore every solution with the shared confidence head, so all agents agree on the speaker and vote weights; (ii) revisions must pass the acceptance test. The undefended mesh omits both checks. With Trained talk on 150 test problems per model (0.8B on GSM8K; 1.7B and 3B on MATH-500), majority vote over all eight ballots falls to 0.0000.000 accuracy for every model and the undefended mesh to at most 0.0070.007. The defended mesh retains 0.507, 0.340, and 0.473 for 0.8B, 1.7B, and 3B (0.667, 0.513, 0.693 without attack) and exceeds the undefended mesh for every model (p<10−3p<10^{-3}, McNemar’s exact test). For 0.8B and 3B it exceeds SC over the four honest agents (0.473, 0.467).

Heterogeneous meshes on GSM8K (N=8N{=}8) contain (4,2,2)(4,2,2), (4,0,4)(4,0,4), or (0,4,4)(0,4,4) agents of 0.8B, 2B, and 4B; each agent uses the confidence head and talk policy of its own model, without retraining. Over two runs per composition (same 200 test problems, independent proposals), the mesh averages 0.808 accuracy against 0.717 for SC; its lowest run (0.775) exceeds the highest SC run (0.740). Table 2 gives the range of mean accuracy per composition.

On SwarmBench (Ruan et al., 2025), agents with 5×55{\times}5 views on an 8×88{\times}8 or 10×1010{\times}10 grid broadcast to visible agents. Flocking alone has dense reward, so REINFORCE trains moves and messages on the change in EMD score (reduction in earth mover’s distance to the target shape) plus cohesion. With four agents, the EMD score over twenty unseen seeds rises from 0.050.05 to 0.600.60 (Qwen3.5-0.8B), 1.651.65 to 2.302.30 (Qwen3-1.7B), and 0.800.80 to 0.950.95 (SmolLM3-3B). The four other tasks count completions per episode and use distillation from a verifiable expert, a centralized solver: behaviour cloning on its traces, then GRPO on its scores of sampled moves, selecting checkpoints on separate seeds. On eighty unseen seeds, distilled Qwen3.5-0.8B matches the solver on Synchronization (18/1818/18) and raises Foraging, Pursuit, and Transport from zero to 55%, 48%, and 26% of the solver’s 3.83.8, 1.91.9, and 5.25.2.

5.5  Traffic signal control under incidents and timing constraints

Section titled “5.5  Traffic signal control under incidents and timing constraints”

Table 2: Effect of withholding messages. Hidden regime: the acting agent cannot observe what its decision requires; observed regime: it can. Δ\Delta: change from the control (accuracy; completions or captures per episode; person delay in s, negative is better). Ranges: compositions (two runs of 200 problems) or meshes (20 paired episodes). In parentheses: the largest reduction on one seed.

SettingControl without communicationWith communicationΔ\DeltaRegime
Reasoning, 0.8B/GSM8K (N=32N{=}32)Rerank 0.6550.655Trained talk 0.7050.705+0.050+0.050hidden
Reasoning, 3B/MATH-500 (N=32N{=}32)Rerank 0.5900.590Trained talk 0.7220.722+0.132+0.132hidden
Heterogeneous mesh (N=8N{=}8, 2 runs each)SC 0.7050.705 to 0.7320.732mesh 0.7900.790 to 0.8300.830+0.085+0.085 to 0.0980.098hidden
SwarmBench Synchronization/Foraging/Pursuitmessages withheldmessages delivered≈0{\approx}0 (<1<1 s.e.)observed
Pursuit, directive messages (12×1212{\times}12, 8 agents)withheld 1.161.16delivered 1.121.12≈0{\approx}0observed
Traffic, classical, single incident (40 seeds)local adaptive 118.1118.1communicating 116.9116.9−1.2-1.2 (−126-126)hidden
Traffic, classical, severe subset (10 scenarios)local adaptive 379.3379.3communicating 331.2331.2−48.2-48.2hidden
Traffic, language model meshes, severe subsetwithheld 370370 to 387387delivered 350350 to 363363−19-19 to −28-28hidden

We simulate in SUMO (Lopez et al., 2018) sixteen signalized intersections on a 4×44\times 4 grid of 200 m blocks, modeled on the grid scenario of the RESCO benchmark (Ault and Sharon, 2021). Each intersection observes only its own camera. Timing constraints modeled on New York City signals fix a 90 s cycle of two phases and a 12 s minimum green, above the 7 s minimum walk interval of the MUTCD (Federal Highway Administration, 2009); the split (the division of green time between the phases) changes by at most ±5\pm 5 s per cycle. The objective is person delay: mean delay per person (s), counting 1.2 persons per car and one per pedestrian. In each of 40 incident seeds (one simulated hour), a random midblock avenue segment loses capacity for fifteen minutes. The downstream intersection observes the incident: the feeder from the blocked segment (an approach delivering vehicles into an intersection) stops delivering.

Engineered controllers. We compare (i) fixed time control, an even split that never adapts, (ii) a local adaptive controller that moves its split toward Webster’s proportional split (Webster, 1958), computed from the queues and waiting pedestrians it observes, and (iii) a communicating controller that adds messages to (ii). Each cycle, every intersection sends its neighbours its inbound queues, throughputs, and warnings. A starvation detector warns when a feeder with a running average of at least five vehicles per cycle delivers at most one while its queue is empty despite available green. Each intersection forwards a warning it receives to its neighbours; intersections on the flagged corridor apply metering, reducing their green toward it. Over these 40 seeds, mean person delay is 116.9116.9 s (communicating), 118.1118.1 s (local adaptive), and 157.0157.0 s (fixed time). Against the local adaptive controller, the communicating controller has lower median (75.775.7 against 80.180.1 s) and maximum (302.9302.9 against 342.8342.8 s) person delay and reduces it by up to 126 s on a single seed (Table 2). The mean over the ten worst seeds (CVaR_25%\mathrm{CVaR}\_{25\%}) is 224.9224.9, 238.4238.4, and 309.4309.4 s in the same order. A confirmatory sweep of 40 new seeds reproduces every ordering, including the lower maximum delay of the communicating controller (141 s below local adaptive). An oracle controller metering from the true incident location and window has higher mean person delay (124.5124.5 s) than the communicating controller.

Language model meshes. We train Qwen3.5 meshes (0.8B, 2B, 4B) by behaviour cloning on traces of the communicating controller. Each prompt contains the camera summary, feeder deliveries against running averages, and received messages. Each response is a split change and a message of one line naming the nearest blocked corridor while the intersection holds a warning, or stating that none is blocked. We evaluate each mesh, controlling all sixteen intersections in closed loop, on 70 scenarios with three concurrent incidents of 25 minutes under two decoding strategies (greedy decoding and sampling at temperature 0.2). Every episode runs twice, with messages delivered and withheld. The severe subset is ten of these scenarios, fixed before any language model evaluation, on which the communicating controller reduces mean person delay by 48.248.2 s against the local adaptive controller (Table 2); over all 70 scenarios, the reduction is 2.12.1 s. Training traces contain three concurrent incidents, and the training loss upweights responses with warnings.

Table 3: Person delay (s) of the language model meshes. All scenarios: 140 paired episodes per model, messages delivered. Severe subset: 20 paired episodes per model.

All scenariosSevere subset
Qwen3.5 meshDeliveredWithheldDelivered
0.8B284.3386.9362.9
2B282.5381.0353.4
4B274.6369.5350.2

Figure 3 and Table 3 report the results. With messages delivered, mean person delay over all 70 scenarios is 284.3284.3, 282.5282.5, and 274.6274.6 s for the 0.8B, 2B, and 4B meshes. On the severe subset, delivering messages reduces the person delay of every mesh; the pooled reduction over 60 paired episodes is 23.6±6.723.6\pm 6.7 s (mean and standard error). Over all 70 scenarios, messages reduce the person delay of the 4B mesh by 11.4±6.911.4\pm 6.9 s. For the 0.8B and 2B meshes, the change matches the 2.12.1 s reduction of the communicating controller within one standard error. Scored against the true incidents, warnings of the three meshes have mean precision 0.76 (share of warnings naming a blocked corridor during an incident or the six cycles after) and recall 0.98 (share of incident cycles with a warning on a blocked corridor within two cycles). Corridor corroboration, unused in Table 3, delivers a warning only after two distinct senders flag one corridor within two cycles. Under corroboration, one compromised intersection that keeps its control actions but warns of its own unblocked corridor every cycle leaves every mesh’s trajectory unchanged (severe subset, greedy decoding).

5.6  An observability criterion for communication

Section titled “5.6  An observability criterion for communication”

Controls remove messages without retraining, in three hidden and two observed settings (Table 2). In reasoning, listeners see the speaker’s solution only in the hint: Rerank (no hint, no revision) lowers accuracy at N=32N{=}32 by 0.050, 0.046, and 0.132 (0.8B on GSM8K; 1.7B and 3B on MATH-500). In heterogeneous meshes, hints cross model sizes; their control, SC, also omits confidence weighting. Only the downstream intersection observes a traffic incident; upstream intersections act on it. On the severe subset, messages reduce person delay for every language model mesh. On Synchronization, Foraging, and Pursuit, each agent’s 5×55{\times}5 view shows what its decision requires; Synchronization stays at its ceiling without messages, and Foraging and Pursuit scores with and without messages agree within one standard error. Directive messages that assign moves to agents (Pursuit, 12×1212{\times}12 grid) yield 1.12 captures per episode, against 1.16 without. All outcomes match the criterion.

All evaluated tasks have automatically scored outcomes. Training requires supervision: (i) ground truth answers in reasoning, (ii) task rewards and a centralized solver on SwarmBench, and (iii) traces of the communicating controller in traffic. The method therefore needs labelled problems near the target distribution. Traffic results come from SUMO simulation under New York City timing constraints. The scaling study covers one family, Qwen3.5 from 0.8B to 4B, our largest model. Future work will extend the acceptance test and gossip consensus to (i) agents with separate owners and incentives and (ii) networks with partitions, churn, and asynchrony.

We release all environments, training scripts, evaluation protocols, seeds, result files, and the exact command for every reported number.

With three agents, TalkMesh reaches the accuracy of SC with 32 samples; at N=32N{=}32, it raises accuracy from 0.4920.492 to 0.7220.722 (SmolLM3-3B, MATH-500) and from 0.5680.568 to 0.7050.705 (Qwen3.5-0.8B, GSM8K), and communication and training each add accuracy beyond the weighted vote. With four of eight agents compromised, majority vote accuracy falls to 0.0000.000, while the defended mesh retains 0.5070.507 (Qwen3.5-0.8B, GSM8K) and significantly exceeds the undefended mesh for every model. Over 40 incident seeds, the communicating traffic controller has the lowest mean person delay (116.9116.9 s), and on the severe subset messages reduce the person delay of every Qwen3.5 mesh (23.623.6 s pooled over 60 paired episodes). Across all settings, messages improve a decision when another agent holds the information it requires.

  • Ault and Sharon (2021) J. Ault and G. Sharon Reinforcement Learning Benchmarks for Traffic Signal Control. In NeurIPS Datasets and Benchmarks, Cited by: §5.5.
  • Bae et al. (2026) S. Bae, Y. Park, S. Lee, and S. Han LLM-Guided Communication for Cooperative Multi-Agent Reinforcement Learning. Note: arXiv:2605.18077 External Links: 2605.18077 Cited by: §2.
  • Boyd et al. (2006) S. Boyd, A. Ghosh, B. Prabhakar, and D. Shah Randomized gossip algorithms. IEEE Transactions on Information Theory 52 (6), pp. 2508–2530. External Links: Document Cited by: §3.
  • Chen et al. (2024) J. Chen, S. Saha, and M. Bansal ReConcile: Round-Table Conference Improves Reasoning via Consensus among Diverse LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 7066–7085. External Links: Document Cited by: §2.
  • Cobbe et al. (2021) K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman Training Verifiers to Solve Math Word Problems. Note: arXiv:2110.14168 External Links: 2110.14168 Cited by: §2, §3, §4.
  • Du et al. (2023) Y. Du, S. Li, A. Torralba, J. B. Tenenbaum, and I. Mordatch Improving Factuality and Reasoning in Language Models through Multiagent Debate. Note: arXiv:2305.14325 External Links: 2305.14325 Cited by: §1, §2.
  • Fan et al. (2026) W. Fan, T. Tognoli, H. P. Zou, C. Miao, Y. Wang, and X. Zhang TodyComm: Task-Oriented Dynamic Communication for Multi-Round LLM-based Multi-Agent System. Note: arXiv:2602.03688 External Links: 2602.03688 Cited by: §2.
  • Federal Highway Administration (2009) Federal Highway Administration Manual on Uniform Traffic Control Devices for Streets and Highways, 2009 Edition. Washington, DC. Cited by: §5.5.
  • Foerster et al. (2016) J. N. Foerster, Y. M. Assael, N. de Freitas, and S. Whiteson Learning to Communicate with Deep Multi-Agent Reinforcement Learning. Note: arXiv:1605.06676 External Links: 1605.06676 Cited by: §2.
  • Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring Mathematical Problem Solving With the MATH Dataset. Note: arXiv:2103.03874 External Links: 2103.03874 Cited by: §4.
  • Hu et al. (2021) E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen LoRA: Low-Rank Adaptation of Large Language Models. Note: arXiv:2106.09685 External Links: 2106.09685 Cited by: §4.
  • Jo and Park (2025) Y. Jo and C. Park Byzantine-Robust Decentralized Coordination of LLM Agents. Note: arXiv:2507.14928 External Links: 2507.14928 Cited by: §2.
  • Lee et al. (2026) H. Lee, V. Yun, D. Panagou, and S. P. Karimireddy Robust Multi-Agent LLMs under Byzantine Faults. Note: arXiv:2605.09076 External Links: 2605.09076 Cited by: §2.
  • Li et al. (2024) J. Li, Q. Zhang, Y. Yu, Q. Fu, and D. Ye More Agents Is All You Need. Trans. Mach. Learn. Res.. External Links: 2402.05120 Cited by: §2.
  • Li et al. (2025) R. Li, H. Liu, L. Zhao, Z. Li, J. Li, J. Jiang, L. Xu, C. Zhao, M. Fan, and C. Liang SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoning. Note: arXiv:2510.10047 External Links: 2510.10047 Cited by: §2.
  • Liang et al. (2024) T. Liang, Z. He, W. Jiao, X. Wang, Y. Wang, R. Wang, Y. Yang, S. Shi, and Z. Tu Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debate. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 17889–17904. External Links: Document Cited by: §1, §2.
  • Lightman et al. (2023) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s Verify Step by Step. Note: arXiv:2305.20050 External Links: 2305.20050 Cited by: §4.
  • Liu et al. (2026) S. Liu, Z. Liang, X. Lyu, and C. Amato LLM Collaboration with Multi-Agent Reinforcement Learning. Proceedings of the AAAI Conference on Artificial Intelligence 40 (38), pp. 32150–32158. External Links: Document Cited by: §2.
  • Lopez et al. (2018) P. A. Lopez, M. Behrisch, L. Bieker-Walz, J. Erdmann, Y. Flötteröd, R. Hilbrich, L. Lücken, J. Rummel, P. Wagner, and E. Wießner Microscopic Traffic Simulation using SUMO. In 2018 21st International Conference on Intelligent Transportation Systems (ITSC), pp. 2575–2582. External Links: Document Cited by: §5.5.
  • Lowe et al. (2017) R. Lowe, Y. Wu, A. Tamar, J. Harb, P. Abbeel, and I. Mordatch Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments. In Neural Information Processing Systems, External Links: 1706.02275 Cited by: §2, §3.
  • Pappu et al. (2026) A. Pappu, M. Suzgun, Y. Kwon, F. Bianchi, B. El, M. J. Kochenderfer, H. Cao, and J. Zou Self-Organizing Agent Teams Learn to Reason Together. Note: arXiv:2609.22682 External Links: 2609.22682 Cited by: §2.
  • Park et al. (2026) J. Park, V. Kontonis, S. Garg, A. Krishnamurthy, and D. Papailiopoulos Scaling Discovery through Test-Time Communication. Note: arXiv:2609.21032 External Links: 2609.21032 Cited by: §2.
  • Ruan et al. (2025) K. Ruan, M. Huang, J. Wen, and H. Sun Benchmarking LLMs’ Swarm intelligence. Note: arXiv:2505.04364 External Links: 2505.04364 Cited by: §2, §5.4.
  • Schulman (2020) J. Schulman Approximating KL Divergence. Note: http://joschu.net/blog/kl-approx.html Cited by: §3.
  • Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. Note: arXiv:2402.03300 External Links: 2402.03300 Cited by: §3.
  • Sukhbaatar et al. (2016) S. Sukhbaatar, A. Szlam, and R. Fergus Learning Multiagent Communication with Backpropagation. In Neural Information Processing Systems, External Links: 1605.07736 Cited by: §2.
  • Sun et al. (2024) C. Sun, S. Huang, and D. Pompili LLM-based Multi-Agent Reinforcement Learning: Current and Future Directions. Note: arXiv:2405.11106 External Links: 2405.11106 Cited by: §2.
  • Tian et al. (2026) C. Tian, Y. Yao, and J. Cui QueenBee Planner: Skill-Evolving Communication Topologies for Token-Efficient LLM Multi-Agent Systems. Note: arXiv:2606.27492 External Links: 2606.27492 Cited by: §2.
  • Wang et al. (2022) X. Wang, J. Wei, D. Schuurmans, Q. Le, E. Chi, S. Narang, A. Chowdhery, and D. Zhou Self-Consistency Improves Chain of Thought Reasoning in Language Models. Note: arXiv:2203.11171 External Links: 2203.11171 Cited by: §1, §2, §4.
  • Webster (1958) F. V. Webster Traffic signal settings. Road research technical paper, H.M.S.O., London. Cited by: §5.5.
  • Xiao et al. (2005) L. Xiao, S. Boyd, and S. Lall A scheme for robust distributed sensor fusion based on average consensus. In IPSN 2005. Fourth International Symposium on Information Processing in Sensor Networks, 2005, pp. 63–70. External Links: Document Cited by: §3.
  • Yang et al. (2025) Y. Yang, H. Chai, S. Shao, Y. Song, S. Qi, R. Rui, and W. Zhang AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systems. Note: arXiv:2504.00587 External Links: 2504.00587 Cited by: §2.
  • Yin et al. (2023) Z. Yin, Q. Sun, C. Chang, Q. Guo, J. Dai, X. Huang, and X. Qiu Exchange-of-Thought: Enhancing Large Language Model Capabilities through Cross-Model Communication. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 15135–15153. External Links: Document Cited by: §2.
  • Zhang et al. (2026a) X. Zhang, J. Yu, and Z. Zhong Learning Efficient Communication Protocols for Multi-Agent Reinforcement Learning. IEEE Transactions on Machine Learning in Communications and Networking 4, pp. 1335–1352. External Links: Document Cited by: §2.
  • Zhang et al. (2026b) Y. Zhang, F. Liu, Y. Shan, X. Huang, X. Yang, Y. Zhu, X. Cheng, C. Liu, K. Zeng, T. J. Zhang, and W. Jiang SILO-BENCH: A Scalable Environment for Evaluating Distributed Coordination in Multi-Agent LLM Systems. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 29379–29398. External Links: Document Cited by: §2.