arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19933cs.AI
收藏

LLM系统中的故障模式:可靠AI应用的系统级分类

Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applications

Microsoft Security Research(微软安全研究)

Vaishali Vinay

AI总结:

本文提出LLM系统中十五种隐含故障模式的分类,分析评估与监控的差距,并提出构建可靠、可维护且成本敏感的LLM系统的设计原则。

摘要:

大型语言模型(LLMs)正在被迅速整合到决策支持工具、自动化工作流和AI赋能的软件系统中。然而,它们在生产环境中的行为仍缺乏深入理解,其故障模式与传统机器学习模型有根本性差异。本文提出了一种系统级的分类,涵盖十五种在现实世界LLM应用中出现的隐含故障模式,包括多步推理漂移、潜在不一致、上下文边界退化、错误工具调用、版本漂移和成本驱动的性能崩溃。利用这一分类,我们分析了评估和监控实践之间的差距:现有基准测试测量知识或推理,但提供很少关于稳定性、可重复性、漂移或工作流整合的见解。我们进一步研究了部署LLM的生产挑战,包括可观察性限制、成本约束和更新引起的回归,并概述了构建可靠、可维护和成本敏感的LLM系统的设计原则。最后,我们概述了构建可靠、可维护和成本敏感的基于LLM的系统的设计原则。通过将LLM可靠性视为一个系统工程问题而非纯粹模型中心的问题,本工作为未来研究评估方法、AI系统鲁棒性和可靠的LLM部署提供了分析基础。

英文摘要:

Large language models (LLMs) are being rapidly integrated into decision-support tools, automation workflows, and AI-enabled software systems. However, their behavior in production environments remains poorly understood, and their failure patterns differ fundamentally from those of traditional machine learning models. This paper presents a system-level taxonomy of fifteen hidden failure modes that arise in real-world LLM applications, including multi-step reasoning drift, latent inconsistency, context-boundary degradation, incorrect tool invocation, version drift, and cost-driven performance collapse. Using this taxonomy, we analyze the growing gap in evaluation and monitoring practices: existing benchmarks measure knowledge or reasoning but provide little insight into stability, reproducibility, drift, or workflow integration. We further examine the production challenges associated with deploying LLMs - including observability limitations, cost constraints, and update-induced regressions - and outline high-level design principles for building reliable, maintainable, and cost-aware LLM systems. Finally, we outline high-level design principles for building reliable, maintainable, and cost-aware LLM-based systems. By framing LLM reliability as a system-engineering problem rather than a purely model-centric one, this work provides an analytical foundation for future research on evaluation methodology, AI system robustness, and dependable LLM deployment.

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

↑