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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

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

  • Mohamed Soliman,
  • Elia Ashraf,
  • Kamel M. K. Abdelsalam,
  • Jan Keim,
  • Ashwin Prasad Shivarpatna Venkatesh

摘要

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.