MWLDE
Work/Research | NeurIPS 2026 Submission
In Progress

ArchComm

Does Agent Architecture Shape Emergent Language? A Comparative Study of Communication in Multi-Agent Referential Games

A controlled empirical study investigating whether neural agent architecture shapes emergent language structure in multi-agent referential games. Compares LSTM, GRU, Transformer and MLP across 10 random seeds each.

PythonPyTorchEGG ToolkitREINFORCEGumbel-SoftmaxMulti-Agent RLEmergent Communication
2026 — In Progress | Research | NeurIPS 2026 Submission
GitHub
hero image

Overview

When two artificial agents must cooperate to win a game — with no shared language and no human supervision — they develop a communication protocol from scratch. Prior work has shown these emergent protocols sometimes exhibit properties reminiscent of natural language, but almost always uses recurrent architectures (LSTMs) without questioning whether that choice matters.

This paper asks a simple question: does the architecture of the agent shape the structure of the language it develops? We run a controlled comparison of four sender-receiver architecture pairs — LSTM, GRU, Transformer and MLP — in a Lewis signaling game, holding everything else fixed.

The research question

Compositionality — the property that meaning is systematically built from parts — is one of the defining features of human language. A finite vocabulary can express an infinite range of meanings because sentences are structured, not arbitrary.

Multi-agent referential games offer a way to study whether compositionality emerges naturally from communicative pressure alone, or whether it requires specific conditions. Prior work treats architecture as an implementation detail. We treat it as the independent variable.

Experimental setup

The game: a sender observes a 32-dimensional feature vector (the target) and produces a message of up to 5 symbols (vocabulary size 50). The receiver sees the message alongside 5 candidate objects and must identify the target. All reward comes from task success — there is no explicit pressure toward compositional structure.

We compare four architecture pairs, each run with 10 independent random seeds:

  1. LSTM — long short-term memory; primary baseline per prior literature
  2. GRU — gated recurrent unit; lighter recurrent variant for within-family comparison
  3. Transformer — self-attention encoder; no inherent sequential inductive bias
  4. MLP — feedforward network; no sequential processing; ablation baseline

All architectures use embedding dimension 64 and hidden dimension 256. Transformer agents are additionally evaluated under Gumbel-Softmax training (GS), since REINFORCE proved unstable for attention-based communication.

Evaluation metrics: task accuracy, topographic similarity (topo ρ — Spearman rank correlation between pairwise meaning distances and message distances), symbol entropy and effective vocabulary size.

Results

The main finding: recurrent architectures produce more compositionally organised languages than non-recurrent architectures, even when task accuracy is comparable.

ArchitectureVal AccTopo ρEntropyEff. Vocab
LSTM0.630 ± 0.0370.192 ± 0.0186.13 ± 0.3419.9
GRU0.662 ± 0.0550.181 ± 0.0286.36 ± 0.2524.6
Transformer (REINFORCE)0.271 ± 0.1390.134 ± 0.0080.99 ± 1.974.4
Transformer (GS)0.575 ± 0.0370.149 ± 0.0395.04 ± 0.5111.1
MLP0.572 ± 0.0420.136 ± 0.0295.35 ± 0.7310.0
Mean ± std across 10 seeds. GS = Gumbel-Softmax.
5
Conditions
10
Seeds Each
0.192
Best Topo ρ

Key findings

Recurrent architectures (LSTM, GRU) achieved higher topographic similarity than non-recurrent baselines (MLP, Transformer) despite comparable task accuracy — suggesting that sequential inductive bias specifically facilitates compositional language structure, beyond what communicative pressure alone produces.

Transformer agents trained with REINFORCE failed to learn in 8 out of 10 seeds, collapsing to a single repeated symbol. Under Gumbel-Softmax training all seeds converged, but topographic similarity remained lower than recurrent models. The failure was in the training signal; the lower compositionality is architectural.

The near-identical results of LSTM and GRU suggest recurrence itself — not LSTM-specific gating mechanics — is the relevant inductive bias. Compositionality is not simply a byproduct of communicative success; it is also a function of what kind of learner is doing the communicating.

Gallery

Learning curves and message length distribution across all five conditions, mean ± 1 std across 10 seeds.

Figure 1 — Learning curves
Figure 2 — Message length distribution

What I learned

Architecture is not a neutral implementation detail. The inductive bias you build into an agent — specifically, whether it processes sequences step-by-step — shapes the kind of language it develops, independently of whether it succeeds at the task.

Running 10 seeds per condition and tracking variance was as important as the point estimates. The Transformer's REINFORCE failure was only visible in aggregate — individual seeds would have been misleading. Multi-seed evaluation is non-negotiable for emergent communication research.

I also learned that writing up research is a different skill from doing it. Making the methodology precise enough that someone else could replicate it, and separating what the results actually show from what you hoped they would show, took as much effort as the experiments themselves.