[논문 리뷰] Large Language Models as Software Components: A Taxonomy for LLM-Integrated Applications
이 논문은 LLM이 통합된 애플리케이션을 LLM 구성요소로 분해하고 각 구성요소를 특징화하는 13개의 차명을 제시하는 설명 체계를 제시한 다음, 실세계에서 영감을 얻은 사례에 대해 이 분류체계를 시연하고 평가한다.
Large Language Models (LLMs) have become widely adopted recently. Research explores their use both as autonomous agents and as tools for software engineering. LLM-integrated applications, on the other hand, are software systems that leverage an LLM to perform tasks that would otherwise be impossible or require significant coding effort. While LLM-integrated application engineering is emerging as new discipline, its terminology, concepts and methods need to be established. This study provides a taxonomy for LLM-integrated applications, offering a framework for analyzing and describing these systems. It also demonstrates various ways to utilize LLMs in applications, as well as options for implementing such integrations. Following established methods, we analyze a sample of recent LLM-integrated applications to identify relevant dimensions. We evaluate the taxonomy by applying it to additional cases. This review shows that applications integrate LLMs in numerous ways for various purposes. Frequently, they comprise multiple LLM integrations, which we term ``LLM components''. To gain a clear understanding of an application's architecture, we examine each LLM component separately. We identify thirteen dimensions along which to characterize an LLM component, including the LLM skills leveraged, the format of the output, and more. LLM-integrated applications are described as combinations of their LLM components. We suggest a concise representation using feature vectors for visualization. The taxonomy is effective for describing LLM-integrated applications. It can contribute to theory building in the nascent field of LLM-integrated application engineering and aid in developing such systems. Researchers and practitioners explore numerous creative ways to leverage LLMs in applications. Though challenges persist, integrating LLMs may revolutionize the way software systems are built.
연구 동기 및 목표
- 통합 관점에서 LLM-통합 애플리케이션을 위한 아키텍처적 분류체계를 정의한다.
- LLM이 소프트웨어 구성요소로 어떻게 임베디드되는지 범주화하는 데 유용한 차원들을 식별한다.
- LLM 기반 아키텍처의 이해와 의사소통을 돕기 위한 시각적이고 벡터 기반의 표현을 제공한다.
- 소프트웨어에 LLM 구성요소를 배치하는 엔지니어를 위한 이론 구축과 실무 설계 가이드를 지원한다.
제안 방법
- 확립된 분류체계 방법에 의해 안내되는 반복적 설계과학적 접근을 통해 분류체계를 개발했다.
- 대화형 어시스턴트 아키텍처에서 초기 분류체계를 구축하고 실세계 영감을 받은 사례에 대한 경험적 적용을 통해 이를 다듬었다.
- 여섯 개의 LLM-통합 애플리케이션 샘플(일 eleven distinct LLM components)을 적용했고 추가 사례에서 포괄성을 검증했다.
- LLM 구성요소와 그 통합을 간결하게 설명하기 위한 특징 벡터를 사용한 시각적 표현을 도입했다.
실험 결과
연구 질문
- RQ1LLMs가 애플리케이션 내에서 소프트웨어 구성요소로 어떻게 통합되는지 가장 잘 설명하는 차원은 무엇인가?
- RQ2다른 LLM-통합 애플리케이션 간에 LLM 구성요소를 어떻게 특징지어 비교할 수 있는가?
- RQ3간결하고 시각적인 표현(특징 벡터)이 애플리케이션의 LLM 기반 아키텍처를 효과적으로 전달할 수 있는가?
주요 결과
- 애플리케이션에 LLM을 통합하는 방법은 여러 가지가 있으며, 종종 애플리케이션 내에서 다수의 LLM 구성요소를 통해 이루어진다.
- 각 LLM 구성요소를 개별적으로 분석하는 것이 애플리케이션의 아키텍처를 더 명확하게 이해하는 데 도움이 된다.
- 이 분류체계는 LLM 구성요소를 설명하기 위해 다섯 개의 메타 차원으로 묶여 13개의 차원으로 구성되며, 일부 차원은 상호 배타적이고 다른 차원은 그렇지 않다.
- 본 연구는 여러 실세계에서 영감을 얻은 애플리케이션에 대해 이 분류체계를 시연했고 다양한 아키텍처를 설명할 수 있음을 보여준다.
- 간결하고 벡터 기반의 시각화는 애플리케이션 내 LLM 구성요소의 집약적 표현과 그 조합을 지지한다.
- 샘플은 LLM 구성요소가 기술, 출력, 프롬프트, 데이터 상호작용 및 작업 처리의 범위를 포괄하며, 여러 구성요소가 단일 애플리케이션 내에 종종 공존한다는 것을 보여준다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.