Comparative Analysis and Optimization of Model Architectures for Fashion-MNIST Image Classification
Abstract
The performance of image classification models depends greatly on the architectural decisions made. Fashion-MNIST, as the mainstream adopted by researchers for model performance analysis, provides another avenue for the systematic comparison of different model architectures. In this paper, we have comparatively studied and analyzed the performances of Multi-Layer Perceptrons (MLP), Convolutional Neural Networks (CNN), Random Forests and Residual Networks (ResNet) on this dataset, and found that one of the reasons for the excellent performance of convolutional networks may lie in the ability of extracting spatial features inherently possessed by convolutional layers. Although a deeper ResNet-34 shows an excellent performance (91.15%), its large number of parameters makes it less efficient for general tasks. To improve the efficiency, we find that by increasing the number of channels in the first convolutional layer from 32 to 64, the achieved accuracy (92.44%) is superior to any single task, which verifies the effectiveness of width optimization. In summary, for fashion-mnist such applications, an optimized width convolutional network architecture achieves the best accuracy-to-efficiency balance. We empirically prove that for image classification tasks, model selection and light design are significantly influenced by adopting appropriate architectural optimizations.
References
- He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 770-778).
- LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https: //doi.org/10.1038/nature14539
- Schmidhuber, J. (2015). Deep learning in neural networks: An overview. Neural Networks, 61, 85-117. https: //doi.org/10.1016/j.neunet.2014.09.003
- Li, Z., Yang, W., Peng, S., & Liu, F. (2020). A survey of convolutional neural networks: Analysis, applications, and prospects. arXiv preprint arXiv: 2004.02806. https: //arxiv.org/abs/2004.02806
- Tolstikhin, I., Houlsby, N., Kolesnikov, A., et al. (2021). MLP-Mixer: An all-MLP architecture for vision. In Advances in Neural Information Processing Systems (NeurIPS).
- Raghu, M., Unterthiner, T., Kornblith, S., et al. (2021). Do vision transformers see like convolutional neural networks? arXiv preprint arXiv: 2108.08810. https: //arxiv.org/abs/2108.08810
- Khan, A., Rauf, Z., Sohail, A., et al. (2023). A survey of the Vision Transformers and their CNN-Transformer based Variants. Artificial Intelligence Review. https: //doi.org/10.1007/s10462-023-10595-0
- Xiao, H., Rasul, K., & Vollgraf, R. (2017). Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv: 1708.07747.