From Image to UML: First Results of Image Based UML Diagram Generation Using LLMs
<|reference_start|>From Image to UML: First Results of Image Based UML Diagram Generation Using LLMs: In software engineering processes, systems are first specified using a modeling language such as UML. These initial designs are often collaboratively created, many times in meetings where different domain experts use whiteboards, paper or other types of quick supports to create drawings and blueprints that then will need to be formalized. These proper, machine-readable, models are key to ensure models can be part of automated processes (e.g. input of a low-code generation pipeline, a model-based testing system, ...). But going from hand-drawn diagrams to actual models is a time-consuming process that sometimes ends up with such drawings just added as informal images to the software documentation, reducing their value a lot. To avoid this tedious task, we explore the usage of Large Language Models (LLM) to generate the formal representation of (UML) models from a given drawing. More specifically, we have evaluated the capabilities of different LLMs to convert images of UML class diagrams into the actual models represented in the images. While the results are good enough to use such an approach as part of a model-driven engineering pipeline we also highlight some of their current limitations and the need to keep the human in the loop to overcome those limitations.<|reference_end|>
@article{conrardy2024from,
    title={From Image to UML: First Results of Image Based UML Diagram Generation
  Using LLMs},
    author={Aaron Conrardy, Jordi Cabot},
    journal={arXiv preprint arXiv:2404.11376},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.11376},
    primaryClass={cs.SE}
}