Daily Arxiv

This is a page that curates AI-related papers published worldwide.
All content here is summarized using Google Gemini and operated on a non-profit basis.
Copyright for each paper belongs to the authors and their institutions; please make sure to credit the source when sharing.

LLM as a code generator in Agile Model Driven Development

Created by
  • Haebom

Author

Ahmed R. Sadik, Sebastian Brulin, Markus Olhofer

Outline

In this paper, we propose an agile model-driven development (AMDD) approach to address the challenges of automatically generating code using a large-scale language model (LLM), GPT4. AMDD models a multi-agent autonomous vehicle fleet (UVF) system using UML and integrates the Object Constraint Language (OCL) and the FIPA ontology language to reduce model ambiguity. The Java and Python codes generated using GPT4 are compatible with the JADE and PADE frameworks, respectively, and we evaluate the behavior of the generated code and the improvement of agent interaction. We compare and analyze the code complexity of models that use only OCL and models that use both OCL and FIPA ontologies, and show that ontology constraints increase the code complexity, but in a manageable level.

Takeaways, Limitations

Takeaways:
AMDD approach to improve the efficiency of automatic code generation using LLM
Presenting a method to reduce model ambiguity by integrating UML, OCL, and FIPA ontology languages
Verify practical applicability by evaluating the functionality and performance of the generated code.
Suggesting the possibility of managing code complexity by adding meta model constraints
Limitations:
Further research is needed on the generalizability of the proposed AMDD approach.
Scalability verification for various systems and LLMs is required.
Need to check applicability and limitations for more complex systems
Consider dependencies on specific frameworks (JADE, PADE)
👍