Abstract
In this paper, we consider the syntactic properties of languages emerged in referential games, using unsupervised grammar induction (UGI) techniques originally designed to analyse natural language. We show that the considered UGI techniques are appropriate to analyse emergent languages and we then study if the languages that emerge in a typical referential game setup exhibit syntactic structure, and to what extent this depends on the maximum message length and number of symbols that the agents are allowed to use. Our experiments demonstrate that a certain message length and vocabulary size are required for structure to emerge, but they also illustrate that more sophisticated game scenarios are required to obtain syntactic properties more akin to those observed in human language. We argue that UGI techniques should be part of the standard toolkit for analysing emergent languages and release a comprehensive library to facilitate such analysis for future researchers.
Introduction
When neural agents are trained to communicate to solve a task, they develop "emergent languages" that are often unintelligible to humans. While previous research has largely focused on the semantics of these languages—mapping symbols to object properties—the underlying syntax has remained a "black box." This study addresses this gap by applying Unsupervised Grammar Induction (UGI) to analyze whether emergent communication possesses hierarchical structures similar to human language.
Methodology
The researchers proposed a two-stage pipeline to extract Probabilistic Context-Free Grammars (PCFGs) from raw agent messages. The first stage involves Constituency Structure Induction, comparing statistical methods like Common Cover Link (CCL) with neural parsers like DIORA to infer unlabeled tree structures. The second stage, Constituency Labelling, utilizes Bayesian Model Merging (BMM) to induce category labels by iteratively merging efficient grammar rules.
Experimental Setup
The study utilized a standard referential game where a "Sender" agent describes an image and a "Receiver" picks the correct image from a set of distractors. The complexity of the communication was varied by adjusting the maximum message length ($L \in \{3, 5, 10\}$) and vocabulary size ($V \in \{6, 13, 27\}$). Emergent languages were benchmarked against random, shuffled, and hand-coded structured baselines.
Key Results and Analysis
Capacity as a Catalyst for Structure
Structure does not emerge spontaneously; it requires sufficient communicative capacity. Messages with lengths of 3 or 5 showed minimal syntactic structure, behaving similarly to random noise. Significant non-random hierarchical patterns only began to emerge at $L=10$.
Compressibility and Predictability
At $L=10$, emergent languages demonstrated significantly lower Description Lengths (both Grammar Description Length and Data Description Length) compared to shuffled or random baselines. This indicates that the agents are employing a predictable, non-random rule set rather than just stringing symbols together.
Symbols as Characters
In human language, word classes (like nouns) contain many distinct words. However, the induced grammars revealed that in emergent languages, each symbol typically forms its own unique class. This suggests that agents use symbols more like individual characters in a string rather than words in a sentence. Furthermore, while the languages are hierarchical, they lack the recursion characteristic of human grammar.
Conclusion and Future Work
While UGI techniques successfully identify latent structures in emergent communication, the resulting grammars lack human-like features such as recursion and distinct word classes. This is likely due to the simplicity of current referential games. Future research should focus on more complex, multi-turn communicative environments and the use of unsupervised tokenizers to determine if agents are forming multi-symbol "words."
Summary updated