Abstract
The ability to understand and manipulate numbers and quantities emerges during childhood, but the mechanism through which this ability is developed is still poorly understood. In particular, it is not known whether acquiring such a number sense is possible without supervision from a teacher. To explore this question, we propose a model in which spontaneous and undirected manipulation of small objects trains perception to predict the resulting scene changes. We find that, from this task, an image representation emerges that exhibits regularities that foreshadow numbers and quantity. These include distinct categories for zero and the first few natural numbers, a notion of order, and a signal that correlates with numerical quantity. As a result, our model acquires the ability to estimate the number of objects in the scene, as well as subitization, i.e. the ability to recognize at a glance the exact number of objects in small scenes. We conclude that important aspects of a facility with numbers and quantities may be learned without explicit teacher supervision.
Introduction
Can a "number sense"—the ability to recognize quantities at a glance—emerge without ever being taught to count? Humans and many animals possess an intuitive ability to "subitize" (instantly recognize small quantities like 1, 2, or 3) and estimate larger numerosities without formal counting. A long-standing debate in cognitive science asks whether this ability is innate or learned through interaction with the world.
While previous AI models have successfully learned to count, they typically require explicit supervision—someone telling the model exactly how many objects are in an image. This research explores a more naturalistic, self-supervised route: whether the requirement to understand how actions change the world (e.g., "I just put an acorn in this bowl") is sufficient to force the brain to develop a representation of number as a byproduct.
Methodology
The authors propose a model based on the interplay between action and perception using a Siamese Network architecture. The model is shown two sequential images ($x_t$ and $x_{t+1}$) of a scene containing small squares and must predict which of three actions occurred: Put (add an object), Take (remove an object), or Shake (rearrange objects without changing the count).
A Convolutional Neural Network (CNN) extracts features from each image to create a low-dimensional "embedding." A classifier then compares the "before" and "after" embeddings to guess the action. Crucially, the model is never given a label for the number of objects; it only receives a supervisory signal from the motor system (the action performed). The "number sense" is not the goal; it is an emergent property of the embedding space.
The researchers used synthetic image sequences with two different statistical profiles. Model A used identical objects where total brightness is a proxy for number. Model B used variable objects (size and contrast), requiring the model to "see" individual objects rather than just sensing total pixel intensity. Importantly, models were only trained on scenes containing 0 to 3 objects but were evaluated on up to 30 objects to test generalization.
Results and Emergent Representations
The model achieved high accuracy (<1% error) in predicting actions within its training range. More significantly, when the authors visualized the internal representations (embeddings), they found the data organized into a one-dimensional "mental number line." The position along this line correlated almost perfectly with the number of objects in the scene, even for quantities far beyond the training set.
At the beginning of this emergent number line, embeddings for 0, 1, 2, and 3 objects formed distinct, well-separated clusters, mirroring the human ability to subitize. As the number of objects increased, the model began to slightly underestimate the total count, following a power-law function—a phenomenon well-documented in human psychophysics. The model could accurately judge which of two images had "more" objects for quantities up to 30, proving it was truly responding to numerosity rather than confound variables like total pixel area or image intensity.
Discussion
This work suggests that our "sense of number" might be an inevitable consequence of a brain trying to make sense of how its own actions change its environment. While the current model relies solely on visual input and assumes object segmentation, it demonstrates that important aspects of numerical facility can be learned without explicit teacher supervision. Future work could incorporate multi-sensory inputs (touch, sound) and explore how noisier motor signals affect the precision of the emergent number line.
Summary updated