Stretching Beyond the Obvious: A Gradient-Free Framework to Unveil the Hidden Landscape of Visual Invariance
Not on the map. Why?
Abstract (arXiv)
Uncovering which feature combinations are encoded by visual units is critical to understanding how images are transformed into representations that support recognition. While existing feature visualization approaches typically infer a unit's most exciting images, this is insufficient to reveal the manifold of transformations under which responses remain invariant, which is critical to generalization in vision. Here we introduce Stretch-and-Squeeze (SnS), a model-agnostic, gradient-free framework to systematically characterize a unit's maximally invariant stimuli, and its vulnerability to adversarial perturbations, in both biological and artificial visual systems. SnS frames these transformations as bi-objective optimization problems. To probe invariance, SnS seeks image perturbations that maximally alter (stretch) the representation of a reference stimulus in a given processing stage while preserving unit activation downstream (squeeze). To probe adversarial sensitivity, stretching and squeezing are reversed to maximally perturb unit activation while minimizing changes to the upstream representation. Applied to CNNs, SnS revealed invariant transformations that were farther from a reference image in pixel-space than those produced by affine transformations, while more strongly preserving the target unit's response. The discovered invariant images differed depending on the stage of the image representation used for optimization: pixel-level changes primarily affected luminance and contrast, while stretching mid- and late-layer representations mainly altered texture and pose. By measuring how well the hierarchical invariant images obtained for L2 robust networks were classified by humans and other observer networks, we discovered a substantial drop in their interpretability when the representation was stretched in deep layers, while the opposite trend was found for standard models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 82 references that are in the map. First posted on arXiv 20 Jun 2025.
Builds on
30 of 82 references.
References · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2013Intriguing properties of neural networkscited by 5,155
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
- 2014Understanding Deep Image Representations by Inverting Themcited by 403
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
- 2019Intrinsic dimension of data representations in deep neural networkscited by 282
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 250
- 2018Adversarial Audio Synthesiscited by 225
18 more
- 2013Predicting Parameters in Deep Learningcited by 224
- 2016Generating Images with Perceptual Similarity Metrics based on Deep Networkscited by 222
- 2016Multifaceted Feature Visualization: Uncovering the Different Types of Features Learned By Each Neuron in Deep Neural Networkscited by 106
- 2023A Comprehensive Study on Robustness of Image Classification Models: Benchmarking and Rethinkingcited by 85
- 2018Excessive Invariance Causes Adversarial Vulnerabilitycited by 66
- 2019Understanding Neural Networks via Feature Visualization: A surveycited by 65
- 2022Harmonizing the object recognition strategies of deep neural networks with humanscited by 59
- 2023Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimizationcited by 27
- 2017Eigen-Distortions of Hierarchical Representationscited by 26
- 2018Analyzing biological and artificial neural networks: challenges with opportunities for synergy?cited by 20
- 2015Deep Networks Can Resemble Human Feed-forward Vision in Invariant Object Recognitioncited by 14
- 2015Geodesics of learned representationscited by 14
- 2018Diverse feature visualizations reveal invariances in early layers of deep neural networkscited by 8
- 2019Gradient-free activation maximization for identifying effective stimulicited by 6
- 2022High-performance Evolutionary Algorithms for Online Neuron Controlcited by 4
- 2022Extreme Image Transformations Affect Humans and Machines Differentlycited by 4
- 2022Prune and distill: similar reformatting of image information along rat visual cortex and deep neural networkscited by 3
- 2024L-WISE: Boosting Human Visual Category Learning Through Model-Based Image Selection and Enhancementcited by 2
Built on by
Not cited yet.