Reproduce “CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithms” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Martin Pawelczyk, Sascha Bielawski, Johannes van den Heuvel, Tobias Richter, Gjergji Kasneci
CARLA (Counterfactual And Recourse LibrAry) is an open-source Python library designed to standardize the benchmarking of 11 counterfactual explanation and algorithmic recourse methods. It integrates diverse ML frameworks, datasets, and a comprehensive suite of evaluation measures, revealing performance trade-offs and informing the selection of appropriate recourse strategies for various applications.
Key insights
- No single counterfactual explanation method universally outperforms others, as inherent trade-offs exist across desiderata like sparsity, magnitude of change, realism, and computational speed.
- Generative (dependence-based) models generally yield higher data support (more realistic counterfactuals) by capturing feature dependencies, but may involve changes to a greater number of features.
- The performance of counterfactual methods is sensitive to both the underlying black-box machine learning model and the specific dataset used, emphasizing the need for comprehensive evaluation across diverse scenarios.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.