Classifying the classifier: dissecting the weight space of neural networks

Gabriel Eilertsen, Daniel Jönsson, Timo Ropinski, Jonas Unger, Anders Ynnerman
2/13/2020
cs.CVcs.LG

Official code: gabrieleilertsen/nws (18 stars, Python, BSD-3-Clause, last commit 2021-04-16).

Abstract

This paper presents an empirical study on the weights of neural networks, where we interpret each model as a point in a high-dimensional space -- the neural weight space. To explore the complex structure of this space, we sample from a diverse selection of training variations (dataset, optimization procedure, architecture, etc.) of neural network classifiers, and train a large number of models to represent the weight space.

Show full abstract

Then, we use a machine learning approach for analyzing and extracting information from this space. Most centrally, we train a number of novel deep meta-classifiers with the objective of classifying different properties of the training setup by identifying their footprints in the weight space. Thus, the meta-classifiers probe for patterns induced by hyper-parameters, so that we can quantify how much, where, and when these are encoded through the optimization process. This provides a novel and complementary view for explainable AI, and we show how meta-classifiers can reveal a great deal of information about the training setup and optimization, by only considering a small subset of randomly selected consecutive weights. To promote further research on the weight space, we release the neural weight space (NWS) dataset -- a collection of 320K weight snapshots from 16K individually trained deep neural networks.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Dissecting the weight space of neural networks

182PythonJan 29, 20205 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{eilertsen2020classifying,
  title  = {Classifying the classifier: dissecting the weight space of neural networks},
  author = {Gabriel Eilertsen and Daniel Jönsson and Timo Ropinski and Jonas Unger and Anders Ynnerman},
  year   = {2020},
  eprint = {2002.05688},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.05688}
}

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

Discussion