Rui Li , Xiaoyan Li , Hongzan Sun , Jinzhu Yang , Md Rahaman , Marcin Grzegozek , Tao Jiang , Xinyu Huang , Chen Li
{"title":"Few-shot learning based histopathological image classification of colorectal cancer","authors":"Rui Li , Xiaoyan Li , Hongzan Sun , Jinzhu Yang , Md Rahaman , Marcin Grzegozek , Tao Jiang , Xinyu Huang , Chen Li","doi":"10.1016/j.imed.2024.05.003","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Colorectal cancer is a prevalent and deadly disease worldwide, posing significant diagnostic challenges. Traditional histopathologic image classification is often inefficient and subjective. Although some histopathologists use computer-aided diagnosis to improve efficiency, these methods depend heavily on extensive data and specific annotations, limiting their development. To address these challenges, this paper proposes a method based on few-shot learning.</div></div><div><h3>Methods</h3><div>This study introduced a few-shot learning approach that combines transfer learning and contrastive learning to classify colorectal cancer histopathology images into benign and malignant categories. The model comprises modules for feature extraction, dimensionality reduction, and classification, trained using a combination of contrast loss and cross-entropy loss. In this paper, we detailed the setup of hyperparameters: <span><math><mi>n</mi></math></span>-way, <span><math><mi>k</mi></math></span>-shot, <span><math><mi>β</mi></math></span>, and the creation of support, query, and test datasets.</div></div><div><h3>Results</h3><div>Our method achieved over 98% accuracy on a query dataset with 35 samples per category using only 10 training samples per category. We documented the model’s loss, accuracy, and the confusion matrix of the results. Additionally, we employed the <span><math><mi>t</mi></math></span>-SNE algorithm to analyze and assess the model’s classification performance.</div></div><div><h3>Conclusion</h3><div>The proposed model may demonstrate significant advantages in accuracy and minimal data dependency, performing robustly across all tested <span><math><mi>n</mi></math></span>-way, <span><math><mi>k</mi></math></span>-shot scenarios. It consistently achieved over 93% accuracy on comprehensive test datasets, including 1916 samples, confirming its high classification accuracy and strong generalization capability. Our research could advance the use of few-shot learning in medical diagnostics and also lays the groundwork for extending it to deal with rare, difficult-to-diagnose cases.</div></div>","PeriodicalId":73400,"journal":{"name":"Intelligent medicine","volume":"4 4","pages":"Pages 256-267"},"PeriodicalIF":4.4000,"publicationDate":"2024-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Intelligent medicine","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667102624000639","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Background
Colorectal cancer is a prevalent and deadly disease worldwide, posing significant diagnostic challenges. Traditional histopathologic image classification is often inefficient and subjective. Although some histopathologists use computer-aided diagnosis to improve efficiency, these methods depend heavily on extensive data and specific annotations, limiting their development. To address these challenges, this paper proposes a method based on few-shot learning.
Methods
This study introduced a few-shot learning approach that combines transfer learning and contrastive learning to classify colorectal cancer histopathology images into benign and malignant categories. The model comprises modules for feature extraction, dimensionality reduction, and classification, trained using a combination of contrast loss and cross-entropy loss. In this paper, we detailed the setup of hyperparameters: -way, -shot, , and the creation of support, query, and test datasets.
Results
Our method achieved over 98% accuracy on a query dataset with 35 samples per category using only 10 training samples per category. We documented the model’s loss, accuracy, and the confusion matrix of the results. Additionally, we employed the -SNE algorithm to analyze and assess the model’s classification performance.
Conclusion
The proposed model may demonstrate significant advantages in accuracy and minimal data dependency, performing robustly across all tested -way, -shot scenarios. It consistently achieved over 93% accuracy on comprehensive test datasets, including 1916 samples, confirming its high classification accuracy and strong generalization capability. Our research could advance the use of few-shot learning in medical diagnostics and also lays the groundwork for extending it to deal with rare, difficult-to-diagnose cases.