homehome Home chatchat Notifications


The unlikely story of how a pastry AI came to be used to detect cancer

The journey of this particular AI was as unexpected as it gets.

Mihai Andrei
October 16, 2024 @ 5:08 pm

share Share

AI image of pastries in a shop
AI-generated image of pastries in a shop.

In 2013, a computer systems engineer by the name of Hisashi Kambe was working on an innovative system. It was called BakeryScan and used a neural network model called AlexNet, which employed a technique called deep learning to classify images into different object categories.

It was a good fit. Japanese bakeries pride themselves on a wide variety of pastries. Bread and pastries have long been an import product in Japan, with scarcity and lack of variety being commonplace for centuries. As a result, people cherish variety now, and studies suggest that in Japan, the more types of pastries you have, the more you sell. In fact, many bakeries in Japan have a constant influx of new pastries coming in and out of selection. So much so, in fact, that even employees have a hard time knowing what some items are.

Having an AI that could automatically identify pastries makes things much easier. It enables fast, accurate recognition of pastries at checkout, reducing errors and speeding up the customer service process. It can also help with inventory management by tracking sales and product availability, ensuring that popular items are restocked efficiently. The system’s adaptability allows it to handle diverse product shapes and sizes, making it a valuable tool in busy bakery environments.

It worked well. It became pretty popular in the pastry industry, selling well, but then things took an unexpected turn.

From bread to healthcare

In 2017, a doctor in Kyoto, saw an ad for the algorithm. He thought the pastries looked pretty similar to cancer cells.

Thus began BakeryScan’s foray into the cancer detection world. In 2018, at a conference in Sapporo about the AI identification of cancer cells, Kambe said the algorithm is still impractical for some tasks due to the large amounts of data required. But he continued working on it — and deep learning algorithms also improved significantly.

By 2021, a prototype of BakeryScan customized for cancer detection (called Cyto-AiSCAN) was being trialed in two major hospitals in Japan. The algorithm had vastly improved — it didn’t need to look at single cells, it could work with entire microscope slides. Kambe refused to elaborate on how exactly the algorithm works, saying it’s an “original way,” just like with the pastries.

But the results spoke for themselves: the algorithm reportedly had 98% accuracy.

What started as an innovative solution for a bakery problem had evolved into a breakthrough in medical diagnostics. Hisashi Kambe’s journey with BakeryScan is a story of scientific success and adaptability, showing how a system designed for something as simple as identifying pastries could be repurposed for life-saving technology.

Nowadays, there are several AIs capable of medical diagnoses, but this is more than just a tale of deep learning or AI’s potential. It’s a testament to the flexibility of science. Since then, BakeryScan has been adapted to distinguish between pills in hospitals, amulets sold by shrines, and even 18th century Japanese woodblock prints.

share Share

Archaeologists Discover 6,000 Year Old "Victory Pits" That Featured Mass Graves, Severed Limbs, and Torture

Ancient times weren't peaceful by any means.

Space Solar Panels Could Cut Europe’s Reliance on Land-Based Renewables by 80 Percent

A new study shows space solar panels could slash Europe’s energy costs by 2050.

A 5,000-Year-Old Cow Tooth Just Changed What We Know About Stonehenge

An ancient tooth reshapes what we know about the monument’s beginnings.

Astronomers See Inside The Core of a Dying Star For the First Time, Confirm How Heavy Atoms Are Made

An ‘extremely stripped supernova’ confirms the existence of a key feature of physicists’ models of how stars produce the elements that make up the Universe.

Rejoice! Walmart's Radioactive Shrimp Are Only a Little Radioactive

You could have a little radioactive shrimp as a treat. (Don't eat any more!)

Newly Found Stick Bug is Heavier Than Any Insect Ever Recorded in Australia

Bigger than a cockroach and lighter than a golf ball, a giant twig emerges from the misty mountains.

Chevy’s New Electric Truck Just Went 1,059 Miles on a Single Charge and Shattered the EV Range Record

No battery swaps, no software tweaks—yet the Silverado EV more than doubled its 493-mile range. How’s this possible?

Dolphins and Whales Can Be Friends and Sometimes Hang Out Together

They have a club and you're not invited.

Cats in a Finnish Village Have a Coat Pattern That's Never Been Seen Before

These beautiful and unique cats have similarly unique DNA.

Scientists Uncover 505-Million-Year-Old Penis Worm with a Mouthful of Bizarre Teeth

Evolution was trying things out.