Approximating Nonlinear Functions With Latent Boundaries in Low-Rank Excitatory-Inhibitory Spiking Networks

William F. Podlaski, Christian K. Machens

TL;DR

This paper introduces a new framework for understanding how biological spiking networks compute complex, nonlinear functions. By treating neural thresholds as "latent boundaries" in a low-dimensional space, the authors demonstrate that networks respecting biological constraints—like the separation of excitatory and inhibitory neurons (Dale’s Law)—can approximate any nonlinear mapping through the "difference of convex functions."

What Problem Does This Paper Address?

In the world of AI, we usually rely on "rate-based" neural networks where units output continuous numbers. These models are powerful function approximators, but they ignore the messy reality of biology: real neurons communicate via discrete electrical pulses (spikes), fire irregularly, and are strictly either excitatory or inhibitory (Dale’s Law).

Historically, it has been difficult to build small spiking neural networks (SNNs) that are both biologically realistic and computationally flexible. Most SNNs either require massive populations to "smooth out" the spikes into rates or rely on "mixed-sign" connections that violate biology. This paper asks: How can small, biologically constrained spiking circuits perform sophisticated, nonlinear computations?

Methods

The authors utilize a combination of low-rank connectivity and geometric threshold analysis:

  1. Low-Rank Connectivity: Instead of random connections, the weight matrices are structured as the product of encoding and decoding vectors ($W = ED$). This forces the high-dimensional activity of many neurons to represent a low-dimensional "latent variable."
  2. Geometric Boundaries: Each neuron’s spiking threshold is viewed as a boundary in a latent input-output space.
  3. Inhibitory (I) populations form stable, attracting boundaries. When the latent variable hits the boundary, an inhibitory spike pushes it back into a "safe" subthreshold zone.
  4. Excitatory (E) populations form unstable, repellent boundaries. Crossing an E-boundary triggers a spike that pushes the variable further away, potentially leading to an explosion of activity.
  5. EI Stabilization: By coupling these two, the inhibitory boundary stabilizes the excitatory one. The network's "answer" lives at the intersection of these two boundaries.
  6. Difference of Convex (DC) Functions: Mathematically, the authors show that the output of this rank-2 EI network is equivalent to subtracting one convex function from another. In optimization theory, this is a known recipe for approximating any continuous nonlinear function.

Datasets

The paper does not use standard machine learning datasets (like MNIST or ImageNet). Instead, it uses synthetic benchmarks to prove the mathematical framework:

  • 1D and 2D Function Approximation: Approximating non-convex "saw-tooth" functions and complex 2D surfaces.
  • Dynamical Simulations: Small-scale simulations of 5 to 50 neurons to demonstrate stability, irregular firing, and noise handling.

Key Insights and Ideas

  • Dale’s Law is a Computational Engine: Rather than a biological nuisance, the separation of E and I populations allows the network to implement "Difference of Convex" logic. This provides a mechanistic reason why the brain might separate these cell types.
  • Irregular Firing as a "Nullspace" Phenomenon: The paper explains why cortical neurons fire so randomly. In their model, noise causes the boundaries to "jitter." While the latent variable (the signal) remains precise, different neurons take turns firing to enforce the boundary, resulting in the irregular, Poisson-like spiking seen in real brains.
  • The "Soft" Boundary Bridge: The authors show that classical "rate" networks are actually the limit of these spiking networks when synapses are slow and noise is high. This provides a rigorous mathematical bridge between the discrete world of spikes and the continuous world of rate equations.

Key Results

  • Universal Approximation: The rank-2 EI network successfully approximated non-linear, non-convex functions that a single population could not handle.
  • Inhibition-Stabilized Dynamics: The networks naturally exhibited the "paradoxical effect"—where stimulating inhibitory neurons actually decreases overall activity—a hallmark of real cortical circuits.
  • Noise Robustness: The low-rank structure ensures that even if individual neurons are noisy and irregular, the decoded output remains highly accurate. The "noise" is effectively pushed into the "nullspace" of the decoder.

Limitations and Future Work

  • Scaling Up: The current work focuses on small networks (up to 50 neurons) and low-rank (rank-1 or 2) connectivity. Real brain circuits are much larger and likely higher-rank.
  • Temporal Dynamics: The paper primarily addresses static function approximation (mapping an input to an output). Extending this to complex temporal tasks, like working memory or rhythmic motor control, is a suggested next step.
  • Synaptic Speed: The model’s stability currently relies on inhibition being slightly faster than excitation. While there is some biological evidence for this (e.g., perisomatic inhibition), it remains a specific requirement that needs further exploration in more diverse biological settings.

Summary updated

BibTeX
@article{podlaski2024approximating,
  author = {William F. Podlaski and Christian K. Machens},
  title = {{Approximating Nonlinear Functions With Latent Boundaries in Low-Rank Excitatory-Inhibitory Spiking Networks}},
  journal = {Neural Computation},
  year = {2024},
  doi = {10.1162/neco\_a\_01658},
}
Figure