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 条
  • [41] Rectangular knot diagrams classification with deep learning
    Kauffman, L. H.
    Russkikh, N. E.
    Taimanov, I. A.
    [J]. JOURNAL OF KNOT THEORY AND ITS RAMIFICATIONS, 2022, 31 (11)
  • [42] Application of deep learning to the classification of images from colposcopy
    Sato, Masakazu
    Horie, Koji
    Hara, Aki
    Miyamoto, Yuichiro
    Kurihara, Kazuko
    Tomio, Kensuke
    Yokota, Harushige
    [J]. ONCOLOGY LETTERS, 2018, 15 (03) : 3518 - 3523
  • [43] Deep extreme learning machine with leaky rectified linear unit for multiclass classification of pathological brain images
    Nayak, Deepak Ranjan
    Das, Dibyasundar
    Dash, Ratnakar
    Majhi, Snehashis
    Majhi, Banshidhar
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2020, 79 (21-22) : 15381 - 15396
  • [44] Deep extreme learning machine with leaky rectified linear unit for multiclass classification of pathological brain images
    Deepak Ranjan Nayak
    Dibyasundar Das
    Ratnakar Dash
    Snehashis Majhi
    Banshidhar Majhi
    [J]. Multimedia Tools and Applications, 2020, 79 : 15381 - 15396
  • [45] A Deep Learning Approach to UML Class Diagrams Discovery from Textual Specifications of Software Systems
    Rigou, Yves
    Khriss, Ismail
    [J]. INTELLIGENT SYSTEMS AND APPLICATIONS, VOL 2, 2023, 543 : 706 - 725
  • [46] Multiclass Classification of Kirlian Images using SVM Technique
    Janadri, Chandrashekhar S.
    Sheeparamatti, B. G.
    Kagawade, Vishwanath
    [J]. 2017 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2017, : 2246 - 2250
  • [47] A novel framework of multiclass skin lesion recognition from dermoscopic images using deep learning and explainable AI
    Ahmad, Naveed
    Shah, Jamal Hussain
    Khan, Muhammad Attique
    Baili, Jamel
    Ansari, Ghulam Jillani
    Tariq, Usman
    Kim, Ye Jin
    Cha, Jae-Hyuk
    [J]. FRONTIERS IN ONCOLOGY, 2023, 13
  • [48] Machine Learning Methods for Binary and Multiclass Classification of Melanoma Thickness From Dermoscopic Images
    Saez, Aurora
    Sanchez-Monedero, Javier
    Antonio Gutierrez, Pedro
    Hervas-Martinez, Cesar
    [J]. IEEE TRANSACTIONS ON MEDICAL IMAGING, 2016, 35 (04) : 1036 - 1045
  • [49] Multiclass Classification of Imagined Speech Vowels and Words of Electroencephalography Signals Using Deep Learning
    Mahapatra, Nrushingh Charan
    Bhuyan, Prachet
    [J]. ADVANCES IN HUMAN-COMPUTER INTERACTION, 2022, 2022
  • [50] Analysis of the feasibility of using deep learning for multiclass classification of dental anomalies on panoramic radiographs
    Okazaki, Shota
    Mine, Yuichi
    Iwamoto, Yuko
    Urabe, Shiho
    Mitsuhata, Chieko
    Nomura, Ryota
    Kakimoto, Naoya
    Murayama, Takeshi
    [J]. DENTAL MATERIALS JOURNAL, 2022, 41 (06) : 889 - 895