Learning invariance manifolds of visual sensory neurons

Luca Baroni, Mohammad Bashiri, Konstantin F. Willeke, Ján Antolík, Fabian H. SinzNeurReps 2022

Abstract

Robust object recognition is thought to rely on neural mechanisms that are selective to complex stimulus features while being invariant to others (e.g., spatial location or orientation). To better understand biological vision, it is thus crucial to characterize which features neurons in different visual areas are selective or invariant to. In the past, invariances have commonly been identified by presenting carefully selected hypothesis-driven stimuli which rely on the intuition of the researcher. One example is the discovery of phase invariance in V1 complex cells. However, to identify novel invariances, a data-driven approach is more desirable. Here, we present a method that, combined with a predictive model of neural responses, learns a manifold in the stimulus space along which a target neuron’s response is invariant. Our approach is fully data-driven, allowing the discovery of novel neural invariances, and enables scientists to generate and experiment with novel stimuli along the invariance manifold. We test our method on Gabor-based neuron models as well as on a neural network fitted on macaque V1 responses and show that 1) it successfully identifies neural invariances, and 2) disentangles invariant directions in the stimulus space.

Introduction

Biological vision exhibits remarkable robustness, allowing us to recognize objects despite variations in rotation, position, or lighting. This capability arises from neurons that are selective for specific features while remaining invariant to others. Traditionally, neuroscientists have identified these invariances using "hypothesis-driven" stimuli, where researchers test specific guesses about a neuron's behavior. While successful for discovering phase invariance in V1 complex cells, this approach becomes a bottleneck in higher visual areas (like V4 or IT) where features are too complex for human intuition.

To overcome this, researchers have developed a fully data-driven method to map "invariance manifolds"—the set of all possible images that trigger the same peak response from a single cell. By combining implicit image representations with contrastive learning, this framework identifies and disentangles complex neural symmetries in both synthetic models and real macaque V1 neurons.

Methods: Learning the Invariance Manifold

The proposed framework treats the search for invariance as a manifold learning problem. The pipeline consists of three primary components:

  1. Predictive Model: An Artificial Neural Network (ANN) is trained on real neural recordings (e.g., macaque V1 responses to ImageNet) to act as a "digital twin," enabling infinite in-silico experiments.
  2. CPPNs as Implicit Representations: Instead of high-dimensional pixel optimization, the method uses a Compositional Pattern Producing Network (CPPN). The CPPN maps pixel coordinates $(x, y)$ and a low-dimensional latent variable $z$ to a grayscale value. Varying $z$ generates a smooth variety of images.
  3. Contrastive Objective: The CPPN is optimized using a dual-term loss. An activation loss ensures generated images maximize the target neuron's response, while a contrastive loss prevents mode collapse by forcing images from distant points in the latent space $z$ to remain diverse.
The proposed pipeline: A latent input $z$ is fed into a CPPN to generate images. These images are passed to a model neuron, and the resulting activations are used to optimize the CPPN to find the invariance manifold.

Key Insights and Results

The study validated the method using synthetic Gabor models with known ground-truth invariances and real macaque V1 data.

Topology and Disentanglement

A critical finding is that the "shape" of the latent space must match the neuron's underlying symmetry. For instance, capturing circular invariance (like phase) requires a periodic latent space. The method successfully recovered 1D circular manifolds for complex cells and 2D toroidal manifolds for cells invariant to both phase and orientation.

Mapping different neural invariance topologies (point, circle, torus, cylinder) to corresponding latent space structures (sheet, torus).

Furthermore, the method organizes these invariances. For neurons with multiple symmetries, the model assigns different "directions" in the latent space to different physical transformations, effectively disentangling them.

Validation on Biological Data

When applied to macaque V1 complex cells, the method identified nearly exact phase invariance. The generated images, when fitted to Gabor filters, covered a full $2\pi$ cycle of phases while maintaining high neural activation. The use of CPPNs ensured that generated images were semantically meaningful and smooth, avoiding the high-frequency noise artifacts common in standard pixel-based optimization.

Discussion

While the current work focuses on single-cell invariances, biological representation often relies on population codes. Future work could extend this framework to multi-neuron implementations, potentially using learnable embeddings to classify functional clusters of neurons based on shared invariances.

The true potential of this data-driven approach lies in higher visual areas like V4, where features are no longer simple bars and edges. By letting the data define the invariance manifolds, researchers can discover novel neural symmetries that elude human intuition.

Summary updated

BibTeX
@inproceedings{baroni2022learning,
  author = {Luca Baroni and Mohammad Bashiri and Konstantin F. Willeke and Ján Antolík and Fabian H. Sinz},
  title = {{Learning invariance manifolds of visual sensory neurons}},
  booktitle = {NeurReps},
  year = {2022},
  url = {https://openreview.net/forum?id=Bu61kZC4uj},
}
Figure