TL;DR
This paper argues that the "emergent abilities" of Large Language Models (LLMs)—where performance seems to jump suddenly from zero to hero—are often a mirage caused by low-resolution evaluation. By using a novel metric called PASSUNTIL (massive sampling until success), the authors uncover a smooth, predictable "task scaling law" that allowed them to predict a 2.4B parameter model's performance with as little as 0.05% error before training even began.
What Problem Does This Paper Address?
In the world of LLMs, we have established "scaling laws" for training loss: as you add more parameters and data, the loss drops in a predictable power-law curve. However, task performance (like solving a math problem or writing code) has historically been unpredictable. Small models often score 0% until they hit a "magic" size threshold and suddenly start succeeding—a phenomenon dubbed "emergence."
This unpredictability makes scaling risky and expensive. If we can't predict how a 100B model will perform based on a 1B model, we are essentially flying blind. The authors hypothesize that these discontinuities aren't inherent to the models, but are artifacts of "limited evaluation resolution." If a model has a 1-in-10,000 chance of generating a correct answer, a standard "Pass@1" or "Pass@10" evaluation will simply record a 0, hiding the subtle progress the model is making as it scales.
Methods
The core innovation is PASSUNTIL, an evaluation strategy with theoretically infinite resolution.
- Massive Sampling: Instead of sampling a few times, the researchers sample up to $10^5$ times in the decoding phase.
- The PU Score: They define the PASSUNTIL score ($PU$) as $r/K$, where $r$ is a constant number of successes (usually 1 or 2) and $K$ is the number of samples required to reach those successes. This provides a Maximum Likelihood Estimate of the model's true probability of passing a task.
-
Task Scaling Law: The authors derive a mathematical relationship between model size ($N$) and the $PU$ score: $$\log(-\log(PU)) \propto \log(N)$$ This transforms the "jumpy" performance curve into a straight line, making it highly predictable.
-
Instance-Level Fitting: Recognizing that some questions are harder than others, they fit scaling laws to individual test instances rather than the whole dataset at once, which prevents "easy" questions from masking the progress on "hard" ones.
Datasets
- Training: Two series of models (0.03B to 2.4B parameters) were trained on StarCoder (code) and a mixture of StarCoder + Pile (general text).
- Evaluation:
- HumanEval: A standard benchmark for Python code generation.
- BigBench Subsets: Specifically "Emoji Movie" and "Date Understanding," which are frequently cited as examples of emergent abilities.
- Unnatural In-Context Learning (UICL): A set of 8 tasks designed to test a model's ability to learn unconventional patterns.
Key Insights and Ideas
- Emergence is a Resolution Issue: Many "emergent" tasks actually show steady, log-linear improvement in small models if you sample enough. The "breakthrough" happens simply when the probability of success crosses the threshold of standard evaluation (e.g., 1/100).
- Predictability is Possible: By using the linear relationship in $\log(-\log(PU))$ space, researchers can extrapolate the performance of much larger models from tiny "pilot" models.
- Multi-step Reasoning vs. Scaling: Surprisingly, the authors prove that tasks requiring multi-step reasoning actually exhibit sub-scaling (slower than power-law growth). This is because the probability of success is the product of multiple steps; if each step improves, the overall success rate improves, but it eventually hits a bottleneck at the hardest step.
- Accelerated Emergence: Some tasks don't fit the standard scaling law and actually speed up as the model grows. The authors suggest the "Multiple Circuits Hypothesis": a model might have a slow "memorization" circuit and a more efficient "generalization" circuit. Emergence occurs when the generalization circuit finally overtakes the memorization one.
Key Results
- High-Precision Prediction: The framework predicted the 2.4B model's performance on HumanEval with only 0.05% deviation from the actual result. For Date Understanding, the deviation was 1.7%.
- Verification of GPT-4 Claims: This study is the first systematic, open-source attempt to verify the "predictable scaling" claims made in the GPT-4 technical report.
- Quantifying the "Mirage": The authors demonstrated that tasks like "Emoji Movie," which look like flat lines in standard charts, are actually following smooth scaling laws when measured with PASSUNTIL.
Limitations and Future Work
- Scale Limitation: The experiments only went up to 2.4B parameters. While the laws held, it remains to be seen if they remain perfectly linear at the 100B+ scale.
- Scope of Tasks: The method works best when there is a clear "pass/fail" criteria (like code unit tests). Applying this to subjective tasks (like "writing a good essay") is more difficult.
- Computational Cost: $10^5$ samples per instance is computationally expensive, though the authors mitigated this by using "test loss" as a proxy to help estimate $PU$ for very hard samples.
- Mechanistic Proof: While the "Multiple Circuits" hypothesis fits the data well, the authors acknowledge that the actual internal mechanism of why some tasks accelerate remains a subject for deeper interpretability research.
Summary updated