Predicting Emergent Abilities with Infinite Resolution Evaluation

Shengding Hu, Xin Liu, Xu Han, Xinrong Zhang, Chaoqun He, Weilin Zhao, Yankai Lin, Ning Ding, Zebin Ou, Guoyang Zeng, Zhiyuan Liu, Maosong Sun · DOI

Abstract

The scientific scale-up of large language models (LLMs) necessitates a comprehensive understanding of their scaling properties. However, existing literature yields an incomplete answer: optimization loss decreases predictably, yet task performance often appears as unpredictable "emergent abilities." In this study, we discover that small models demonstrate critical and consistent task performance improvements that are not captured by conventional evaluation due to insufficient measurement resolution. We introduce PassUntil, an evaluation strategy with theoretically infinite resolution through massive sampling. We identify a strict task scaling law, enabling us to predict the performance of a 2.4B model on code generation with merely 0.05% deviation. Furthermore, we investigate "accelerated emergence" and suggest the "multiple circuits hypothesis" as a potential driver for non-linear scaling.

Introduction

Predicting the capabilities of LLMs as they scale is a primary challenge in AI safety and resource management. While loss scaling laws are robust, task-specific performance often exhibits "emergence"—a phenomenon where a model appears to have no capability until it crosses a specific size threshold. We argue that this discontinuity is frequently an artifact of evaluation resolution. Standard benchmarks, which sample outputs sparingly, fail to detect the low-probability successes of smaller models, recording them as absolute failures.

Methods: The PassUntil Strategy

To overcome the limitations of discrete, low-resolution metrics, we propose PassUntil. This method utilizes massive random sampling (up to $10^5$ iterations) to determine the probability of a model generating a correct response. By calculating the PassUntil score (PU) as $r/K$ (where $r$ is a target number of successes and $K$ is the required samples), we can measure performance levels that are orders of magnitude below the detection threshold of standard 1-shot or 5-shot evaluations.

PassUntil reveals smooth, predictable scaling (left) where standard evaluation shows sudden "emergence" (right).

A Strict Task Scaling Law

Using PassUntil, we demonstrate that task performance follows a predictable trajectory linked to model size. By transforming performance into a $\log(-\log(PU))$ space, we observe a linear relationship with $\log(N)$ (model parameters). This mathematical framework allows for the extrapolation of performance from tiny models (as small as 30M) to much larger ones with high accuracy.

Key Results and Discussion

Our experiments across models like Pythia and OPT, and benchmarks like HumanEval and BigBench, confirm that "emergence" is often a mirage.

High-Precision Prediction

The most striking validation of our approach was the prediction of a 2.4B parameter model's performance on HumanEval. The actual result deviated from our pre-training prediction by only 0.05%, providing the first systematic verification of the predictable scaling claims made in the GPT-4 technical report.

Resolution and Latent Capabilities

As shown in the comparative analysis of sampling rates, increasing the resolution (RS-10000) reveals that models previously thought to have "zero" ability actually possess significant latent capabilities.

Increasing sampling resolution (RS) reveals latent task capabilities in smaller models across different architectures.

Accelerated Emergence and Multiple Circuits

While many tasks scale linearly, some show "accelerated emergence" (concave growth). We hypothesize that this is not due to multi-step reasoning, but rather the "multiple circuits hypothesis." This suggests that models develop redundant or complementary internal mechanisms (e.g., memorization vs. generalization) that eventually converge to produce rapid performance gains.

Conclusion

By shifting from low-resolution "pass/fail" metrics to high-resolution probabilistic evaluation, we transform the study of emergent abilities from a mystery into a predictable science. This work provides a roadmap for more reliable LLM development and a deeper understanding of the mechanics of scaling intelligence.

Summary updated

BibTeX
@inproceedings{hu2024predicting,
  author = {Shengding Hu and Xin Liu and Xu Han and Xinrong Zhang and Chaoqun He and Weilin Zhao and Yankai Lin and Ning Ding and Zebin Ou and Guoyang Zeng and Zhiyuan Liu and Maosong Sun},
  title = {{Predicting Emergent Abilities with Infinite Resolution Evaluation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=lDbjooxLkD},
}
Figure