Why Are Parsing Actions for Understanding Message Hierarchies Not Random?

Daichi Kato, Ryo Ueda, Yusuke MiyaoarXiv 2025 · DOI

Abstract

In the field of Emergent Communication (EC), a persistent paradox exists: while human language relies on structured hierarchical parsing, some AI models appear to communicate effectively using entirely random parsing strategies. This paper investigates the conditions under which these random strategies fail. By reinterpreting the signaling game through a Variational Autoencoder (VAE) framework and employing a Stack LSTM architecture, the authors demonstrate that structured parsing is essential for handling complex nested meanings and minimizing "cognitive load" (surprisal). The results suggest that non-random parsing is a necessary evolution for efficient and generalizable communication.

Introduction

A fundamental question in linguistics and AI is whether agents must learn to process information hierarchically or if sequential processing suffices. Recent studies in Emergent Communication (EC) produced the counterintuitive finding that agents using random hierarchical parsing (random-branching) could achieve high communication accuracy, sometimes rivaling structured models. This raises the question: if randomness works, why did structured parsing evolve? This research argues that previous benchmarks were too simplistic, masking the inefficiencies and failures of random strategies in complex environments.

Methodology

The study introduces two key innovations to test the limits of random parsing:

Stack LSTM Architecture

To explicitly model hierarchical operations, the authors utilize a Stack LSTM. This architecture includes a "Neural Stack" that performs differentiable push, pop, and read operations, allowing the model to manage nested dependencies systematically.

The Stack LSTM architecture featuring a Controller and a Neural Stack for differentiable hierarchical processing.

Communication as a VAE

The communication process is framed as a Variational Autoencoder (VAE). This formulation introduces a "surprisal" term—the KL divergence between the prior and posterior distributions. In this context, an agent's goal is not just accuracy, but also efficiency and predictability, mirroring the human tendency to minimize cognitive effort during language processing.

Experimental Setup

The models were evaluated on two types of data:

  1. Dyck-k Languages: Context-free languages with $k$ types of nested parentheses, serving as a benchmark for deep hierarchical understanding.
  2. Attribute-Value Representations: Standardized sets of object properties used to evaluate the impact of the VAE-based objective function.

Key Results

The Complexity Threshold

Experiments on Dyck-k languages revealed that while random parsing is sufficient for simple, shallow structures ($k=1$), its performance degrades significantly as nesting complexity increases. Structured models, particularly the Stack LSTM, maintained superior accuracy by consistently tracking nested states, a task where "lucky" random parsing eventually fails.

Surprisal and Cognitive Load

The VAE framework highlighted a critical flaw in random parsing: lack of predictability. Even when random-branching agents achieved correct identification, their message structures were highly unpredictable.

Comparison of prior log-probability (surprisal) across different parsing strategies, showing the inefficiency of random parsing.

As shown in the results, the prior log-probability for random-branching agents (orange) remains significantly lower than that of the Stack LSTM (red) and left-branching (blue) models. This indicates a higher "cognitive cost" or surprisal, suggesting that random strategies are computationally inefficient and less likely to be favored by evolution.

Conclusion

This study resolves the paradox of random parsing by showing it is an artifact of low-complexity environments. When faced with nested hierarchies or the requirement for efficient, low-surprisal communication, structured parsing becomes indispensable. These findings provide a more robust explanation for the emergence of non-random, hierarchical strategies in both artificial and natural language systems.

Summary updated

Abstract

If humans understood language by randomly selecting parsing actions, it might have been necessary to construct a robust symbolic system capable of being interpreted under any hierarchical structure. However, human parsing strategies do not seem to follow such a random pattern. Why is that the case? In fact, a previous study on emergent communication using models with hierarchical biases have reported that agents adopting random parsing strategies$\unicode{x2013}$ones that deviate significantly from human language comprehension$\unicode{x2013}$can achieve high communication accuracy. In this study, we investigate this issue by making two simple and natural modifications to the experimental setup: (I) we use more complex inputs that have hierarchical structures, such that random parsing makes semantic interpretation more difficult, and (II) we incorporate a surprisal-related term, which is known to influence the order of words and characters in natural language, into the objective function. With these changes, we evaluate whether agents employing random parsing strategies still maintain high communication accuracy.
BibTeX
@misc{kato2025why,
  author = {Daichi Kato and Ryo Ueda and Yusuke Miyao},
  title = {{Why Are Parsing Actions for Understanding Message Hierarchies Not Random?}},
  year = {2025},
  eprint = {2506.22366},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.22366},
}
Figure