Stretching Beyond the Obvious: A Gradient-Free Framework to Unveil the Hidden Landscape of Visual Invariance
Lorenzo Tausani, Paolo Muratore, Morgan B. Talbot, Giacomo Amerio, Gabriel Kreiman, Davide Zoccolan

TL;DR
This paper introduces SnS, a gradient-free framework that systematically uncovers the invariant features and vulnerabilities of visual units in both biological and artificial systems, revealing complex transformation manifolds.
Contribution
The novel SnS framework enables the characterization of a unit's invariant stimuli and adversarial vulnerabilities without gradient information, advancing understanding of visual invariance and robustness.
Findings
Invariant transformations extend beyond affine changes, affecting texture and pose.
Deeper layers show decreased interpretability when representations are stretched.
SnS reveals stage-dependent differences in invariance and adversarial sensitivity.
Abstract
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…
Peer Reviews
Decision·ICLR 2026 Poster
The topic is important: the ML community needs tools for characterizing fundamental aspects of network function. The general approach taken by the authors is well motivated and novel (although see below for some related literature that should be cited).
I like the conceptuatlization, but the construction of the method is ad hoc and not well explained, and the experimental results are somewhat anectdotal and not fully convincing. First, the method. I thought I understaood the basic construction after reading abstract/intro, but then found the more precise description in the Methods section confusing. Some specifics: - Eq. (2) is a non-standard notation for a dual objective: Presumably one wants to either trade these two terms off (in which
- **Well-motivated framework, good practical value.** SnS focuses on understanding neural network representations, a fundamental challenge in the field. In comparison to prior works, SNS doesn’t look at unit activation but explore the space of transformations with well-grounded setting – a generative model, a test network, and a gradient-free optimizer. It is model-agnostic and gradient-free, particularly important with black-box models and neuroscience applications where gradient information is
We thank the authors for submitting the paper to ICLR 2026! There are a few weaknesses listed below which I believe can make the paper better. - **Lack of analysis on computational cost.** The paper uses the covariance matrix adaption evolutionary strategy for d(=4096)-dimentional codes but didn’t provide analysis of computational requirements, convergence properties, or comparisons with other gradient-based methods. How does this scale with network depth or code dimensionality? These considerat
* Originality and Technical Novelty: SnS is a gradient-free, model-agnostic framework for systematically exploring the full invariance manifold of a unit, moving beyond local measures or pre-defined transformations. The bi-objective optimization scheme is elegant and powerful, unifying the search for invariant images and adversarial examples. * High Quality and Rigor: The experimental design is robust. The authors not only apply the method to a benchmark (ResNet50) but also validate the findi
* Computational Cost: The reliance on evolutionary algorithms (CMA-ES) is a known trade-off for gradient-free and model-agnostic optimization. The computational cost can be very high, especially given the search space dimension ($n=4096$). While the results are excellent, the practical utility of SnS for very large-scale or high-throughput experiments may be limited compared to gradient-based methods. * Generative Model Dependency: The quality and expressivity of the invariant images are fund
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFace Recognition and Perception · Visual perception and processing mechanisms · Generative Adversarial Networks and Image Synthesis
