KIT | KIT-Bibliothek | Impressum | Datenschutz

LLMs for Software Architecture Knowledge: A Comparative Analysis Among Seven LLMs

Soliman, Mohamed ; Ashraf, Elia; Abdelsalam, Kamel M. K.; Keim, Jan ORCID iD icon 1; Venkatesh, Ashwin Prasad Shivarpatna
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

Software developers require extensive architectural knowledge (AK) to effectively maintain and extend existing software systems. Recently, Large Language Models (LLMs) have demonstrated promising capabilities in learning from vast datasets, including software repositories, to provide insightful answers about existing software systems. With the development of various LLMs, each characterized by distinct sizes, architectures, and vendors, there is potential for these models to assist developers in addressing architectural queries related to AK. Despite the advancements, there is a limited understanding of the comparative performance of different LLMs, particularly regarding the accuracy and similarity of their responses to architectural questions. This paper aims to bridge this gap by evaluating seven diverse LLMs, including GPT, Mistral, LLaMA, and DeepSeek, focusing on their ability to accurately and consistently respond to queries about the AK of the open-source system, Hadoop HDFS. Our study reveals significant variations in the performance of these LLMs, highlighting differences in the accuracy and similarity of their responses. These findings provide valuable insights for software developers and researchers, guiding the selection and utilization of LLMs for architectural knowledge tasks in software development.


Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
KIT-Bibliothek (BIB)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2025
Sprache Englisch
Identifikator ISBN: 978-3-032-02138-0
ISSN: 0302-9743
KITopen-ID: 1000184369
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in Software Architecture – 19th European Conference, ECSA 2025, Limassol, Cyprus, September 15–19, 2025, Proceedings. Ed.: V. Andrikopoulos
Veranstaltung 19th European Conference on Software Architecture (ECSA 2025), Limassol, Zypern, 15.09.2025 – 19.09.2025
Verlag Springer Nature Switzerland
Seiten 99–115
Serie Lecture Notes in Computer Science (LNCS) ; 15929
Vorab online veröffentlicht am 20.08.2025
Nachgewiesen in Dimensions
OpenAlex
Scopus
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page