Learning what to say and how precisely: Efficient Communication via Differentiable Discrete Communication Learning

Aditya Kapoor, Yash Bhisikar, Benjamin Freed, Jan Peters, Mingfei Sun · DOI

Abstract

In multi-agent reinforcement learning (MARL), effective coordination often hinges on communication. However, most existing frameworks assume the availability of high-precision, 32-bit floating-point communication channels, which are unrealistic for bandwidth-constrained real-world applications. This paper presents a generalized framework for Differentiable Discrete Communication Learning (DDCL), a "plug-and-play" module that allows agents to learn not only when to communicate but also the specific level of precision required for each message. By optimizing a differentiable surrogate for bit-length, agents achieve massive reductions in communication overhead—up to five orders of magnitude—while frequently outperforming high-precision baselines in complex environments like Google Research Football.

Introduction

The challenge of coordination in MARL is often met with communication protocols where agents share internal states or observations. While effective in simulation, these protocols typically ignore the physical constraints of communication hardware. Standard approaches to reducing overhead often rely on "gating" mechanisms—binary decisions to send or withhold a full-precision message. Such methods lack the granularity to adapt message precision to the complexity of the task at hand.

This research addresses this gap by enabling agents to learn adaptive discretization. The goal is to allow an agent to communicate with high precision only when necessary, using fewer bits for routine or simple coordination.

Methodology: Generalizing DDCL

The core of the proposed approach is an extension of Differentiable Discrete Communication Learning (DDCL). The authors introduce several key innovations to make this technique viable for general MARL architectures.

1. Handling Unbounded Signals

Original DDCL implementations were restricted to bounded, positive signals (typically 0 to 1). This research extends the mathematical framework to support unbounded, signed real-valued signals. This allows the DDCL layer to be integrated into standard neural network architectures without requiring restrictive activation functions like Sigmoid or ReLU at the communication interface.

2. The Reparameterization Trick for Discrete Channels

Discretization is inherently non-differentiable, which prevents standard backpropagation. To overcome this, the authors employ a stochastic reparameterization trick. The sender adds uniform noise to the signal before quantization; the receiver, utilizing a synchronized random seed, subtracts the same noise. This process transforms the discrete channel into a mathematically continuous channel with additive noise, preserving the flow of gradients during training.

3. Differentiable Communication Cost

To incentivize efficiency, the authors derived a differentiable loss function, $L_{comms}$, which serves as a surrogate for the expected bit-length of a message. By incorporating this into the total training objective, the model naturally penalizes high-magnitude signals that require more bits to represent, encouraging the emergence of efficient encoding schemes.

Figure 1: (a) Success rate and communication rate as a function of the penalty parameter $\lambda$. (b) Emergent frequency-aware encoding in the CommunicatingGoalEnv, showing a strong negative correlation between goal frequency and communication bits.

Experimental Evaluation

The DDCL module was integrated into four prominent MARL algorithms: IC3Net, TarMAC, GA-Comm, and MAGIC. These were tested across a variety of benchmarks:

  • Traffic Junction (TJ): A navigation task requiring 10–20 agents to avoid collisions.
  • Predator-Prey (PP): A coordination task involving simultaneous capture of prey.
  • Google Research Football (GRF): A high-fidelity physics environment for 3v1 attacking and corner kick scenarios.

Key Insights and Results

Emergent Huffman Coding

In qualitative tests using a "CommunicatingGoalEnv" grid-world, agents demonstrated the ability to learn information-theoretic optimal encoding from scratch. As shown in Figure 1(b), there is a near-perfect negative correlation ($r = -0.993$) between the frequency of a goal and the number of bits used to communicate it. Agents learned to use as little as 0.25 bits for common goals and nearly 16 bits for rare ones, effectively discovering a form of Huffman coding.

Performance and Efficiency

The most striking result is the scale of bandwidth reduction. In the Traffic Junction environment, the DDCL-enhanced MAPPO algorithm achieved a 45,000x reduction in bits compared to 32-bit baselines. Furthermore, reducing precision did not necessarily come at the cost of performance. In the Google Research Football 3v1 task, the DDCL version of IC3Net outperformed its high-precision counterpart by 467.1%.

Figure 2: Success Rate vs. Communication Bits (log scale) for Google Research Football (GRF) scenarios. DDCL variants consistently occupy the Pareto frontier, providing high success rates at significantly lower bit costs.

Robustness and the "Bitter Lesson"

The authors observed that a general-purpose Transformer architecture equipped with DDCL often matched or exceeded the performance of highly specialized communication architectures. This suggests that the ability to learn precision is a more fundamental lever for performance than the design of complex, hand-crafted communication topologies.

Conclusion

By making the discrete communication channel differentiable, this work provides a robust framework for training communication-efficient MARL agents. The ability to learn adaptive precision allows agents to navigate the trade-off between coordination and bandwidth, leading to emergent behaviors that mirror optimal coding principles. Future work will explore non-uniform quantization grids and methods to decouple signal magnitude from informational frequency to further refine these efficient communication protocols.

Summary updated

BibTeX
@misc{kapoor2025learning,
  author = {Aditya Kapoor and Yash Bhisikar and Benjamin Freed and Jan Peters and Mingfei Sun},
  title = {{Learning what to say and how precisely: Efficient Communication via Differentiable Discrete Communication Learning}},
  year = {2025},
  eprint = {2511.01554},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.01554},
}
Figure