[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655826-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-655826-en":130,"doc-similar-655826":161},{"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":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","advancing-class-diagram-extraction-from-requirement-text-a-transformer-based-approach","Advancing Class Diagram Extraction from Requirement Text - A Transformer-Based Approach","","Class diagrams are central to software development because they are derived from software requirement text, improving communication between developers and stakeholders while accelerating development cycles. Existing extraction methods rely on rule-based systems or deep learning models, but rule-based pipelines are difficult to maintain and many neural approaches use context-independent embeddings. This work extracts class diagram entities from natural language using a transformer model with context-dependent representations, compares results to prior methods, and performs an ablation study using true/false positive and negative rates to quantify each step’s impact, achieving a 9–7% enhancement.",{"@graph":14,"@context":72},[15,34,55],{"@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/advancing-class-diagram-extraction-from-requirement-text-a-transformer-based-approach/655826/",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/advancing-class-diagram-extraction-from-requirement-text-a-transformer-based-approach/655826.png","ImageObject",300,407,{"name":42,"@type":43},"Chumphorn","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Why is class diagram extraction from requirement text important?","Question",{"text":62,"@type":63},"Class diagrams derived from software requirement text improve communication between developers and stakeholders and speed up adapting requirements into development artifacts.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What limitations in prior methods motivate a transformer-based approach?",{"text":67,"@type":63},"Rule-based systems become complex to handle at scale, and many deep learning approaches use word embeddings that are context-independent.",{"name":69,"@type":60,"acceptedAnswer":70},"How is the proposed model evaluated in the study?",{"text":71,"@type":63},"Results are compared with existing procedures, and an ablation study analyzes the contribution of each step by examining true positive, false positive, and false negative rates for class diagram elements.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},655826,1792964136,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"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":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"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":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":115,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},2336475401981,"https://ap-avatar.wpscdn.com/avatar/22000c94efd8d5204d?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786935347598174694","Advancing Class Diagram Extraction from Requirement Text: A  \nTransformer-Based Approach  \nShweta and Suyash Mittal and Suryansh Chauhan Department of Computer Science and Engineering The LNM Institute of Information Technology, Jaipur, Rajasthan, India [shweta.singh332@gmail.com](shweta.singh332@gmail.com)  \nAbstract  \nThe class diagram plays an important role in software development. As these diagrams are created using software requirement text, it helps to improve communication between the developers and the stakeholders. Thus, the automatic extraction of class diagrams enhances the speed of software development procedures. The research carried out in this direction mostly relies on rule-based methodologies and deep learning models. These methodologies have their drawbacks, such as the fact that large rulebased systems are complex to handle, whereas the word embeddings used in deep learning models are context-independent. Thus, the presented research work strives to extract the class diagram entities from the natural language text by employing a transformer-based model, asthe embeddings generated by these models are context-dependent. The results have been compared with the existing procedure, and an ablation study has also been carried out to find out the relevance of each step in the extraction procedure. The analysis involved examining the true positive, false positive, and false negative rates for specific class diagram elements in separate case studies. As a result, an enhancement of 9–7% has been observed in the procedures used for extracting the resulting class diagrams.  \n1 Introduction  \nThe Unified Modeling Language (UML) is a significant aspect of the software requirement specification document. These models are pivotal points for enhancing pertinent communication between software developers and customers. Thus, the modeling ameliorates software requirements and expedites product development according to the requirements of customers. Thus, the automated process of converting software requirement document text into Unified Modeling Language (UML), such as class diagrams, speeds up the adaptation process of requirements according to discussions. The existing literature indicates that different automated  \nmethods were proposed for UML model extraction from the requirement text. These processes prominently rely on rule-based methodology (Thakur and Gupta, 2016), (Shweta et al., 2018), and a limited  \nnumber of them are utilizing neural network architectures (ALH, 2018) . However, these existing methods utilize neural networks such as RNN and LSTM, which again take input as word embedding generated through Word2vec (Madala et al., 2020) . The word2vec model does not consider contextual information and generates a single-word embedding for each word. Consider an example of the word ’bank’ that can have two different meanings based on context, such as ’riverbank’ or ’bank-a financial institution’.  \nHowever, a transformer-based model will utilise context-based word embedding, and in recent advancements, transformers show remarkable improvement in terms of accuracy and efficient reduction for the computational requirements (Fu and Tantithamthavorn, 2022),(Kalyan et al., 2021) . Therefore, it motivates us to assess the effectiveness of a transformer-based language model in extracting class diagrams from software functional requirements. In the proposed approach, we have employed the Robustly Optimized BERT Pretraining Approach (RoBERTa) (Liu et al., 2019) for extraction of class diagram entities. The proposed approach has also been compared with existing approaches to evaluate the performance and effectiveness of the RoBERTa model.  \n1.1 Contribution  \nThe contributions of the proposed work are as follows:  \n• Explore the Transformer-based approach: This research strives to propose an extraction tool with enhanced efficiency of extracting class diagram elements such as classes, attributes, methods, and associations from","cbCaikamhBGHtyhs","https://ap.wps.com/l/cbCaikamhBGHtyhs","pdf",474506,"English","# Introduction\n## Contribution\n# Related Works","[{\"question\":\"Why is class diagram extraction from requirement text important?\",\"answer\":\"Class diagrams derived from software requirement text improve communication between developers and stakeholders and speed up adapting requirements into development artifacts.\"},{\"question\":\"What limitations in prior methods motivate a transformer-based approach?\",\"answer\":\"Rule-based systems become complex to handle at scale, and many deep learning approaches use word embeddings that are context-independent.\"},{\"question\":\"How is the proposed model evaluated in the study?\",\"answer\":\"Results are compared with existing procedures, and an ablation study analyzes the contribution of each step by examining true positive, false positive, and false negative rates for class diagram elements.\"}]","Advancing Class Diagram Extraction from Requirement Text - A Transformer-Based Approach | PDF",23,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/311a27095c3fc565ed05584578f4471d.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/944ecc8e5ba569327c340020cd47051d.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fadcfc8c6a88a7da5e61e8ed743f7841.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/491fb5d70e5c95edf224b5b1c0b10718.webp",980,1385,{"list":162,"token":11},[163,169,176,183,190,196,202,208,215,221],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":127,"category_name":29,"create_tm":168},122934,"GEML - A Grammar-based Evolutionary Machine Learning Approach for Design-Pattern Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836959679/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ivjHuOkk1GBOKQxFKxJpv5nO6LI%3D","geml-a-grammar-based-evolutionary-machine-learning-approach-for-design-pattern-detection",1785813765,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},85036,"A Multi-cluster Boundary Learning Method for Out-of-Scope Intent Detection via MiniLM Embedding","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809236402/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=iV8KGvw4sqJtCIFFkOViSrhKqTQ%3D","a-multi-cluster-boundary-learning-method-for-out-of-scope-intent-detection-via-minilm-embedding",26,1784200535,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":29,"create_tm":182},120040,"Machine learning and AI in graphics development - Research overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835303880/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ylp8pZ%2BHZ4%2FYQFoKa9yM7N81kVM%3D","machine-learning-and-ai-in-graphics-development-research-overview",28,1785727848,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},82260,"Configurable AI Coding Assistants: Designing for Developers Who Like to Be in Control","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808726252/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=UN7rsDBm9jk%2B7WKKx0AzpxL%2BhXM%3D","configurable-ai-coding-assistants-designing-for-developers-who-like-to-be-in-control",24,1784179214,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":106,"category_name":29,"create_tm":195},663523,"T-FREX: A Transformer-based Feature Extraction Method from Mobile App Reviews - Abstract - Transformer-based feature extraction from mobile app reviews using LLMs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981715927/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=9VqrFPmNpHrPfR%2BeKG7Y9W5uvFE%3D","t-frex-a-transformer-based-feature-extraction-method-from-mobile-app-reviews-abstract-transformer-based-feature-extraction-from-mobile-app-reviews-using-llms",1793228927,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":112,"category_name":29,"create_tm":201},83512,"You Shall Not Pass! Where and Why Developers Draw The Line on AI Autonomy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808984463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=Lo6Az8JY1IvDXeaYVU34XrzRbX0%3D","you-shall-not-pass-where-and-why-developers-draw-the-line-on-ai-autonomy",1784188539,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":115,"category_name":29,"create_tm":207},393914,"“Threat modeling is very formal, it’s very technical, and also very hard to do correctly” - Investigating Threat Modeling Practices in Open-Source Software Projects","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918146013/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=%2FhPZ%2BIkk2fCoKsTD6hbHkeX7zUQ%3D","threat-modeling-is-very-formal-its-very-technical-and-also-very-hard-to-do-correctly-investigating-threat-modeling-practices-in-open-source-software-projects",1790396126,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},422431,"Open-vocabulary Object Segmentation with Diffusion Models - Supplementary Material","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922336708/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=%2BBhBLm0%2BPiTb5QuCguzBLaAzRcE%3D","open-vocabulary-object-segmentation-with-diffusion-models-supplementary-material",17,1790627362,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":174,"category_name":29,"create_tm":220},81654,"Remember Your Trace Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808635310/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=%2Bytb7iAdfwg8u%2FkfCQjiECTFJUs%3D","remember-your-trace-memory-guided-long-horizon-agentic-framework-for-consistent-and-hierarchical-repository-level-code-documentation",1784175189,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":112,"category_name":29,"create_tm":226},119970,"RRAML - Reinforced Retrieval Augmented Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835295392/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=fNY9KSWxY5uWzyaRtCpoUJxQEWg%3D","rraml-reinforced-retrieval-augmented-machine-learning",1785727317]