“Two, four, six, eight – bog in, do not wait.”

As children, we learn numbers can either be even or odd. And there are many ways to categorise numbers as even or odd.

We may memorise the rule that numbers ending in one, three, five, seven, or nine are odd while numbers ending in zero, two, four, six, or eight are even. Or we may divide a number by two – where any whole number outcome means the number is even, otherwise it must be odd.

Similarly, when dealing with real-world objects we can use pairing. If we have an unpaired element left over, that means the number of objects was odd.

Until now odd and even categorisation, also called parity classification, had never been shown in non-human animals. In a new study, published on April 29 in the journal Frontiers in Ecology and Evolution, we show honeybees can learn to do this.

Parity categorisation

Parity tasks (such as odd and even categorisation) are considered abstract and high-level numerical concepts in humans.

Interestingly, humans demonstrate accuracy, speed, language and spatial relationship biases when categorising numbers as odd or even. For example, we tend to respond faster to even numbers with actions performed by our right hand and to odd numbers with actions performed by our left hand.

We are also faster, and more accurate, when categorising numbers as even compared to odd. And research has found children typically associate the word “even” with “right” and “odd” with “left”.

These studies suggest humans may have learnt biases and/or innate biases regarding odd and even numbers, which may have arisen either through evolution, cultural transmission, or a combination of both.

It is not obvious why parity might be important beyond its use in mathematics, so the origins of these biases remain unclear. Understanding if and how other animals can recognise (or can learn to recognise) odd and even numbers could tell us more about our own history with parity.

Training bees

Studies have shown honeybees can learn to order quantities, perform simple addition and subtraction, match symbols with quantities and relate size and number concepts.

To teach bees a parity task, we separated individuals into two groups. One was trained to associate even numbers with sugar water and odd numbers with a bitter-tasting liquid (quinine). The other group was trained to associate odd numbers with sugar water, and even numbers with quinine.

Here we show a honeybee being trained to associate ‘even’ stimuli with a reward over 40 training choices. Photo credit: Scarlett Howard

We trained individual bees using comparisons of odd versus even numbers (with cards presenting 1-10 printed shapes) until they chose the correct answer with 80% accuracy.

Remarkably, the respective groups learnt at different rates. The bees trained to associate odd numbers with sugar water learnt quicker. Their learning bias towards odd numbers was the opposite of humans, who categorise even numbers more quickly.

We then tested each bee on new numbers not shown during the training. Impressively, they categorised the new numbers of 11 or 12 elements as odd or even with an accuracy of about 70%.

Honeybees landed on a platform to drink sugar water during the experiment. Photo credit: Scarlett Howard

Our results showed the miniature brains of honeybees were able to understand the concepts of odd and even. So a large and complex human brain consisting of 86 billion neurons, and a miniature insect brain with about 960,000 neurons, could both categorise numbers by parity.

Does this mean the parity task was less complex than we had previously thought? To find the answer, we turned to bio-inspired technology.

Play
We trained honeybees to choose even numbers. In this video we see the bee inspect each card on the screen, before making a correct choice on the card presenting an even number of 12 shapes.

Creating neural network

Artificial neural networks were one of the first learning algorithms developed for machine learning. Inspired by biological neurons, these networks are scalable and can tackle complex recognition and classification tasks using propositional logic.

We constructed a simple artificial neural network with just five neurons to perform a parity test. We gave the network signals between 0 and 40 pulses, which it classified as either odd or even. Despite its simplicity, the neural network correctly categorised the pulse numbers as odd or even with 100% accuracy.

This showed us that in principle parity categorisation does not require a large and complex brain such as a human’s. However, this does not necessarily mean the bees and the simple neural network used the same mechanism to solve the task.

Simple or complex?

We do not yet know how the bees were able to perform the parity task. Explanations may include simple or complex processes. For example, the bees may have:

  1. Paired elements to find an unpaired element
  2. Performed division calculations – although division has not been previously demonstrated by bees
  3. Counted each element and then applied the odd/even categorisation rule to the total quantity.

By teaching other animal species to discriminate between odd and even numbers, and perform other abstract mathematics, we can learn more about how maths and abstract thought emerged in humans.

Is discovering maths an inevitable consequence of intelligence? Or is maths somehow linked to the human brain? Are the differences between humans and other animals less than we previously thought? Perhaps we can glean these intellectual insights, if only we listen properly.

Scarlett Howard is a Lecturer at the Monash University.

Adrian Dyer is an Associate Professor and Andrew Greentree is a Professor of Quantum Physics and Australian Research Council Future Fellow at the RMIT University. Jair Garcia is a Research Fellow at the same institute.

This article first appeared on The Conversation.