[Paper Review] On Quantitative Evaluations of Counterfactuals
This paper identifies critical flaws in existing quantitative metrics for evaluating visual counterfactual explanations, showing they often favor tiny, adversarial-like changes over realistic ones. To address this, the authors propose two new metrics—the Label Variation Score and the oracle score—that better capture realism and validity, advocating for combined metric use to ensure robust evaluation of counterfactual quality.
As counterfactual examples become increasingly popular for explaining decisions of deep learning models, it is essential to understand what properties quantitative evaluation metrics do capture and equally important what they do not capture. Currently, such understanding is lacking, potentially slowing down scientific progress. In this paper, we consolidate the work on evaluating visual counterfactual examples through an analysis and experiments. We find that while most metrics behave as intended for sufficiently simple datasets, some fail to tell the difference between good and bad counterfactuals when the complexity increases. We observe experimentally that metrics give good scores to tiny adversarial-like changes, wrongly identifying such changes as superior counterfactual examples. To mitigate this issue, we propose two new metrics, the Label Variation Score and the Oracle score, which are both less vulnerable to such tiny changes. We conclude that a proper quantitative evaluation of visual counterfactual examples should combine metrics to ensure that all aspects of good counterfactuals are quantified.
Motivation & Objective
- To analyze and evaluate existing quantitative metrics for visual counterfactuals to understand what properties they actually capture.
- To identify shortcomings in current metrics, especially their tendency to favor minimal but unrealistic adversarial-like changes over meaningful, realistic counterfactuals.
- To propose new metrics that are less vulnerable to tiny, adversarial-like perturbations and better reflect human-intuitive counterfactual quality.
- To advocate for a multi-metric evaluation framework combining realism and validity to ensure comprehensive and trustworthy assessment of counterfactual generation methods.
Proposed method
- Propose the Label Variation Score (LVS), which measures how much a counterfactual changes the model's predictions across multiple labels, using a surrogate predictive model to assess generalization and avoid overfitting to specific inputs.
- Introduce the oracle score, which evaluates counterfactual validity by measuring how well a counterfactual changes the predicted class compared to a ground-truth reference, reducing sensitivity to small perturbations.
- Use Fréchet Inception Distance (FID) to quantify the realism of generated counterfactuals, comparing them to real data distributions.
- Combine FID, LVS, and oracle score with existing metrics like Euclidean distance (EN) and Inception Metrics (IM1, IM2) in a multi-metric evaluation framework.
- Evaluate on three datasets of increasing complexity: FakeMNIST, MNIST, and CelebA-HQ, using three representative counterfactual generation methods (GB, GL, GEN).
- Perform ablation studies and confidence interval analysis to validate metric robustness and reliability across different counterfactual types.
Experimental results
Research questions
- RQ1Do existing quantitative metrics reliably distinguish between realistic and adversarial-like counterfactuals, especially on complex datasets?
- RQ2To what extent are current metrics vulnerable to tiny, imperceptible changes that mimic adversarial attacks but lack interpretability?
- RQ3Can new metrics be designed to better capture the realism and general validity of counterfactual examples, independent of small perturbations?
- RQ4What combination of metrics provides the most trustworthy and comprehensive evaluation of visual counterfactual quality?
Key findings
- On complex datasets like CelebA-HQ, existing metrics such as EN and IM1/IM2 fail to differentiate between realistic counterfactuals and tiny adversarial-like changes, often favoring the latter.
- The Label Variation Score successfully identifies that the GEN method produces more meaningful, generalizable changes across related labels (e.g., makeup, attractiveness, lipstick), while GL shows low LVS, indicating model-specific, adversarial-like behavior.
- The oracle score correctly identifies the generative-based method (GEN) as most effective in changing the predicted class, outperforming GB and GL, and aligns with qualitative assessments.
- FID256 combined with LVS provides a reliable evaluation of realism and validity, while EN distance remains useful only when comparing methods with similar FID and LVS scores.
- Tiny adversarial-like changes consistently receive high scores from traditional metrics like EN and IM1/IM2, demonstrating their vulnerability to such perturbations.
- The proposed LVS and oracle score are less sensitive to small, unrealistic changes and better reflect human-intuitive notions of counterfactual quality, especially on complex data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.