paperbot · PL 论文追踪

全部论文 待读 收藏

P1 A Characterization Study of Bugs in LLM Agent Workflow Orchestration Frameworks

LLM 智能体工作流编排框架中的缺陷特征研究
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 6/10 · 该论文研究 LLM Agent 编排框架的缺陷与根因分类,属于 Agentic 程序与机器学习系统的质量保障问题,与用户对 Agentic 程序分析的兴趣相关;但它主要是实证研究与分类体系,未涉及静态分析、形式化验证或 LLM 与程序分析的交叉方法,因此匹配度中等。引用 1 inbox
Ziluo Xue, Yanjie Zhao, Shenao Wang, Kai Chen, Haoyu Wang
crossref: 2026-09-12

AI 速览

一句话:首个针对 LLM 智能体框架缺陷的大规模实证研究,给出九类根因与六类症状的分类体系。

LLM 智能体工作流编排框架(如 LangChain)是构建高级 LLM 应用的关键基础设施,但其复杂度导致缺陷不可避免,并会传播至下游应用造成严重失效。本文首先抽象出主流框架的四个关键架构组件:数据预处理、核心 schema、agent 构建与特性模块;继而从 LangChain、LlamaIndex、Haystack 三个流行框架的 1,577 个真实 bug 相关 PR 中提取 1,026 个缺陷实例,开展首个该类框架的缺陷实证研究,逐一分析根因、症状与结构组件,形成九类根因与六类症状的系统分类。最后统计缺陷在框架间与组件间的分布及根因—症状关系,揭示出有别于传统软件的独特挑战模式,并为质量保障实践提供可操作建议。

问题
LLM 智能体工作流编排框架结构复杂,缺陷难以避免且会传播到下游应用,造成严重失效或非预期行为,但此前缺乏对该类框架缺陷的系统性认识。
方法
先对主流 LLM 智能体框架的结构进行抽象,划分出四个关键架构组件;再从三个流行框架的 1,577 个真实 bug 相关 PR 中提取 1,026 个缺陷实例,逐一标注其根因、症状与所属组件,构建分类体系并做统计分析。
评估
基于 LangChain、LlamaIndex、Haystack 三个真实框架的大规模缺陷样本,统计缺陷在框架间、组件间的分布以及根因与症状之间的关系,总结出与传统软件不同的挑战模式。
原文摘要(Abstract)

Large Language Models (LLMs) have rapidly gained popularity, transforming research and industry. To support their adoption, LLM agent workflow orchestration frameworks (hereinafter referred to as LLM agent frameworks) like LangChain have become essential for building advanced applications. However, their complexity makes bugs inevitable, and these bugs can propagate to downstream applications, causing severe failures or unintended behaviors. In this paper, we first present an abstraction of the structure of mainstream LLM agent frameworks, identifying four key architectural components: data preprocessing, core schema, agent construction, and featured modules. Building on this abstraction, we conduct the first empirical study on LLM agent framework bugs, analyzing 1,026 bug instances extracted from 1,577 real-world bug-related GitHub pull requests (PRs) from three popular LLM agent frameworks: LangChain, LlamaIndex, and Haystack. For each bug, we examine its root cause, symptom, and structural component, providing a systematic taxonomy of nine root causes and six symptom categories. Finally, leveraging the framework structure abstraction and the large-scale empirical study, we perform detailed statistical analysis in terms of the distribution of bugs in different frameworks, the distribution across different framework components, and the relationship between root cause and symptom. The analysis reveals unique challenge patterns compared to traditional software, providing actionable guidance for practitioners on quality assurance.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9481,
  title = {A Characterization Study of Bugs in LLM Agent Workflow Orchestration Frameworks},
  author = {Ziluo Xue and Yanjie Zhao and Shenao Wang and Kai Chen and Haoyu Wang},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00278}
}