A contrastive explanation is a structured answer to a 'why P rather than Q?' question, which identifies the causal factors that made an observed event P occur instead of a plausible, expected alternative event Q. It shifts explanatory focus from a general cause to the specific, differentiating cause that resolves the contrast. This framework is central to abductive reasoning and diagnostic reasoning, providing actionable insights into system failures or anomalous outcomes by explicitly modeling counterfactual scenarios.
