Position: Understanding LLMs Requires More Than Statistical Generalization

Patrik Reizinger, Szilvia Ujváry, Anna Mészáros, Anna Kerekes, Wieland Brendel, Ferenc Huszár

For years, the "holy grail" of deep learning theory has been explaining generalization: why a model that perfectly fits its training data also performs well on unseen test data. However, as Large Language Models (LLMs) continue to scale, they have entered what researchers call the saturation regime. In this stage, models are so massive and trained on such vast amounts of data that they reliably achieve near-optimal training and test loss.

Because of this, standard statistical learning theory—which focuses primarily on minimizing test loss—is no longer sufficient to explain why LLMs work so well. "Low test loss" has become a blunt instrument. This paper argues that to truly understand emergent LLM capabilities like in-context learning (ICL) and zero-shot reasoning, we must shift our theoretical focus toward inductive biases and the concept of non-identifiability.

The Core Problem: Non-Identifiability

The authors posit that the standard next-token prediction objective is inherently non-identifiable. This means that two different models could be mathematically indistinguishable in terms of their average test loss (KL divergence), yet exhibit wildly different behaviors on downstream tasks. If the loss function cannot tell these models apart, then statistical generalization alone cannot explain why one model possesses emergent reasoning properties while the other fails completely when faced with a novel prompt.

The paper demonstrates three specific types of non-identifiability through theoretical proofs and targeted empirical case studies.

Case Study 1: Rule Extrapolation (Functional Non-identifiability)

Functional non-identifiability occurs when a model's behavior on out-of-distribution (OOD) sequences—those with zero probability in the training set—is entirely unconstrained by the loss function.

To test this, the authors used a synthetic Probabilistic Context-Free Grammar (PCFG) dataset generating sequences where the number of 'a's matches the number of 'b's (the $a^nb^n$ task). They trained three different decoder-only Transformers:

  1. Maximum Likelihood (MLE) Model: A standard model trained normally.
  2. Adversarial Model: A model explicitly penalized for learning the underlying rule.
  3. Oracle Model: A model explicitly rewarded for learning the rule.
Test loss versus OOD rule extrapolation accuracy for different models.

As shown in the results, all three models successfully reached the same minimal validation loss. However, their OOD extrapolation accuracy varied drastically. The adversarial model had 0% extrapolation accuracy, the standard MLE model achieved 43.7%, and the oracle model reached 83%.

This proves that the loss value alone cannot predict OOD behavior. The fact that the standard MLE model learned to extrapolate the "matching counts" rule at all is an accident of the Transformer's inductive bias, not a requirement of the optimization objective.

Case Study 2: The Fragility of In-Context Learning ($\epsilon$-Non-identifiability)

The authors introduce the term $\epsilon$-non-identifiability to describe models that are nearly identical in loss ($\epsilon$-close in KL divergence) but possess fundamentally different distributional properties.

Conceptual diagram of epsilon-non-identifiability for In-Context Learning.

Using mixtures of Hidden Markov Models (HMMs) to simulate how models learn latent concepts, the paper provides a mathematical proof that ICL is $\epsilon$-non-identifiable. For any distribution capable of in-context learning, there exists a nearly identical distribution (in terms of loss) that cannot perform ICL. This suggests that ICL is a fragile property; it isn't a guaranteed consequence of driving down cross-entropy loss, but rather a specific "solution" favored by our current architectures and optimizers.

Case Study 3: Fine-Tuning "Memory" (Parameter Non-identifiability)

Finally, the authors discuss parameter non-identifiability. Even if two models perform identically on a pre-training benchmark and output the exact same distributions, their internal parameterizations carry different "potential" for future learning. Different sets of weights can react entirely differently to fine-tuning, meaning one model might be highly data-efficient on a downstream task while the identically-performing counterpart struggles to adapt.

Looking Forward: Beyond the Loss Curve

We have moved past the "interpolation regime" of simply fitting training data. In the saturation regime, the loss function is effectively "blind" to the most interesting qualities of LLMs.

While the empirical work in this paper relies on synthetic, formal languages to provide mathematical clarity, the implications for natural language models are profound. To advance our understanding of LLMs, the authors suggest several promising future directions:

  • Developing new generalization measures that focus on compositionality, systematicity, and reasoning, rather than just average loss.
  • Investigating inductive biases by studying how specific optimizers (like AdamW) and architectural choices (like LayerNorm) guide models toward the "useful" minima that enable ICL and extrapolation.
  • Defining architectural requirements using computational frameworks to understand exactly what structures are necessary for specific downstream tasks.

Summary updated

BibTeX
@inproceedings{reizinger2024position,
  author = {Patrik Reizinger and Szilvia Ujváry and Anna Mészáros and Anna Kerekes and Wieland Brendel and Ferenc Huszár},
  title = {{Position: Understanding LLMs Requires More Than Statistical Generalization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=pVyOchWUBa},
}
Figure