Robustness of Convolutional Neural Networks to Partial Test-Set Image Corruption on Fashion-MNIST
Abstract
Image classifiers often report high accuracy on clean benchmark data, but in the real world, their inputs are not always clean. This paper tests how two convolutional models respond when part of the fashion-MNIST test set is deliberately corrupted. A custom four-layer convolutional neural network and an ImageNet-pretrained ResNet-18 were trained only on clean Fashion-MNIST images. A fixed corruption, Gaussian blur followed by contrast enhancement, was then applied to 0%, 10%, 30%, 50%, 70%, and 100% of the official test images. Both models used the same corrupted image set. Accuracy, mean predictive entropy, and t-distributed stochastic neighbor embedding plots were used to compare the runs. The custom model reached 91.31% accuracy on clean data but fell to 10.82% when every test image was corrupted. ResNet-18 started lower, at 88.10%, but reached 20.44% at 100% corruption. Entropy also rose with the corrupted percentage, from 0.1729 to 0.5379 for the custom model and from 0.1517 to 0.3073 for ResNet-18. These suggest that both clean-trained models were fragile under this specific corruption, while ResNet-18 held up better in this run. A possible explanation is that its deeper residual structure and ImageNet-pretrained layers preserved more coarse shape information after blur weakened fine local details.
References
- LeCun, Y., Bengio, Y., Hinton, G. (2015) Deep learning. Nature, 521: 436-444.
- Xiao, H., Rasul, K., Vollgraf, R. (2017) Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv: 1708.07747.
- Dodge, S., Karam, L. (2016) Understanding how image quality affects deep neural networks. International Conference on Quality of Multimedia Experience, 1-6.
- Hendrycks, D., Dietterich, T. (2019) Benchmarking neural network robustness to common corruptions and perturbations. International Conference on Learning Representations.
- Vasiljevic, I., Chakrabarti, A., Shakhnarovich, G. (2016) Examining the impact of blur on recognition by convolutional networks. arXiv preprint arXiv: 1611.05760.
- He, K., Zhang, X., Ren, S., Sun, J. (2016) Deep residual learning for image recognition. IEEE Conference on Computer Vision and Pattern Recognition, 770-778.
- Yosinski, J., Clune, J., Bengio, Y., Lipson, H. (2014) How transferable are features in deep neural networks? Advances in Neural Information Processing Systems, 27: 3320-3328.
- Kornblith, S., Shlens, J., Le, Q.V. (2019) Do better ImageNet models transfer better? IEEE Conference on Computer Vision and Pattern Recognition, 2661-2671.
- Geirhos, R., Rubisch, P., Michaelis, C., Bethge, M., Wichmann, F.A., Brendel, W. (2019) ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. International Conference on Learning Representations.
- Shorten, C., Khoshgoftaar, T.M. (2019) A survey on image data augmentation for deep learning. Journal of Big Data, 6: 60.
- van der Maaten, L., Hinton, G. (2008) Visualizing data using t-SNE. Journal of Machine Learning Research, 9: 2579-2605.
- Guo, C., Pleiss, G., Sun, Y., Weinberger, K.Q. (2017) On calibration of modern neural networks. Proceedings of Machine Learning Research, 70: 1321-1330.