Unmasking Biases and Reliability Concerns in Convolutional Neural Networks Analysis of Cancer Pathology Images
Organizations: Department of Computer Science, Kansas State University, Manhattan, KS 66506, USA
Abstract
Convolutional Neural Networks have shown promising effectiveness in identifying different types of cancer from radiographs. However, the opaque nature of CNNs makes it difficult to fully understand the way they operate, limiting their assessment to empirical evaluation. Here we study the soundness of the standard practices by which CNNs are evaluated for the purpose of cancer pathology. Thirteen highly used cancer benchmark datasets were analyzed, using four common CNN architectures and different types of cancer, such as melanoma, carcinoma, colorectal cancer, and lung cancer. We compared the accuracy of each model with that of datasets made of cropped segments from the background of the original images that do not contain clinically relevant content. Because the rendered datasets contain no clinical information, the null hypothesis is that the CNNs should provide mere chance-based accuracy when classifying these datasets. The results show that the CNN models provided high accuracy when using the cropped segments, sometimes as high as 93%, even though they lacked biomedical information. These results show that some CNN architectures are more sensitive to bias than others. The analysis shows that the common practices of machine learning evaluation might lead to unreliable results when applied to cancer pathology. These biases are very difficult to identify, and might mislead researchers as they use available benchmark datasets to test the efficacy of CNN methods.
Figures & tables
| PathMNIST | Histopatology | Multi-Class (9) | 1. Cancer-Associated Stroma, 2. Colorectal Adenocarcinoma Epithelium = Cancer Present / 3. Adipose Tissue, 4. Background, 5. Debris, 6. Lymphocytes, 7. Mucus, 8. Smooth Muscle and Normal Colon Mucosa = Cancer Absent | 107,180 | 95,435 | 11,745 |
| DermaMNIST | Dermatoscope | Multi-Class (7) | 1. Melanoma 2. Basal cell carcinoma = Cancer Present / 3. Melanocytic nevi, 4. Benign keratosis-like lesions, 5. Dermatofibroma, 6. Vascular lesions 7. Actinic keratoses = Cancer Absent | 10,015 | 656 | 9,359 |
| BreastMNIST | Breast Ultrasound | Multi-Class (3) | 1. Malignant = Cancer Present / 2. Normal, 3. Benign = Cancer Absent | 780 | 570 | 210 |
| NoduleMNIST3D | Chest CT | Binary-Class (2) | 1. Malignant = Cancer Present / 2. Benign = Cancer Absent | 1,633 | 401 | 1232 |
| BreakHis Dataset | ||||||
| Magnification | Modality | Initial Class | Modified Binary Class | Total Samples | Cancer Present Samples | Cancer Absent Samples |
| Microscopy Histopathology | Multi-Class (8) | 1 to 4 = Cancer Absent/ 5 to 8 = Cancer Present | 1995 | 1370 | 652 | |
| 2081 | 1437 | 644 | ||||
| 2013 | 1390 | 623 | ||||
| 1820 | 1232 | 588 | ||||
| The ISIC (2016–2019) Dataset | ||||||
| Dataset | Data Modality | Initial Class | Modified Binary Class | Total Samples | Cancer Present Samples | Cancer Absent Samples |
| ISIC-2016 | Dermatoscope | Binary Class | 1. Melanoma = Cancer Present; 2. Benign = Cancer Absent | 1279 | 248 | 1031 |
| ISIC-2017 | Dermatoscope | Multi-Class (3) | 1. Melanoma = Cancer Present; 2. Seborrheic_keratosis; 3. Nevus = Cancer Absent | 11,527 | 3736 | 7790 |
| ISIC-2018 | Dermatoscope | Multi-Class (7) | 1. Melanoma; 2. Basal cell carcinoma = Cancer Present; 3. Melanocytic nevi; 4. Benign keratosis-like lesions; 5. Dermatofibroma; 6. Vascular lesions; 7. Actinic keratoses = Cancer Absent | 10,015 | 7007 | 1003 |
| ISIC-2019 | Dermatoscope | Multi-Class (8) | 1. Malanoma; 2. Besal Cell Carcinoma; 3. Antinic Keratosis; 4. Squamous Cell Carcinoma = Cancer Present; 5. Melanocytic Nevus; 6. Benign Keratosis; 7. Dermotafibroma; 8. Vascular Lesion = Cancer Absent | 780 | 546 | 78 |
| Breast Histopathology Image (IDC) Dataset | ||||||
| Dataset | Modality | Initial Class | Modified Binary Class | Total Samples | Cancer Present Samples | Cancer Absent Samples |
| Breast Histopathology Image (IDC) | Microscopy Histopathology | Binary | IDC-Nagative = Cancer Absent/IDC-Positive = Cancer Present | 277,524 | 78,786 | 198,738 |
| Model | Sub Dataset | Accuracy | Recall | F 1 | Precision |
| DENSENET121 | Bottom Left | 85.8372 | 85.5634 | 81.9552 | 78.7535 |
| DENSENET121 | Bottom Right | 62.8590 | 4.4366 | 7.4707 | 28.3412 |
| DENSENET121 | Center | 62.7399 | 3.9437 | 6.8230 | 35.0489 |
| DENSENET121 | Original Images | 61.2442 | 6.5141 | 10.0572 | 64.2105 |
| DENSENET121 | Upper Left | 62.9782 | 4.6479 | 7.9069 | 57.9132 |
| DENSENET121 | Upper Right | 62.8855 | 4.7887 | 7.9559 | 42.9699 |
| Model | Sub Dataset | Accuracy | Recall | F-1 | Precision |
| DENSENET121 | Original Images | 98.5376 | 98.8588 | 99.3495 | 99.1036 |
| DENSENET121 | Bottom Left | 82.7994 | 82.6044 | 99.8973 | 90.4315 |
| DENSENET121 | Bottom Right | 82.8830 | 82.6653 | 99.9144 | 90.4751 |
| DENSENET121 | Center | 82.9109 | 82.6795 | 99.9315 | 90.4906 |
| DENSENET121 | Upper Left | 82.7994 | 82.5952 | 99.9144 | 90.4330 |
| DENSENET121 | Upper Right | 82.7855 | 82.6481 | 99.7946 | 90.4156 |
| Model | Sub Dataset | Accuracy | Recall | F-1 | Precision |
| DENSENET121 | Original Images | 97.69 | 97.97 | 98.30 | 98.64 |
| DENSENET121 | Bottom Left | 55.48 | 51.58 | 49.49 | 64.49 |
| DENSENET121 | Bottom Right | 55.35 | 50.48 | 48.87 | 65.09 |
| DENSENET121 | Center | 56.41 | 52.64 | 50.93 | 84.84 |
| DENSENET121 | Upper Left | 55.93 | 52.25 | 50.27 | 85.12 |
| DENSENET121 | Upper Right | 54.74 | 49.95 | 48.53 | 65.76 |
| Model | Sub Dataset | Accuracy | Recall | F-1 | Precision |
| DENSENET121 | Original Images | 85.8372 | 85.5634 | 81.9552 | 78.7535 |
| DENSENET121 | Bottom Right | 62.8590 | 4.4366 | 7.4707 | 28.3412 |
| DENSENET121 | Bottom Left | 62.7399 | 3.9437 | 6.8230 | 35.0489 |
| DENSENET121 | Center | 61.2442 | 6.5141 | 10.0572 | 64.2105 |
| DENSENET121 | Upper Left | 62.9782 | 4.6479 | 7.9069 | 57.9132 |
| DENSENET121 | Upper Right | 62.8855 | 4.7887 | 7.9559 | 42.9699 |
| Model | Sub Dataset | Accuracy | Recall | F-1 | Precision |
| DENSENET121 | Original Images | 0.68 | 0.53 | 0.78 | 0.63 |
| DENSENET121 | Bottom Left | 0.48 | 0.38 | 0.80 | 0.52 |
| DENSENET121 | Bottom Right | 0.48 | 0.38 | 0.82 | 0.52 |
| DENSENET121 | Center | 0.48 | 0.30 | 0.40 | 0.34 |
| DENSENET121 | Upper Left | 0.48 | 0.38 | 0.82 | 0.52 |
| DENSENET121 | Upper Right | 0.49 | 0.39 | 0.84 | 0.53 |