[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655644-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655644-en":130,"doc-similar-655644":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","classification-of-uml-diagrams-from-images-in-software-engineering-using-deep-learning","Classification of UML Diagrams from Images in Software Engineering - Using Deep Learning","","Software design relies on Unified Modeling Language (UML) diagrams to express both system structure and behavior. In practice, UML diagrams are often distributed only as images, which restricts automated processing, search, documentation workflows, and accessibility for visually impaired users. This study presents a lightweight deep learning approach using a compact convolutional neural network to classify six UML diagram types from image inputs. Experiments report 94.61% classification accuracy with efficient model size, without data augmentation or transfer learning.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/classification-of-uml-diagrams-from-images-in-software-engineering-using-deep-learning/655644/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/classification-of-uml-diagrams-from-images-in-software-engineering-using-deep-learning/655644.png","ImageObject",300,407,{"name":42,"@type":43},"Sarah ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-30","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is classifying UML diagrams from images important in software engineering?","Question",{"text":63,"@type":64},"UML diagrams describe system structure and behavior and are used in tasks such as requirement validation and documentation analysis. When diagrams are stored only as images, they become hard to search, integrate into tools, and interpret automatically.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What deep learning method is proposed in this study?",{"text":68,"@type":64},"The paper proposes a lightweight convolutional neural network (CNN) built with a minimal number of layers and reduced trainable parameters, designed to efficiently classify UML diagram images.",{"name":70,"@type":61,"acceptedAnswer":71},"Which UML diagram types are classified and how well does the model perform?",{"text":72,"@type":64},"The model classifies six types: Activity, Component, Class, Sequence, Deployment, and Use-Case diagrams. Experimental results on a UML image dataset show 94.61% classification accuracy.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655644,1793074032,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},962085320529,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Celal Bayar University Journal of Science  \nClassification of UML Diagrams from Images in Software Engineering  \nUsing Deep Learning  \nKökten Ulaş Birant1*  \n1 Department of Computer Engineering, Dokuz Eylul University, Izmir, Türkiye  \n* [ulas.birant@deu.edu.tr](ulas.birant@deu.edu.tr)  \n* Orcid No: 0000-0002-5107-6406  \nReceived: January 27, 2026  \nAccepted: April 7, 2026  \nDOI:  10.18466/cbayarfbe.1872193  \nAbstract  \nSoftware design is a fundamental phase in software engineering, where Unified Modeling Language (UML) diagrams play a critical role in representing system structures and behavior for software engineers. However, UML diagrams are often available only as images, which limits their automated processing and integration into tools such as search engines, software documentation systems, and accessibility solutions for visually impaired users. In this study, we propose a deep learning approach for automatically classifying UML diagrams from images. A lightweight convolutional neural network (CNN) model is designed with a minimal number of layers and reduced trainable parameters, providing an efficient solution without requiring data augmentation or transfer learning. The model is trained to accurately classify six UML diagram types: Activity, Component, Class, Sequence, Deployment, and Use-Case. Experimental evaluations on a UML image dataset demonstrated a high classification accuracy of 94.61%, highlighting its strong predictive capability despite its compact design.  \nKeywords: Artificial Intelligence, Classification, Deep Learning, Software Engineering, Unified Modeling Language (UML) Diagrams.  \n1. Introduction  \nThe Unified Modeling Language (UML) is a formalized visual notation widely utilized to describe, design, and document software systems. It captures both the structural and behavioral aspects of a software via a diverse collection of diagram types, including Class, Object, Package, Sequence, Activity, Communication, State, Deployment, Component, and Use Case diagrams. These diagrams support a range of software engineering tasks, including requirement validation, code generation, test case preparation, and architectural analysis. UML enhances the clarity of system representations by offering a consistent and expressive notation and supports the development of high-quality and maintainable software [1] .  \nUML diagrams are frequently stored in the form of static images. Therefore, manual interpretation is often required, which limits their usability in automated toolchains. Since visually impaired individuals have difficulty processing visual information, they are unable to identify UML diagram types from images. Search engines also need to recognize UML diagram types in order to return relevant results. These challenges  \n.  \nbecome increasingly problematic as software projects grow in scale and complexity. Therefore, there is an increasing need for intelligent solutions capable of automatically classifying UML diagram types directly from image data.  \nMachine learning offers promising opportunities for tackling the task of UML diagram classification from images [2] . Especially, deep learning-based models have demonstrated strong performance in various computer vision domains [3], making them suitable for recognizing patterns and structural features inherent in UML diagrams. Automatically classifying diagram types can unlock numerous practical applications, including diagram-type sensitive retrieval in search systems, diagram-aware documentation analysis, and even delivering descriptive notifications to visually impaired individuals.  \nIn this study, we propose a lightweight convolutional neural network (CNN) architecture specifically designed for classifying UML diagram images. The model is intentionally constructed with a minimal number of layers to reduce computational cost while  \nstill maintaining high accuracy. It is capable of identifying six primary UML diagram categories: Activity, Component, Cl","cbCaimcoKmWGRzc4","https://ap.wps.com/l/cbCaimcoKmWGRzc4","pdf",745647,11,"English","# Introduction\n## Related Work","[{\"question\":\"Why is classifying UML diagrams from images important in software engineering?\",\"answer\":\"UML diagrams describe system structure and behavior and are used in tasks such as requirement validation and documentation analysis. When diagrams are stored only as images, they become hard to search, integrate into tools, and interpret automatically.\"},{\"question\":\"What deep learning method is proposed in this study?\",\"answer\":\"The paper proposes a lightweight convolutional neural network (CNN) built with a minimal number of layers and reduced trainable parameters, designed to efficiently classify UML diagram images.\"},{\"question\":\"Which UML diagram types are classified and how well does the model perform?\",\"answer\":\"The model classifies six types: Activity, Component, Class, Sequence, Deployment, and Use-Case diagrams. Experimental results on a UML image dataset show 94.61% classification accuracy.\"}]","Classification of UML Diagrams from Images in Software Engineering - Using Deep Learning | PDF",1792962994,28,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5b30c616cd8fbde60627accfcd985ee7.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0f3038f59fdf4e877c89d5d8f15a6960.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5804d28741b81bc414f40059c663ff12.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ec2b30833da1e0023ee2395ed2217529.webp",980,1385,{"list":164,"token":11},[165,171,177,184,191,197,203,209,216,223],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":112,"category_name":29,"create_tm":170},655637,"Classiﬁcation of UML Diagrams to Support Software Engineering Education","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286452/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=INxqyRHMpGAqfQcJyTaEdQxk5vg%3D","classification-of-uml-diagrams-to-support-software-engineering-education",1792962969,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":123,"category_name":29,"create_tm":176},655642,"Enhanced Classification of UML Class Diagram Components Using Deep Learning for IT and Engineering Solutions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286523/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=I%2FOI0NXj0CWOkPCMwNjM8O4gIT8%3D","enhanced-classification-of-uml-class-diagram-components-using-deep-learning-for-it-and-engineering-solutions",1792962987,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":29,"create_tm":183},83831,"Finetuning Lightweight LLMs for Control Flow Graph Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809104309/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=98CW8Gu2lCe0o0PIX9yJYDyO3gc%3D","finetuning-lightweight-llms-for-control-flow-graph-generation",25,1784190804,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},31874,"LW-DeepFakeNet: a Lightweight Time Distributed CNN-LSTM Network for Real-Time DeepFake Video Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229751276350/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=dUgUx8BJuyG%2B8z%2BwmKw80h3CnUQ%3D","lw-deepfakenet-a-lightweight-time-distributed-cnn-lstm-network-for-real-time-deepfake-video-detection",37,1780347805,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":127,"category_name":29,"create_tm":196},81979,"Smart Scissor: Coupling Spatial Redundancy Reduction and CNN Compression for Embedded Hardware","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808699692/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=TVnSdD5UKKNpW%2BwX6QDCrTPE140%3D","smart-scissor-coupling-spatial-redundancy-reduction-and-cnn-compression-for-embedded-hardware",1784177390,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":102,"category_name":29,"create_tm":202},655549,"An Overview of Structural UML Diagrams - Structural UML Diagrams Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284991/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=UB7QkNPVxHMfFOj0uscKkLoRzHE%3D","an-overview-of-structural-uml-diagrams-structural-uml-diagrams-overview",1792962572,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":123,"category_name":29,"create_tm":208},657284,"Pattern-based Analysis of UML Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975408623/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=7vbUkl0cbvx8sCaVJfD5kGr0mXE%3D","pattern-based-analysis-of-uml-activity-diagrams",1792976880,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":29,"create_tm":215},124587,"Quaternion-based machine learning on topological quantum systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838344895/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=5b6NEK7EOBvefiIFmvHuln6f62I%3D","quaternion-based-machine-learning-on-topological-quantum-systems",23,1785893187,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":29,"create_tm":222},355953,"Training and validation of a 1D CNN model for accurate three-class classification of oral cancer using serum Raman spectroscopy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229912270847/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=p1%2Bl02m%2BZLmE6yV3XsOK059nzcc%3D","training-and-validation-of-a-1d-cnn-model-for-accurate-three-class-classification-of-oral-cancer-using-serum-raman-spectroscopy",18,1790121945,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":55,"category_name":29,"create_tm":228},655889,"Generating Maude Specifications from M-UML Statechart Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779712/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=y1bKBkYLE2qY%2BeOoDalUvVjZJqs%3D","generating-maude-specifications-from-m-uml-statechart-diagrams",1792964614]