提升AI推理服务的可靠性:基于真实生产事故的实证研究
Enhancing reliability in AI inference services: An empirical study on real production incidents
AI总结:
本文基于156起高严重性生产事故构建并验证了LLM推理事故分类体系,识别主要故障模式与缓解手段,并提出自动化改进策略和实践者采纳清单,以提升大规模推理服务的可靠性与成本效率。
摘要:
超大规模大语言模型(LLM)推理对云系统提出了极高要求,即使短暂故障也可能转化为显著的用户和业务影响。为了更好地理解并缓解这些风险,我们提出了首批基于提供商内部、以实践为基础的LLM推理事故分析之一。我们基于一年的运维经验开发了一套分类体系和方法论,并在156起高严重性事故上进行了验证,同时针对2025年4月至6月开展了聚焦的定量研究,以确保时效性和相关性。我们的方法实现了高标注一致性(Cohen's K约0.89),识别出主要故障模式(在我们的数据集中约60%为推理引擎故障,其中约40%为超时),并揭示了缓解手段(约74%可自动检测;约28%需要热修复)。除热修复外,许多事故通过流量路由、节点再均衡或容量提升策略得到缓解,这表明存在进一步的自动化机会。我们还展示了该分类体系如何指导针对性策略,如连接活性检测、GPU容量感知路由和按端点隔离,从而降低事故影响并加速恢复。最后,我们贡献了一份面向实践者的采纳清单,使其他人能够在自己的系统中复现我们的分类体系、分析和自动化机会。本研究证明了基于系统化、实证依据的推理运维分析如何推动大规模LLM服务更加可靠且成本高效。
英文摘要:
Hyperscale large language model (LLM) inference places extraordinary demands on cloud systems, where even brief failures can translate into significant user and business impact. To better understand and mitigate these risks, we present one of the first provider-internal, practice-based analysis of LLM inference incidents. We developed a taxonomy and methodology grounded in a year of operational experience, validating it on 156 high-severity incidents, and conducted a focused quantitative study of Apr-Jun 2025 to ensure recency and relevance. Our approach achieves high labeling consistency (Cohen's K ~0.89), identifies dominant failure modes (in our dataset ~60% inference engine failures, within that category ~40% timeouts), and surfaces mitigation levers (~74% auto-detected; ~28% required hotfix). Beyond hotfixes, many incidents were mitigated via traffic routing, node rebalancing, or capacity increase policies, indicating further automation opportunities. We also show how the taxonomy guided targeted strategies such as connection liveness, GPU capacity-aware routing, and per-endpoint isolation and reduced incident impact and accelerated recovery. Finally, we contribute a practitioner-oriented adoption checklist that enables others to replicate our taxonomy, analysis, and automation opportunities in their own systems. This study demonstrates how systematic, empirically grounded analysis of inference operations can drive more reliable and cost-efficient LLM serving at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。