Doubao has once again earned the crown, on merit, for not being able to count. This round even North America's golden child, Gemini, gets the picture right.
But don't laugh yet. Doubao is only temporarily living in a world without zero. After humans invented 1, they also spent close to 3,000 years living in a world without zero.
So let's start from zero and tell that story.
Zero: The Model That Can't Count
I spotted this meme early yesterday. People were asking Doubao for a picture of 13 eggs in a carton, and it kept failing: sometimes 12, sometimes 15, sometimes 9. In the end it even tried numbering the eggs, and it was still wrong.
The numbered version is the best part. It drew 1, 2, 3, 4 in the first row, 5, 6, 7, 8 in the second, and 9, 10, 12, 13 in the third. Eleven is simply not there. The user asks where 11 went, the model agrees that this version dropped 11, promises to stop letting the layout arrange itself and hard-code every slot instead — and then draws the same grid with 11 missing again.
Meanwhile GPT and Gemini get it right on the first attempt.
Change the number, though. Ask for 8, or 9, or 15, and Doubao produces the right count in one shot.
So is it prime numbers that give it trouble? That's not it either. Change the prompt instead — try these two:
Prompt one. Generate an open egg carton. Five eggs in the first row, five eggs in the second row, three eggs in the third row, thirteen in total.
Prompt two. Generate a 3-row, 5-column egg tray. One egg in every cell of the first two rows; in the third row only the middle three cells hold eggs, with one empty cell on each side.
Something strange happens: with either of these, it gets it right almost every time.
Something even stranger happens next. Both of those prompts describe spatial relationships, so keep describing space: generate a 15-cell egg tray, with eggs in only 13 cells, and the other 2 cells must stay empty.
Doubao turns back into a model that can't count.
Have you spotted where the problem is?
Image models don't really count. With a handful of objects it's fine. Numbers like 9 = 3×3 or 16 = 4×4 can be laid out as a matrix. Ask for 25, though — even though 25 = 5×5 — and you have found Doubao's ceiling.
And when you ask it to decide for itself how many cells to leave empty, it is completely at a loss.
It doesn't seem to be good at using zero as a placeholder.
Humans were once very bad at this too.
One: A World Without Zero
Imagine you are a shepherd a few thousand years ago. You have a flock. Every morning you drive them out, every evening you bring them back.
To make sure no sheep has gone missing, you can carve one notch into a stone for every sheep you send out. One sheep, one notch.
This method does not require you to recognize Arabic numerals. It does not require addition, subtraction, multiplication or division. The sheep and the notches only have to correspond one to one.
But what if today there are no sheep at all?
Then there is nothing you need to record, is there?
So for a very long stretch of history, different civilizations gave different answers to the question of what to do with zero.
As early as 2000 BC, the Babylonians already had a mature sexagesimal place-value system. They could do complex calculations, yet for a long time they lacked a stable placeholder for zero.
Today's 101 and 11 both contain only two non-zero digits, but the zero in the middle makes them mean completely different things. Without an explicit placeholder, some numbers can only be told apart from context.
Later, a symbol for an empty position did appear in Babylonian mathematics. But that is still not zero in the modern sense.
A zero that says "nothing sits in this position" and a zero that is a number you can compute with are two separate revolutions.
In 628 CE, the Indian mathematician Brahmagupta systematically discussed the rules for operating on zero and on negative numbers in the Brāhmasphuṭasiddhānta. That became a key marker in the history of zero as a mathematical object. Some of his rules for division do not match modern mathematics, but zero was no longer merely a marker for an empty slot.
From 1 to 0 took humanity 2,700 years.
Now, back to the eggs.
For a large model, understanding zero is obviously much faster than it was for us. But drawing a picture and understanding a thing are two different matters.
If you ask for a box of 13 eggs and let the model decide where to leave the gaps, the problem changes. The model now has to represent not only the presence of 13 objects, but explicitly the absence of an object in at least one other position. Image models seem to prefer generating tidy boxes, so that means at least a 2×7 box — although in practice, a 15-cell box is what most models choose.
In modern notation, every cell can be given a state: x_i ∈ {0, 1}. One means there is an egg, zero means there is not. Fifteen cells means fifteen states, and they have to satisfy x_1 + x_2 + … + x_15 = 13.
For a computer program, this is trivial. For a generative network that mainly learned the visual regularities of images, correctly understanding "13 eggs" does not guarantee it can hold exactly 13 occupied positions and 2 empty ones in the finished picture.
Which is how you get a very odd situation: AI can now casually help humans with mathematical problems that stood for hundreds or thousands of years, and still falls over on a two-digit number of eggs.
That is the famous Moravec's paradox.
Two: Moravec's Paradox — Why the Easiest Things Are the Ones AI Can't Do
In the 1980s, the AI researcher Hans Moravec noticed something deeply counterintuitive.
Computers could carry out complex logical reasoning, or play chess at a high level. But in perception and motor ability they were worse than a one-year-old baby.
A one-year-old walks naturally, recognizes mom's face against a stranger's without effort, and identifies all sorts of objects. AI at the time could do none of that.
This later became known as Moravec's paradox.
To a human, walking, recognizing a face, counting the eggs on the table are the most natural things in the world. From the computer's side, these tasks are enormously complex.
Suppose you want to pick up an egg. Your brain has to do a huge amount of work in a very short time: find the egg's boundary, judge its position in three dimensions, estimate distance and size, adjust the path of your fingers, control grip force, and avoid crushing it.
Suppose you just want to take two steps. Your brain has to sense your center of gravity, read the unevenness of the ground and where the obstacles are, coordinate the alternation of your legs, control the contraction and release of hundreds of muscles, adjust stride, speed and posture in real time, and keep correcting your balance so you don't fall.
You are almost never aware that this computation is happening.
Human vision and motor systems have been shaped by a very long biological evolution and are extremely well adapted to these tasks. Formal mathematics and symbol manipulation, by comparison, appear far later in the history of cognitive evolution.
That leads to an unexpected result: the abilities humans subjectively find easiest are not necessarily the ones that are computationally easiest to implement.
For a traditional computer, calculating 17×17 is easy. Identifying 17 mutually occluding objects in a busy photograph — shadows count as occlusion — may take an entire visual perception system.
Today's large models have improved this considerably, but they have not eliminated the asymmetry Moravec's paradox points at. A model can take part in complex mathematical reasoning and still make what looks like a beginner's mistake on a concrete visual task.
The simplest illustration is the adversarial sticker that showed up in early neural network research.
Early training relied on large collections of existing photographs to teach a model to recognize things. But an animal that is obviously a sheep, sitting behind the wheel of a car, gets read as a dog driving — because nothing as absurd as a sheep driving a car exists in the training set. Someone once posted on social media specifically to collect pictures of sheep in ridiculous places, and the models called every one of them a dog, a cat, or some other common pet.
Researchers went further and invented the adversarial patch. A network that reliably recognizes a banana will, once a meaningless colorful sticker is placed beside it in the photo, call the whole picture a toaster.
That paper came out in 2017. Today's models are not that foolish; they recognize a banana through all kinds of interference, even when the banana is abstracted, because another 2017 paper changed everything: "Attention Is All You Need."
That revolutionary paper led to the Transformer architecture. In 2018 the GPT lineage built on Transformer appeared. On November 30, 2022, ChatGPT was officially released and stunned the world.


