Reproduce “Training on Plausible Counterfactuals Removes Spurious Correlations” 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

Shpresim Sadiku, Kartikeya Chitranshi, Hiroshi Kera, Sebastian Pokutta

This study demonstrates that classifiers trained on plausible counterfactual explanations (p-CFEs), generated with induced incorrect labels, can effectively learn to classify original, unperturbed inputs. The approach significantly improves robustness against spurious correlations, achieving a Worst-Group Accuracy of 76.05% on WaterBirds, an approximately 12 percentage point increase over standard training, by guiding models to focus on semantically relevant features.

Key insights

  • The 'learning from perturbations' phenomenon generalizes from adversarial examples to p-CFEs, indicating that even semantically coherent perturbations contain sufficient generalizable information for model training.
  • The explicit enforcement of plausibility in p-CFEs, by pushing perturbed examples towards the target class's data manifold, guides models to learn more intrinsic and semantically meaningful features.
  • Training on p-CFEs effectively mitigates spurious correlations by discouraging models from relying on irrelevant statistical associations, leading to improved robustness on challenging subgroups.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.