Input Space Mode Connectivity in Deep Neural Networks
Jakub Vrábel, Ori Shem-Ur, Yaron Oz, David Krueger
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.
Preprint. Under review.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 89d20afb-ff0d-401b-a6ff-916e6b2cde38Cited by top-tier papers3
- Unveiling Mode Connectivity in Graph Neural NetworkBingheng Li, Zhikai Chen, Haoyu Han, Shenglai Zeng et al.KDD 2025 · 1 citation
- Unlocking the Potential of Continual Model Merging: An ODE PerspectiveLihong Lin, Haidong KangICML 2026
- MoCo-EA: Exploiting Adversarial Mode Connectivity for Efficient Evolutionary AttacksHyo Seo Kim, Gang Luo, Can Chen, Binghui Wang et al.ICML 2026
Builds on11
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 citations
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations
- Implicit Gradient RegularizationDavid G. T. Barrett, Benoit DherinICLR 2021 · 235 citations
- Bridging Mode Connectivity in Loss Landscapes and Adversarial RobustnessPu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy et al.ICLR 2020 · 213 citations
Related papers
- Mechanistic Mode ConnectivityEkdeep Singh Lubana, Eric J. Bigelow, Robert P. Dick, David Scott Krueger et al.ICML 2023 · 57 citations
- Optimizing Mode Connectivity via Neuron AlignmentN. Joseph Tatro, Pin-Yu Chen, Payel Das, Igor Melnyk et al.NeurIPS 2020 · 104 citations
- Exploring Mode Connectivity for Pre-trained Language ModelsYujia Qin, Cheng Qian, Jing Yi, Weize Chen et al.EMNLP 2022 · 6 citations
- When Are Solutions Connected in Deep Networks?Quynh Nguyen, Pierre Bréchet, Marco MondelliNeurIPS 2021 · 12 citations
- Deep Networks on Toroids: Removing Symmetries Reveals the Structure of Flat Regions in the Landscape GeometryFabrizio Pittorino, Antonio Ferraro, Gabriele Perugini, Christoph Feinauer et al.ICML 2022 · 30 citations
