Conceptio › Archive › arXiv CS
arXiv CS open access

Compound AI System Reliability: A Failure Taxonomy and Resilience Pattern Catalog from 150 Production Incidents

Rudrendu Kumar Paul et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
clouddistributed-computingparallel-computing
Deploying compound AI systems reliably and safely requires understanding failure modes that emerge at component boundaries, not within individual models. Cascading errors propagate across component boundaries, silent quality degradation evades standard monitoring, and coordination failures yield inc
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Compound AI System Reliability: A Failure Taxonomy and Resilience Pattern Catalog from 150 Production Incidents

Rudrendu Kumar Paul 1 Sourav Nandy 2

arXiv:2610.02503v1 [cs.SE] 1 Oct 2026

Abstract

the interaction: an index rebuild changed the embedding normalization, shifting cosine similarity distributions just enough that the retriever’s top-k results contain 40% irrelevant documents. The generator, trained to synthesize whatever it receives, confidently produces wrong answers from wrong context.

Deploying compound AI systems reliably and safely requires understanding failure modes that emerge at component boundaries, not within individual models. Cascading errors propagate across component boundaries, silent quality degradation evades standard monitoring, and coordination failures yield incorrect collective behavior from individually correct parts. We analyze 150 production incident reports from open-source compound AI projects and anonymized enterprise deployments to construct a taxonomy of 23 failure modes organized into five categories: retrieval failures, generation failures, tool failures, orchestration failures, and integration failures. For each category, we propose resilience patterns with measured effectiveness from controlled fault injection experiments. Circuit breakers reduce cascade propagation by 89%, output quality gates catch 73% of silent degradation before user impact, and component isolation reduces blast radius by 64%. Systems implementing three or more resilience patterns from our catalog reduce meantime-to-recovery (MTTR) by 71% compared to unstructured monitoring baselines. We release the incident taxonomy and pattern catalog as a practitioner resource.

This class of failure is invisible to component-level monitoring because each component’s health checks evaluate internal metrics (latency, error rate, uptime) in isolation; no single component is broken, so no single monitor fires. The failure exists only in the semantic relationship between components, a boundary that per-component observability does not instrument. This gap is the defining reliability challenge of compound AI systems. Trustworthy deployment of AI systems requires safety monitoring beyond per-component health checks; the gap between component correctness and system correctness is where reliability breaks down. Zaharia et al. (2024) identified the architectural shift from standalone models to multi-component systems combining retrievers, generators, tools, and orchestrators. These compound systems increasingly operate as autonomous agents, orchestrating multi-step reasoning, tool use, and retrieval without human intervention, making a systematic failure taxonomy essential for building scalable and reliable agentic deployments. Since then, production deployments have scaled rapidly, but reliability engineering has not kept pace. The tooling gap is stark: existing observability platforms track latency, token counts, and error rates per component, yet miss the inter-component semantic failures that cause the most user-visible harm.

1. Introduction

Recent work has begun characterizing individual failure dimensions. Vinay (2025) cataloged 15 failure modes in LLM applications, including version drift and cost-driven performance collapse. Rabanser et al. (2026) proposed 12 reliability metrics across four dimensions for AI agents. Cemri et al. (2025) analyzed 1,600 multi-agent traces and identified 14 failure modes in system design, inter-agent misalignment, and task verification. Each study illuminates part of the problem. None provides a unified taxonomy that spans the full compound system stack, from retrieval through orchestration, paired with empirically validated resilience patterns.

A retrieval-augmented generation pipeline runs in production for eleven days before anyone notices that its answer quality has dropped from 0.82 to 0.59 F1. The retriever still returns documents, the generator still produces fluent text, and every health check passes. The failure lives in 1 Boston University, Boston, MA, USA 2 University of Texas at Austin, Austin, TX, USA. Correspondence to: Rudrendu Kumar Paul <rudrendupaul2022@gmail.com>, Sourav Nandy <sourav.nandy@gmail.com>.

Proceedings of the 43 rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

1

Compound AI System Reliability: A Failure Taxonomy from 150 Production Incidents

We fill this gap. Our contributions are:

empirically analyzed 156 high-severity production incidents in AI inference services, finding that 60% stem from inference engine failures, with timeouts accounting for roughly 40% of that category. Yu et al. (2024) surveyed 160 papers on failure analysis and fault injection, revealing discrepancies between real-world and simulated failures. Popchanovska et al. (2026) derived a mitigation taxonomy from 9,705 media-reported incidents but at the organizational, not architectural, level.

1. A taxonomy of 23 failure modes across five categories, derived from 150 production incident reports spanning retrieval, generation, tool use, orchestration, and integration boundaries. 2. A catalog of resilience patterns with measured effectiveness from controlled fault injection experiments on a representative 6-component compound AI system. 3. Empirical evidence that combining three or more patterns reduces MTTR by 71% relative to unstructured monitoring.

Complementing these failure-focused studies, Chen et al. (2025a) surveyed the compound AI systems landscape endto-end, and Chen et al. (2025b) demonstrated that model selection within compound pipelines requires joint optimization across components because local optima at individual components do not yield global optima for the system. Their finding reinforces our observation that failures at component boundaries cannot be addressed through component-level monitoring alone.

Reliable compound AI systems are not merely an engineering concern. As these systems are deployed in high-stakes public-sector, healthcare, and social-infrastructure contexts, silent failures and uncontrolled cascades disproportionately harm vulnerable users who cannot verify or contest machinegenerated outputs. The failure taxonomy and resilience patterns we release directly support the engineering of trustworthy AI systems where reliability at the component boundary is a precondition for responsible deployment at scale.

Our work bridges these three levels. We analyze failures at component interaction boundaries, covering the full stack from retrieval through orchestration, and pair the taxonomy with resilience patterns validated through fault injection.

2. Related work 3. Methodology

Failure analysis in AI systems spans three levels, each with a distinct blind spot regarding compound system behavior.

3.1. Incident corpus

Model-level failure analysis. Vinay (2025) identified 15 system-level failure modes in LLM applications, treating reliability as a system-engineering problem rather than a model-centric one. Yu et al. (2026) analyzed 705 userreported failures across DeepSeek, Llama, and Qwen, finding that 45.7% of failures originate from environment and infrastructure faults rather than model defects. Both studies focus on single-model deployments and do not address how failures propagate across component boundaries in compound systems.

We collected 150 production incident reports from two sources: (1) public post-mortems and issue trackers from 12 open-source compound AI projects including LangChain, LlamaIndex, AutoGen, CrewAI, Haystack, and DSPy (97 incidents), and (2) anonymized incident reports from enterprise RAG, agent, and pipeline deployments (53 incidents). The enterprise incidents were collected between January 2024 and December 2025 from production systems serving a range of query volumes.

Multi-agent-level failure analysis. Cemri et al. (2025) constructed a multi-agent system failure taxonomy (MAST) from 1,600+ annotated traces across seven frameworks, identifying 14 failure modes with strong inter-annotator agreement (κ = 0.88). Xie et al. (2026) modeled error cascades in multi-agent collaboration and found that injecting a single atomic error seed leads to widespread failure, proposing a genealogy-graph governance layer that raises defensive success from 0.32 to 0.89. Zhu et al. (2026) analyzed 998 bug reports from CrewAI and LangChain, finding that API misuse and documentation desync dominate frameworklevel defects. These studies characterize failure within the agent collaboration layer but do not cover the full compound system stack (retrieval, tool integration, type coercion at component boundaries).

3.2. Taxonomy construction

Inclusion criteria required that the incident (a) involved a system with two or more interacting AI/ML components, (b) had a documented root cause analysis, and (c) resulted in user-visible impact or triggered an on-call page. We excluded incidents caused by external factors (cloud provider outages, DNS failures) unless the compound system’s architecture amplified the external failure.

Two researchers independently coded each incident using open coding, identifying the failing component boundary, propagation path, detection method, time-to-detection, and root cause. After initial coding, we merged codes through affinity diagramming into 23 failure modes organized by the component boundary where the failure originates. Intercoder agreement reached Cohen’s κ = 0.84 after two recon-

Infrastructure-level analysis. Ranganathan et al. (2025) 2

Compound AI System Reliability: A Failure Taxonomy from 150 Production Incidents Table 1. Failure taxonomy: five categories, 23 modes, frequency in 150 incidents. Top three modes per category shown. Category

Representative modes

Retrieval (38 incidents)

Index drift / stale embeddings Query-document distribution shift Context poisoning via injection Other retrieval modes

10.7 7.3 4.0 3.3

Generation (31 incidents)

Hallucination under noisy context Output format regression Safety bypass via context manip. Other generation modes

8.0 5.3 4.0 3.4

Tool (29 incidents)

API timeout cascade Schema drift (breaking changes) Permission escalation via tooling Other tool modes

6.7 5.3 4.0 3.3

Orchestration (28 incidents)

Infinite retry / loop deadlock Agent starvation under load Dead-letter task accumulation Other orchestration modes

6.0 5.3 4.0 3.4

Integration (24 incidents)

Type coercion errors at boundaries Encoding mismatch (UTF-8/token) Rate limit exhaustion cascade Other integration modes

5.3 4.7 3.3 2.7

Retrieval failures (25.3% of incidents) are the most common category. Index drift, where embedding indices become stale after model updates or data refreshes, accounts for 10.7% alone. In one enterprise incident, a scheduled re-indexing job silently switched embedding models from text-embedding-ada-002 to text-embedding-3-small without updating the query encoder. Cosine similarities dropped from a mean of 0.78 to 0.41, but the retriever continued returning k results. The generator produced fluent answers from irrelevant documents for nine days before a user complaint triggered investigation.

%

Generation failures (20.7%) frequently stem from upstream retrieval degradation. When retrieval quality drops, generators hallucinate more aggressively because they attempt to synthesize coherent answers from incoherent context. This retrieval-generation coupling means that retrieval failures have a 2.3x multiplier on downstream generation errors in our corpus. Tool failures (19.3%) cascade through timeout propagation. When a single tool API responds slowly, the orchestrator holds the execution context open, consuming memory and blocking other requests. In 8 of 10 timeout incidents, a single slow tool caused system-wide throughput to drop by 60–80% within minutes.

ciliation rounds.

Orchestration failures (18.7%) are the hardest to diagnose. Infinite retry loops consumed $2,400 in API costs over a weekend in one incident because the retry logic lacked exponential backoff and the error condition (a malformed JSON response from a tool) was not in the retry exclusion list.

3.3. Fault injection experiments To evaluate resilience patterns, we constructed a 6component compound AI testbed: query router, vector retriever (Qdrant), reranker, LLM generator (GPT-4o-mini and Llama-3.1-8B), tool executor (4 API tools), and orchestrator (LangGraph). We designed 23 fault injection scenarios, one per failure mode in our taxonomy, covering all five categories. Each scenario injects a specific fault (e.g., silently swapping the embedding model for index drift, introducing 200ms incremental latency for timeout cascades, corrupting JSON serialization precision for type coercion errors) and measures four metrics: cascade depth (how many components the failure reaches), time-to-detection, blast radius (percentage of concurrent requests affected), and MTTR.

Integration failures (16.0%) occur at type boundaries between components. The most insidious: a Python dictionary serialized to JSON, passed to a TypeScript tool executor, then deserialized back. Floating-point precision loss in the round-trip changed a confidence threshold from 0.85 to 0.8500000000000001, which failed a strict equality check and silently dropped 23% of results. 4.1. Cross-cutting patterns Three patterns recur across categories:

Each scenario ran 100 trials with and without each candidate resilience pattern active. We report means with 95% confidence intervals. The testbed, fault injection scripts, and raw trial logs are available in the accompanying practitioner resource to support reproducibility.

Silent degradation (51% of incidents): The system continues producing outputs that pass all health checks but are wrong. Mean time-to-detection for silent failures is 4.2 days, compared to 12 minutes for crash failures. This aligns with findings from Lin & Zhang (2025), who observed that failures propagate across layers and create cascading effects with systemic consequences, a pattern that standard monitoring is not designed to catch.

4. Failure taxonomy Our 23 failure modes cluster into five categories based on the originating component boundary. Table 1 summarizes the categories with representative failure modes and their frequency in our corpus.

Cascade amplification (34% of incidents): A failure in one component amplifies through downstream components. Xie 3

Compound AI System Reliability: A Failure Taxonomy from 150 Production Incidents Table 2. Resilience pattern effectiveness measured via fault injection (100 trials per scenario, 95% CI). Pattern Circuit breakers Output quality gates Component isolation Semantic validators Typed interfaces

Primary metric

Effect

Cascade depth Silent degrad. caught Blast radius Semantic errors caught Integration failures

−89% ± 4% 73% ± 6% −64% ± 5% 81% ± 7% −92% ± 3%

concurrent requests to 28% (64% reduction). Semantic validators check output meaning, not just structure. For tool outputs: does the returned value fall within the expected domain? For generator outputs: does the response address the original query rather than a hallucinated answer derived from misinterpreted context? Validators catch 81% of semantic errors that pass schema validation. Typed interfaces enforce explicit type contracts at every component boundary with runtime validation. Replacing loose JSON passing with typed schemas (we used Pydantic models) eliminates 92% of integration failures from our taxonomy, including the floating-point precision incident described above.

et al. (2026) demonstrated this formally for multi-agent message passing; we observe the same pattern across retrievergenerator and tool-orchestrator boundaries. Semantic errors passing validation (22% of incidents): Outputs are structurally valid (correct JSON, correct type, within token limits) but semantically wrong. These errors are invisible to schema validation and health checks.

5.1. Combined effectiveness Systems deploying three or more patterns from our catalog achieve a mean MTTR of 8.4 minutes (± 2.1), compared to 28.7 minutes (± 5.3) for systems with unstructured monitoring only, a 71% reduction. The combination matters: circuit breakers contain cascades, quality gates detect silent degradation, and component isolation limits blast radius. No single pattern addresses more than 40% of failure modes alone.

These patterns are not mutually exclusive; 11% of incidents exhibit two or more cross-cutting patterns simultaneously (e.g., a cascade that also produces semantically valid but incorrect outputs).

5. Resilience patterns We propose and evaluate five resilience patterns. Table 2 reports their effectiveness measured through fault injection.

6. Discussion and limitations Threats to validity. Our enterprise incident corpus (53 incidents) comes from a small number of organizations.

Circuit breakers adapt the pattern from distributed systems engineering (Nygard, 2018; Fowler, 2014) to compound AI components. When a component’s error rate exceeds a threshold (we use 5 failures in 30 seconds), the breaker opens and downstream components receive a structured fallback response instead of waiting for a timeout. This reduces cascade depth from a mean of 3.8 components to 0.4 components (89% reduction). The key adaptation for AI systems: the breaker must monitor semantic quality metrics (output coherence scores, retrieval relevance), not just HTTP status codes, because most AI failures return 200 OK with degraded content.

Baseline choice. Our MTTR reduction (71%) is measured against unstructured monitoring only, which is a naive baseline. Production teams often deploy standard retries with exponential backoff as a first-line mitigation. A stronger evaluation would include a secondary baseline using this common practice. We acknowledge this limitation; adding standard retry-with-backoff as a baseline is left for future work. Compound systems in healthcare, autonomous driving, or scientific computing may exhibit different failure distributions. The open-source incidents (97) skew toward LangChain and LlamaIndex ecosystems, which represent the most widely deployed frameworks but not all architectural patterns.

Output quality gates insert lightweight evaluation checkpoints between components. A gate between the retriever and generator checks that the mean cosine similarity of retrieved documents exceeds a calibrated threshold (τ = 0.62 in our experiments). A gate between the generator and output checks factual consistency against the retrieved context. These gates catch 73% of silent degradation incidents that would otherwise reach users.

Scope of fault injection. We tested resilience patterns on a single 6-component architecture under controlled conditions. Production systems with 20+ components, nested agent hierarchies, or human-in-the-loop stages introduce failure modes our testbed does not cover. The effectiveness numbers reported in Table 2 represent measured outcomes on this specific testbed and should be treated as indicative of pattern utility, not as universal guarantees. We did not run these experiments in live production environments; the testbed is a faithful reproduction of a production-grade

Component isolation enforces independent resource pools (memory, connection pools, rate limit budgets) per component. When the tool executor consumes its allocated rate limit budget, it degrades gracefully without starving the retriever or generator. Blast radius drops from 78% of 4

Compound AI System Reliability: A Failure Taxonomy from 150 Production Incidents

Impact Statement

pipeline architecture, but real-world effectiveness will depend on system-specific factors such as component diversity, traffic patterns, and deployment infrastructure.

Reliable compound AI systems are a precondition for responsible deployment in high-stakes domains including healthcare, public-sector services, and financial infrastructure. Silent failures and uncontrolled cascades disproportionately affect end users who cannot verify or contest machinegenerated outputs. The failure taxonomy and resilience pattern catalog we release serve as a practitioner resource for teams building systems where component-boundary reliability is a safety requirement, not an engineering afterthought. Combining three or more patterns reduces mean-time-torecovery by 71%, a gain accessible without model changes or infrastructure overhaul. We identify no dual-use risks: the failure modes described are already observable in production deployments, and the resilience patterns are purely defensive.

What we do not address. Our taxonomy covers technical failure modes. Organizational failures (insufficient on-call staffing, missing runbooks, poor incident communication) interact with technical failures in practice but are outside our scope. Popchanovska et al. (2026) provide a complementary organizational perspective. Runtime overhead. Each resilience pattern introduces latency and resource costs. In our testbed, output quality gates add a median 120ms per request (the factual consistency check between generator and output dominates). Circuit breakers add negligible latency during normal operation (<2ms for threshold evaluation) but impose a cool-down period of 30 seconds when tripped, during which the system returns fallback responses. Semantic validators add 80–150ms depending on output length. Typed interfaces with Pydantic runtime validation add 5–15ms per boundary crossing. Component isolation increases peak memory by 18% due to dedicated resource pools. For latency-sensitive deployments, we recommend deploying quality gates asynchronously (logging degradation for alerting rather than blocking the response path) and reserving synchronous gates for high-stakes outputs.

References Cemri, M., Pan, M. Z., Yang, S., Agrawal, L. A., Chopra, B., Tiwari, R., Keutzer, K., Parameswaran, A., Klein, D., Ramchandran, K., Zaharia, M., Gonzalez, J. E., and Stoica, I. Why do multi-agent LLM systems fail? arXiv preprint arXiv:2503.13657, 2025. Chen, J., Ye, J., and Wang, G. From standalone LLMs to integrated intelligence: A survey of compound AI systems. arXiv preprint arXiv:2506.04565, 2025a.

7. Conclusion

Chen, L., Davis, J. Q., Hanin, B., Bailis, P., Stoica, I., Zaharia, M., and Zou, J. Optimizing model selection for compound AI systems. arXiv preprint arXiv:2502.14815, 2025b.

Compound AI systems fail in ways their individual components do not. Our taxonomy of 23 failure modes, derived from 150 production incidents, provides the first systematic classification organized by component interaction boundaries. The accompanying resilience pattern catalog, validated through controlled fault injection, demonstrates that combining circuit breakers, quality gates, and component isolation reduces MTTR by 71%. As compound systems grow in complexity, the failure surface grows faster than linearly. The patterns we catalog here provide a starting point, not a complete solution, for engineering reliability into these systems. We release the taxonomy as a structured JSON schema to enable community extension and integration with existing incident management workflows; the schema and fault injection scripts are available as a practitioner resource in supplementary materials. The failure taxonomy and resilience patterns we release serve as a practitioner resource for teams building trustworthy compound AI systems, where reliability at the component boundary is a precondition for safe deployment at scale. In high-stakes domains where compound AI systems make consequential decisions affecting healthcare access, financial services, and public-sector eligibility, this reliability work is foundational to responsible AI for Good.

Fowler, M. Circuit breaker. Online resource, 2014. URL https://martinfowler.com/ bliki/CircuitBreaker.html. Available at https://martinfowler.com/bliki/ CircuitBreaker.html. Lin, J. and Zhang, L. From failure modes to reliability awareness in generative and agentic AI system. arXiv preprint arXiv:2511.05511, 2025. Nygard, M. T. Release It! Design and Deploy ProductionReady Software. Pragmatic Bookshelf, 2nd edition, 2018. Popchanovska, E., Gjorgjevikj, A., Rizinski, M., Chitkushev, L., Vodenska, I., and Trajanov, D. When AI fails, what works? a data-driven taxonomy of real-world AI risk mitigation strategies. arXiv preprint arXiv:2603.04259, 2026. Rabanser, S., Kapoor, S., Kirgis, P., Liu, K., Utpala, S., and Narayanan, A. Towards a science of AI agent reliability. arXiv preprint arXiv:2602.16666, 2026. 5

Compound AI System Reliability: A Failure Taxonomy from 150 Production Incidents

Ranganathan, B., Zhang, M., and Wu, K. Enhancing reliability in AI inference services: An empirical study on real production incidents. arXiv preprint arXiv:2511.07424, 2025. Vinay, V. Failure modes in LLM systems: A system-level taxonomy for reliable AI applications. arXiv preprint arXiv:2511.19933, 2025. Xie, Y., Zhu, C., Zhang, X., Zhu, T., Ye, D., Qi, M., Chen, H., and Zhou, W. From spark to fire: Modeling and mitigating error cascades in LLM-based multi-agent collaboration. arXiv preprint arXiv:2603.04474, 2026. Yu, G., Tan, G., Huang, H., Zhang, Z., Chen, P., Natella, R., and Zheng, Z. A survey on failure analysis and fault injection in AI systems. ACM Transactions on Software Engineering and Methodology (TOSEM), 2024. arXiv preprint arXiv:2407.00125. Yu, G., Wang, Z., Huang, Y., Zhong, R., Zhong, Y., Wang, Y., and Lyu, M. R. Why does the LLM stop computing: An empirical study of user-reported failures in opensource LLMs. arXiv preprint arXiv:2601.13655, 2026. Zaharia, M., Khattab, O., Chen, L., Davis, J. Q., Miller, H., Potts, C., Zou, J., Carbin, M., Frankle, J., Rao, N., and Ghodsi, A. The shift from models to compound AI systems. Berkeley Artificial Intelligence Research Blog, 2024. URL https://bair.berkeley.edu/ blog/2024/02/18/compound-ai-systems/. Zhu, X., Wu, J., Zhang, X., Li, T., Mu, Y., Zhai, J., Shen, C., Fang, C., and Liu, Y. An empirical study of bugs in modern LLM agent frameworks. arXiv preprint arXiv:2602.21806, 2026.

6

Related documents

Record · ID 1181617 · SHA-256 9c3dea1d669088d7
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive