Injectivity of ReLU networks: perspectives from statistical physics

Antoine Maillard, Afonso S. Bandeira, David Belius, Ivan Dokmanić, Shuta Nakajima
2/27/2023
14 citations
cond-mat.dis-nncs.LGmath.PR

Official code: AnMaillard/Injectivity_ReLu_layer (1 star, Jupyter Notebook, last commit 2023-08-28).

Abstract

When can the input of a ReLU neural network be inferred from its output? In other words, when is the network injective?

Show full abstract

We consider a single layer, $x \mapsto \mathrm{ReLU}(Wx)$, with a random Gaussian $m \times n$ matrix $W$, in a high-dimensional setting where $n, m \to \infty$. Recent work connects this problem to spherical integral geometry giving rise to a conjectured sharp injectivity threshold for $α= \frac{m}{n}$ by studying the expected Euler characteristic of a certain random set. We adopt a different perspective and show that injectivity is equivalent to a property of the ground state of the spherical perceptron, an important spin glass model in statistical physics. By leveraging the (non-rigorous) replica symmetry-breaking theory, we derive analytical equations for the threshold whose solution is at odds with that from the Euler characteristic. Furthermore, we use Gordon's min--max theorem to prove that a replica-symmetric upper bound refutes the Euler characteristic prediction. Along the way we aim to give a tutorial-style introduction to key ideas from statistical physics in an effort to make the exposition accessible to a broad audience. Our analysis establishes a connection between spin glasses and integral geometry but leaves open the problem of explaining the discrepancies.

View on arXivView PDF

Code Implementations(1)

This repository contains the code of the paper "Injectivity of ReLU networks: a statistical physics perspective".

11Jupyter Notebook, PythonFeb 27, 20233 years ago

Similar Papers

Cite this paper

@article{maillard2023injectivity,
  title  = {Injectivity of ReLU networks: perspectives from statistical physics},
  author = {Antoine Maillard and Afonso S. Bandeira and David Belius and Ivan Dokmanić and Shuta Nakajima},
  year   = {2023},
  eprint = {2302.14112},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.14112v2}
}

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

Discussion