-
实验数据:原始数据集
$N$ 为采用多模传感器仿真系统仿真出的红外舰船图像,尺寸大小为640×480 pixel,有红外舰船图像2 000张,数据集中船舶目标为正样本,其余为负样本。按照6∶2∶2的比例将原始数据集分为训练集、验证集与测试集,训练集包含船舶图像1 200张,图像中舰船数量为4 364艘,海面图像400张;验证集有船舶图像400张,图像中舰船数量为1 227艘;测试集船舶图像400张,图像中舰船数量为1 258艘。实验平台:系统为Ubuntu 18.04,使用的深度学习框架为Pytorch,语言为Python 3.7。
-
实验过程中保持原数据集训练集测试集所有图片不变,对训练集中的红外舰船图像做数据增强。为了验证算法的数据增强效果,利用目标检测算法YOLOv3、SSD、R-FCN和Faster R-CNN做精度测试。采用平均准确度mAP值作为有效性评价指标,各个算法均在增强前后的数据集上训练至收敛,在同一个测试集上测试。
-
实验检测依据红外舰船目标的智能算法目标检测精度,因此主要关注不同实验方案里平均精度mAP值的变化。按照一般目标检测算法正负样本为3∶1的比例,实验统一将原始数据集扩充为4倍,其中包含原始数据集以及3倍数据增强的图像。
在数据集层面上的联合,需要将几何空间与特征空间扩充的数据集与原始数据集按照不同的比例系数进行混合,从而得到最终的联合数据集。为了确定几何空间与特征空间所扩充的数据集对最终联合数据集的影响,通过对不同联合比例系数的实验组进行目标检测实验,得到舰船模型的测试指标,从而得到最优的联合比例。按照扩充后的数据集为原始数据集4倍大小的实验方案,设置不同联合比例实验8组,表1给出了A1~A8各实验组3个数据集的联合比例以及红外舰船图像总数。
Number N N1 N2 Total A1 1.0 0.0 0.0 1 200 A2 1.0 0.0 3.0 4 800 A3 1.0 0.5 2.5 4 800 A4 1.0 1.0 2.0 4 800 A5 1.0 1.5 1.5 4 800 A6 1.0 2.0 1.0 4 800 A7 1.0 2.5 0.5 4 800 A8 1.0 3.0 0.0 4 800 Table 1. Various experimental groups with different joint ratios
由表1中,
$N$ 、${N_{\text{1}}}$ 、${N_{\text{2}}}$ 分别代表原始数据集、几何空间增强数据集和特征空间增强数据集所占比例。其中实验对照组A1代表增强前的原数据集,实验对照组A2、A8为消融实验代表仅用特征空间方法增强或仅用几何空间方法增强,其余实验对照组均为按不同比例混合的联合增强数据集。Number YOLOv3 SSD R-FCN Faster R-CNN A1 83.9 80.9 86.4 85.3 A2 90.4 88.6 93.4 92.7 A3 94.1 90.3 95.2 94.5 A4 94.4 91.2 95.5 95.7 A5 93.8 90.8 96.6 95.3 A6 91.5 88.6 94.6 94.8 A7 92.5 90.4 94.2 93.5 A8 89.6 87.7 92.8 93.0 Table 2. Data augmentation comparison of target detection mAP
图8给出了各个对照组在四种算法训练过程中的loss函数曲线对比。从图8可知,仅含原始数据集的A1组loss收敛值最大,消融实验组A2和A8利用任意单一空间的数据增强方法后四种目标检测算法loss曲线均下降的更快,收敛时的loss值更小。A3~A7对比实验组均联合不同比例的两种空间增强数据集,相比于A1组其loss曲线收敛值更低,说明采用了基于空间联合的红外舰船数据增强方法之后,红外舰船数据空间变得更加平滑,所训练出的模型更精确。表2给出了各实验组的数据增强对比实验目标检测mAP值。
由表2可知,消融实验组A2与A8在4种目标检测算法上的精度测试表现均高于原始数据集实验组A1,说明仅用任意单一空间的数据增强方法均对目标检测精度有所提升。A8组仅使用基于几何空间的方法,检测结果均对小目标舰船有不同程度的漏检。而A2组仅使用基于特征空间的方法,由于生成对抗网络所重构的舰船目标大多为小目标,检测算法则对测试集图像背景中的海杂波产生了少部分虚检。
对比第7组和第8组可知,在加入少部分基于特征空间的增广数据集之后,由生成对抗网络所重构的舰船目标丰富了目标特征多样性,能够使检测精度提升。对比A2组和A3组可知,加入了少部分基于几何空间的增广数据集之后,降低了对海杂波的虚检,也提升了检测精度。在对比实验组中,A3、A4与A5组的目标检测结果明显优于A6和A7组,但3组检测结果相差不大,说明在几何空间数据集增加到0.5比例的时候,几种网络的在训练集上的检测能力基本上均趋于饱和,A4组的检测精度有小幅上涨,因此最终联合数据集
${N_{\text{3}}}$ 选用原始数据集$N$ 、几何空间增强数据集${N_{\text{1}}}$ 和特征空间数据集${N_{\text{2}}}$ 的联合比例为1∶1∶2。相比仅使用任意空间的数据增强方法,采用不同比例联合的方法能够同时结合两者的优点,在保证小目标舰船样本检测率的同时降低了海面背景中海杂波的虚检。与原始数据集$N$ 相比,四种算法在最优比例数据集${N_{\text{3}}}$ 上的检测精度均提升了10%左右,验证了基于空间联合的红外舰船目标数据增强方法的先进性与可行性。
Data augmentation method of infrared ship target based on spatial association
doi: 10.3788/IRLA20210281
- Received Date: 2021-07-10
- Rev Recd Date: 2021-08-25
- Publish Date: 2021-12-31
-
Key words:
- infrared image /
- ship target /
- generative adversarial network /
- data augmentation
Abstract: In order to solve the problems that lacking of infrared images for ship target and the difficulty of acquiring them, an improved infrared image data augmentation method with geometric space and feature space association for ship target is proposed based on the image geometry changes and feature fitting method with generative adversarial network. Firstly, the IR image of ship target was augmented by image transformation methods such as geometric transformation on geometric space, image hybridization and random erasure; Secondly, the pyramidal generative adversarial network (SinGAN) structure was improved according to the characteristics of the IR ship image, and the In-SE-Net inter-channel attention mechanism module was introduced in the generator to enhance the small sensory field feature representation, making it more suitable for the IR ship target; Finally, at the data set level, geometric data transformation based on geometric space and generative adversarial network based on feature space were combined to complete the data augmentation of the original dataset. Object detection algorithms such as YOLOv3, SSD, R-FCN and Faster R-CNN were used as benchmark models to carry out in infrared ship image data augmentation experiments. The average accuracy (mAP) of object detection were all improved by about 10% trained on the augmented data, which verified the feasibility of the proposed method on small-sample infrared ship image data augmentation. It also provides a data basis for improving object detection algorithm carried of infrared ship.