Contrastive Topographic Models: Energy-based density models applied to the understanding of sensory coding and cortical topography

Simon Osindero

Introduction

A central mystery in theoretical neuroscience is the relationship between the computational goals of the brain and the specific structural organization of the visual cortex. The primary visual cortex (V1) exhibits a highly structured functional architecture, characterized by neurons with specific orientation preferences arranged in complex topographic maps. This paper explores the hypothesis that such organization emerges naturally from the brain's attempt to model the probability density of its sensory environment.

By framing cortical development as a problem of unsupervised learning, we demonstrate that energy-based models (EBMs) can qualitatively reproduce the receptive field properties and topographic maps found in vivo. This approach suggests that the physical layout of the cortex is not merely a genetic blueprint but a strategic adaptation to the statistical regularities of the natural world.

The Energy-Based Framework

Traditional models of sensory coding, such as Independent Component Analysis (ICA), often rely on causal generative frameworks that can be computationally expensive to invert during inference. In contrast, this work utilizes Energy-Based Models (EBMs). EBMs assign a scalar "energy" value to different configurations of a network, where low energy states correspond to high-probability configurations (e.g., natural images) and high energy states correspond to low-probability noise.

A key innovation in this framework is the use of deterministic latent variables. By formulating neural activity as a direct, deterministic function of the input, the model bypasses the need for slow sampling-based inference. This allows the "brain" in our model to represent a stimulus instantaneously, providing a more biologically plausible mechanism for perception.

Learning via Contrastive Divergence

Training high-dimensional probabilistic models is often hindered by the "intractable partition function"—the mathematical difficulty of normalizing probabilities. To overcome this, we employ Contrastive Divergence (CD). CD avoids the need for full equilibrium sampling by running very short Markov Chain simulations starting from real data points. This efficiency allows for the training of complex models on diverse datasets, including natural scenes, synthetic stereo data, and high-level features like human faces (NIST FERET database).

For continuous-valued image data, we specifically utilize the Product of Student-t (PoT) model. This model encourages "sparsity," ensuring that only a small subset of neurons is highly active for any given stimulus, mimicking the metabolic and computational efficiency observed in biological neural populations.

Emergent Cortical Architecture

When these models are constrained to share information between neighboring units—a proxy for minimizing physical wiring length—topographic maps emerge spontaneously. Our results show that:

  • Simple to Complex Cells: By implementing hierarchical pooling (pooling the squared outputs of a first layer), the model transitions from "simple cell" edge detectors to "complex cell" properties, such as translation invariance.
  • Topographic Maps: The model discovers orientation "pinwheels" and ocular dominance columns (stripes of neurons preferring input from one eye) simply by maximizing the likelihood of naturalistic stereo data.
  • Feature Localization: When applied to face datasets, the model learns localized features—such as eyes, mouths, or specific lighting patterns—rather than global "eigenfaces," suggesting a parts-based representation of objects.

Performance and Applications

Beyond biological replication, the framework provides quantitative improvements in signal processing. We derived a new denoising algorithm termed Iterative Wiener Filtering (IWF) based on the learned statistical priors. In high-noise conditions, IWF outperformed standard Wiener filters by approximately 2 dB in peak signal-to-noise ratio (PSNR).

Furthermore, the EBM framework provides a robust population code. Unlike some causal models where small input changes can cause discontinuous jumps in representation, EBMs ensure that neural activity changes smoothly, a necessary condition for stable and reliable perception in a dynamic environment.

Conclusion and Future Directions

This work bridges the gap between abstract computational desiderata and mechanistic biological reality. While the current models are primarily static, they provide a foundation for future exploration into temporal dynamics using techniques like Back-Propagation Through Time (BPTT). As computational limits expand, scaling these topographic models to deeper hierarchies (modeling areas like V2 or V4) and integrating more granular biological details, such as spiking dynamics, will further our understanding of the visual brain's elegant architecture.

Summary updated

BibTeX
@misc{osindero2020contrastive,
  author = {Simon Osindero},
  title = {{Contrastive Topographic Models: Energy-based density models applied to the understanding of sensory coding and cortical topography}},
  year = {2020},
  eprint = {2011.03535},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.03535},
}
Figure