English

A Functional Software Reference Architecture for LLM-Integrated Systems

Software Engineering 2025-01-23 v1

Abstract

The integration of large language models into software systems is transforming capabilities such as natural language understanding, decision-making, and autonomous task execution. However, the absence of a commonly accepted software reference architecture hinders systematic reasoning about their design and quality attributes. This gap makes it challenging to address critical concerns like privacy, security, modularity, and interoperability, which are increasingly important as these systems grow in complexity and societal impact. In this paper, we describe our \textit{emerging} results for a preliminary functional reference architecture as a conceptual framework to address these challenges and guide the design, evaluation, and evolution of large language model-integrated systems. We identify key architectural concerns for these systems, informed by current research and practice. We then evaluate how the architecture addresses these concerns and validate its applicability using three open-source large language model-integrated systems in computer vision, text processing, and coding.

Keywords

Cite

@article{arxiv.2501.12904,
  title  = {A Functional Software Reference Architecture for LLM-Integrated Systems},
  author = {Alessio Bucaioni and Martin Weyssow and Junda He and Yunbo Lyu and David Lo},
  journal= {arXiv preprint arXiv:2501.12904},
  year   = {2025}
}

Comments

Accepted for publication at the 22nd IEEE International Conference on Software Architecture (ICSA 2025) - New and Emerging Ideas