Input Space Mode Connectivity in Deep Neural Networks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Vrabel, Jakub, Shem-Ur, Ori, Oz, Yaron, Krueger, David
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909309417291776
author Vrabel, Jakub
Shem-Ur, Ori
Oz, Yaron
Krueger, David
author_facet Vrabel, Jakub
Shem-Ur, Ori
Oz, Yaron
Krueger, David
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05800
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Input Space Mode Connectivity in Deep Neural Networks
Vrabel, Jakub
Shem-Ur, Ori
Oz, Yaron
Krueger, David
Machine Learning
Statistical Mechanics
Computer Vision and Pattern Recognition
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.
title Input Space Mode Connectivity in Deep Neural Networks
topic Machine Learning
Statistical Mechanics
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.05800