Reproduce “Explaining in Style: Training a GAN to explain a classifier in StyleSpace” 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
Oran Lang, Yossi Gandelsman, Michal Yarom, Yoav Wald, Gal Elidan, Avinatan Hassidim, William T. Freeman, Phillip Isola and 3 more
A new framework, StylEx, trains a StyleGAN to generate multi-attribute counterfactual explanations for image classifiers by explicitly incorporating the target classifier into the GAN's training. This approach automatically discovers and visualizes semantically meaningful visual attributes that influence classifier decisions, achieving high human interpretability and enabling effective manipulation of classifier outputs across diverse image domains.
Key insights
- Explicitly integrating a target classifier's output and decision-making into a StyleGAN's training objective can effectively guide the GAN's StyleSpace to learn attributes that are directly relevant to that classifier.
- Combining reconstruction losses with a classifier-specific consistency loss compels the generative model to preserve fine-grained visual details crucial for classification, preventing mode collapse or the neglect of important features.
- An iterative, data-driven attribute discovery method can automatically extract a small set of concise and human-interpretable visual attributes from the classifier-aware StyleSpace that significantly impact predictions.
- Generating counterfactual explanations by manipulating these disentangled, classifier-specific attributes provides granular and intuitive insights into 'what if' scenarios, offering a deeper understanding of classifier decisions than traditional saliency methods.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.