cs.ROOct 21, 2026

Sufficient and Necessary Causal Explanations for the Analysis of Autonomous Systems

Authors: Tom Yaacov, Khen Elimelech, Hana Chockler, Moshe Y. Vardi

Organizations: King’s College London · Rice University

Abstract

Understanding failures of autonomous systems is challenging, particularly when their behavior depends on black-box components such as neural networks. In this work, we make a distinction between two objectives of failure analysis: reproduction, which seeks to identify conditions sufficient to reproduce an observed failure, and avoidance, which seeks to identify the changes required to prevent it. Previous work on causal explanations of system failures is based on the concept of sufficient explanations and naturally supports reproduction. Nevertheless, we observe that it does not address the problem of avoiding the failure. In this paper, we introduce and formalize the concept of necessary explanations for system analysis as the correct formalism for failure avoidance. We place necessary explanations in the framework of actual causality and show that, together with sufficient explanations, they provide a unified causal framework for addressing both objectives of failure analysis. We present an efficient approximation algorithm for generating necessary explanations based on the notion of causal responsibility. We evaluate the efficiency of our approach across multiple environments. We demonstrate the practical utility of necessary explanations for failure avoidance through counterfactual generation and show that it outperforms existing methods.

Figures & tables

Appendix figures & tables23 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Explaining Failures of Cyber-Physical Systems with Actual Causality

    Jun 23, 2026Khen Elimelech, Tom Yaacov, David A. Kelly +2Agent Failure AnalysisCyber-Physical Systems

  2. Causal Analysis of Failures of Cyber-Physical Systems with Continuous Inputs

    Oct 22, 2026Tom Yaacov, David A. Kelly, Khen Elimelech +1Causal ExplanationActual Causality

  3. Coverage Aware Active Evaluation for Failure Discovery with Paired Systems

    Aug 13, 2026Anjali Parashar, Rachel Luo, Apoorva Sharma +6Robot Failure DetectionAdaptive Sampling