On the Symmetries of Deep Learning Models and their Internal Representations

Charles Godfrey, Davis Brown, Tegan Emerson, Henry Kvinge
5/27/2022
81 citations
cs.LGcs.AI

Official code: pnnl/modelsym (7 stars, Jupyter Notebook, last commit 2022-11-08). 1 more implementation below.

Abstract

Symmetry is a fundamental tool in the exploration of a broad range of complex systems. In machine learning symmetry has been explored in both models and data.

Show full abstract

In this paper we seek to connect the symmetries arising from the architecture of a family of models with the symmetries of that family's internal representation of data. We do this by calculating a set of fundamental symmetry groups, which we call the intertwiner groups of the model. We connect intertwiner groups to a model's internal representations of data through a range of experiments that probe similarities between hidden states across models with the same architecture. Our work suggests that the symmetries of a network are propagated into the symmetries in that network's representation of data, providing us with a better understanding of how architecture affects the learning and prediction process. Finally, we speculate that for ReLU networks, the intertwiner groups may provide a justification for the common practice of concentrating model interpretability exploration on the activation basis in hidden layers rather than arbitrary linear combinations thereof.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
pnnl/modelsymOfficial7Jupyter Notebook–2022-11-08
davisrbr/modelsymsOfficial0––2022-11-09
pnnl/modelsymOfficial100%

Code to run the experiments of the Neurips 2022 paper On the Symmetries of Deep Learning Models and their Internal Representations.

74Jupyter Notebook, PythonNov 4, 20224 years agoNOASSERTION
deep-learningmachine-learningneural-networksneurips-2022permutations+3 more
davisrbr/modelsymsOfficial100%

Code for the paper On the Symmetries of Deep Learning Models and their Internal Representations

00Oct 6, 20224 years ago

Similar Papers

Cite this paper

@article{godfrey2022symmetries,
  title  = {On the Symmetries of Deep Learning Models and their Internal Representations},
  author = {Charles Godfrey and Davis Brown and Tegan Emerson and Henry Kvinge},
  year   = {2022},
  eprint = {2205.14258},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14258}
}

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

Discussion