Geometric Inductive Biases of Deep Networks: The Role of Data and Architecture

Sajad Movahedi, Antonio Orvieto, Seyed-Mohsen Moosavi-Dezfooli
10/15/2024
cs.LG

No official code found. Best implementation: dr-faustus/GIH (2 stars, last commit 2025-05-18).

Abstract

In this paper, we propose the $\textit{geometric invariance hypothesis (GIH)}$, which argues that the input space curvature of a neural network remains invariant under transformation in certain architecture-dependent directions during training. We investigate a simple, non-linear binary classification problem residing on a plane in a high dimensional space and observe that$\unicode{x2014}$unlike MLPs$\unicode{x2014}$ResNets fail to generalize depending on the orientation of the plane. Motivated by this example, we define a neural network's $\textbf{average geometry}$ and $\textbf{average geometry evolution}$ as compact $\textit{architecture-dependent}$ summaries of the model's input-output geometry and its evolution during training. By investigating the average geometry evolution at initialization, we discover that the geometry of a neural network evolves according to the data covariance projected onto its average geometry. This means that the geometry only changes in a subset of the input space when the average geometry is low-rank, such as in ResNets. This causes an architecture-dependent invariance property in the input space curvature, which we dub GIH. Finally, we present extensive experimental results to observe the consequences of GIH and how it relates to generalization in neural networks.

View on arXivView PDF

Code Implementations(1)

dr-faustus/GIHCommunity100%

Official implementation of the [ICLR'2025] paper "Geometric Inductive Biases of Deep Networks: The Role of Data and Architecture"

20PythonMay 16, 20251 years ago

Similar Papers

Cite this paper

@article{movahedi2024geometric,
  title  = {Geometric Inductive Biases of Deep Networks: The Role of Data and Architecture},
  author = {Sajad Movahedi and Antonio Orvieto and Seyed-Mohsen Moosavi-Dezfooli},
  year   = {2024},
  eprint = {2410.12025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12025v3},
  journal = {ICLR 2024 2024}
}

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

Discussion