Linking in Style: Understanding learned features in deep learning models

Maren H. Wehrheim, Pamela Osuna-Vargas, Matthias Kaschube
2/14/2026

No official code found. Best implementation: kaschube-lab/LinkingInStyle (3 stars, MIT, last commit 2024-11-11).

Abstract

Convolutional neural networks (CNNs) learn abstract features to perform object classification, but understanding these features remains challenging due to difficult-to-interpret results or high computational costs. We propose an automatic method to visualize and systematically analyze learned features in CNNs. Specifically, we introduce a linking network that maps the penultimate layer of a pre-trained classifier to the latent space of a generative model (StyleGAN-XL), thereby enabling an interpretable, human-friendly visualization of the classifier's representations. Our findings indicate a congruent semantic order in both spaces, enabling a direct linear mapping between them. Training the linking network is computationally inexpensive and decoupled from training both the GAN and the classifier. We introduce an automatic pipeline that utilizes such GAN-based visualizations to quantify learned representations by analyzing activation changes in the classifier in the image domain. This quantification allows us to systematically study the learned representations in several thousand units simultaneously and to extract and visualize units selective for specific semantic concepts. Further, we illustrate how our method can be used to quantify and interpret the classifier's decision boundary using counterfactual examples. Overall, our method offers systematic and objective perspectives on learned abstract representations in CNNs. https://github.com/kaschube-lab/LinkingInStyle.git

View on arXivView PDF

Code Implementations(1)

MIT

Code accompanying the paper "Linking in Style: Understanding learned features in deep learning models", accepted at ECCV 2024.

30C++, CudaJul 8, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wehrheim2026linking,
  title  = {Linking in Style: Understanding learned features in deep learning models},
  author = {Maren H. Wehrheim and Pamela Osuna-Vargas and Matthias Kaschube},
  year   = {2026},
  eprint = {2409.16865},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.16865},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.16865.svg)](https://codeofpaper.com/paper/2409.16865)

Discussion