Restyling Unsupervised Concept Based Interpretable Networks with Generative Models

Jayneel Parekh, Quentin Bouniot, Pavlo Mozharovskyi, Alasdair Newson, Florence d'Alché-Buc

TL;DR

VisCoIN (Visualizable Concept-based Interpretable Network) bridges the gap between unsupervised concept learning and high-quality visualization. By mapping abstract, machine-learned concepts to the latent space of pretrained generative models like StyleGAN2, it allows researchers to "see" what a model is thinking through high-fidelity image reconstructions and interactive concept manipulation.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously "black boxes." While they achieve incredible accuracy, understanding why they made a specific prediction is difficult. Concept-based Interpretable Networks (CoINs) attempt to solve this by making predictions based on high-level "concepts" (e.g., "red eyes" or "pointed beak") rather than raw pixels.

However, unsupervised CoINs—which learn these concepts automatically without human labels—face a major hurdle: visualization. Previous methods often produced blurry, repetitive, or "unnatural" visualizations that were hard for humans to interpret, especially on complex, large-scale images. If you can't clearly see what a concept represents, the model isn't truly interpretable. The authors identify a missing requirement in the field: viewability.

Comparison of FLINT and VisCoIN visualizations

Methods

The authors introduce VisCoIN, an architecture designed to make unsupervised concepts both predictive and visually clear.

VisCoIN Architecture Diagram
  1. The Architecture:
    • Backbone ($f$): A pretrained classifier (like ResNet50) extracts features from an image.
  2. Concept Extractor ($\Phi$): Learns a dictionary of $K$ unsupervised concepts.
  3. Concept Translator ($\Omega$): This is the core innovation. It maps the abstract concept activations into the latent space (specifically the $W+$ space) of a pretrained generative model.
  4. Generative Decoder ($G$): Instead of a standard pixel-wise decoder, VisCoIN uses a high-quality pretrained GAN (like StyleGAN2-ADA). This "prior" ensures that any visualization looks like a real image.
  5. Training with "Viewability": The model is trained using a multi-part loss function that balances:

  6. Predictive Accuracy: Ensuring the concepts actually help classify the image.

  7. Reconstruction Fidelity: Using perceptual losses (LPIPS) to ensure the generated image looks like the input.
  8. Sparsity: Encouraging the model to use only a few important concepts at a time.
  9. Interactive Interpretation: Because the concepts are mapped to a generative latent space, users can "intervene." By manually increasing the activation of a specific concept (e.g., "Red-eye"), the user can watch the generated image transform, revealing exactly what that concept encodes.

Datasets

The researchers evaluated VisCoIN on three challenging large-scale image benchmarks:

  • CelebA-HQ: Binary age classification (Young vs. Old).
  • CUB-200: Fine-grained bird species classification (200 classes).
  • Stanford Cars: Fine-grained car model classification (196 classes).
  • FashionMNIST: Used in the appendix to demonstrate the method's flexibility with simpler architectures like $\beta$-VAE.

Key Insights and Ideas

  • Generative Models as Interpreters: The paper argues that we shouldn't build decoders from scratch. Pretrained GANs already "know" what a face or a bird looks like; we should leverage that knowledge to translate abstract features into human-understandable visuals.
  • The Viewability Property: For a concept to be useful for human-AI collaboration, it must be reconstructible into a high-quality image. This property should be a first-class citizen in model design.
  • Consistency over Saliency: Traditional saliency maps show where a model looks, but not what it sees. VisCoIN shows the what by providing a consistent visual signal across different images for the same concept.
  • Efficiency: By using fixed, pretrained backbones and generators, the training process is significantly more efficient than training a generative interpretability model from the ground up.

Key Results

VisCoIN outperforms existing unsupervised baselines (like FLINT and FLAEM) across almost every metric:

  • Accuracy: On CUB-200, VisCoIN achieved 79.44% accuracy, nearly matching the "black-box" ResNet50 (80.56%) and beating FLINT (77.2%).
  • Visual Quality: The Fréchet Inception Distance (FID)—a measure of image quality—improved dramatically. On Stanford Cars, VisCoIN hit an FID of 6.77, compared to FLINT's 64.16.
  • Faithfulness: The authors used a "feature removal" test to show that the concepts VisCoIN identifies as important are truly the ones driving the classification.
  • Consistency: VisCoIN's concepts were found to be more visually consistent across different samples (e.g., the "Red-eye" concept consistently modified eyes across different bird species).

Limitations and Future Work

  • Concept Entanglement: Occasionally, a single concept might capture two distinct features (e.g., "eye-squint" and "beard" appearing together in a single concept).
  • Generator Limits: The visualization is only as good as the pretrained GAN. If the GAN can't generate a specific rare feature, the model can't visualize a concept for it.
  • Linear Trajectories: The current mapping assumes linear paths in the latent space, which might not be the most optimal way to traverse complex generative manifolds.
  • Future Directions: The authors suggest extending this to supervised settings, multimodal models (image + text), and other data types beyond images.

Summary updated

BibTeX
@inproceedings{parekh2025restyling,
  author = {Jayneel Parekh and Quentin Bouniot and Pavlo Mozharovskyi and Alasdair Newson and Florence d'Alché-Buc},
  title = {{Restyling Unsupervised Concept Based Interpretable Networks with Generative Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=CexatBp6rx},
}
Figure