Synergy of Large Language Model and Model Driven Engineering for Automated Development of Centralized Vehicular Systems

Authors:
  • NPNenad Petrovic
    Nenad Petrovic
  • FPFengjunjie Pan
    Fengjunjie Pan
  • KLKrzysztof Lebioda
    Krzysztof Lebioda
  • VZVahid Zolfaghari
    Vahid Zolfaghari
  • SKSven Kirchner
    Sven Kirchner
  • NPNils Purschke
    Nils Purschke
  • MKMuhammad Aqib Khan
    Muhammad Aqib Khan
  • VVViktor Vorobev
    Viktor Vorobev
  • AKAlois Knoll
    Alois Knoll

Abstract
We present a prototype of a tool leveraging the synergy of model driven engineering (MDE) and Large Language Models (LLM) for the purpose of software development process automation in the automotive industry. In this approach, the user-provided input is free form textual requirements, which are first translated to Ecore model instance representation using an LLM, which is afterwards checked for consistency using Object Constraint Language (OCL) rules. After successful consistency check, the model instance is fed as input to another LLM for the purpose of code generation. The generated code is evaluated in a simulated environment using CARLA simulator connected to an example centralized vehicle architecture, in an emergency brake scenario.
All Related Versions