用小樣本學習分類支氣管內視鏡超音波檢查中取得原發肺癌及肺轉移惡性腫瘤之細胞學影像
Using Few-Shot Learning to Classify Primary Lung Cancer and Other Malignancy with Lung Metastasis in Cytological Imaging via Endobronchial Ultrasound Procedures
摘要
本研究目的是設計一套支氣管內視鏡超音波(EBUS)手術的電腦輔助診斷系統,以協助醫師初步判讀肺轉移癌,即在EBUS手術後立即安排相關其他部位轉移癌的檢查,從而縮短一半以上的等待時間,讓病人提早發現其他癌症並儘早治療。在現行臨床實務中,肺轉移癌的細胞影像資料量少且影像中細胞類別間的型態相近,造成分類困難。此外,先前細胞分類影像研究缺乏對肺轉移癌的應用,對於此類資料特性缺乏針對性的解決方案。過往多數分類研究多使用領域相似的公開資料集做訓練,較沒有知識遷移的挑戰。雖然Transformer具有優異的全局的特徵擷取能力,然而缺乏圖片的局部關係,再者,在資料量有限的情況下,不僅對大型模型的微調效果受限,還容易產生過擬合問題。
為解決上述挑戰,本研究提出了一種小樣本學習分類模型。首先,使用預訓練的混合模型進行元訓練,並結合細粒度影像分類方法與對比學習,以提升模型在分類任務中的泛化能力。接者,透過參數高效微調的方法對資料擴增後的支持集當偽查詢集進行微調,進一步將元訓練所得的先驗知識遷移到本研究資料集上,提升分類效能。
實驗結果顯示,所提出之模型結合了廣泛的知識基礎與高效的微調策略,在測試資料集上達到49.26%準確度,表現優於其他SOTA方法;其Precision、Recall和F1 score亦分別達到0.477、0.493與0.480,並在公開資料Mini-ImageNet中達到最高準確度99.53%以及在其他資料集中有不錯的成果,展現出穩定且優越的分類能力。進一步提供更多影像樣本(如20 張圖片)可促使模型更穩定地學習特徵,準確率提升至55.48%,顯著增強對於相似類別間的辨識能力。這些結果不僅有助於針對臨床上少量資料進行新類別或未見類別的判讀,也為臨床診斷系統的應用開啟了新的可能性與發展方向。
為解決上述挑戰,本研究提出了一種小樣本學習分類模型。首先,使用預訓練的混合模型進行元訓練,並結合細粒度影像分類方法與對比學習,以提升模型在分類任務中的泛化能力。接者,透過參數高效微調的方法對資料擴增後的支持集當偽查詢集進行微調,進一步將元訓練所得的先驗知識遷移到本研究資料集上,提升分類效能。
實驗結果顯示,所提出之模型結合了廣泛的知識基礎與高效的微調策略,在測試資料集上達到49.26%準確度,表現優於其他SOTA方法;其Precision、Recall和F1 score亦分別達到0.477、0.493與0.480,並在公開資料Mini-ImageNet中達到最高準確度99.53%以及在其他資料集中有不錯的成果,展現出穩定且優越的分類能力。進一步提供更多影像樣本(如20 張圖片)可促使模型更穩定地學習特徵,準確率提升至55.48%,顯著增強對於相似類別間的辨識能力。這些結果不僅有助於針對臨床上少量資料進行新類別或未見類別的判讀,也為臨床診斷系統的應用開啟了新的可能性與發展方向。
This study develops a computer-aided diagnosis (CAD) system for endobronchial ultrasound (EBUS) procedures to assist physicians in the preliminary identification of lung metastases. The system enables immediate follow-up assessments for metastases in other regions after EBUS, reducing waiting time by more than half and allowing earlier detection and treatment of secondary cancers.
In current clinical practice, cytological image data for lung metastases is limited, and morphological similarities among cell types make classification challenging. Existing image-based classification research rarely focuses on lung metastases and lacks solutions tailored to their unique characteristics. Most prior studies rely on publicly available datasets from similar domains, avoiding knowledge transfer challenges. Although Transformer-based models capture global features well, they struggle with local relationships. With limited data, large models are difficult to fine-tune and prone to overfitting.
To address these challenges, this study proposes a few-shot learning classification model. A hybrid pretrained model is used for meta-training, combined with fine-grained image classification and contrastive learning to enhance generalization. Parameter-efficient fine-tuning is then applied using augmented support sets as pseudo-query sets, enabling effective knowledge transfer from meta-training to the target dataset and improving classification.
Results show the proposed model, combining broad prior knowledge with efficient fine-tuning, achieved 49.26% accuracy on the test dataset, outperforming other state-of-the-art (SOTA) methods. Precision, recall, and F1 score reached 0.477, 0.493, and 0.480, respectively. And achieved the highest accuracy of 99.53% on the public dataset Mini-ImageNet, as well as promising results on other datasets. Providing more image samples (e.g., 20 images) further improved feature learning, raising accuracy to 55.48% and enhancing discrimination between similar classes. These findings demonstrate the model’s potential for recognizing novel or rare categories in clinical scenarios with limited data, opening new possibilities for diagnostic applications.
In current clinical practice, cytological image data for lung metastases is limited, and morphological similarities among cell types make classification challenging. Existing image-based classification research rarely focuses on lung metastases and lacks solutions tailored to their unique characteristics. Most prior studies rely on publicly available datasets from similar domains, avoiding knowledge transfer challenges. Although Transformer-based models capture global features well, they struggle with local relationships. With limited data, large models are difficult to fine-tune and prone to overfitting.
To address these challenges, this study proposes a few-shot learning classification model. A hybrid pretrained model is used for meta-training, combined with fine-grained image classification and contrastive learning to enhance generalization. Parameter-efficient fine-tuning is then applied using augmented support sets as pseudo-query sets, enabling effective knowledge transfer from meta-training to the target dataset and improving classification.
Results show the proposed model, combining broad prior knowledge with efficient fine-tuning, achieved 49.26% accuracy on the test dataset, outperforming other state-of-the-art (SOTA) methods. Precision, recall, and F1 score reached 0.477, 0.493, and 0.480, respectively. And achieved the highest accuracy of 99.53% on the public dataset Mini-ImageNet, as well as promising results on other datasets. Providing more image samples (e.g., 20 images) further improved feature learning, raising accuracy to 55.48% and enhancing discrimination between similar classes. These findings demonstrate the model’s potential for recognizing novel or rare categories in clinical scenarios with limited data, opening new possibilities for diagnostic applications.