自監督預訓練模型於少量樣本影像分類之研究
A Study of Self-Supervised Pretrained Models for Low-shot Image Classification
摘要
少量樣本學習 (Low-shot Learning),一直是機器學習 (Machine Learning) 領域的研究熱點。這個問題的核心是如何透過少量的資料完成模型的訓練 。 我們在最近的研究中發現自監督學習 (Self-Supervised Learning) 所訓練的預訓練模型 (Pre-trained Model),可能本身就具有很好的少量樣本學習能力。因此本研究將以目前最佳的自監督學習方法之一的DINOv2,探討自監督預訓練模型在少量樣本圖像分類任務中的表現。
在本篇論文中,我們首先針對在小型資料集微調DINOv2預訓練模型可能遇到的問題,提出了一套穩定且強健的二階段微調流程 (2-step fine-tuning pipeline)。接著,我們透過DINOv2和監督式學習 (Supervised Learning) 的預訓練模型,在4個多樣化的資料集不同資料量的線性探測 (Linear Probing) 和微調 (Fine-tuning) 表現,得出DINOv2預訓練模型不僅分類準確率總是比較高,且擁有更好的少量樣本表現。最後,針對預訓練模型在目標資料集的自監督學習問題,我們提出一套自監督學習方式的再訓練設定,可以穩定提升DINOv2預訓練模型在目標資料集的少量樣本分類準確率。
在本篇論文中,我們首先針對在小型資料集微調DINOv2預訓練模型可能遇到的問題,提出了一套穩定且強健的二階段微調流程 (2-step fine-tuning pipeline)。接著,我們透過DINOv2和監督式學習 (Supervised Learning) 的預訓練模型,在4個多樣化的資料集不同資料量的線性探測 (Linear Probing) 和微調 (Fine-tuning) 表現,得出DINOv2預訓練模型不僅分類準確率總是比較高,且擁有更好的少量樣本表現。最後,針對預訓練模型在目標資料集的自監督學習問題,我們提出一套自監督學習方式的再訓練設定,可以穩定提升DINOv2預訓練模型在目標資料集的少量樣本分類準確率。
Low-shot Learning has long been a research hotspot in the field of Machine Learning. The core of this problem is how we can train models effectively with limited data. Recent studies have revealed that pre-trained models obtained through self-supervised learning may inherently possess excellent low-shot learning capabilities. Therefore, this study will explore the performance of self-supervised pre-trained models in low-shot image classification tasks using one of the best current self-supervised learning methods, DINOv2.
In this thesis, we first propose a stable and robust two-step fine-tuning pipeline to address potential issues when fine-tuning the DINOv2 pre-trained model on small datasets. Next, we compare the performance of DINOv2 and supervised learning pre-trained models in linear probing and fine-tuning evaluations across four diverse datasets with varying data quantities. We conclude that the DINOv2 pre-trained model not only consistently achieves higher classification accuracy but also demonstrates better low-shot performance. Finally, we propose a set of self-supervised retraining setting that can reliably improve the low-shot classification accuracy of the DINOv2 pre-trained model on these target datasets.
In this thesis, we first propose a stable and robust two-step fine-tuning pipeline to address potential issues when fine-tuning the DINOv2 pre-trained model on small datasets. Next, we compare the performance of DINOv2 and supervised learning pre-trained models in linear probing and fine-tuning evaluations across four diverse datasets with varying data quantities. We conclude that the DINOv2 pre-trained model not only consistently achieves higher classification accuracy but also demonstrates better low-shot performance. Finally, we propose a set of self-supervised retraining setting that can reliably improve the low-shot classification accuracy of the DINOv2 pre-trained model on these target datasets.