arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.05647cs.CVcs.LGeess.IV
收藏

基于条件GAN数据增强的水果品质和缺陷图像分类

Fruit Quality and Defect Image Classification with Conditional GAN Data Augmentation

Aston University(阿斯顿大学)

Jordan J. Bird, Chloe M. Barnes, Luis J. Manso, Anikó Ekárt, Diego R. Faria

摘要:

当代人工智能技术允许使用计算机视觉来区分好的作物和坏的作物,为从不需要的水果中选择健康的水果提供了一个步骤,例如那些发霉或坏疽的水果。该领域最先进的工作报告了小数据集(<1000张图像)的高精度结果,这些数据集并不代表真实世界使用的人群。本研究的目标是通过数据增强来提高泛化能力,并通过模型修剪来减少过度拟合和能源使用,从而进一步实现现实世界的使用。在这项工作中,我们提出了一个机器学习管道,它结合了微调,迁移学习和基于生成模型的训练数据增强的思想,以提高水果质量图像分类。使用公开的2690个图像的数据集执行线性网络拓扑搜索以调整VGG16柠檬质量分类模型。我们发现,附加一个4096神经元完全连接层的卷积层导致图像分类的准确率为83.77%。然后,我们在2000个epoch的训练数据上训练一个条件生成对抗网络,它学会生成相对真实的图像。对在真实照片上训练的模型的梯度CAM分析表明,合成图像可以表现出可分类的特征,如形状、霉菌和坏疽。然后通过使用合成图像增强训练来实现更高的图像分类准确率88.75%,认为条件生成对抗网络有能力产生新数据以缓解数据稀缺问题。最后,通过多项式衰减进行模型修剪,我们发现条件GAN增强分类网络在压缩到原始大小的50%时可以保持81.16%的分类准确率。

英文摘要:

Contemporary Artificial Intelligence technologies allow for the employment of Computer Vision to discern good crops from bad, providing a step in the pipeline of selecting healthy fruit from undesirable fruit, such as those which are mouldy or gangrenous. State-of-the-art works in the field report high accuracy results on small datasets (<1000 images), which are not representative of the population regarding real-world usage. The goals of this study are to further enable real-world usage by improving generalisation with data augmentation as well as to reduce overfitting and energy usage through model pruning. In this work, we suggest a machine learning pipeline that combines the ideas of fine-tuning, transfer learning, and generative model-based training data augmentation towards improving fruit quality image classification. A linear network topology search is performed to tune a VGG16 lemon quality classification model using a publicly-available dataset of 2690 images. We find that appending a 4096 neuron fully connected layer to the convolutional layers leads to an image classification accuracy of 83.77%. We then train a Conditional Generative Adversarial Network on the training data for 2000 epochs, and it learns to generate relatively realistic images. Grad-CAM analysis of the model trained on real photographs shows that the synthetic images can exhibit classifiable characteristics such as shape, mould, and gangrene. A higher image classification accuracy of 88.75% is then attained by augmenting the training with synthetic images, arguing that Conditional Generative Adversarial Networks have the ability to produce new data to alleviate issues of data scarcity. Finally, model pruning is performed via polynomial decay, where we find that the Conditional GAN-augmented classification network can retain 81.16% classification accuracy when compressed to 50% of its original size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑