使用遷移學習方法進行骨盆腔X光影像的髖部骨折偵測
Apply transfer learning to hip fracture detection in pelvic X-ray image
摘要
在資料有限的情況下,若要利用卷積神經網路(convolutional neural networks, CNN)進行影像的辨識,採用經過預訓練的模型參數進行遷移學習是一種常見且有效的訓練策略。在醫學影像的應用中,可以透過兩種數據來進行預訓練模型的訓練,分別為「自然影像」與「醫學影像」,本研究將側重於後者。
本研究提出了一種訓練髖部骨折偵測模型的策略,這個策略一共可以分成兩個步驟:首先,我們先將骨盆腔X光(pelvic X-ray, PXR)影像中的髖部區域擷取下來,並使用該區域的影像進行非監督式學習模型的訓練:自編碼器(autoencoder, AE)與生成對抗網路(generative adversarial network, GAN)。這些經過訓練的非監督式學習模型權重會被保存下來,並於下一步驟進行利用。第二步驟會使用兩種影像進行骨折偵測模型的搭建,分別為發生髖部骨折與未發生髖部骨折的整張PXR影像。本步驟一共會訓練三種具有不同初始權重的骨折偵測模型:分別為沒有預訓練的權重(即是隨機權重)、訓練好的AE的權重與訓練好的GAN的權重。
待骨折偵測模型訓練完畢後,我們在測試階段發現了兩個有趣的結果。首先,使用轉移的參數進行學習的模型,其精度會優於沒有使用的模型,其中使用GAN進行預訓練的模型擁有最佳的性能。我們在實驗中也採用了幾種視覺化的策略來對此結果進行印證,包括對獨立測試的資料進行t-SNE的降維以觀察其分布等。其次,在針對模型選擇特徵的能力上,為了確保模型確實是依據髖部發生骨折才進行預測,我們也使用了不同的方法如Grad-CAM等,以熱圖呈現模型所關注的特徵。
本研究提出了一種訓練髖部骨折偵測模型的策略,這個策略一共可以分成兩個步驟:首先,我們先將骨盆腔X光(pelvic X-ray, PXR)影像中的髖部區域擷取下來,並使用該區域的影像進行非監督式學習模型的訓練:自編碼器(autoencoder, AE)與生成對抗網路(generative adversarial network, GAN)。這些經過訓練的非監督式學習模型權重會被保存下來,並於下一步驟進行利用。第二步驟會使用兩種影像進行骨折偵測模型的搭建,分別為發生髖部骨折與未發生髖部骨折的整張PXR影像。本步驟一共會訓練三種具有不同初始權重的骨折偵測模型:分別為沒有預訓練的權重(即是隨機權重)、訓練好的AE的權重與訓練好的GAN的權重。
待骨折偵測模型訓練完畢後,我們在測試階段發現了兩個有趣的結果。首先,使用轉移的參數進行學習的模型,其精度會優於沒有使用的模型,其中使用GAN進行預訓練的模型擁有最佳的性能。我們在實驗中也採用了幾種視覺化的策略來對此結果進行印證,包括對獨立測試的資料進行t-SNE的降維以觀察其分布等。其次,在針對模型選擇特徵的能力上,為了確保模型確實是依據髖部發生骨折才進行預測,我們也使用了不同的方法如Grad-CAM等,以熱圖呈現模型所關注的特徵。
Transfer learning with the pre-trained parameters and structures of convolutional neural networks (CNN) has become an effective strategy for the classification problems with limited number of data. In medical image applications, two kinds of data can be used to build the pre-trained models: natural image data and medical image data. This study focuses on the latter.
A 2-step strategy is proposed in this study to build the fracture detection model. First, the pelvic X-ray (PXR) image patches in the hip region are used as the source domain to build the unsupervised pre-trained model: autoencoder (AE) or generative adversarial network (GAN). The partial structure and weights from the unsupervised models are preserved for the next step. Second, the whole PXR images with hip fracture or non-fracture are further utilized to perform a fracture detection task. Here we build three kinds of fracture detection models with different initial weights: no pre-trained weight (i.e., random weights), pre-trained weights from AE, and pre-trained weights from GAN, respectively.
Our results show two interesting findings. First, the accuracy of the models with transferred pre-trained weights outperforms the other one with random initial weights, and the model with pre-trained weights from GAN has the best performance. Second, several visualization strategies are adopted to further validate such observations.
A 2-step strategy is proposed in this study to build the fracture detection model. First, the pelvic X-ray (PXR) image patches in the hip region are used as the source domain to build the unsupervised pre-trained model: autoencoder (AE) or generative adversarial network (GAN). The partial structure and weights from the unsupervised models are preserved for the next step. Second, the whole PXR images with hip fracture or non-fracture are further utilized to perform a fracture detection task. Here we build three kinds of fracture detection models with different initial weights: no pre-trained weight (i.e., random weights), pre-trained weights from AE, and pre-trained weights from GAN, respectively.
Our results show two interesting findings. First, the accuracy of the models with transferred pre-trained weights outperforms the other one with random initial weights, and the model with pre-trained weights from GAN has the best performance. Second, several visualization strategies are adopted to further validate such observations.