Zero-Shot Generalization using Intrinsically Motivated Compositional Emergent Protocols

Rishi Hazra, Sonu Dixit, Sayambhu Sen

Abstract

This study investigates the development of compositional communication protocols in artificial agents to enable zero-shot generalization. By introducing intrinsic rewards based on mutual information—specifically undercoverage and speaker abandonment rewards—the authors demonstrate that agents can move beyond holistic signaling. In a 2D grid world environment, agents successfully generalized to novel attribute combinations and complex task modifiers, such as "twice," achieving high topographic similarity scores and outperforming standard reinforcement learning baselines.

Introduction

The field of emergent communication focuses on training agents to develop a shared language to solve collaborative tasks. However, these languages often lack compositionality—the ability to combine discrete symbols to form new meanings. Without compositionality, agents struggle with zero-shot generalization, failing to interpret instructions involving novel combinations of known attributes (e.g., a "red square" if only "red circle" and "blue square" were seen during training). This paper proposes a method to force the emergence of structured, human-like protocols through intrinsic motivation.

Methodology

The authors employ a signaling game involving a Speaker and a Listener in a 4x4 grid world. The Speaker translates natural language instructions into discrete messages, which the Listener uses to perform actions.

The Speaker-Listener architecture for emergent communication.

To encourage compositionality, two novel intrinsic rewards are introduced:

  1. Undercoverage Reward: Utilizes Mutual Information (MI) to ensure the Speaker's message captures all task-relevant information (verb, color, shape). A discriminator module attempts to reconstruct these concepts from the message; failure results in a penalty.
  2. Speaker Abandoning Reward: Addresses the "lazy listener" problem by maximizing MI between the Speaker’s message and the Listener’s actions, ensuring the message directly influences the agent's behavior.

The architecture utilizes Hierarchical Reinforcement Learning (HRL), where a "Master Policy" selects appropriate sub-skills (e.g., PUSH, PULL) based on the received message.

Experimental Setup

Two primary splits were used to evaluate generalization:

  • Visual Split: Agents are tested on novel attribute combinations, such as interacting with a "red square" after training on other red objects and other squares.
  • Numeral Split: Tests the understanding of functional operators. Agents trained on "Push Twice" and "Pull" are tested on "Pull Twice" to see if they can apply the "Twice" modifier to a different verb.
Execution sequence for the instruction 'pull a green circle twice'.

Results

The "Intrinsic Speaker" model demonstrated superior performance over a baseline "Simple Speaker" lacking intrinsic rewards. In the Visual Split, the model achieved 80.24% accuracy (vs. 73.43%). In the Numeral Split, it reached 69.77% accuracy (vs. 65.25%). Notably, the emergent language achieved a topographic similarity (topsim) score of approximately 0.9, indicating a highly compositional structure nearly matching a hard-coded "Perfect Speaker" baseline.

Conclusion

The research highlights that bandwidth constraints alone are insufficient for compositionality; intrinsic incentives are necessary to ground communication in task logic. While limited to a simple grid world, the results provide a foundation for developing agents capable of more complex linguistic reasoning, such as recursion or negation, in larger multi-task environments.

Summary updated

BibTeX
@misc{hazra2021zero,
  author = {Rishi Hazra and Sonu Dixit and Sayambhu Sen},
  title = {{Zero-Shot Generalization using Intrinsically Motivated Compositional Emergent Protocols}},
  year = {2021},
  eprint = {2105.05069},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.05069},
}
Figure