Artificial intelligence could one day diagnose skin cancer from smartphones

Can an algorithm detect skin cancer as well as a dermatologist? Scientists say yes.
 By 
Karissa Bell
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Can an algorithm detect skin cancer as well as a dermatologist? Scientists say yes, at least, according to a new study out this week.

A group of researchers at Stanford say they have trained AI to be as reliable as human dermatologists at detecting skin cancer and that the technology may someday be able work on smartphones.

The researchers, who published their findings in the journal Nature this week, first trained a neural network using 129,450 photos representing more than 2,000 different types of skin conditions. Using one of Google's image recognition algorithms, the teams says they were able to train the neural network to identify both malignant and benign skin lesions.

They then worked with 21 human dermatologists, showing them images of some of the most common and deadly forms of skin cancer and asked whether they would recommend treatment based on what they saw.

When they compared the algorithm's performance with that of the dermatologists, they found the humans performed at the same level as the AI, the researchers said.

We realized it was feasible, not just to do something well, but as well as a human dermatologist

“We realized it was feasible, not just to do something well, but as well as a human dermatologist,” Sebastian Thrun, of Stanford's AI Lab, said in a blog post about the study. “That’s when our thinking changed."

Researchers say they are optimistic the technology could eventually be brought to smartphones so it would be available outside of a lab. They believe "it will be relatively easy to transition the algorithm to mobile devices," opening up the possibility of at-home testing for at least some types of skin cancer. Still, don't expect to see it on a smartphone in the near future.

Susan Swetter, a professor of dermatology and one of the paper's co-authors, cautions that "rigorous prospective validation of the algorithm is necessary before it can be implemented in clinical practice, by practitioners and patients alike.”

More testing aside, a smartphone version of the program would likely face regulatory hurdles before it could be approved for consumer use.

Still, even the idea of such a system is enough to excite the researchers, who say their findings could impact tests for other conditions as well. Andre Esteva, one of the paper's co-authors, says the implications could be far-reaching.

“Everyone will have a supercomputer in their pockets with a number of sensors in it, including a camera. What if we could use it to visually screen for skin cancer? Or other ailments?”

Mashable Image
Karissa Bell

Karissa was Mashable's Senior Tech Reporter, and is based in San Francisco. She covers social media platforms, Silicon Valley, and the many ways technology is changing our lives. Her work has also appeared in Wired, Macworld, Popular Mechanics, and The Wirecutter. In her free time, she enjoys snowboarding and watching too many cat videos on Instagram. Follow her on Twitter @karissabe.

Mashable Potato

Recommended For You
'The AI Doc' producer Daniel Kwan on the future and threat of artificial intelligence
Daniel Kwan, Charlie Tyrell, and Ted Tremper talking to Mashable about 'The AI Doc: Or How I Became an Apocaloptimist'

Review: 'The AI Doc: Or How I Became an Apocaloptimist' is a panic attack, in a good way
Sketchbook with "What is AI?" written in it.


NVIDIA CEO Jensen Huang says AGI is here — sort of
Jensen Huang, chief executive officer of Nvidia Corp., during a news conference at the Nvidia GTC conference

Victim of Jeffrey Epstein files class-action lawsuit against Google
By Jack Dawes
Laws regarding cyber crimes - stock photo

More in Life
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 4, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 4, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

NYT Strands hints, answers for April 4, 2026
A game being played on a smartphone.

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!