RealAC: A Domain-Agnostic Framework for Realistic and Actionable Counterfactual Explanations

Asiful Arefeen, Shovito Barua Soumma, Hassan Ghasemzadeh
8/14/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Counterfactual explanations provide human-understandable reasoning for AI-made decisions by describing minimal changes to input features that would alter a model's prediction. To be truly useful in practice, such explanations must be realistic and feasible -- they should respect both the underlying data distribution and user-defined feasibility constraints. Existing approaches often enforce inter-feature dependencies through rigid, hand-crafted constraints or domain-specific knowledge, which limits their generalizability and ability to capture complex, nonlinear relations inherent in data. Moreover, they rarely accommodate user-specified preferences and suggest explanations that are causally implausible or infeasible to act upon. We introduce RealAC, a domain-agnostic framework for generating realistic and actionable counterfactuals. RealAC automatically preserves complex inter-feature dependencies without relying on explicit domain knowledge -- by aligning the joint distributions of feature pairs between factual and counterfactual instances. The framework also allows end-users to ``freeze'' attributes they cannot or do not wish to change by suppressing change in frozen features during optimization. Evaluations on three synthetic and two real datasets demonstrate that RealAC balances realism with actionability. Our method outperforms state-of-the-art baselines and Large Language Model-based counterfactual generation techniques in causal edge score, dependency preservation score, and IM1 realism metric and offers a solution for causality-aware and user-centric counterfactual generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{arefeen2025realac,
  title  = {RealAC: A Domain-Agnostic Framework for Realistic and Actionable Counterfactual Explanations},
  author = {Asiful Arefeen and Shovito Barua Soumma and Hassan Ghasemzadeh},
  year   = {2025},
  eprint = {2508.10455},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.10455v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.10455.svg)](https://codeofpaper.com/paper/2508.10455)

Discussion