Measuring and Understanding Sensory Representations within Deep Networks Using a Numerical Optimization Framework

Chuan-Yung Tsai, David D. CoxarXiv 2015

Introduction

In sensory neuroscience and artificial intelligence, a fundamental challenge persists: explaining precisely what a specific neuron represents. The effectively infinite space of possible visual stimuli makes it difficult to probe networks using only natural images or simple geometric shapes. Furthermore, while gradients are accessible in artificial networks, biological systems remain "black boxes" where internal mechanics are hidden. This paper introduces a unified, non-parametric numerical optimization framework to interrogate both artificial and biological systems, moving beyond simple performance metrics to understand the geometry of internal representations.

Methodology: A Closed-Loop Framework

The authors propose a "black-box" experimental framework that treats neural networks as closed-loop systems. This approach relies on two primary stages:

  1. Optimal Stimulus Search: Utilizing the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), the framework iteratively evolves a stimulus to maximize a target neuron's response. This method requires no knowledge of the network's internal mathematical structure or gradients.
  2. Tuning Landscape Mapping: Once an optimal stimulus is identified, the system performs "path searches" to explore the surrounding representational space. Invariance paths identify stimuli that differ significantly from the optimum yet maintain high responses, while selectivity paths find similar stimuli that cause rapid response drops.
The closed-loop optimization framework treats the deep network as a black box to identify optimal stimuli and map tuning landscapes.

By analyzing these paths, the authors can quantify how a neuron balances invariance (ignoring irrelevant changes like lighting) and selectivity (distinguishing between similar objects).

Visualizing the tuning landscape: Path searches (dashed lines) from the optimal stimulus (center) reveal the geometry of a neuron's response.

Key Insights and Results

The application of this framework to various network architectures, including the Spatio-Temporal Hierarchical Object Representation (STHOR) and Labeled Faces in the Wild (LFW) datasets, yielded several critical insights:

  • Complexity and Depth: As network depth increases, optimal stimuli transition from simple Gabor-like edges to sophisticated textural patterns. This suggests that representational complexity is a direct product of structural depth.
  • The Selectivity Gap: Deep networks exhibit a distinct advantage over shallow ones by maintaining high selectivity alongside invariance. While shallow networks may remain "on" for many stimuli, they lack the sharp tuning necessary for fine discrimination.
  • Predicting Performance: The study found that "intrinsic" properties (neuron response in isolation) only explain 34% of task performance. However, by incorporating "extrinsic" measures—how these representations align with actual task data—the framework explained 71% of the variance in face-matching accuracy across different architectures.
  • Encoding Specificity: This metric emerged as the strongest single predictor of performance ($R^2 = 0.41$). It measures the uniqueness of a representation; networks that produce distinct internal codes for different faces perform significantly better than those with redundant representations.

Discussion and Future Work

While the framework is computationally efficient, scaling it to modern architectures with dozens of layers remains a challenge, likely requiring specialized hardware acceleration. Furthermore, while this study focused on networks with random weights to highlight the role of architecture, future research will explore how training algorithms like backpropagation explicitly shape these tuning landscapes.

The ultimate goal of this work is biological transfer. By applying this closed-loop optimization to live electrophysiology experiments, researchers can determine if biological "optimal stimuli" mirror the complexity found in deep artificial networks, providing a deeper understanding of the brain's sensory processing.

Summary updated

BibTeX
@misc{tsai2015measuring,
  author = {Chuan-Yung Tsai and David D. Cox},
  title = {{Measuring and Understanding Sensory Representations within Deep Networks Using a Numerical Optimization Framework}},
  year = {2015},
  eprint = {1502.04972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1502.04972},
}
Figure