Fusing hand-crafted and deep-learning features in a convolutional neural network model to identify prostate cancer in pathology images

Front Oncol 2022 Deep Learning 8 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Pages 1-2
The Challenge of Prostate Cancer Diagnosis

Prostate cancer is the second leading cause of cancer death in men, after lung cancer. The current gold standard for diagnosis is a transrectal ultrasound guided biopsy, which produces large numbers of tissue images that must be reviewed by pathologists.

Analyzing these images manually is time-consuming, and results can vary between different pathologists -- a problem known as inter-rater variability. This inconsistency can affect treatment decisions, which may include radiotherapy, chemotherapy, surgery, or watchful waiting.

Machine learning techniques, particularly computer-aided diagnosis (CAD), offer a path toward making prostate histopathology more precise, consistent, and efficient by automatically extracting meaningful information from tissue images.

There are two main categories of machine learning features: hand-crafted features, which are manually designed based on expert pathological knowledge, and deep-learning features, which are automatically extracted by convolutional neural networks. Each approach has distinct strengths and weaknesses.

TL;DR: Manual analysis of prostate biopsy images is burdensome and inconsistent, motivating the development of AI-assisted diagnostic tools.
Pages 2-4
What Are Hand-Crafted Features?

Pathologists identify prostate cancer by looking for specific structural abnormalities in tissue. Normal prostate glands have a well-defined architecture, including bilayer epithelial cells, large gland cavities, and leaf-like structures. Malignant tissue loses these organized patterns.

Three key cancer indicators are used as the basis for hand-crafted features: cell heterogeneity (cancer nuclei are larger and more variable in size), invasion patterns (multiple small gland cavities appear), and disordered tissue structure (glands grow irregularly rather than in organized rings).

The researchers extracted seven hand-crafted features: local image features using SIFT, SURF, and ORB algorithms; texture and shape features of cell nuclei using statistical and Fourier methods; gradient features of gland cavities using the histogram of oriented gradients (HOG); and color features using color auto-correlograms.

Each of these methods captures a different aspect of tissue appearance. For example, the gray-level co-occurrence matrix (GLCM) describes texture by analyzing how pixel intensity patterns repeat, while Fourier descriptors mathematically encode the shape of individual cell nuclei boundaries.

TL;DR: Seven hand-crafted features -- covering cell texture, shape, local structure, cavity patterns, and color -- were extracted based on pathologists' diagnostic criteria.
Pages 4, 7, 8
Building the Fusion Network

The core innovation of this study is a classification fusion network that combines the seven hand-crafted features with one deep-learning feature extracted from a ResNet-18 convolutional neural network. The result is a model that draws on both human expertise and learned visual patterns.

The network has three main components. The matching network converts all hand-crafted features (which are one-dimensional vectors) into two-dimensional representations compatible with deep-learning features. This uses nine convolutional blocks with batch normalization and ReLU activation.

The integrated network processes all features through a backbone architecture (such as ResNet or VGG) plus an additional network with two convolutional operations and average pooling to prevent overfitting. The fusion network then combines all eight feature streams through fully connected layers with concatenation.

A key preprocessing step used the Bag of Words (BoW) model with TF-IDF weighting to convert variable-length feature sets into fixed-size 50-dimensional vectors. A custom data augmentation method added controlled noise to hand-crafted features to improve generalization on the small dataset of 1,100 images.

TL;DR: A three-part network -- matching, integrated, and fusion -- was designed to combine eight distinct image features into a single classification decision.
Pages 10-12
Performance Across Different Backbone Models

The fusion network was tested with six different deep learning backbone architectures: ResNet-18, ResNet-50, VGG-11, VGG-16, DenseNet-121, and DenseNet-201. The dataset of 1,100 images was split into training, validation, and test sets at a 3:1:1 ratio.

ResNet-18 achieved the best overall performance with 95.45% accuracy, 97.27% sensitivity (ability to detect cancer), 93.64% specificity (ability to rule out cancer), and an AUC of 98.34%. This outperformed all other backbones by 1-10 percentage points.

Larger models like DenseNet performed poorly due to overfitting -- they were too complex for the relatively small dataset. DenseNet-201 fell to only 85.91% accuracy with a sensitivity of just 81.82%, which would lead to unacceptably high rates of missed cancers in clinical use.

The trend across models shows that model size must be matched to dataset size. For smaller medical imaging datasets, simpler architectures like ResNet-18 are preferable over deeper networks, which tend to memorize training data rather than learn generalizable patterns.

TL;DR: ResNet-18 achieved the best accuracy of 95.45% with 97.27% sensitivity, outperforming all other backbone architectures tested.
Pages 12, 14
Why Fusion Outperforms Individual Features

A critical finding was that every individual feature -- both hand-crafted and deep-learning -- scored below 90% on all performance metrics when tested alone. No single feature was sufficient for reliable diagnosis. This demonstrates why feature fusion is essential.

When the seven hand-crafted features were combined with the deep-learning feature, accuracy jumped to 95.45%, AUC to 98.34%, sensitivity to 97.27%, and specificity to 93.64%. The deep-learning feature alone achieved 89.09% on all metrics, while hand-crafted features alone reached 86.36% accuracy.

The use of concatenation in the fusion network's fully connected layers provided a further improvement of about 4-5 percentage points compared to fusion without concatenation. This confirms that directly connecting feature streams before the final classification layer adds meaningful information.

This result illustrates a fundamental principle: complementary information sources can overcome each other's limitations. Hand-crafted features encode expert knowledge about specific tissue patterns, while deep-learning captures abstract visual characteristics that humans may not consciously articulate.

TL;DR: No single feature exceeded 90% accuracy alone, but fusing all eight features together pushed accuracy to 95.45%, showing that complementary information is essential.
Page 15
Model Stability and Interpretability

To verify that the model's performance was not a lucky result of one particular data split, the researchers performed a 10-fold cross-validation. The dataset was divided into ten equal parts, with the model trained on nine and tested on one, rotating through all combinations.

Most test accuracy values across the ten folds exceeded 94%, with three folds reaching 96.82%, 96.73%, and 96.48%. Only two folds dipped slightly lower, to 90.68% and 90.72%. This demonstrates robust and consistent performance across different subsets of patient data.

To address the common criticism that deep learning is a "black box," the researchers used Grad-CAM++ heatmaps to visualize which parts of each pathology image the model focused on when making a decision. These colored overlays highlight regions the model weighted most heavily.

The heatmaps showed that the fusion model focused more precisely on cancerous cell nuclei and gland lesions -- including areas with prominent nucleoli, enlarged nuclei, crowded glands, and increased pleomorphism -- compared to the standard ResNet-18 model. This alignment with known pathological indicators increases confidence in the model's clinical relevance.

TL;DR: 10-fold cross-validation confirmed consistent performance above 94%, and Grad-CAM++ heatmaps showed the model correctly focuses on known cancer markers in tissue images.
Pages 1, 16
Clinical Relevance and Broader Applications

The study used a dataset of 1,100 high-quality prostate pathology images collected from two major Chinese hospitals, with diagnoses confirmed by two or three expert pathologists per image. This real-world clinical data strengthens the relevance of the findings for actual diagnostic practice.

A sensitivity of 97.27% means the model correctly identifies nearly all cancerous tissue samples. High sensitivity is especially critical in cancer diagnosis, where missing a cancer (false negative) is generally more harmful than a false alarm that triggers follow-up testing.

The researchers note that the underlying feature engineering and deep learning approach is not specific to prostate tissue. The same framework could be adapted for breast cancer, thyroid cancer, and other cancers where pathology images are analyzed, because the principles of combining hand-crafted and learned features are broadly applicable.

By reducing pathologist workload and improving consistency, AI tools like this fusion network could help address a growing global shortage of trained pathologists, particularly in low- and middle-income countries where specialist access is limited.

TL;DR: With 97.27% sensitivity on real clinical images, this fusion model could meaningfully reduce missed diagnoses and is adaptable to other cancer types.
Pages 15-16
Key Takeaways

This study demonstrates that combining expert-designed image features with deep learning creates a more powerful diagnostic tool than either approach alone. The classification fusion network achieved 95.54% accuracy on prostate pathology images, substantially outperforming any single feature.

The choice of ResNet-18 as the backbone was key -- its relatively compact size matched the dataset well, avoiding the overfitting problems that plagued larger architectures like DenseNet-201. This highlights the importance of matching model complexity to available data.

The use of Grad-CAM++ visualization adds interpretability to the model, showing that it focuses on biologically meaningful areas of tissue rather than arbitrary image artifacts. This transparency is important for building clinician trust in AI-assisted diagnosis.

Future work should focus on validating the model on larger, more diverse patient populations and ultimately integrating it into clinical workflows as a computer-aided diagnosis tool that assists rather than replaces pathologist judgment.

TL;DR: A fusion of seven hand-crafted features and one deep-learning feature in a ResNet-18 backbone achieves 95.54% accuracy with strong interpretability for prostate cancer pathology.
Citation: Open Access, . Available at: PMC9552083.