Skip to main content
QUICK REVIEW

[论文解读] Large Language Models as Software Components: A Taxonomy for LLM-Integrated Applications

Irene Weber|arXiv (Cornell University)|Jun 13, 2024
Natural Language Processing TechniquesComputer Science被引用 5
一句话总结

本文提出一种描述 LLM 集成应用的分类法,通过将其分解为 LLM 组件并概述用于表征每个组件的 13 个维度,然后在受现实世界启发的案例上演示并评估该分类法。

ABSTRACT

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.

研究动机与目标

  • Define an architectural taxonomy for LLM-integrated applications from an integration viewpoint.
  • Identify dimensions useful for categorizing how LLMs are embedded as software components.
  • Provide a visual, vector-based representation to aid understanding and communication of LLM-driven architectures.
  • Support theory-building and practical design guidance for engineers deploying LLM components in software.

提出的方法

  • Developed the taxonomy through an iterative, design-science approach guided by established taxonomy methods.
  • Constructed an initial taxonomy from conversational assistant architectures and refined it through empirical application to real-world-inspired instances.
  • Applied the taxonomy to a sample of six LLM-integrated applications (bearing eleven distinct LLM components) and validated its coverage on additional cases.
  • Introduced a visual representation using feature vectors to concisely describe LLM components and their integration.

实验结果

研究问题

  • RQ1What dimensions best describe how LLMs are integrated as software components within applications?
  • RQ2How can LLM components be characterized and compared across different LLM-integrated applications?
  • RQ3Can a concise, visual representation (feature vectors) effectively communicate an application's LLM-based architecture?

主要发现

  • There are multiple ways to integrate LLMs into applications, often via multiple LLM components within an application.
  • Analyzing each LLM component separately provides a clearer understanding of an application's architecture.
  • The taxonomy comprises 13 dimensions grouped into five metadimensions to describe an LLM component, with some dimensions mutually exclusive and others not.
  • The study demonstrates the taxonomy on several real-world-inspired applications and shows it can describe diverse architectures.
  • A concise, vector-based visualization supports compact representation of LLM components and their combination within an application.
  • The sample demonstrates that LLM components cover a range of skills, outputs, prompts, data interactions, and task handling, with several components often co-existing within a single application.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。