Referential communication in heterogeneous communities of pre-trained visual deep networks

Matéo Mahaut, Francesca Franzon, Roberto Dessì, Marco Baroni

TL;DR

Heterogeneous visual neural networks—even those with different architectures like ResNets and Vision Transformers—can learn to communicate about the world through a shared, self-supervised protocol. By adding only a tiny, trainable interface layer to frozen pre-trained backbones, these models can successfully identify objects for one another and even generalize this "language" to entirely new categories and new agents.

What Problem Does This Paper Address?

As we deploy autonomous systems like self-driving cars and industrial robots, we face a "Tower of Babel" problem. These systems are often powered by different visual "brains" (backbones) trained by different companies on different data. If a Tesla needs to tell a Waymo about a specific pedestrian, or two robots need to coordinate on which part to pick up, how do they communicate when their internal representations of the world are fundamentally different?

Standard approaches might rely on fixed labels (e.g., "dog"), but labels are often too coarse or missing entirely. The authors investigate whether these diverse models can develop their own emergent communication protocol to refer to specific objects in their environment without needing human-annotated labels or expensive fine-tuning of their massive visual backbones.

Methods

The researchers use a referential game setup. In each round, a "Sender" agent is shown a target image. It processes this image through its visual backbone and a light, trainable Communication Module to produce a message (a continuous vector). A "Receiver" agent receives this message and is shown a set of candidate images (the target plus several distractors). The Receiver must use its own visual backbone and a Mapper Module to identify which candidate the Sender was talking about.

Key technical details include:

  • Frozen Backbones: The core visual networks (like VGG, ResNet, or ViT) are kept frozen. Only the small interface layers (the Communication and Mapper modules) are trained.
  • Heterogeneous Communities: They test pairs with different architectures and even "populations" where multiple different models are trained to talk to everyone else in the group.
  • Continuous Channel: While some emergent communication research uses discrete symbols, this paper focuses on continuous vectors (16 or 64 dimensions), finding them more robust and easier to optimize.
The referential game setup involves a Sender generating a message from a target image and a Receiver selecting that target from a lineup based on the message.

Datasets

The study utilizes several well-known benchmarks to test different aspects of communication:

  • ImageNet-1k: The primary dataset for training and in-domain testing.
  • ImageNet-21k (Out-of-Domain): A subset of 52 classes entirely disjoint from ImageNet-1k (e.g., specific types of trees or professions) to test if the protocol generalizes to unseen concepts.
  • Cifar100, Places205, and CelebA: Used to test "zero-shot" transfer to different image distributions, such as low-resolution objects, natural scenes, and human faces.
  • Gaussian Blobs: A sanity-check dataset of random noise used to ensure the models aren't just exploiting low-level pixel artifacts.

Key Insights and Ideas

  • Architecture is not Destiny: The most striking finding is that a ResNet (CNN) and a Vision Transformer (Attention-based) can align their "views" of the world almost perfectly. This suggests that despite different internal mechanics, high-performing visual models eventually converge on similar semantic features.
  • The Protocol is Semantic, Not Structural: Using Sparse Autoencoders (SAEs) to "de-code" the messages, the authors found that specific dimensions in the communication vector correspond to human-understandable concepts like "metallic grids," "airplanes," or "food containers."
  • Universal Plug-and-Play: A new agent can join an existing community and learn the established protocol much faster than the community could develop a new one from scratch. This points toward the possibility of a "universal" communication interface for AI.
  • Robustness to Perturbation: The communication remains successful even if images are resized or color-jittered, but it fails when images are blurred. This suggests the models are communicating about the same high-level features that humans use to recognize objects.

Key Results

The authors evaluated a diverse set of architectures, as shown in the table below:

The study employed a wide variety of pre-trained visual architectures, including both convolutional and attention-based models.
  • Near-Perfect Accuracy: On in-domain data (ImageNet-1k), both homogeneous and heterogeneous pairs achieved >98% accuracy in identifying the correct target.
  • Strong Generalization: When tested on unseen categories (ImageNet-21k OOD), the community maintained a respectable ~72% accuracy, far above the random chance of ~1.6%.
  • Rapid Adaptation: New "learner" agents reached over 90% accuracy within just one or two epochs of training their interface layer, demonstrating how easily the protocol transfers to novel architectures.
  • Zero-Shot Transfer: A classifier trained on the messages of one Sender could be used to categorize objects seen by a different Sender with minimal loss in accuracy, confirming the emergence of a truly shared representation.

Limitations and Future Work

While promising, the authors note several areas for further exploration:

  • Continuous vs. Discrete: While continuous vectors worked best here, discrete symbols are more language-like and might be necessary for certain types of reasoning or lower-bandwidth communication.
  • The "Same View" Assumption: In this study, both agents see the exact same image file. In the real world, two robots would see an object from different angles and in different lighting. Scaling this to "egocentric" visual flows is a major next step.
  • Beyond Pointing: Currently, the agents are only "pointing" at objects. Future work needs to expand this to more complex linguistic functions, such as describing actions, asking questions, or giving multi-step instructions.

Summary updated

BibTeX
@inproceedings{mahaut2023referential,
  author = {Matéo Mahaut and Francesca Franzon and Roberto Dessì and Marco Baroni},
  title = {{Referential communication in heterogeneous communities of pre-trained visual deep networks}},
  booktitle = {AAMAS},
  year = {2023},
}
Figure