Using artificial intelligence to save bees

January 30, 2019, Ecole Polytechnique Federale de Lausanne
Credit: Ecole Polytechnique Federale de Lausanne

A beekeeper teamed up with the Signal Processing Laboratory 5 and a group of EPFL students to develop an app that counts the number of Varroa mites in beehives. This parasite is one of the two main threats – along with pesticides – to bees' long-term survival. Knowing the extent of the mites' infestation will allow beekeepers to protect their bees more effectively.

Bee populations are succumbing to a number of dangers, led by pesticides and a particular kind of parasite known as Varroa mites. These parasites can be found on all continents except Australia. They attach to bees, weaken them and end up killing them. "This parasite is the leading cause of bee deaths," says Alain Bugnon, a local . "Left untreated, the hives won't last a year." If beekeepers could monitor Varroa infestations, they would be able to treat their hives at the right time and save their bees. Bugnon came up with the idea for an app that would provide this information, and teamed up with EPFL's Signal Processing Laboratory 5 (LTS5) to create it.

Beekeepers currently assess infestations by counting the number of dead mites that land on a wooden board placed below the hives. But this technique is not very accurate: the parasites are barely a millimeter long, and their bodies get mixed up with waste and other material on the board. The process is also time-consuming, especially if a beekeeper has several hives.

This was the challenge presented to the students in LTS5, a lab in EPFL's School of Engineering run by Professor Jean-Philippe Thiran. The students came up with a system – consisting of an app linked to a web platform – that uses artificial intelligence to quickly and automatically count up the mites on the boards. This means that beekeepers can keep close tabs on infestations in order to target their treatments, which are in keeping with Swiss organic farming practices.

Teaching the app to recognize Varroa mites

The technology developed by the LTS5 students streamlines the beekeepers' task. They still need to put wooden boards under each of their hives, but now they simply photograph the boards and upload the images to the web platform. To develop their app, the students used machine learning – scanning thousands of images into a computer – to teach their program how to recognize the mites. The app can spot and count the dead on the board in just seconds.

"The first step was to create a database of images of Varroa mites for the computer, so that it could recognize the mites on its own and without making mistakes," says Maxime Bohnenblust, a Master's student who has been involved in this project from the start. Several beekeepers regularly submitted photos of their boards to the laboratory and gave the students feedback on their results in order to help them improve the algorithms.

The students overcame several hurdles in coming up with their solution: photos taken with smartphones are often not very clear; the light in photos taken outside is very bright; and each board has to be associated with a corresponding hive. In response to the third hurdle, the students programmed their app to generate a specific QR code for each hive. A beekeeper using the program then takes a picture of his board alongside the QR code for his and uploads the image to the platform, where it is immediately analyzed. The results – how many mites are detected – are stored and will be used to create statistics and a time profile.

In search of mite-resistant bees

This system will also make it possible to compile nationwide data in order to produce statistics. No other system of this sort – based on standardized data – currently exists. "The beekeepers didn't have any shared metric or standard," says Bohnenblust. "And until now, beekeepers associations have been sending their data to Agroscope, the Swiss government's agricultural research center, once a year." Yet if there is to be any chance of saving the bees, timely data is required. "Anti-parasite treatments must be applied at the right time and scaled to the size of the infestation," says Professor Thiran.

Finally, the collected data could be used to map out and track Varroa infestations in Switzerland and potentially identify parasite-resistant strains of bees.

Explore further: Smart beehives and heat treatments could protect bees from decline

Related Stories

Fungus fights deadly bee mites in a two-pronged attack

October 22, 2012

(Phys.org)—A fungus normally used to control insect pests may help honey bees protect themselves from a destructive mite by both infecting the mites and preventing suppression of the bee immune system, says a team of bee ...

Recommended for you

Archaeologists discover Incan tomb in Peru

February 16, 2019

Peruvian archaeologists discovered an Incan tomb in the north of the country where an elite member of the pre-Columbian empire was buried, one of the investigators announced Friday.

Where is the universe hiding its missing mass?

February 15, 2019

Astronomers have spent decades looking for something that sounds like it would be hard to miss: about a third of the "normal" matter in the Universe. New results from NASA's Chandra X-ray Observatory may have helped them ...

What rising seas mean for local economies

February 15, 2019

Impacts from climate change are not always easy to see. But for many local businesses in coastal communities across the United States, the evidence is right outside their doors—or in their parking lots.

The friendly extortioner takes it all

February 15, 2019

Cooperating with other people makes many things easier. However, competition is also a characteristic aspect of our society. In their struggle for contracts and positions, people have to be more successful than their competitors ...

0 comments

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.