Input Space Mode Connectivity in Deep Neural Networks

Jakub Vrabel, Ori Shem-Ur, Yaron Oz, David Krueger
9/9/2024
cs.LGcond-mat.stat-mechcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We extend the concept of loss landscape mode connectivity to the input space of deep neural networks. Mode connectivity was originally studied within parameter space, where it describes the existence of low-loss paths between different solutions (loss minimizers) obtained through gradient descent. We present theoretical and empirical evidence of its presence in the input space of deep networks, thereby highlighting the broader nature of the phenomenon. We observe that different input images with similar predictions are generally connected, and for trained models, the path tends to be simple, with only a small deviation from being a linear path. Our methodology utilizes real, interpolated, and synthetic inputs created using the input optimization technique for feature visualization. We conjecture that input space mode connectivity in high-dimensional spaces is a geometric effect that takes place even in untrained models and can be explained through percolation theory. We exploit mode connectivity to obtain new insights about adversarial examples and demonstrate its potential for adversarial detection. Additionally, we discuss applications for the interpretability of deep networks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vrabel2024input,
  title  = {Input Space Mode Connectivity in Deep Neural Networks},
  author = {Jakub Vrabel and Ori Shem-Ur and Yaron Oz and David Krueger},
  year   = {2024},
  eprint = {2409.05800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.05800v1},
  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/2409.05800.svg)](https://codeofpaper.com/paper/2409.05800)

Discussion