Multiclass Classification of UML Diagrams from Images Using Deep Learning

被引:4
|
作者
Shcherban, Sergei [1 ]
Liang, Peng [1 ]
Li, Zengyang [2 ]
Yang, Chen [3 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
[2] Cent China Normal Univ, Sch Comp Sci, Wuhan 430079, Peoples R China
[3] Shenzhen Polytech, Sch Artificial Intelligence, Shenzhen 518000, Peoples R China
基金
国家重点研发计划;
关键词
UML diagrams; neural network; deep learning; multiclass classification; image classification;
D O I
10.1142/S0218194021400179
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Unified Modeling Language (UML) diagrams are a recognized standard modeling language for representing design of software systems. For academic research, large cases containing UML diagrams are needed. One of the challenges in collecting such datasets is automatically determining whether an image is a UML diagram or not and what type of UML diagram an image contains. In this work, we collected UML diagrams from open datasets and manually labeled them into 10 types of UML diagrams (i.e. class diagrams, activity diagrams, use case diagrams, sequence diagrams, communication diagrams, component diagrams, deployment diagrams, object diagrams, package diagrams, and state machine diagrams) and non-UML images. We evaluated the performance of seven popular neural network architectures using transfer learning on the dataset of 4706 images, including 700 class diagrams, 454 activity diagrams, 651 use case diagrams, 706 sequence diagrams, 204 communication diagrams, 208 component diagrams, 287 deployment diagrams, 207 object diagrams, 246 package diagrams, 323 state machine diagrams, and 720 non-UML images, respectively. We also proposed our neural network architecture for multiclass classification of UML diagrams. The experiment results show that Xception achieved the best performance amongst the algorithms we evaluated with a precision of 93.03%, a recall of 92.44%, and an F1-score of 92.73%. Moreover, it is possible to develop small and almost the same efficient neural network architectures, that our proposed architecture has the least parameters (around 2.4 millions) and spends the least time per image (0.0135s per image using graphics processing unit) for classifying UML diagrams with a precision of 91.25%, a recall of 90.34%, and an F1-score of 90.79%.
引用
收藏
页码:1683 / 1698
页数:16
相关论文
共 50 条
  • [1] Classification of Multiclass Histopathological Breast Images Using Residual Deep Learning
    Eltoukhy, Mohamed Meselhy
    Hosny, Khalid M.
    Kassem, Mohamed A.
    [J]. COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [2] MULTICLASS CLASSIFICATION OF REMOTE SENSING IMAGES USING DEEP LEARNING TECHNIQUES
    Arshad, Tahir
    Zhang Junping
    Qingyan Wang
    [J]. IGARSS 2023 - 2023 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM, 2023, : 7234 - 7237
  • [3] Automatic Classification of Web Images as UML Static Diagrams Using Machine Learning Techniques
    Moreno, Valentin
    Genova, Gonzalo
    Alejandres, Manuela
    Fraga, Anabel
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (07):
  • [4] Automatic Classification of UML Class Diagrams Using Deep Learning Technique: Convolutional Neural Network
    Gosala, Bethany
    Chowdhuri, Sripriya Roy
    Singh, Jyoti
    Gupta, Manjari
    Mishra, Alok
    [J]. APPLIED SCIENCES-BASEL, 2021, 11 (09):
  • [5] Ensemble Learning of Multiple Models Using Deep Learning for Multiclass Classification of Ultrasound Images of Hepatic Masses
    Nakata, Norio
    Siina, Tsuyoshi
    [J]. BIOENGINEERING-BASEL, 2023, 10 (01):
  • [6] A MULTICLASS DEEP LEARNING APPROACH FOR LULC CLASSIFICATION OF MULTISPECTRAL SATELLITE IMAGES
    Sathyanarayanan, Dinesh
    Anudeep, D. V.
    Das, C. Anjana Keshav
    Bhanadarkar, Sanat
    Uma, D.
    Hebbar, R.
    Raj, K. Ganesha
    [J]. 2020 IEEE INDIA GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (INGARSS), 2020, : 102 - 105
  • [7] Automated Classification of Multiclass Brain Tumor MRI Images using Enhanced Deep Learning Technique
    Razi, Faiz Ainur
    Bustamam, Alhadi
    Latifah, Arnida L.
    Ahmad, Shandar
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (11) : 1181 - 1190
  • [8] Multiclass Classification of Cervical Pap Smear Images Using Deep Learning-Based Model
    Battula, Krishna Prasad
    Chandana, Bolem Sai
    [J]. TRAITEMENT DU SIGNAL, 2023, 40 (02) : 445 - 456
  • [9] Educational Support for Automated Classification of UML Diagrams Using Machine Learning
    Nedelcu, Irina-Gabriela
    Opranescu, Veronica
    Chiriac, Beatrice-Nicoleta
    Ionita, Anca Daniela
    [J]. GENERATIVE INTELLIGENCE AND INTELLIGENT TUTORING SYSTEMS, PT II, ITS 2024, 2024, 14799 : 185 - 192
  • [10] Deep Learning Model for Multiclass Classification of Diabetic Retinal Fundus Images Using Gradient Descent Optimization
    Mishra, Ram Krishn
    [J]. ADVANCES IN SIGNAL PROCESSING AND COMMUNICATION ENGINEERING, ICASPACE 2021, 2022, 929 : 27 - 35