CNN与Transformer模型在透射电子显微镜多类病毒分类中的比较与混合研究 A Comparative and Hybrid Study of CNN and Transformer Models for Multi-Class Virus Classification in Transmission Electron Microscopy 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-29
⬇️ 9 次下载
👁️ 预览文献
💡 AI 中文简介
这项研究比较了多种卷积神经网络和Transformer模型在透射电子显微镜图像中自动识别22种病毒的性能。所有模型在相同条件下训练,并用加权交叉熵处理类别不平衡。结果显示,Swin Transformer表现最佳,准确率0.8831,宏F1分数0.8444;而ResNet50在类别不平衡下性能大幅下降。进一步采用决策级混合策略,性能加权混合达到最高宏F1分数0.8528,表明不同架构结合能改善类别平衡且不损失整体准确性。
领域计算机视觉、医学图像分析
适合谁读需要一定专业背景
核心贡献["系统比较了CNN和Transformer在TEM病毒分类上的性能,并发现Swin Transformer最优", "提出决策级混合策略,性能加权混合提升了宏F1分数,改善了类别平衡"]
关键数据Swin Transformer准确率0.8831,宏F1 0.8444;ResNet50准确率0.5887;性能加权混合准确率0.8831,宏F1 0.8528
推荐理由如果你想了解在医学图像分类中如何结合CNN和Transformer的优势,这篇研究提供了清晰的对比和混合策略,值得一读。
关键词["病毒分类", "透射电子显微镜", "卷积神经网络", "Transformer", "混合模型", "类别不平衡"]

原文摘要

查看英文原文摘要

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 条
  1. 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)
  2. 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)
  3. Chen, K., Barnard, A.: Advancing electron microscopy using deep learning. Journal of Physics: Materials 7(2), 022001 (2024)
  4. 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)
  5. 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)
  6. 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
  7. 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)
  8. 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)
  9. 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)
  10. 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)
  11. 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)
  12. 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)
  13. 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
  14. Matuszewski, D., Sintorn, I.M.: Tem virus dataset (2021). https://doi.org/10.17632/x4dwwfwtw3.2
  15. Matuszewski, D.J., Sintorn, I.M.: Tem virus images: Benchmark dataset and deep learning classification. Computer Methods and Programs in Biomedicine 209, 106318 (2021)
  16. 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)
  17. Naidji, M.R., Elberrichi, Z.: A novel hybrid vision transformer cnn for covid-19 detection from ecg images. Computers 13(5), 109 (2024)
  18. 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
  19. 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)
  20. Shafi, S.M., Chinnappan, S.K.: Hybrid transformer-cnn and lstm model for lung disease segmentation and classification. PeerJ Computer Science 10, e2444 (2024)
  21. 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)
  22. Shao, R., Bi, X.J., Chen, Z.: A novel hybrid transformer-cnn architecture for environmental microorganism classification. Plos one 17(11), e0277557 (2022)
  23. 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)
  24. 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)
  25. Taylor, M.W.: What is a virus? In: Viruses and man: a history of interactions, pp. 23–40. Springer (2014)
  26. 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)
  27. 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)
  28. Zaefferer, S.: A critical review of orientation microscopy in sem and tem. Crystal Research and Technology 46(6), 607–628 (2011)