Infinite use of finite means: Zero-Shot Generalization using Compositional Emergent Protocols

Rishi Hazra, Sonu Dixit, Sayambhu Sen

Introduction

In the study of emergent communication, a recurring challenge is the tendency for artificial agents to develop "holistic" protocols. Unlike human language, which exhibits a compositional structure—where the meaning of a complex expression is derived from the meanings of its parts and the rules for combining them—AI agents often create arbitrary, non-systematic codes for specific scenarios. This lack of structure prevents agents from achieving what linguist Wilhelm von Humboldt termed the "infinite use of finite means": the ability to generalize to novel, unseen combinations of concepts.

This research addresses this gap by introducing a framework that utilizes intrinsic rewards to incentivize agents toward systematicity. By nudging agents to develop structured communication, the authors demonstrate emergent protocols that are significantly more compositional and capable of robust zero-shot generalization.

The Grounded Communication (gComm) Framework

To evaluate their approach, the researchers developed the Grounded Communication (gComm) environment. This 2D grid world involves a cooperative task between two agents: a Speaker-Bot and a Listener-Bot. The Speaker-Bot receives a natural language instruction (e.g., "walk to a blue diamond") and must generate a discrete message. The Listener-Bot, which may have limited visibility of the environment, must interpret this message to perform the correct sequence of actions.

The gComm environment: A Speaker-Bot provides instructions for a Listener-Bot to navigate a 2D grid world with obstacles.

The environment includes various challenges, such as "Maze-Grid" layouts with obstacles and "Lights Out" scenarios where the Listener has only partial visibility. Communication is facilitated through a "Straight-Through" Gumbel-Softmax layer, allowing for a discrete vocabulary while maintaining end-to-end differentiability in the reinforcement learning pipeline.

Incentivizing Compositionality via Intrinsic Rewards

The core contribution of this work is the introduction of two novel intrinsic rewards designed to prevent the "holistic trap" and ensure the communication channel is used effectively:

  1. Undercoverage Reward: This reward employs a learned discriminator to verify that the Speaker’s messages contain all necessary information about the target object's attributes (e.g., color, shape, size). If the discriminator cannot reconstruct the concept from the message, the Speaker is penalized. This ensures the message "covers" the required semantic space.
  2. Speaker Abandoning Reward: This maximizes the Mutual Information between the Speaker’s messages and the Listener’s actions. It prevents the Listener from ignoring the Speaker (a common failure mode in RL) by ensuring that the Listener's behavior is significantly and consistently influenced by the specific content of the message.

Quantifying Systematicity and Generalization

A key metric used in this study is Topographic Similarity (Topsim). Topsim measures the correlation between the distance in the "Concept Space" (how similar two objects are in terms of attributes) and the distance in the "Message Space" (how similar the corresponding messages are). A high Topsim score indicates a compositional language where similar concepts are represented by similar message structures.

Mapping between Concept Space and Message Space to measure Topographic Similarity (Topsim). High similarity (left) indicates a compositional protocol.

The researchers found a strong correlation (0.75) between Topsim and zero-shot performance. This suggests that compositionality is not just a linguistic curiosity but a fundamental engine for generalization in AI agents.

Key Results and Zero-Shot Performance

The proposed "Intrinsic Speaker" model was tested against standard baselines across gComm, CLEVR blocks, and VisA datasets. The results were compelling:

  • Enhanced Compositionality: The intrinsic rewards led to Topsim scores that were 1.5 to 2 times higher than baseline models.
  • The "Pink Elephant" Test: In visual split experiments—where agents are trained on various colors and shapes but never see a specific combination like a "red square"—the Intrinsic Speaker achieved a 68.5% success rate on the first attempt, compared to only 52.7% for the simple baseline.
  • Complex Concepts: In the "Numeral Split," where agents must learn that a "heavy" object requires two "pull" actions, the intrinsic rewards helped agents communicate the concept of "twice," resulting in a 53.1% generalization score versus 34.4% for the baseline.

Conclusion

This research demonstrates that limiting communication bandwidth is insufficient for the emergence of compositional language. Instead, specific intrinsic pressures toward information coverage and listener influence are required. While the current environments are relatively small and the instructions are template-based, this work provides a foundational step toward agents that can develop structured, human-like communication protocols capable of navigating the infinite complexity of the real world.

Summary updated

BibTeX
@misc{hazra2020infinite,
  author = {Rishi Hazra and Sonu Dixit and Sayambhu Sen},
  title = {{Infinite use of finite means: Zero-Shot Generalization using Compositional Emergent Protocols}},
  year = {2020},
  eprint = {2012.05011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.05011},
}
Figure