Hierarchical Token Merging with Recursive Autoencoders for Unsupervised Grammar Induction
Murat Guney Kemal, Robert Lieck
Key points
From the paper's conclusion- The study introduces a hierarchical token-merging autoencoder that recursively combines adjacent tokens into increasingly abstract representations through a variational information bottleneck.
- Experiments on a synthetic, ambiguous grammar show the emergence of meaningful hierarchical structure without structural supervision, achieving 93% grammatical parse-validity and 93% exact reconstruction on held-out sequences.
- These findings establish a proof of concept for hierarchical token merging as a mechanism for unsupervised structure discovery and abstraction learning.
Abstract
Hierarchical abstraction is a fundamental principle across many data modalities, enabling complex sequences to be represented compositionally at multiple levels. Learning such hierarchies directly from data, without explicit structural supervision, remains a central challenge in representation learning. We investigate whether meaningful hierarchical structure can emerge from compression alone. While autoencoders learn compressed representations through reconstruction, this objective does not necessarily favour meaningful compositional structure. We study this challenge through unsupervised grammar induction, where the underlying hierarchy can be evaluated explicitly. We introduce a hierarchical token-merging autoencoder that recursively combines adjacent tokens into increasingly abstract representations, compressing entire sequences through a variational information bottleneck. The model jointly learns representations and hierarchical structure by marginalising over possible binary trees using dynamic programming. To address training instability, we combine independently trained models through unsupervised consensus and distillation. Experiments on a synthetic, ambiguous grammar demonstrate the emergence of meaningful hierarchical structure without structural supervision. The resulting model achieves 93% grammatical parse-validity and 93% exact reconstruction on held-out sequences, compared with 42% parse-validity for the strongest trivial baseline. These findings establish a proof of concept for hierarchical token merging as a mechanism for unsupervised structure discovery and abstraction learning.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- The study introduces a hierarchical token-merging autoencoder that recursively combines adjacent tokens into increasingly abstract representations through a variational information bottleneck.
- Experiments on a synthetic, ambiguous grammar show the emergence of meaningful hierarchical structure without structural supervision, achieving 93% grammatical parse-validity and 93% exact reconstruction on held-out sequences.
- These findings establish a proof of concept for hierarchical token merging as a mechanism for unsupervised structure discovery and abstraction learning.
Readers' thoughts
No reader thoughts yet.
Related papers
- How compositional generalization and creativity improve as diffusion models are trained *Journal of Statistical Mechanics: Theory and Experiment · 2026
- Structure--Residual Inductive Biases for Language Model PretrainingarXiv · 2026
- Separating Interpretability and Reconstruction in Sparse AutoencodersarXiv · 2026
- Sparse Autoencoders for Mechanistic Interpretability in NLP: A Critical Survey of Recoverability, Interpretability, and UtilityarXiv · 2026
- Hierarchical Masked Diffusion Language ModelsarXiv · 2026
- Hierarchical Continuous Diffusion Language ModelsarXiv · 2026