CNN与Transformer模型在透射电子显微镜多类病毒分类中的比较与混合研究 A Comparative and Hybrid Study of CNN and Transformer Models for Multi-Class Virus Classification in Transmission Electron Microscopy 预印本
原文摘要
查看英文原文摘要
The automatic recognition of virus particles in transmission electron microscopy (TEM) images remains a demanding task, primarily owing to strong inter-class similarity, scale variability, and pronounced class imbalance. In this study, several convolutional neural networks and transformer-based architectures were comparatively evaluated for the classification of 22 virus categories using the TEM virus dataset. All models were trained under identical preprocessing and optimization conditions, and imbalance effects were mitigated through a weighted cross-entropy formulation. Performance was quantified using overall accuracy together with macro-averaged precision, recall, and F1 score. Among standalone models, the Swin Transformer achieved the highest accuracy (0.8831) and macro-F1 score (0.8444), followed by DeiT (accuracy 0.8669). Convolutional architectures exhibited comparatively lower balanced performance, with ResNet50 demonstrating substantial degradation (accuracy 0.5887) under imbalanced conditions. To exploit complementary representational properties, decision-level hybrid strategies were implemented. The performance-weighted hybrid attained an accuracy of 0.8831 and the highest macro-F1 score (0.8528), slightly surpassing the equal-weight hybrid configuration. These observations indicate that architectural heterogeneity contributes to improved inter-class balance without sacrificing overall predictive accuracy. Future work may explore scale-aware representations, feature-level fusion mechanisms, and expanded TEM datasets to further enhance robustness and generalization in virus identification tasks.
📚 参考文献 (28 条)
查看全部 28 条
- Amin, A., Sarkar, A., Islam, M.M., Miazee, A.A., Islam, M.R., Hoque, M.M.: Sentiment polarity analysis of bangla food reviews using machine and deep learning algorithms. In: 2024 3rd International Conference on Advancement in Electrical and Electronic Engineering (ICAEEE). pp. 1–6. IEEE (2024)
- Cao, K., Zhang, K., Li, L., Jung, H.: Efficientmfrf-bifpn: A cnn-transformer hybrid with multi-feature representation fusion for pneumonia detection. IEEE Access 13, 193786–193801 (2025)
- Chen, K., Barnard, A.: Advancing electron microscopy using deep learning. Journal of Physics: Materials 7(2), 022001 (2024)
- Hoque, M.M., Ahmed, I., Banik, N., Hoque, M.M.: Analyzing price forecasting of grocery products in bangladesh: A comparison of time series modeling approaches. In: International Conference on Intelligent Computing & Optimization. pp. 334–341. Springer (2023)
- Hoque, M.M., Ahmed, I., Jamil, I.H.: A comparison of bangladeshi daily news portals’ various clustering techniques for online revenue generation. In: 2024 International Conference on Innovations in Science, Engineering and Technology (ICISET). pp. 1–6. IEEE (2024)
- Hoque, M.M., Karmaker, S., Al-Amin, M.H., Islam, M.M., Junayed, J., Mahi, F.U.: A computer vision hybrid approach: Cnn and transformer models for accurate alzheimer’s detection from brain mri scans (2026), https://arxiv.org/abs/2601.15202
- Hu, M., Luo, N., Wang, B., Meng, R., Zhao, Y., Chai, Z., Jin, Y., Yue, J., Wang, X., Chen, W., et al.: Flu-cnn: identifying host specificity of influenza a virus using convolutional networks. Human genomics 19(1), 96 (2025)
- Iqbal, R., Khan, S.H.: Rs-ca-hsict: A residual and spatial channel augmented cnn transformer framework for monkeypox detection. arXiv preprint arXiv:2511.15476 (2025)
- Jahshan, Z., Garzón, E., Yavits, L.: Viral: Vision transformer based accelerator for real time lineage assignment of viral pathogens. IEEE Access 12, 28353–28368 (2024)
- Jamali, A., Lu, B., Gerbrandt, E.M., Teasdale, C., Burlakoti, R.R., Sabaratnam, S., Mcintyre, J., Yang, L., Schmidt, M., Mccaffrey, D., et al.: High-resolution uav-based blueberry scorch virus mapping utilizing a deep vision transformer algorithm. Computers and Electronics in Agriculture 229, 109726 (2025)
- Ma, H., Tan, T.W., Ban, K.H.K.: A multi-task cnn learning model for taxonomic assignment of human viruses. BMC bioinformatics 22(Suppl 6), 194 (2021)
- Maheshwari, M.U., Tamilselvi, R., Parisabeham, M., Shanmugapriya, K., Senthilpari, C., Liang, L.C.: Automated pneumonia detection with transformer-cnn architecture. In: 2025 Multimedia University Engineering Conference (MECON). pp. 1–7. IEEE (2025)
- Mahmudul Hoque, M., Mehedi Hassain, M., Rahaman, M., Towhidul Islam, M., Rani, S., Sharif Mollah, M.: Vision models for medical imaging: A hybrid approach for pcos detection from ultrasound scans. Journal of Physics: Conference Series 3191(1), 012120 (apr 2026). https://doi.org/10.1088/1742-6596/3191/1/012120
- Matuszewski, D., Sintorn, I.M.: Tem virus dataset (2021). https://doi.org/10.17632/x4dwwfwtw3.2
- Matuszewski, D.J., Sintorn, I.M.: Tem virus images: Benchmark dataset and deep learning classification. Computer Methods and Programs in Biomedicine 209, 106318 (2021)
- Meng, J., Liu, J., Song, W., Li, H., Wang, J., Zhang, L., Peng, Y., Wu, A., Jiang, T.: Predac-cnn: predicting antigenic clusters of seasonal influenza a viruses with convolutional neural network. Briefings in Bioinformatics 25(2), bbae033 (2024)
- Naidji, M.R., Elberrichi, Z.: A novel hybrid vision transformer cnn for covid-19 detection from ecg images. Computers 13(5), 109 (2024)
- Omololu, A.A., Olaniyi, A.J., Olayinka, O.O.: Hybrid cnn-transformer model for severity classification of multi-organ damage in long covid patients. assessment 2, 3
- Roingeard, P., Raynal, P.I., Eymieux, S., Blanchard, E.: Virus detection by transmission electron microscopy: Still useful for diagnosis and a plus for biosafety. Reviews in medical virology 29(1), e2019 (2019)
- Shafi, S.M., Chinnappan, S.K.: Hybrid transformer-cnn and lstm model for lung disease segmentation and classification. PeerJ Computer Science 10, e2444 (2024)
- Shah, V.V., Fadia, L., Hassanzadeh, M., Ahmadi, M., Wu, J.: Deng-transformer: A transformer based approach for classification of different subtypes of dengue virus. In: Proceedings of the 2024 8th International Conference on Computational Biology and Bioinformatics. pp. 98–105 (2024)
- Shao, R., Bi, X.J., Chen, Z.: A novel hybrid transformer-cnn architecture for environmental microorganism classification. Plos one 17(11), e0277557 (2022)
- Shiraj, T.B., Yousuf, M.A.: A study to classify virus genome through analyzing dna sequences using transformer model. In: 2024 6th International Conference on Electrical Engineering and Information & Communication Technology (ICEEICT). pp. 1275–1280. IEEE (2024)
- Singh Bisht, A., R, K., Ajay, A., Karan Singh, A.: Virus-fusionnet: an explainable deep learning-based approach for virus classification from tem images using densenet and lightweight hierarchical semi-local feature extraction network. Engineering Research Express 7(3), 035242 (2025)
- Taylor, M.W.: What is a virus? In: Viruses and man: a history of interactions, pp. 23–40. Springer (2014)
- Wang, T.E., Chao, T.L., Tsai, H.T., Lin, P.H., Tsai, Y.L., Chang, S.Y.: Differentiation of cytopathic effects (cpe) induced by influenza virus infection using deep convolutional neural networks (cnn). PLoS Computational Biology 16(5), e1007883 (2020)
- Yin, R., Thwin, N.N., Zhuang, P., Lin, Z., Kwoh, C.K.: Iav-cnn: a 2d convolutional neural network model to predict antigenic variants of influenza a virus. IEEE/ACM Transactions on Computational Biology and Bioinformatics 19(6), 3497–3506 (2021)
- Zaefferer, S.: A critical review of orientation microscopy in sem and tem. Crystal Research and Technology 46(6), 607–628 (2011)