TLDR: RealAC is a new AI framework that generates ‘what-if’ explanations (counterfactuals) for AI decisions. It ensures these explanations are both realistic, by preserving complex relationships within data, and actionable, by allowing users to specify features they cannot or do not wish to change. This makes AI explanations more trustworthy and practical for real-world use.
In the world of Artificial Intelligence, understanding why a model makes a certain decision is as crucial as the decision itself. This is where ‘counterfactual explanations’ (CFs) come into play. Imagine an AI model predicts you’re at high risk for an anxiety episode. A counterfactual explanation might tell you: “Your risk would have been lower if your screen time in the past two hours had been under 30 minutes.” These ‘what-if’ scenarios are incredibly powerful because they not only make AI more transparent but also offer clear, actionable advice for improving future outcomes.
While traditional methods like SHAP or LIME explain which features contributed to a prediction, counterfactuals go a step further. They suggest specific, plausible changes that could have altered the outcome, positioning them higher on the scale of causal understanding. However, for these explanations to be truly useful, they must be two things: realistic and actionable.
The Dual Challenge: Realism and Actionability
Realism means that the suggested changes must make sense within the real world and the underlying data. For instance, if an AI suggests you take more steps but without increasing your distance walked, that’s unrealistic. Many existing methods struggle to capture complex, non-linear relationships between data features, often relying on rigid, hand-crafted rules or specific domain knowledge. This limits their applicability across different fields.
Actionability, on the other hand, means the suggested changes must be feasible for the user. What if you can’t change a certain feature, like your age or a medical condition? Current approaches often fail to account for these user-defined constraints, leading to recommendations that are impossible or undesirable to act upon, eroding trust in the AI system.
Introducing RealAC: A New Framework for Better Explanations
To tackle these challenges, researchers from Arizona State University have introduced RealAC, a novel framework designed to generate counterfactual explanations that are both realistic and actionable. What makes RealAC stand out is its ‘domain-agnostic’ nature, meaning it doesn’t need explicit, pre-defined knowledge about a specific field to work effectively.
How RealAC Achieves Realism and Actionability
RealAC automatically preserves the intricate relationships between different features in the data. Instead of relying on rigid rules, it aligns the statistical dependencies of feature pairs between the original data and the generated counterfactuals. This ensures that if, for example, ‘screen time’ and ‘mood’ have a specific non-linear relationship in the original data, that relationship is maintained in the counterfactual explanation.
For actionability, RealAC offers a unique ‘binary masking mechanism.’ This allows end-users to ‘freeze’ attributes they cannot or do not wish to change. Whether a feature is inherently unchangeable (like ethnicity) or simply undesirable to alter (like marital status), RealAC suppresses any changes to these features during the explanation generation process. This means the suggestions provided are always practical and respectful of user limitations.
Beyond these core innovations, RealAC also ensures that the generated counterfactual actually flips the AI model’s prediction to the desired outcome and that the changes suggested are as minimal as possible.
Putting RealAC to the Test
The researchers evaluated RealAC on various datasets, including synthetic ones with complex relationships and real-world datasets like Diabetes and Adult income. They compared RealAC against several state-of-the-art methods for generating counterfactuals. The results showed that RealAC consistently performed better in metrics that measure realism, such as ‘causal edge score’ and a new metric introduced by the framework itself, the ‘Dependency Preservation Score’ (DPS). It also maintained competitive performance in ensuring the prediction flip and minimizing changes.
Notably, RealAC’s advantages were more pronounced on datasets with complex, non-linear feature relationships, where other methods often struggled to maintain data integrity. Furthermore, RealAC proved to be efficient, generating counterfactuals at a speed comparable to or faster than many existing methods.
Also Read:
- Designing Understandable AI: A Human-Centered Approach to Explanations
- Unpacking AI Explanations: A New Approach to Understanding Uncertainty in Healthcare Models
Looking Ahead
While RealAC marks a significant step forward, the researchers acknowledge some limitations. It doesn’t explicitly optimize for the absolute fewest changes, and it currently requires the AI model to be a differentiable neural network, limiting its use with other types of models like decision trees. It also might struggle with very specific, hard-coded domain constraints without explicit prior knowledge.
Nevertheless, RealAC represents a promising advancement towards making AI explanations more practical and trustworthy for real-world decision-making. The full research paper can be found here.


