Coding by Design: GPT-4 empowers Agile Model Driven Development
Ahmed R. Sadik, Sebastian Brulin, Markus Olhofer

TL;DR
This paper presents an Agile Model-Driven Development approach that enhances code auto-generation from UML models using GPT-4, incorporating constraints like OCL and FIPA-ontology to improve accuracy and manage complexity across Java and Python implementations.
Contribution
It introduces an innovative multi-layered MDD method leveraging GPT-4 with constraints to improve code generation for complex systems, emphasizing agility during model changes and language deployment.
Findings
Generated code aligned with UML sequence diagrams
Ontology constraints increase code complexity but remain manageable
Approach successfully deploys code in Java and Python frameworks
Abstract
Generating code from a natural language using Large Language Models (LLMs) such as ChatGPT, seems groundbreaking. Yet, with more extensive use, it's evident that this approach has its own limitations. The inherent ambiguity of natural language presents challenges for complex software designs. Accordingly, our research offers an Agile Model-Driven Development (MDD) approach that enhances code auto-generation using OpenAI's GPT-4. Our work emphasizes "Agility" as a significant contribution to the current MDD method, particularly when the model undergoes changes or needs deployment in a different programming language. Thus, we present a case-study showcasing a multi-agent simulation system of an Unmanned Vehicle Fleet. In the first and second layer of our approach, we constructed a textual representation of the case-study using Unified Model Language (UML) diagrams. In the next layer, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Software Engineering Research · Model-Driven Software Engineering Techniques
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Position-Wise Feed-Forward Layer · Byte Pair Encoding · Dense Connections · Label Smoothing · Adam · Absolute Position Encodings · Residual Connection
