余元超, 雷刚, 陈小旋, 谭栋, 谭小娟. 基于EnsNet与MCGAN级联处理的字符样本扩充方法[J]. 微电子学与计算机, 2022, 39(6): 69-78. DOI: 10.19304/J.ISSN1000-7180.2021.1060
引用本文: 余元超, 雷刚, 陈小旋, 谭栋, 谭小娟. 基于EnsNet与MCGAN级联处理的字符样本扩充方法[J]. 微电子学与计算机, 2022, 39(6): 69-78. DOI: 10.19304/J.ISSN1000-7180.2021.1060
YU Yuanchao, LEI Gang, CHEN Xiaoxuan, TAN Dong, TAN Xiaojuan. Character sample expansion method based on cascade processing of EnsNet and MCGAN[J]. Microelectronics & Computer, 2022, 39(6): 69-78. DOI: 10.19304/J.ISSN1000-7180.2021.1060
Citation: YU Yuanchao, LEI Gang, CHEN Xiaoxuan, TAN Dong, TAN Xiaojuan. Character sample expansion method based on cascade processing of EnsNet and MCGAN[J]. Microelectronics & Computer, 2022, 39(6): 69-78. DOI: 10.19304/J.ISSN1000-7180.2021.1060

基于EnsNet与MCGAN级联处理的字符样本扩充方法

Character sample expansion method based on cascade processing of EnsNet and MCGAN

  • 摘要: 针对分类任务中样本数据不均衡,分类模型在少数类上准确率不高的问题,本文提出一种基于EnsNet和MCGAN模型的背景风格迁移和字体风格迁移的级联处理方法,EnsNet模型较好地实现复杂背景的字体擦除和字体提取,MCGAN模型实现提取出的字体进行风格迁移与数据扩充.在确保满足样本多样性的前提下,通过两组模型的级联方法,实现了少数类样本跨数量级扩充.实验结果表明,首先,选用优化后的LeNet5-BN样本扩充效果进行验证,在数据分布严重不均衡的原始真实数据上,少数类识别准确低于99.50%,在使用数据扩充方法后的合成数据集上,原少数类识别准确率达到99.98%,其次继续采用Resnet和Mobilenet模型进一步验证扩充样本前后分类识别准确率,扩充前后的分类准确率分别从99.88%和99.8%,分别提升到99.96%和99.95%,样本扩充效果通过多组模型得到了很好的验证,最后,选用LeNet5-BN模型,实现了十次交叉验证实验,平均识别准确率从99.50%提升至99.98%,进一步表明样本跨数量级扩充模型具有较好的鲁棒性.

     

    Abstract: Aiming at the problem of imbalanced sample datasets in classification tasks and very low accuracy of classification models on minority classes, this paper proposes a cascade processing method based on EnsNet and MCGAN models for background style transfer and font style transfer. The EnsNet model can be used for the task of font erasure and font extraction of complex backgrounds, MCGAN model can be used for the task of style transfer and data expansion of the extracted fonts. On the premise of ensuring that the sample diversity is satisfied, the cascade method of the two sets of models is used for the task of the cross-order expansion of the minority samples. The results show that, first of all, the optimized LeNet5-BN sample expansion model is selected for verification. On the original real datasets with severely unbalanced data distribution, the minority class recognition accuracy is less than 99.50%. On the synthetic datasets after using the data expansion model, The original minority recognition accuracy rate increased to 99.98%. Secondly, the Resnet and Mobilenet models were used to further verify the classification and recognition accuracy of the expansion of the sample. The classification accuracy of the expansion was increased from 99.88% and 99.8% to 99.96% and 99.95%, respectively. The sample expansion effect has been well verified by multiple models. Finally, the LeNet5-BN model was selected to implement ten cross-validation experiments, and the average recognition accuracy rate increased from 99.50% to 99.98%, further indicating that the sample cross-order expansion model has perfect robustness.

     

/

返回文章
返回