Singular Value Representation: A New Graph Perspective On Neural Networks

Dan Meller, Nicolas Berkouk
2/16/2023
cs.LGcs.AI

No official code found. Best implementation: danmlr/svr (7 stars, MIT, last commit 2023-02-19).

Abstract

We introduce the Singular Value Representation (SVR), a new method to represent the internal state of neural networks using SVD factorization of the weights. This construction yields a new weighted graph connecting what we call spectral neurons, that correspond to specific activation patterns of classical neurons. We derive a precise statistical framework to discriminate meaningful connections between spectral neurons for fully connected and convolutional layers. To demonstrate the usefulness of our approach for machine learning research, we highlight two discoveries we made using the SVR. First, we highlight the emergence of a dominant connection in VGG networks that spans multiple deep layers. Second, we witness, without relying on any input data, that batch normalization can induce significant connections between near-kernels of deep layers, leading to a remarkable spontaneous sparsification phenomenon.

View on arXivView PDF

Code Implementations(1)

danmlr/svrCommunity100%
MIT

PyTorch implementation of Singular Value Representation (D. Meller, N. Berkouk 2023)

70Python, Jupyter NotebookJul 25, 20223 years agoMIT

Similar Papers

Cite this paper

@article{meller2023singular,
  title  = {Singular Value Representation: A New Graph Perspective On Neural Networks},
  author = {Dan Meller and Nicolas Berkouk},
  year   = {2023},
  eprint = {2302.08183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.08183v1}
}

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

Discussion