Counterfactual Reasoning in AI

What is Counterfactual Reasoning in AI?

Counterfactual reasoning in AI is a method where artificial intelligence analyzes “what-if” scenarios to predict how changing one variable could affect an outcome. By exploring alternative possibilities based on historical data, it helps AI make decisions, explain predictions, detect biases, and improve transparency, personalization, and safety in applications ranging from finance to self-driving cars.

The Basic Idea

Imagine rushing to your gate at the airport, only to arrive just a few minutes after it's closed. Frustrated that you’ve missed your flight, you may stand there for a moment thinking:

“If I’d woken up ten minutes earlier, would I still have missed my flight?”

“If I’d skipped breakfast, I bet I’d be on that plane right now.”

“Would I still have missed my flight if I had taken a taxi instead of public transit?”

“If security had been faster, I would have made it on time.”

Those thoughts are your brain conducting counterfactual reasoning: asking and answering “what if” questions. You are imagining alternative scenarios by changing just one detail of what actually happened, and reasoning if it would have led to a different outcome. You’re exploring the causal relationships between variables to judge how much they affected your gate arrival time. 
Thanks to recent advancements in machine learning and artificial intelligence (AI), computers are now also able to conduct counterfactual reasoning for some scenarios. Counterfactual reasoning in AI involves estimating the potential outcomes if different decisions or actions were taken. It can help brands try to find causal relationships, like understanding if their recent marketing campaign is responsible for increased sales. It can help healthcare workers determine the best treatment plans by predicting how a change in medication or action will affect the outcome, or explore rare or dangerous situations for self-driving cars to evaluate how the technology would perform in these circumstances. The ability of AI to apply counterfactual reasoning takes it another step closer to mimicking human intelligence.1

“Counterfactual explanations are essential in bridging the gap between AI decision-making and human understanding, offering clear insights into how small changes in inputs could lead to different outcomes. This approach increases transparency, builds trust, and supports ethical AI practices."


— Bobby Zarkov, partner in financial services for KPMG Switzerland.2

About the Author

Emilie Rose Jones

Emilie Rose Jones

Emilie currently works in Marketing & Communications for a non-profit organization based in Toronto, Ontario. She completed her Masters of English Literature at UBC in 2021, where she focused on Indigenous and Canadian Literature. Emilie has a passion for writing and behavioural psychology and is always looking for opportunities to make knowledge more accessible. 

About us

We are the leading applied research & innovation consultancy

Our insights are leveraged by the most ambitious organizations

Image

I was blown away with their application and translation of behavioral science into practice. They took a very complex ecosystem and created a series of interventions using an innovative mix of the latest research and creative client co-creation. I was so impressed at the final product they created, which was hugely comprehensive despite the large scope of the client being of the world's most far-reaching and best known consumer brands. I'm excited to see what we can create together in the future.

Heather McKee

BEHAVIORAL SCIENTIST

GLOBAL COFFEEHOUSE CHAIN PROJECT

OUR CLIENT SUCCESS

$0M

Annual Revenue Increase

By launching a behavioral science practice at the core of the organization, we helped one of the largest insurers in North America realize $30M increase in annual revenue.

0%

Increase in Monthly Users

By redesigning North America's first national digital platform for mental health, we achieved a 52% lift in monthly users and an 83% improvement on clinical assessment.

0%

Reduction In Design Time

By designing a new process and getting buy-in from the C-Suite team, we helped one of the largest smartphone manufacturers in the world reduce software design time by 75%.

0%

Reduction in Client Drop-Off

By implementing targeted nudges based on proactive interventions, we reduced drop-off rates for 450,000 clients belonging to USA's oldest debt consolidation organizations by 46%

Read Next

Notes illustration

Eager to learn about how behavioral science can help your organization?