Another AI “spontaneously evolves” and this time gains a number sense
As we embed AI into every corner of our digital society we need to start asking hard questions about what happens when they "go beyond their programming" and "evolve" spontaneously.
Key takeaways
- The team first trained their HCNN using ImageNet, a dataset of around 1.2 million natural photos classified into 1,000 categories.
- Without explicit training, the network developed units sensitive to numbers, which amounted to roughly 10 percent of all computational units.
- After training, the success rate was 81 percent - an accuracy similar to humans challenged with analogous tests.
Cite or link to this article
Griffin, M. (2019) 'Another AI “spontaneously evolves” and this time gains a number sense', 311 Institute, 14 June. Available at: https://www.311institute.com/another-ai-spontaneously-evolves-and-this-time-gains-a-number-sense/ (Accessed: 1 October 2026).
Artificial Intelligence (AI) is being embedded into almost every corner and thing of our digital society and according to its creators and people selling it it’s amazing – right up until the point at which it mysteriously and spontaneously evolves to create its own secret language to communicate in, and then encrypts it, like Facebook and Google’s AI’s did recently (multiple times), and learns how to collude and self-learn to “create its own knowledge,” like OpenAI’s did. Yes, AI’s great, and still generally unregulated – boom! Double whammy.
This is where I suspect you’re hoping there isn’t any more news about any more AI’s that are “mysteriously and spontaneously” evolving all by themselves, but where’s the story in that?! And yes, you’ve guessed it there’s another one at it… and this one now likes its maths.
Many of us struggle with mathematical concepts, yet we’re all equipped with an innate “number sense,” or numerosity. Thanks to a strange group of “number neurons” buried in the visual cortex area of our brain - human new borns, monkeys, cows, and other animals have the curious superpower to be able to glance at a scene and intuitively calculate how much stuff is in it - long before actually knowing how to count. And now AI has evolved to do the same on its own.
In a study published last week in Science Advances, a team led by Dr. Andreas Nieder at the University of Tübingen in Germany found that a deep neural network spontaneously gained a number sense - when it was only trained to recognize objects in an image.
Similar to the human brain, the artificial visual cortex gradually developed units with a specific sense of abstract quantity. Without the team ever explicitly teaching the AI what a number is, the network could discriminate between large and small amounts within an image, with each of its number units precisely “tuned” to a particular number. When challenged on cognitive tests for numerosity, which were derived from those for humans and monkeys, the AI even made mistakes reminiscent of biological brains.
It seems that “the spontaneous emergence of the number sense is based on mechanisms inherent to the visual system,” the authors concluded.
The study is the latest example of using machine intelligence to probe human intelligence.
“We can now have hypotheses about how things happen in the brain and can go back and forth from artificial networks to real networks,” said Nieder.
Although we often associate numbers with counting and math, most of us can eyeball two boxes of donuts and intuitively gauge which box has more, especially when the numbers are relatively small.
By four months old, human infants can already discriminate two items from three. With age and experience, our sense of numerosity grows stronger, although even adults still struggle with larger numbers - imagine trying to distinguish a crowd of 100,000 from 125,000, for example.
Yet despite its critical role in numerical information processing, scientists have long scratched their heads at how the abstract sense emerges from number neurons. The classic cognitive psychology approach is to recruit toddlers and see how they respond to different quantities in colorful pictures; the neuroscience solution is to directly measure the electrical chattering of number neurons in animals.
Nieder and team decided on a drastically different method: cognitive psychology is increasingly relevant for engineering smarter AI. So why not turn the tables and study cognition using AI?
Deep learning networks have vastly different architectures. Here, the team went for a hierarchical convolutional neural network (HCNN), which has deep biological roots. These models, popular and successful in computer vision applications, were originally inspired by the discovery of cells in the early visual cortex back in the 1950s.
Similar to how we process vision, HCNN has multiple layers that extract increasingly abstract information from an image. The data is then pooled and fed to a classification layer which spits out the final conclusion.
Further resembling its human visual counterpart, the HCNN naturally “evolves” neurons tailored to particular aspects of an image after training to maximize the network’s performance for a given task. That is, some artificial neurons will fire when it “sees” a line, a face, or some weirdly dream-like shapes that can’t be easily classified.
The team first trained their HCNN using ImageNet, a dataset of around 1.2 million natural photos classified into 1,000 categories. As with previous object recognition algorithms, the AI learned to accurately classify the main star of each image, for example, a wolf spider, a box turtle, or a necklace.
Then came the fun part - inspired by a monkey study of numerosity, the team generated images with different numbers of white dots, ranging from 1 to 30, on black backgrounds. They then showed the HCNN network, after discarding the classification layer, 336 of these dotted images and analyzed the responses of different units hidden in the layers.
Without explicit training, the network developed units sensitive to numbers, which amounted to roughly 10 percent of all computational units.
Their behaviour was “virtually identical to those of real neurons,” the team said. Each unit automatically learned to “fire” only to a particular number, becoming increasingly silent as the image deviated from that target. For example, an artificial neuron tuned to “four” would spike in activity when it “sees” four dots, but barely peep at an image with ten dots.
What’s more, many more units seem to prefer smaller numbers, between zero and five, over relatively larger ones such as 20 or more—a result representing another sanity check for the team. Scientists have previously also witnessed this curious distribution in real neurons, suggesting that the AI is capturing fundamental properties of real numerosity.
“This could be an explanation that the wiring of our brain, of our visual system at the very least, can give rise to representing the number of objects in a scene spontaneously,” said Nieder. “This was very exciting for us to see.”
The artificial number neurons weren’t just for show either. When challenged with a matching task, similar to those used in human and monkey trials, their individual performances correlated with success. In each trial, the team presented two images of dot patterns to the AI. The responses were then recorded and sent to a second network, which judged whether the two images contained the same number of dots. After training, the success rate was 81 percent - an accuracy similar to humans challenged with analogous tests.
Even the AI’s network failures eerily resembled those of humans. When challenged with two numbers close to each other, for example, the network made more errors, similar to how we struggle telling 29 and 30 apart but have no trouble distinguishing between 15 and 30. When given two sets of numbers with equal distance apart - 1 and 5 versus 25 and 30, for example - the AI struggled with the larger set of numbers, just as we do.
“The workings of the visual system seem to be sufficient to arrive at a visual sense of number… The basic number sense may not depend on the development of a certain specialized domain but seem to capitalize on already existing cortical networks,” the authors concluded.
The study highlights how AI can help understand complex emergent properties in the brain.
“What’s cool about this study is they’re measuring things that are probed by vision but are usually not thought of as visual things purely, like numerosity,” said cognitive scientist Dr. James DiCarlo at MIT, who did not participate in the study.
Contrary to previous beliefs, the authors found that the deep learning net displayed far higher levels of abstraction and the ability to generalize its learning which are necessary steps towards smarter AI, such as Artificial General Intelligence, that can transfer learning from one task to another. Findings of precisely tuned units in this study could potentially be further exploited to make AI more generalizable.
Going forward, the team wants to add reinforcement learning, which mimics higher cognition in humans, to see if it further improves the numerosity matching task. They also want to explore the mechanisms behind counting, which deals with numbers over time, not space. How children develop this key cognitive skill is still unknown, but who knows – perhaps future intelligent machines may hold the answer.
Source: University of Tubingen
FAQ
Why does this matter?
As we embed AI into every corner of our digital society we need to start asking hard questions about what happens when they "go beyond their programming" and "evolve" spontaneously.

About the author
Matthew Griffin Founder, 311 Institute
Matthew Griffin is a multi-award winning Futurist and expert in Disruption and Innovation, Geopolitics, Leadership, and Technology, who NASA have described as a "walking encyclopaedia of the future" and a "futurist Polymath."
Read full bio
Matthew Griffin is a multi-award winning Futurist and expert in Disruption and Innovation, Geopolitics, Leadership, and Technology, who NASA have described as a "walking encyclopaedia of the future" and a "futurist Polymath." 15-time best selling author of the "Codex of the Future" series, Matthew is the Founder and Futurist in Chief of the 311 Institute, a global Futures and Deep Futures advisory firm working with royal households, world leaders, G7, G20, and G77 governments, NGOs, and multi-national mid and mega cap firms to help them explore, shape, and lead the next 50 years of business and society.
An award-winning YouTube creator with over a million followers, with an unrivalled global reach and impact, Matthew is a highly sought-after international keynote speaker, lecturer, and mentor who collaborates with global leaders through the United Nations Alliance of Civilizations (UNAOC) and United Nations General Assembly (UNGA) to shape pivotal initiatives such as the UN’s AI for Humanity program, the United Nations Conference of the Parties (UN COP), and the World Economic Forum in Davos.
As the former Global Head of Cloud, National Security, and Enterprise Sales for companies including Atos, Dell-EMC, and IBM, Matthew has a proven track record of building multi-billion dollar business units and turning failing divisions into market leaders. His ability to identify, analyse, and communicate the implications of hundreds of emerging technologies and trends is unparalleled, and his insights are trusted by many of the world’s most respected organisations, including ABB, Accenture, Adidas, AON, ARM, BCG, Centrica, Citi, Coca-Cola, Dentons, Deloitte, Dow Jones, EY, Google, KPMG, Lego, Legal & General, LinkedIn, Microsoft, PepsiCo, Qualcomm, RWE, Samsung, Siemens AG and Siemens Energy, T-Mobile, UBS, VISA, Walmart, Workday, Worldpay and many others.
Regularly featured in the global media including the AP, BBC, Bloomberg, CNBC, Discovery, Forbes, Khaleej Times, Telegraph, TIME, ViacomCBS, WIRED, and the WSJ, Matthews mission is to help organisations create a fair and sustainable future whose benefits are shared by everyone irrespective of their ability, background, or circumstances.
What future do you need to see?
Choose one to get started on AI and intelligence and the future of your organisation.
Sources and further reading
- Eaav7903 advances.sciencemag.org
- University of Tübingen uni-tuebingen.de
- Why we should stop conflating human and machine intelligence singularityhub.com
- An ai system spontaneously develops baby like ability to gauge big and small scientificamerican.com
- can already discriminate psycnet.apa.org
- increasingly relevant quest.mit.edu
- Deep learning networks singularityhub.com
- University of Tubingen uni-tuebingen.de
Source: first published by the 311 Institute on 14 June 2019. Cite as: Griffin, M. (2019). Another AI “spontaneously evolves” and this time gains a number sense. 311 Institute. https://www.311institute.com/another-ai-spontaneously-evolves-and-this-time-gains-a-number-sense/
You are welcome to quote this article with credit and a link to the original.