基于对比学习的小样本图像分类方法  

Few-shot image classification method based on contrast learning

在线阅读下载全文

作  者:严雪文 黄章进[1] YAN Xuewen;HUANG Zhangjin(School of Computer Science and Technology,University of Science and Technology of China,Hefei Anhui 230027,China)

机构地区:[1]中国科学技术大学计算机科学与技术学院,合肥230027

出  处:《计算机应用》2025年第2期383-391,共9页journal of Computer Applications

基  金:安徽省科技重大专项(202203a05020016)。

摘  要:基于深度学习的图像分类算法通常依赖大量训练数据,然而在实际场景中通常难以获取足够大规模的高质量标注样本。针对小样本场景下分类模型泛化能力不足的问题,提出一种基于对比学习的小样本图像分类方法。首先,在训练中增加全局对比学习作为辅助目标,从而使特征提取网络从实例中获得更丰富的信息;其次,对问询样本分块并用于计算局部对比损失,从而促进模型获得从局部推断整体的能力;最后,利用显著性检测混合查询样本的重要区域,并构造复杂样本,以增强模型泛化能力。在2个公开数据集miniImageNet和tieredImageNet上进行的5-way 1-shot和5-way 5-shot的图像分类任务实验结果表明:相较于小样本学习的基线模型Meta-Baseline,所提方法在miniImageNet上的分类准确率分别提高了5.97和4.25个百分点,在tieredImageNet上的分类准确率分别提高了3.86和2.84个百分点;并且,所提方法在miniImageNet上的分类准确率比DFR(Disentangled Feature Representation)模型分别提高了1.02和0.72个百分点。可见,所提方法有效提高了小样本图像分类的准确率,具有良好的泛化能力。Deep learning-based image classification algorithms usually rely on huge amounts of training data.However,it is often difficult to obtain sufficient large-scale high-quality labeled samples in real scenarios.Aiming at the problem of insufficient generalization ability of classification models in few-shot scenarios,a few-shot image classification method based on contrast learning was proposed.Firstly,global contrast learning was added as an auxiliary target in training to enable the feature extraction network to obtain richer information from instances.Then,the query samples were split into patches and used to calculate the local contrast loss,thereby promoting the model to gain the ability to infer the global thing the local things.Finally,saliency detection was used to mix the important regions of the query samples,and complex samples were constructed,so as to improve the model generalization ability.Experimental results of 5-way 1-shot and 5-way 5-shot image classification tasks on two public datasets,miniImageNet and tieredImageNet,show that compared to the few-shot learning baseline model,Meta-Baseline,the proposed method improves the classification accuracy by 5.97 and 4.25 percentage points respectively on miniImageNet,and by 3.86 and 2.84 percentage points respectively on tieredImageNet.Besides,the classification accuracy of the proposed method on miniImageNet is improved by 1.02 and 0.72 percentage points respectively compared to that of DFR(Disentangled Feature Representation) model.It can be seen that the proposed method improves the accuracy of few-shot image classification effectively with good generalization ability.

关 键 词:小样本学习 图像分类 对比学习 数据增强 显著性检测 

分 类 号:TP391.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象