TLDR: This research introduces new approximate algorithms for identifying ‘actual causes’ in AI systems, addressing the challenge of explaining specific outcomes in non-Boolean, black-box, and stochastic environments. The algorithms offer adjustable precision and exhaustiveness, providing practical solutions where traditional methods fall short, and aim to make AI explanations more user-friendly.
In the rapidly evolving world of artificial intelligence, understanding ‘why’ a system made a particular decision is becoming as crucial as knowing ‘what’ it did. This quest for understanding is at the heart of Explainable AI (XAI), a field dedicated to making AI models more transparent and interpretable. While traditional XAI often focuses on general causal relationships – for example, ‘smoking causes cancer’ – users, especially non-experts, are often more interested in ‘actual causes’ – ‘her cancer was caused by her smoking’. This distinction, though subtle, is vital for practical and user-friendly explanations.
Identifying these ‘actual causes’ is a complex challenge. It’s known in computer science as an NP-complete problem, meaning it becomes incredibly difficult to solve precisely as the system grows larger. Existing solutions are often limited to specific types of systems, like simple Boolean models where all variables are either true or false, and require full knowledge of the system’s internal workings.
A New Approach to Finding Actual Causes
A recent research paper, titled “Searching for actual causes: Approximate algorithms with adjustable precision,” by Samuel Reyd, Ada Diaconescu, and Jean-Louis Dessalles from Telecom Paris, introduces a groundbreaking set of algorithms designed to overcome these limitations. Their work offers a practical way to identify actual causes with polynomial complexity, meaning the time it takes to find causes increases predictably with the system’s size, rather than exponentially.
The core of their innovation lies in three main algorithms:
- Algorithm 1 (Base Algorithm): This is a search algorithm, inspired by ‘beam search’, that efficiently explores possible interventions to find what truly caused an outcome. Crucially, it doesn’t make assumptions about the system’s nature, allowing it to work with non-Boolean (variables can have more than two states), black-box (internal workings are unknown), and stochastic (involving randomness) systems. It relies on an ‘oracle function’ that simply tells the algorithm if a consequence would still happen under a hypothetical scenario.
- Algorithm 2 (Iterative Sub-instance Identification – ISI): When the underlying structure of a system (like a causal graph) is known, this algorithm leverages that information to improve performance. It iteratively applies the base algorithm to smaller, more focused parts of the system, leading to more accurate and faster results.
- Algorithm 3 (Lower Upper Bound Confidence Bounds – LUCB): For systems that behave stochastically (with an element of chance), this algorithm helps to reliably estimate the probability of an outcome under different interventions. It uses statistical confidence bounds to ensure that the identified causes are accurate even when outcomes are not perfectly predictable.
Also Read:
- Unraveling Causal Effects: A New Framework for Identifiability in Simplified Models
- Unveiling Prediction Confidence in Tsetlin Machines: A New Probability Score for Explainable AI
Key Advantages and Trade-offs
The researchers conducted extensive experiments using a simulated ‘Steal Master Key’ scenario, adapting it to demonstrate their algorithms’ capabilities across Boolean, non-Boolean, black-box, and stochastic environments. Their findings highlight several key advantages:
- Versatility: Unlike previous methods, these algorithms can identify causes in a much wider range of real-world systems.
- Adjustable Precision: Users can adjust a ‘beam size’ parameter to control the trade-off between the accuracy and completeness of the identified causes and the computation time. More computation time generally leads to higher precision and exhaustiveness.
- Improved Scalability: The polynomial complexity makes the approach more scalable for larger systems compared to exhaustive search methods.
While the algorithms represent a significant step forward, the authors acknowledge practical limitations, such as the difficulty of obtaining the ‘oracle function’ in real-world scenarios and the current lack of support for continuous variables. However, their work paves the way for more user-centric explanations in AI, shifting the focus from general interpretability to specific, actionable insights into why events occurred.
This research is a vital contribution to making AI systems more understandable and trustworthy for everyone, not just experts. For more technical details, you can read the full paper here.


