arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10300cs.SEcs.CLcs.LG
收藏

作为软件组件的大语言模型:LLM集成应用的分类体系

Large Language Models as Software Components: A Taxonomy for LLM-Integrated Applications

Kempten University of Applied Sciences(肯普滕应用科学大学)

Irene Weber

AI总结:

本研究提出LLM集成应用的分类体系,通过分析样本确定13个LLM组件特征维度,以特征向量实现简洁可视化,为新兴的LLM集成应用工程领域提供理论支撑与开发指导。

摘要:

大语言模型(Large Language Models, LLMs)近年来已得到广泛应用。现有研究既探索了其作为自主智能体的用途,也研究了其作为软件工程工具的价值。而LLM集成应用是指一类软件系统,这类系统借助LLM完成那些原本无法实现、或是需要大量编码工作才能完成的任务。尽管LLM集成应用工程正作为一门新学科兴起,但其术语、概念和方法仍有待建立。本研究提出了一套LLM集成应用的分类体系,为分析和描述这类系统提供了框架,同时也展示了在应用中利用LLM的多种方式,以及实现这类集成的可选方案。\n遵循成熟的研究方法,我们分析了一批近期的LLM集成应用样本,以识别相关的分类维度。我们通过将该分类体系应用于更多案例来对其进行评估。这项综述表明,应用程序以多种多样的方式集成LLM,用于实现不同的目的。这类应用通常包含多个LLM集成模块,我们将其称为“LLM组件”。为了清晰理解应用的架构,我们对每个LLM组件分别展开研究。我们确定了13个用于刻画LLM组件特征的维度,包括所利用的LLM技能、输出格式等。LLM集成应用被描述为其所含LLM组件的组合体,我们提出了一种使用特征向量的简洁表示方法用于可视化。\n该分类体系可有效描述LLM集成应用,能够为LLM集成应用工程这一新兴领域的理论构建提供助力,并为这类系统的开发提供支持。研究人员和从业者正在探索大量在应用中利用LLM的创新方式。尽管挑战依然存在,但集成LLM可能会彻底改变软件系统的构建方式。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑