← Back to Paper Radar

Nothing from Something: Can a Language Model Discover 0?

Phoebe Zeng, Thomas L. Griffiths, Brenden M. Lake
Proceedings of Cognitive Computational Neuroscience 2026 | 2026

Reading guide · Based on sections of the original paper

The authors present a controlled arithmetic test of conceptual generalization. GPT-2-style models trained on arithmetic without zero fail to infer zero at test time, but a small number of zero examples restores much of the performance, and language pretraining roughly halves how many such examples are needed.

Why read this

This paper suits practitioners who study out-of-distribution or compositional generalization and want a small, reproducible setup that separates the effect of language pretraining from math exposure in pretraining data.

What the authors found

  • With only non-zero arithmetic training, no tested model generalized to zero. The authors trained on 10,000 problems with 2–4 operands, where zero appeared only in the ones place of answers. They tested 124M-parameter GPT-2 models pretrained on filtered OpenWebText, pretrained on unfiltered OpenWebText, or untrained, plus an untrained 800K-parameter transformer, each for 50,000 steps over five seeds. Test accuracy stayed flat as validation accuracy saturated. In the appendix, Llama-3.2-1B and Pythia-1B, given fresh digit tokens, also failed. 4.1.1 Results
  • The authors then mixed between 1 and 1,024 zero-containing examples into training and ran each model for 25,000 steps. The filtered-pretrained model exceeded 60% test accuracy with 64 examples and exceeded 90% with 1,024. The untrained model consistently needed more examples. The authors estimated the data reduction from pretraining by log-scale interpolation between budgets, giving 48.5% (bootstrap 95% CI 41.2–55.9%; n=5 seeds). 4.2.1 Results
  • When each digit was held out in turn, middle digits were the easiest to generalize to, in both base 10 and base 8. Difficulty rose toward zero and toward the carry digit (9 in base 10, 7 in base 8), and 1 was also hard. This tempers the introduction's framing of zero as uniquely special. These runs used only the filtered-pretrained model. The authors offer only initial embedding-similarity evidence for an interpolation-based explanation. 4.3.1 Results

Main limitation

The negative zero-shot result comes from small models, data, and training budgets. The authors state that these choices may drive the failure, and they tested larger scale only with two 1B-parameter models. 5.3 Model and data scale

Where to start

4.2.1 Results · Check how the roughly 50% reduction is computed: per-seed log-scale interpolation, averaging over budgets, and the five-seed confidence interval.

Abstract

AI systems based on artificial neural networks are being developed with aspirations of pushing the boundary of human mathematical knowledge. A key question for these systems is how much they can reach beyond their training data. Mathematical discovery requires a strong form of out of distribution generalization; the ability to hypothesize genuinely new - and potentially logically more powerful - mathematical structures. It has been hypothesized that language abilities support such generalizations in human cognition. In this work, we use simple arithmetic as a case study for examining how modern AI models could expand their mathematical horizons, evaluating whether these models can independently discover the concept of"zero". We show that (1) language models of a GPT-2 size are unable to perform this generalization at test time regardless of language pretraining, but (2) models can improve substantially after training on tens or hundreds of examples of zero. Additionally, we find that language pretraining reduces the number of required examples by approximately $50\%$, showing that language abilities can scaffold mathematical discovery in neural models.

Generated automatically from paper sections on 2026-11-28.