Neural Representations Reveal Distinct Modes of Class Fitting in Residual Convolutional Networks

Michał Jamroż, Marcin Kurdziel
12/1/2022
cs.LGcs.CV

Official code: mjamroz90/dnn-class-fitting (1 star, Python, last commit 2023-02-15).

Abstract

We leverage probabilistic models of neural representations to investigate how residual networks fit classes. To this end, we estimate class-conditional density models for representations learned by deep ResNets.

Show full abstract

We then use these models to characterize distributions of representations across learned classes. Surprisingly, we find that classes in the investigated models are not fitted in an uniform way. On the contrary: we uncover two groups of classes that are fitted with markedly different distributions of representations. These distinct modes of class-fitting are evident only in the deeper layers of the investigated models, indicating that they are not related to low-level image features. We show that the uncovered structure in neural representations correlate with memorization of training examples and adversarial robustness. Finally, we compare class-conditional distributions of neural representations between memorized and typical examples. This allows us to uncover where in the network structure class labels arise for memorized and standard inputs.

View on arXivView PDF

Code Implementations(1)

10PythonNov 25, 20223 years ago

Similar Papers

Cite this paper

@article{jamro2022neural,
  title  = {Neural Representations Reveal Distinct Modes of Class Fitting in Residual Convolutional Networks},
  author = {Michał Jamroż and Marcin Kurdziel},
  year   = {2022},
  eprint = {2212.00771},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00771}
}

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/2212.00771.svg)](https://codeofpaper.com/paper/2212.00771)

Discussion