The sudden "emergence" of new abilities in Large Language Models (LLMs) as they scale up has long been a source of both wonder and anxiety in the AI community. One moment a model can’t solve a simple logic puzzle; the next, a slightly larger version handles it with ease. This perceived discontinuity makes it notoriously difficult to predict what a massive model will actually be capable of before you spend millions of dollars training it.
A new paper from researchers at Tsinghua University, published at ICLR 2024, suggests that these "emergent" jumps might simply be an illusion caused by how we measure performance. By introducing a high-resolution evaluation strategy, they show that task performance is far more predictable than previously thought.
TL;DR
"Emergent abilities" in LLMs are often just a measurement artifact caused by low-resolution evaluation metrics. By using a novel high-resolution sampling strategy called PASSUNTIL, researchers can uncover subtle performance gains in tiny models and use them to predict the capabilities of much larger models with near-perfect accuracy before training even begins.
What Problem Does This Paper Address?
We’ve known for years that training loss—the mathematical error a model makes during learning—scales predictably with model size and data. This is the famous "scaling law of loss." However, there has been a persistent gap: task performance (like solving a coding problem or understanding an emoji-based plot) doesn't seem to follow the same rules.
Instead, task performance often looks like a flat line at zero for small models, followed by a sudden "breakthrough" once a certain size threshold is crossed. This unpredictability makes it hard to plan model development and assess potential safety risks. The authors hypothesize that these abilities aren't "emerging" out of nowhere; they are present in tiny, nearly invisible amounts in small models, but our current tests are too coarse to see them.
Methods
The researchers propose a shift from "low-resolution" to "infinite-resolution" evaluation.
- Conventional Evaluation: You ask a model to solve a problem 1 to 5 times. If it fails all of them, its score is 0. If a small model has a 1-in-10,000 chance of getting it right, a 5-try test will almost always report 0% accuracy.
- PASSUNTIL: Instead of a fixed number of tries, the researchers sample until the model succeeds $r$ times (where $r$ is a small constant like 1 or 2). They record the total number of samples $K$ required. The score, $PU = r/K$, provides a maximum likelihood estimate of the model's true success probability, even if that probability is as low as $10^{-5}$.
By measuring these tiny success rates, the authors derived a Task Scaling Law: a mathematical relationship where the performance follows a predictable curve: $PU(N) \sim \exp(-cN^{-\alpha})$. In simpler terms, if you plot the results in a specific log-log-log space, the relationship becomes a straight line, allowing for easy extrapolation.
Datasets
The authors trained two series of models ranging from 0.03B to 2.4B parameters using:
- StarCoder: A large-scale dataset for code generation.
- The Pile: A massive diverse text dataset.
They evaluated these models on several challenging benchmarks:
- HumanEval: The standard benchmark for Python code generation.
- BigBench Subsets: Specifically "Emoji Movie" (identifying movies from emoji plots) and "Date Understanding."
- Unnatural In-context Learning (UICL): A set of tasks designed to test how well models learn unconventional patterns on the fly.
Key Insights and Ideas
- Emergence is a Resolution Issue: Most "emergent" abilities are actually present in tiny amounts in small models. When you increase the measurement resolution by sampling more, the "jump" disappears, replaced by a smooth, predictable scaling curve.
- The Multiple Circuits Hypothesis: While most tasks scale linearly in the log-log-log space, some show "accelerated emergence"—they improve even faster than the standard scaling law predicts. The authors suggest this happens because models develop multiple internal "circuits" (e.g., one for memorization and one for generalization) that become dominant at different scales.
- Multi-step Reasoning isn't the Culprit: A common theory is that emergence happens because a task requires $N$ steps, and the model only succeeds if it gets every step right. The authors mathematically prove that this actually leads to slower than expected scaling ("sub-scaling"), not the sudden jumps seen in emergence.
Key Results
The most striking result is the sheer accuracy of their predictions. By training small models (up to 1.5B) and fitting their Task Scaling Law, they were able to:
- Predict the performance of a 2.4B parameter model on HumanEval with only 0.05% deviation from the actual result.
- Predict performance on the Date Understanding task with only 1.7% deviation.
This represents the first systematic, open-source verification of the "predictable scaling" claims made in the GPT-4 technical report.
Limitations and Future Work
While a major step forward, the work has some notable boundaries:
- Computational Cost: Sampling $10^5$ times for every test instance is computationally expensive, though the authors suggest using token-level loss as an "assistance metric" to reduce this burden.
- Scale: The study only goes up to 2.4B parameters. Whether these laws hold perfectly for 70B or 175B models remains to be seen.
- Multiple-Choice Noise: The method works best when the random baseline is zero (like code generation). For multiple-choice tests where a model can guess correctly 25% of the time by chance, the "noise" can still hide subtle scaling improvements in very small models.
Ultimately, this research moves us closer to a "science of scaling," where the capabilities of the next generation of AI are no longer a surprise, but a calculation.
Summary updated