Systematic Generalization in Language Models Scales with Information Entropy

Sondre Wold, Lucas Georges Gabriel Charpentier, Étienne Simon

Introduction

Human language is inherently compositional: a person who understands "the cat chases the dog" can immediately comprehend "the dog chases the cat," even if they have never encountered a dog in the subject position. This ability, known as systematic generalization, remains a significant hurdle for neural networks. Traditionally, researchers have attempted to solve this by building specialized "compositional priors" into model architectures. This paper investigates a different hypothesis: is the failure of systematicity a flaw in the model architecture, or is it a property of the training data distribution?

Quantifying Data Diversity through Entropy

The researchers formalize the difficulty of generalization using Information Entropy ($H$). By measuring the distributional variety of training data, they provide a framework to determine how much diversity a model needs to learn compositional rules.

To test this, they used a modified version of the SCAN grammar, a navigation task benchmark, and manipulated the training set using two scaling methods:

  1. Vertical Scaling (Distribution Mixing): Gradually mixing a "degenerate" distribution (where a verb is locked to a specific slot) with a uniform distribution to increase unpredictability.
  2. Horizontal Scaling (Incremental Support): Increasing the total number of unique verbs available in the training set.
Visualizing the manipulation of training data distributions through vertical and horizontal scaling across different entropy (H) levels.

Scaling Laws and Architectural Efficiency

The study compared three standard architectures—CNNs, RNNs, and Transformers—against a Permutation-Equivariant model that possesses a built-in mathematical prior for handling verb swaps.

The results revealed clear scaling laws: across all standard architectures, accuracy on out-of-distribution (OOD) tests increased monotonically with the entropy of the training data. While all vanilla models failed completely at zero entropy ($H=0$), they all achieved near 100% accuracy once entropy reached a sufficient threshold (around $H=2$ for horizontal scaling).

Accuracy on out-of-distribution tasks as a function of training data entropy for CNN, RNN, and Transformer architectures.

Notably, the Transformer demonstrated a significant advantage in information efficiency. It reached high accuracy at lower entropy levels compared to RNNs and CNNs, suggesting that the Transformer architecture is better suited for extracting structural rules from less diverse or noisier datasets.

Conclusion

These findings suggest that "scaling" training data diversity can overcome compositional hurdles that were previously thought to require specialized architectural constraints. While models with built-in priors perform well even on biased data, vanilla architectures can reach the same level of performance if the training environment is sufficiently diverse. The authors argue that future research should focus on achieving success at low-entropy generalization, as a model that can generalize from highly biased data demonstrates the most robust form of systematicity.

Summary updated

BibTeX
@inproceedings{wold2025systematic,
  author = {Sondre Wold and Lucas Georges Gabriel Charpentier and Étienne Simon},
  title = {{Systematic Generalization in Language Models Scales with Information Entropy}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure