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

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

TL;DR

Researchers have demonstrated that heterogeneous, pre-trained vision models (such as ResNets and Vision Transformers) can develop a shared "language" to communicate about objects without altering their internal weights. By adding a thin interface layer, these diverse models can coordinate on tasks, generalize to unseen categories, and integrate "new kid" models into their community with remarkable speed.

The Challenge of Model Diversity

As autonomous systems like self-driving cars and industrial robots become more common, they often need to coordinate. However, these systems are rarely identical; one might be powered by a classic Convolutional Neural Network (CNN) while another uses a modern Vision Transformer (ViT).

The challenge is that these models "see" the world through different mathematical lenses. If a Tesla and a Waymo need to agree on which specific pedestrian to watch, how do they communicate when their internal representations are fundamentally different? Traditionally, you might need to fine-tune the entire system together—an expensive and often impossible task if the model weights are proprietary or frozen. This research asks: Can we build a "plug-and-play" communication layer that lets diverse models talk about the world without retraining their brains?

Methods: The Referential Game

The authors utilize a Referential Game setup to facilitate communication. In each round:

  1. The Sender sees a "target" image and generates a message (a continuous vector).
  2. The Receiver gets that message and a set of candidate images (the target plus several "distractors").
  3. The Goal: The Receiver must pick the correct target based only on the Sender's message.
The Referential Game architecture: A frozen vision module extracts features, while a trainable communication module generates a message for the receiver.

The core innovation is that the "vision modules" (the large pre-trained models) are frozen. Only a tiny "Communication Module"—consisting of a few linear layers—is trained. They tested two types of communication: continuous (sending raw vectors) and discrete (sending symbols). Interestingly, continuous communication was significantly more effective and easier to train for these neural networks.

Datasets and Generalization

The models were primarily trained using ImageNet1k. To test how well the communication protocol generalizes, the researchers used several "Out-of-Domain" (OOD) datasets:

  • ImageNet-21k: Used to find 52 completely new object categories (like specific types of trees or professions) that weren't in the original training set.
  • Cifar100: Small, low-resolution images.
  • Places205: Images of scenes and landscapes rather than isolated objects.
  • CelebA: Close-up photos of human faces.

Key Insights

  • Pre-trained Models are Already "Aligned": Even though a VGG11 and a Swin Transformer have different architectures, they both naturally learn to extract similar high-level semantic features (like "has wheels" or "is furry") during their initial training. This makes "stitching" them together much easier than expected.
  • The "New Kid" Advantage: If a community of models already has a protocol, a brand-new model can learn that existing language much faster than the community could invent a new one from scratch. This suggests we could develop a "universal" protocol for AI communication.
  • Semantics over Pixels: Using Sparse Autoencoders (SAEs), the authors "decoded" the emergent language. They found that specific dimensions in the messages correspond to human-understandable concepts (e.g., one dimension might fire for "metallic grids"), proving the models are communicating about concepts rather than just matching pixels.

Key Results

The experimental results demonstrate that the communication protocol is both robust and efficient across different model pairings.

Performance metrics across different community setups, showing high accuracy and rapid learning for heterogeneous pairs.
  • High Accuracy: Heterogeneous pairs (e.g., a ViT sender and a VGG receiver) achieved 95-99% accuracy on in-domain data.
  • Zero-Shot Generalization: The protocol worked surprisingly well on entirely new datasets. Models trained on ImageNet objects achieved near-perfect accuracy when talking about CelebA faces or Places205 scenes.
  • Rapid Adaptation: A "learner" agent could join a community and reach over 90% communication accuracy in just a single epoch of training its interface layer.
  • Robustness: The communication survived image perturbations like color jittering and resizing, though it struggled with heavy blurring—much like human vision.

Limitations and Future Work

While the results are promising, several hurdles remain:

  • Static vs. Dynamic: The study uses static images. Real-world agents deal with video flows and "egocentric" views (two robots seeing the same object from different angles), which adds significant complexity.
  • Granularity: While the models are great at distinguishing a dog from a car, they still struggle with "instance-level" communication (distinguishing one specific dog from another very similar dog).
  • One-Way Street: The current setup is mostly one-way (Sender to Receiver). Real-world coordination often requires a back-and-forth dialogue, which remains a frontier for future research.

Summary updated

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