Stockertim Dictionary · Technology · Human resources
Counterfactual explanation
Also called counterfactual, what-if explanation
In short
An explanation of an automated outcome that states what would have needed to be different for the result to change.
- Advanced
- Concept
- Checked
In detail
A counterfactual explanation answers the question people most often ask about a decision: what would have made the difference? Instead of describing the whole model, it identifies a small, realistic change to the inputs that would have flipped the outcome, for example 'with two more years of supervisory experience, the application would have been shortlisted'.
Counterfactuals are attractive because they are concrete and actionable, and they can be produced without revealing a vendor's full model. They suit the explanation duties that apply in many systems, such as the safeguards around automated decisions in data protection law and, for high-risk AI decisions in the EU, the right of affected persons to clear and meaningful explanations of the role the system played.
They have limits. A model may have many possible counterfactuals, and the one chosen shapes the story. A counterfactual that points to something a person cannot change, or to a proxy for a protected characteristic, reveals a problem with the model rather than offering advice. Explanations need to be truthful about the system, as NIST's principles of explainable AI stress, not just convenient.
In practice
Some assessment and screening tools generate counterfactual statements for rejected applicants or for HR reviewers, which teams check for accuracy and for whether the factors named are genuinely job-related.
Watch out
- If the counterfactual names a characteristic the person cannot or should not have to change, the model needs review.
- A counterfactual explains one decision, not the model's overall behaviour.
Learn it properly
Official sources
- Four Principles of Explainable Artificial Intelligence, NISTIR 8312 · National Institute of Standards and Technology
- Explaining decisions made with AI · Information Commission (UK)
- AI Act, Article 86: Right to explanation of individual decision-making · European Commission (AI Act Service Desk)
Facts last checked on 3 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.