This paper, "Measuring Scarcity–Complexity Collision in Language Model Estimation," was submitted to ICLR 2026. It tackles a fundamental question in AI interpretability: when a model fails, is it because the data was too rare, or because the pattern was too hard?
TL;DR
The authors introduce a causal framework to disentangle whether a language model’s failure stems from scarcity (rare patterns) or complexity (inherent task difficulty). By developing a novel, efficient "controlled sampler" for formal languages, they demonstrate that standard correlational studies often misidentify why models struggle, sometimes even inverting the true relationship between data frequency and learnability.
What Problem Does This Paper Address?
When a neural language model (LM) fails to learn a specific linguistic pattern, researchers often look for correlations: "The model fails when the number of states in the underlying grammar is high." However, correlation is not causation.
The authors identify a "scarcity–complexity collision":
- Scarcity: A pattern is rare in the training set, so the model doesn't see enough evidence to learn it.
- Complexity: A pattern is inherently difficult for a specific architecture (e.g., Transformers struggling with parity/counting tasks) regardless of how much data is provided.
In natural language, these two are entangled. A complex grammatical structure might also be statistically rare. If we only look at existing datasets (observational data), we can't tell if we need more data or a better model. This paper provides the mathematical tools to separate these two drivers of learnability.
Methods
The researchers move away from natural language—where the "ground truth" generator is unknown—to Probabilistic Finite-State Automata (PFSAs). These are mathematical machines that generate strings according to strict rules, allowing for total control.
Key technical contributions include:
- Causal Framework: Utilizing Pearl’s do-calculus, they define an intervention where they force the data generator to produce a specific number of rare events ($do(D \in P)$) without changing the underlying rules of the language.
- The Binning Semiring: To make this intervention efficient, they introduce a new algebraic structure. Instead of simple probabilities, the transitions in their automata carry "bins" (formal polynomials) that track how many times a specific event has occurred.
- Efficient Controlled Sampling: They provide an algorithm that samples strings with exact event counts. This method is $O(|Q|^3 N^2)$ (where $Q$ is the number of states and $N$ is the event count), making it significantly faster than naive rejection sampling.
- Decomposed KL Divergence: A metric that measures model error specifically at the point of the intervention (e.g., how well does the model predict the next token only when it's in a specific "difficult" state?).
Datasets
Because the work is theoretical and foundational, the "datasets" are synthetic corpora generated from controlled PFSAs:
- Parity + Free Machine: A custom-built automaton that combines a "star-free" language (easy to learn) with a "parity" language (requires counting, known to be hard for Transformers).
- Randomly Sampled Topologies: A large-scale testbed of 1,000 different machines with 50 states and 10 symbols to ensure the findings generalize across different grammatical structures.
- Weight-Varying Machines: A fixed 40-state machine where only the transition probabilities are varied to isolate the effect of frequency.
Key Insights and Ideas
- Correlations can lie: The most striking finding is that conclusions drawn from standard "observational" data can invert under causal intervention. A state that looks "hard" in a normal corpus might actually be "easy" once you intervene to make it more frequent.
- The Transformer "Parity" Wall: The experiments confirm that for certain complex tasks like parity, increasing data frequency helps LSTMs significantly, but Transformers hit a performance ceiling. This proves the difficulty is due to complexity, not scarcity.
- Selection Bias in Benchmarks: The authors argue that prior work relating "task properties" to "performance" suffers from selection bias. Certain types of complex languages are simply more likely to produce rare patterns, leading researchers to blame the complexity when the real culprit might be scarcity (or vice versa).
Key Results
- Efficiency Gain: The proposed controlled sampler is roughly two orders of magnitude faster than standard rejection sampling, enabling large-scale causal studies that were previously computationally infeasible.
- Trend Separation: In the "Parity + Free" case study, the authors showed a clear separation: for "Free" states, error dropped sharply as frequency increased. For "Even/Odd" (parity) states, the error remained high for Transformers even with abundant data, diagnosing a fundamental architectural limitation.
- Inverse Trends: In aggregated tests, they found that for very low occurrence counts, observational data often contains "complex structural confounders" that make rare features look more difficult than they actually are when tested in isolation.
Limitations and Future Work
- Scope of Languages: The framework is currently limited to Regular Languages (those representable by PFSAs). It does not yet cover context-free grammars or the full complexity of natural human language.
- Exact Counting: The interventions rely on "exactly countable" properties. Applying this to natural language would require highly accurate automated labels for linguistic phenomena (like sarcasm or nested recursion).
- Fixed Learners: The study uses standard LSTMs and Transformers. Future work could apply this framework to newer architectures like Mamba or models using Chain-of-Thought reasoning to see if they resolve "complexity" issues or just handle "scarcity" better.
Summary updated