Investigating how ReLU-networks encode symmetries

Georg Bökman, Fredrik Kahl
5/26/2023
cs.LG

No official code found. Best implementation: georg-bn/layerwise-equivariance (5 stars, last commit 2023-10-27).

Abstract

Many data symmetries can be described in terms of group equivariance and the most common way of encoding group equivariances in neural networks is by building linear layers that are group equivariant. In this work we investigate whether equivariance of a network implies that all layers are equivariant. On the theoretical side we find cases where equivariance implies layerwise equivariance, but also demonstrate that this is not the case generally. Nevertheless, we conjecture that CNNs that are trained to be equivariant will exhibit layerwise equivariance and explain how this conjecture is a weaker version of the recent permutation conjecture by Entezari et al. [2022]. We perform quantitative experiments with VGG-nets on CIFAR10 and qualitative experiments with ResNets on ImageNet to illustrate and support our theoretical findings. These experiments are not only of interest for understanding how group equivariance is encoded in ReLU-networks, but they also give a new perspective on Entezari et al.'s permutation conjecture as we find that it is typically easier to merge a network with a group-transformed version of itself than merging two different networks.

View on arXivView PDF

Code Implementations(1)

Repo for the paper "Investigating how ReLU-networks encode symmetries (NeurIPS 2023)"

50Jupyter NotebookOct 27, 20232 years ago

Similar Papers

Cite this paper

@article{bkman2023investigating,
  title  = {Investigating how ReLU-networks encode symmetries},
  author = {Georg Bökman and Fredrik Kahl},
  year   = {2023},
  eprint = {2305.17017},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17017v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion