SETA: Statistical Fault Attribution for Compound AI Systems
Sayak Chowdhury, Meenakshi D'Souza
TL;DR
SETA addresses the difficulty of diagnosing failures in compound AI systems by combining per-component metamorphic relations with state-based execution trace analysis. It builds a system-wide score $S(x,\tilde{x})=\prod_i S_i(x,\tilde{x})$ and module-level failure contributions $FC_i$, producing normalized attributions $\alpha_i$ to identify root-cause modules under perturbations. The framework is architecture- and modality-agnostic, demonstrated on a railway vision pipeline, an ensemble CNN, and OCR, showing how perturbations propagate and which modules contribute most to failures. This approach provides a practical, explainable pathway for robust, safer multi-model AI deployments and lays groundwork for causal fault localization in complex AI systems.
Abstract
Modern AI systems increasingly comprise multiple interconnected neural networks to tackle complex inference tasks. Testing such systems for robustness and safety entails significant challenges. Current state-of-the-art robustness testing techniques, whether black-box or white-box, have been proposed and implemented for single-network models and do not scale well to multi-network pipelines. We propose a modular robustness testing framework that applies a given set of perturbations to test data. Our testing framework supports (1) a component-wise system analysis to isolate errors and (2) reasoning about error propagation across the neural network modules. The testing framework is architecture and modality agnostic and can be applied across domains. We apply the framework to a real-world autonomous rail inspection system composed of multiple deep networks and successfully demonstrate how our approach enables fine-grained robustness analysis beyond conventional end-to-end metrics.
