Counterfactual explanations answer the critical question: "What minimal changes to the input would have resulted in a different, more favorable outcome?" For a loan denial, this could be, "If your income were $5,000 higher, your application would have been approved." This method is mandated for high-risk AI under regulations like the EU AI Act because it provides actionable, intuitive reasoning. Unlike feature attribution methods (e.g., SHAP), counterfactuals generate new, plausible data instances, making them ideal for user-facing explanations in credit, hiring, or medical diagnosis systems.




