Nothing from Something: Can a Language Model Discover 0?
This paper investigates whether language models can independently discover the concept of zero, finding that while GPT-2 sized models fail to generalize this concept from standard arithmetic alone, they can learn it with minimal examples, a process significantly accelerated by prior language pretraining.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are teaching a robot how to do math, but with a very strict rule: the robot is never allowed to see the number zero. You show it thousands of problems like "2 + 3 = 5" or "9 - 4 = 5," but you never let it encounter a problem where the answer is zero, or where zero is part of the equation.
The big question this paper asks is: If you then ask the robot to solve a problem like "5 - 5 = ?", will it magically figure out that the answer is "0"?
The researchers wanted to see if modern AI (specifically language models like GPT-2) could make this "leap of logic" on its own, similar to how a human child might eventually understand the concept of "nothing."
Here is what they found, broken down into simple concepts:
1. The "Blind Spot" Experiment
The researchers trained two types of robots:
- The "Math-Only" Robot: This robot only saw math problems.
- The "Storyteller" Robot: This robot first read millions of pages of stories, news, and conversations (language pretraining) before it started learning math.
The Result: When they tested both robots on problems involving zero (which they had never seen before), both failed completely.
Even though the "Storyteller" robot had read about "nothing," "empty," or "zero" in its stories, it couldn't connect those words to the math problem "5 - 5." It was like giving someone a dictionary full of definitions for "ice," but then asking them to build a snowman without ever having seen snow; they just didn't know how to apply the concept.
2. The "Magic Few-Shot" Lesson
Next, the researchers tried a different approach. They gave the robots a tiny, tiny hint. They showed them just a few examples of zero mixed in with their training (like showing them "5 - 5 = 0" just 64 times out of 10,000 problems).
The Result: This changed everything.
- The robots suddenly learned the concept of zero very quickly.
- The "Storyteller" Robot (the one with language training) learned twice as fast as the "Math-Only" robot. It needed about 50% fewer examples to get the same score.
The Analogy: Think of it like learning a new instrument.
- The "Math-Only" robot is like someone who has never touched an instrument; they need to learn every single note from scratch.
- The "Storyteller" robot is like someone who already knows how to read sheet music and understand rhythm. When they finally pick up the new instrument, they don't need to be taught what a note is; they just need to be shown where the zero is on the fretboard. The language training gave them a "scaffold" or a mental ladder to climb up to the new concept.
3. Is Zero Special?
The researchers wondered if zero was just a weird, hard-to-learn number, or if this was a general problem. They tested the robots by hiding other numbers (like 1, 2, or 9) instead of zero.
The Result: Zero was indeed one of the hardest numbers to learn, along with the number 9.
- Why 9? In math, 9 is special because it's the number that makes you "carry over" to the next column (like when 5 + 5 = 10).
- Why 0? It's the edge of the number line.
- The Middle Numbers: Numbers like 4 or 5 were much easier for the robots to guess correctly. The researchers think this is because 4 and 5 have many "neighbors" (3, 6, 2, etc.) that the robot has already seen. Zero and 9 are on the "edges," so they have fewer neighbors to help the robot guess what they might be.
The Bottom Line
This paper doesn't claim that AI is about to invent new mathematics on its own. In fact, it shows that AI is currently quite bad at "discovering" new concepts if those concepts aren't explicitly in its training data.
However, it does show a glimmer of hope: Language helps. If an AI has a strong foundation in human language, it can learn new mathematical ideas much faster when given just a few examples. It suggests that while AI can't yet "think" its way to a new discovery from nothing, language acts as a powerful tool to help it bridge the gap when the discovery is finally introduced.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.