Abstract
The scientific scale-up of large language models (LLMs) necessitates a comprehensive understanding of their scaling properties. While optimization loss decreases predictably with model size, task performance often appears as unpredictable "emergent abilities"—sudden jumps in capability after a period of near-zero performance. In this study, we demonstrate that these abilities are not inherently discontinuous but are instead masked by the low resolution of conventional evaluation metrics. We introduce PassUntil, an evaluation strategy that uses massive sampling to achieve theoretically infinite resolution. Our investigation reveals a strict task scaling law that enables highly accurate performance predictions. For instance, we predicted the code generation performance of a 2.4B parameter model with only 0.05% deviation before training. Furthermore, we quantitatively analyze "accelerated emergence" and suggest the "multiple circuits hypothesis" as a potential underlying mechanism.
Introduction: The Predictability Gap
Scaling up LLMs is often viewed as a high-stakes gamble. While the "Scaling Law of Loss" provides a reliable roadmap for training efficiency, task-specific performance (e.g., coding, logical reasoning) frequently follows a step function. Small models often yield zero accuracy on complex tasks until they cross a critical parameter threshold, at which point performance "emerges." This lack of early-stage signal makes it difficult to justify the immense compute costs required for scaling.
Methods: PassUntil and Infinite Resolution
The core issue is a measurement "blind spot." Standard metrics like "Exact Match" are binary; a model either solves a task or it doesn't. If the probability of success is $10^{-5}$, a few dozen samples will likely yield a flat zero, hiding subtle improvements in the model's underlying logic.
We propose PassUntil, a high-resolution probability metric. Instead of a binary pass/fail, we measure the probability $P(s)$ that a model solves a task in a single random attempt. To detect extremely low probabilities in small models, we employ massive sampling (up to 100,000 trials). If a model succeeds once in 50,000 attempts, we gain a measurable data point.
We derive a mathematical Task Scaling Law: $$PU \sim \exp(-cN^{-\alpha})$$ where $N$ is the number of parameters. In a $\log(-\log(PU))$ vs. $\log(N)$ space, this relationship becomes linear, allowing for robust extrapolation to larger model sizes.
Experimental Validation
We validated this framework using model series ranging from 30M to 2.4B parameters across several benchmarks:
- HumanEval: Python code generation.
- BigBench Subsets: "Emoji Movie" and "Date Understanding."
- Unnatural In-context Learning (UICL): Tasks testing unconventional pattern recognition.
Our results confirm that "emergent" breakthroughs are actually smooth, predictable curves when viewed with sufficient resolution.
Key Insights
Emergence as a Resolution Artifact
The sudden "Aha!" moment in LLM scaling is often an illusion created by low-resolution metrics. With $10^5$ samples, the performance curve is continuous and predictable.
The Multiple Circuits Hypothesis
While multi-step reasoning mathematically leads to slower-than-expected growth (sub-scaling), many LLM tasks show "accelerated emergence." We hypothesize this occurs because models develop multiple solution pathways—such as a "memorization circuit" in small models and a more powerful "generalization circuit" that matures as the model scales.
Forecasting Performance
By fitting our scaling law to models between 0.03B and 1.5B parameters, we achieved remarkable predictive accuracy for a 2.4B model:
- HumanEval: 0.05% deviation.
- Date Understanding: 1.7% deviation.
This represents the first systematic verification of the predictable scaling concepts proposed in the GPT-4 technical report.
Conclusion and Future Work
PassUntil transforms emergent abilities from mysteries into predictable engineering targets. While our study focused on models up to 2.4B parameters, the underlying mathematics suggests these laws should hold for 100B+ models. Future work will explore the computational costs of high-resolution evaluation—potentially using test loss as a proxy—and seek mechanistic proof for the "Multiple Circuits Hypothesis" through interpretability research.
Summary updated