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

Cheese Before Bed Might Actually Be Giving You Nightmares

Eating dairy or sweets late at night may fuel disturbing dreams, new study finds.

Scientists Ranked the Most Hydrating Drinks and Water Didn't Win

Milk is more hydrating than water. Here's why.

Methane Leaks from Fossil Fuels Hit Record Highs. And We're Still Looking the Other Way

Powerful leaks, patchy action, and untapped fixes keep methane near record highs in 2024.

Astronomers Found a Star That Exploded Twice Before Dying

A rare double explosion in space may rewrite supernova science.

This Enzyme-Infused Concrete Could Turn Buildings into CO2 Sponges

A new study offers a greener path for concrete, the world’s dirtiest building material.

AI Helped Decode a 3,000-Year-Old Babylonian Hymn That Describes a City More Welcoming Than You’d Expect

Rediscovered text reveals daily life and ideals of ancient Babylon.

Peeling Tape Creates Microlightning Strong Enough To Power Chemistry

Microlightning from everyday tape may unlock cleaner ways to drive chemical reactions.

Menstrual Cups Passed a Brutal Space Test. They Could Finally Fix a Major Problem for Many Astronauts

Reusable menstrual cups pass first test in space-like flight conditions.

The Fungus Behind the Pharaoh’s Curse Might Help Cure Leukemia

A deadly fungus found in ancient tombs yields a powerful new anti-leukemia compound.

The Woman of Margaux: Reconstructing the Face and Life of a 10,500-Year-Old Hunter-Gatherer

A new facial reconstruction challenges old ideas about Europe’s ancient inhabitants