Harmonics of Learning: Universal Fourier Features Emerge in Invariant Networks

Giovanni Luca Marchetti, Christopher Hillar, Danica Kragic, Sophia Sanborn
12/13/2023
cs.LGcs.AIeess.SP

No official code found. Best implementation: sophiaas/spectral-universality (42 stars, last commit 2024-02-01).

Abstract

In this work, we formally prove that, under certain conditions, if a neural network is invariant to a finite group then its weights recover the Fourier transform on that group. This provides a mathematical explanation for the emergence of Fourier features -- a ubiquitous phenomenon in both biological and artificial learning systems. The results hold even for non-commutative groups, in which case the Fourier transform encodes all the irreducible unitary group representations. Our findings have consequences for the problem of symmetry discovery. Specifically, we demonstrate that the algebraic structure of an unknown group can be recovered from the weights of a network that is at least approximately invariant within certain bounds. Overall, this work contributes to a foundation for an algebraic learning theory of invariant neural network representations.

View on arXivView PDF

Code Implementations(1)

Official PyTorch and JAX Implementation of "Harmonics of Learning: Universal Fourier Features Emerge in Invariant Networks"

424PythonApr 25, 20232 years ago
fouriergeometric-deep-learninggroup-theoryinvariance

Cite this paper

@article{marchetti2023harmonics,
  title  = {Harmonics of Learning: Universal Fourier Features Emerge in Invariant Networks},
  author = {Giovanni Luca Marchetti and Christopher Hillar and Danica Kragic and Sophia Sanborn},
  year   = {2023},
  eprint = {2312.08550},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.08550v3}
}

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

Discussion