Skin Cancer Classification with Deep Learning

Connor Shorten · Beginner ·🧬 Deep Learning ·7y ago

Key Takeaways

This video presents a paper on skin cancer classification using Deep Convolutional Neural Networks, specifically the GoogleNet Inception v3 model, and discusses the use of transfer learning and a taxonomy of output structure to improve classification accuracy.

Full Transcript

[Music] this video will present dermatologist level classification of skin cancer with deep neural networks convolutional neural networks are a branch of deep learning that Maps images to class labels of really popular way of understanding this is through examples of classifying images of cats and dogs as shown in this image the convolutional neural network takes as input an image and then uses a series of convolutional filters and other miscellaneous things that the deep learning community has come up with for computer vision applications and then Maps the images into class labels such as cat or dog the idea here is to use the same kind of idea but to detect skin cancer in in clinical images so there are 5.4 million new cases of skin cancer every year that account for 10,000 annual deaths but early detection of this is critical and that's why this idea of being able to embed a dermatologist level classifier into your phone so you could just snap a picture of your skin lesion and instantly have this kind of diagnosis is a very appealing sort of idea so the data set that they use in the paper consists of one hundred and twenty nine thousand four hundred fifty clinical images including 3374 Mosca p images and this data said showed on the lobby's this images showed them the left of the slide is sort of what this data set would look like so what they use to classify this is they start with transfer learning and transfer learning is a really popular technique in deep learning that's why I've pictured the Swiss Army knife at the bottom of the slide transfer learning is frequently used when you have limited datasets so in this case a hundred thousand images may seem like a lot but it's really not that much for these deep neural networks which are very data data intensive so the idea of transfer learning is you take a pre-trade network such as the Google Met inception v3 and you train on a big data set like image net which is one point two eight million images in the thousand object categories then the final layer the classification layer is removed and replaced with a new layer for the new tasks so one other interesting issue of using transfer learning is that the skin lesion images have to be resized to match the original input of the original dataset so imagenet images of resizes 299 by 299 and when you so now when you use the skin lesion images you have to resize them to that same input dimension so the novel insight in this research paper is to construct a taxonomy of the output structure and this is another idea that's been seen in papers like word Tyvek with these hierarchical output spaces so the idea is that the convolutional network doesn't just directly predict the classes rather it predicts probabilities for each of the classes and then these classes are traversed upwards and summed up to make the predictions so you would use all the leaf nodes under leaf nodes under something like benign to aggregate the prediction to the final prediction so you sum up the little leaf nodes here things like lipoma fib roma and cysts you sum up all the leaf nodes and then aggregate that to be the benign fiction and each of these high-level classes like the line malignant and non neoplastic have their own sets of leaf nodes and also interestingly they have different cardinalities of leaf nodes like in this example the non neoplastic higher level node has many more leaf nodes than benign and malignant so this is the high-level overview of what it looks like a skin lesion input is images inputted into this Google net inception Network which has this structure of branching the previous input into these four separate convolutional blocks and then aggregating them together and then it is mapped into this taxonomy output space to make the predictions so this is a t-sne visualization of CNN features what a t-sne visualisation does is it lets you go from the very high dimensional and completely impossible to visualize 2048 dimensional feature layer before the classifier classifier output this prediction and you can project this into a low dimensional representation so we can kind of see what classification decision boundary the classifier might be able to do with the deep learning feature extractor so in this case you can see that there is a pretty clear separation of the orange blue green and yellow classes but there still is a significant overlap you can see a lot of blue in the red and yellow and the green so these are the results from the CNN compared to the dermatologist it outperforms the dermatologist by a good margin on the three-way classification tasks where you are predicting the high level notes by traversing up from the leaf nodes but then when you predict in the leaf nodes it performs the same as the dermatologist this is the confusion matrices of the nine way classification problem and it's sort of interesting because the dermatologist and the CNN they have some similar biases in their missed predictions you see that predicting six when it's really zero is a common trend amongst the CNN dermatologists one and dermatologists too when you deal with class imbalance datasets like in this case I don't remember the exact dimensions but there might be like 130 melanoma images 270 benign or you know some distribution that is skewed towards one class so the way that you would account for this is by using these metrics that account for imbalance so sensitivity is where you take the true positive rate and divided by the positives specificity is the true negative by the negative and this AUC area under the curve shows the trade-off between the two as you change the decision boundary so you might say if it's you know if the prediction lies above a certain value like 0.5 then you predict it one way or the other and you can slide that up and down to optimize for sensitivity or supposed specificity so these are the saliency maps which is another common practice in computer vision to try and highlight what the CNN is looking at to make its prediction and it's pretty encouraging because it is accurately looking at the at the skin lesion rather than arbitrary parts of the image thanks for watching this video on skin cancer classification with deep learning you can get the full paper link in description after watching this video I highly recommend checking out this explaining in detail the inception that architecture that they use thanks for watching Henry AI Labs please subscribe

Original Description

This video describes a paper using Deep Convolutional Neural Networks (GoogleNet Inception v3 model) to classify Skin Cancer from Clinical and Dermoscopy Images. Thanks for watching, Please Subscribe for more Deep Learning videos! Paper Link: https://www.nature.com/articles/nature21056.epdf?author_access_token=8oxIcYWf5UNrNpHsUHd2StRgN0jAjWel9jnR3ZoTv0NXpMHRAJy8Qn10ys2O4tuPakXos4UhQAFZ750CsBNMMsISFHIKinKDMKjShCpHIlYPYUHhNzkn6pSnOCt0Ftf6
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Connor Shorten · Connor Shorten · 30 of 60

1 DenseNets
DenseNets
Connor Shorten
2 DeepWalk Explained
DeepWalk Explained
Connor Shorten
3 Inception Network Explained
Inception Network Explained
Connor Shorten
4 StackGAN
StackGAN
Connor Shorten
5 StyleGAN
StyleGAN
Connor Shorten
6 Progressive Growing of GANs Explained
Progressive Growing of GANs Explained
Connor Shorten
7 Improved Techniques for Training GANs
Improved Techniques for Training GANs
Connor Shorten
8 Word2Vec Explained
Word2Vec Explained
Connor Shorten
9 Must Read Papers on GANs
Must Read Papers on GANs
Connor Shorten
10 Unsupervised Feature Learning
Unsupervised Feature Learning
Connor Shorten
11 Self-Supervised GANs
Self-Supervised GANs
Connor Shorten
12 Embedding Graphs with Deep Learning
Embedding Graphs with Deep Learning
Connor Shorten
13 Transfer Learning in GANs
Transfer Learning in GANs
Connor Shorten
14 ReLU Activation Function
ReLU Activation Function
Connor Shorten
15 AC-GAN Explained
AC-GAN Explained
Connor Shorten
16 SimGAN Explained
SimGAN Explained
Connor Shorten
17 DC-GAN Explained!
DC-GAN Explained!
Connor Shorten
18 ResNet Explained!
ResNet Explained!
Connor Shorten
19 Graph Convolutional Networks
Graph Convolutional Networks
Connor Shorten
20 Neural Architecture Search
Neural Architecture Search
Connor Shorten
21 Henry AI Labs
Henry AI Labs
Connor Shorten
22 Video Classification with Deep Learning
Video Classification with Deep Learning
Connor Shorten
23 BigGANs in Data Augmentation
BigGANs in Data Augmentation
Connor Shorten
24 Introduction to Deep Learning
Introduction to Deep Learning
Connor Shorten
25 EfficientNet Explained!
EfficientNet Explained!
Connor Shorten
26 Self-Attention GAN
Self-Attention GAN
Connor Shorten
27 Curriculum Learning in Deep Neural Networks
Curriculum Learning in Deep Neural Networks
Connor Shorten
28 Deep Learning Podcast #1 | Edward Dixon | Stochastic Weight Averaging
Deep Learning Podcast #1 | Edward Dixon | Stochastic Weight Averaging
Connor Shorten
29 Deep Compression
Deep Compression
Connor Shorten
Skin Cancer Classification with Deep Learning
Skin Cancer Classification with Deep Learning
Connor Shorten
31 Deep Learning Podcast #2 | Edward Peake | Deep Learning in Medical Imaging
Deep Learning Podcast #2 | Edward Peake | Deep Learning in Medical Imaging
Connor Shorten
32 The Lottery Ticket Hypothesis Explained!
The Lottery Ticket Hypothesis Explained!
Connor Shorten
33 SqueezeNet
SqueezeNet
Connor Shorten
34 GauGAN Explained!
GauGAN Explained!
Connor Shorten
35 AutoML with Hyperband
AutoML with Hyperband
Connor Shorten
36 DL Podcast #3 | Yannic Kilcher | Population-Based Search
DL Podcast #3 | Yannic Kilcher | Population-Based Search
Connor Shorten
37 Weakly Supervised Pretraining
Weakly Supervised Pretraining
Connor Shorten
38 Image Data Augmentation for Deep Learning
Image Data Augmentation for Deep Learning
Connor Shorten
39 Unsupervised Data Augmentation
Unsupervised Data Augmentation
Connor Shorten
40 Wide ResNet Explained!
Wide ResNet Explained!
Connor Shorten
41 RevNet: Backpropagation without Storing Activations
RevNet: Backpropagation without Storing Activations
Connor Shorten
42 GANs with Fewer Labels
GANs with Fewer Labels
Connor Shorten
43 BigBiGAN Unsupervised Learning!
BigBiGAN Unsupervised Learning!
Connor Shorten
44 Self-Supervised Learning
Self-Supervised Learning
Connor Shorten
45 Multi-Task Self-Supervised Learning
Multi-Task Self-Supervised Learning
Connor Shorten
46 Self-Supervised GANs
Self-Supervised GANs
Connor Shorten
47 Population Based Training
Population Based Training
Connor Shorten
48 Show, Attend and Tell
Show, Attend and Tell
Connor Shorten
49 Siamese Neural Networks
Siamese Neural Networks
Connor Shorten
50 WaveGAN Explained!
WaveGAN Explained!
Connor Shorten
51 VAE-GAN Explained!
VAE-GAN Explained!
Connor Shorten
52 Evolution in Neural Architecture Search!
Evolution in Neural Architecture Search!
Connor Shorten
53 AI Research Weekly Update August 18th, 2019
AI Research Weekly Update August 18th, 2019
Connor Shorten
54 Weight Agnostic Neural Networks Explained!
Weight Agnostic Neural Networks Explained!
Connor Shorten
55 AI Research Weekly Update August 25th, 2019
AI Research Weekly Update August 25th, 2019
Connor Shorten
56 Neuroevolution of Augmenting Topologies (NEAT)
Neuroevolution of Augmenting Topologies (NEAT)
Connor Shorten
57 CoDeepNEAT
CoDeepNEAT
Connor Shorten
58 AI Research Weekly Update September 1st, 2019
AI Research Weekly Update September 1st, 2019
Connor Shorten
59 Randomly Wired Neural Networks
Randomly Wired Neural Networks
Connor Shorten
60 Genetic CNN
Genetic CNN
Connor Shorten

This video teaches how to use deep convolutional neural networks for skin cancer classification, including the use of transfer learning and a taxonomy of output structure. The GoogleNet Inception v3 model is used to classify skin lesions from clinical and dermoscopy images. The video also discusses the importance of addressing class imbalance in the dataset and using metrics such as sensitivity, specificity, and AUC to evaluate the model's performance.

Key Takeaways
  1. Load the dataset of clinical and dermoscopy images
  2. Preprocess the images by resizing them to match the input dimension of the GoogleNet Inception v3 model
  3. Implement transfer learning by removing the final layer of the pre-trained model and replacing it with a new layer for the skin cancer classification task
  4. Construct a taxonomy of output structure to improve classification accuracy
  5. Train the model using the preprocessed images and evaluate its performance using metrics such as sensitivity, specificity, and AUC
  6. Use saliency maps to visualize the regions of the image that the model is looking at to make its predictions
💡 The use of transfer learning and a taxonomy of output structure can improve the accuracy of skin cancer classification using deep convolutional neural networks.

Related Reads

📰
Understanding Deep Learning Through Four Interactive Experiments
Explore deep learning concepts through interactive experiments to gain hands-on understanding
Medium · Data Science
📰
Understanding Deep Learning Through Four Interactive Experiments
Explore deep learning through interactive experiments to gain hands-on understanding
Medium · Deep Learning
📰
Optimizers in Deep Learning: From Gradient Descent to Adam
Learn how optimizers in deep learning work, from basic Gradient Descent to advanced Adam optimizer, to improve model training
Medium · Deep Learning
📰
The Meta-Architecture of Interface Fracture: High-Dimensional Logical Stress and Systemic Collapse…
Learn about the meta-architecture of interface fracture and its relation to high-dimensional logical stress and systemic collapse in deep learning systems
Medium · Deep Learning
Up next
Image Classification with ml5.js
The Coding Train
Watch →