paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Are LLMs Correctly Integrated into Software Systems?

LLM 是否被正确地集成到软件系统中?
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 5/10 · 论文研究 LLM/RAG 集成到软件系统时的缺陷模式与修复指南,与“Agentic/LLM 程序”的分析和调试相邻,可为针对 LLM 集成代码的静态分析提供缺陷线索;但其核心是实证研究与缺陷归纳,未涉及静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,因此不是研究方向的核心。引用 6 to_read
Yuchen Shao, Yuheng Huang, Jiawei Shen, Lei Ma, Ting Su, Chengcheng Wan
crossref: 2026-09-12

AI 速览

一句话:对100个集成LLM与RAG的开源应用开展实证研究,归纳18种集成缺陷模式并提出系统性修复指南。

论文关注LLM与检索增强生成(RAG)被集成进软件系统时面临的难题:缺乏接口规范、软件上下文需求多样、系统管理复杂。作者对100个支持RAG的LLM开源应用开展全面实证研究,归纳出18种集成缺陷模式,发现77%的应用存在三种以上会损害软件功能、效率与安全的集成缺陷。基于研究结论,论文提出覆盖软件生命周期的系统性修复指南,并构建开源缺陷库HYDRANGEA,为开发者正确集成LLM提供参考。

问题
开发者将LLM与RAG集成进软件系统时缺乏接口规范、需应对多样的软件上下文需求且系统管理复杂,容易引入缺陷,但缺陷类型与分布尚不明确。
方法
对100个集成LLM并支持RAG的开源应用进行实证研究,归纳出18种集成缺陷模式,并据此提出覆盖软件生命周期的修复指南,构建开源缺陷库HYDRANGEA。
评估
通过分析100个真实开源应用量化缺陷分布,发现77%的应用存在三种以上集成缺陷,并以开源缺陷库的形式向社区提供研究成果。
原文摘要(Abstract)

Large language models (LLMs) provide effective solutions in various application scenarios, with the support of retrieval-augmented generation (RAG). However, developers face challenges in integrating LLM and RAG into software systems, due to lacking interface specifications, various requirements from software context, and complicated system management. In this paper, we have conducted a comprehensive study of 100 open-source applications that incorporate LLMs with RAG support, and identified 18 defect patterns. Our study reveals that 77 % of these applications contain more than three types of integration defects that degrade software functionality, efficiency, and security. Guided by our study, we propose systematic guidelines for resolving these defects in software life cycle. We also construct an open-source defect library HYDRANGEA [1].

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8931,
  title = {Are LLMs Correctly Integrated into Software Systems?},
  author = {Yuchen Shao and Yuheng Huang and Jiawei Shen and Lei Ma and Ting Su and Chengcheng Wan},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00204}
}