Approximating nonlinear functions with latent boundaries in low-rank excitatory-inhibitory spiking networks

William F. Podlaski, Christian K. Machens · DOI

Abstract

Biological spiking networks must perform complex computations while adhering to strict constraints such as Dale’s Law and irregular firing. This paper presents a framework where neural thresholds act as latent boundaries in a low-dimensional space. By combining excitatory and inhibitory populations in a low-rank architecture, these networks can approximate any nonlinear function through the "difference of convex functions" logic, providing a mechanistic link between biological structure and computational flexibility.

Introduction: The Rate vs. Spike Dilemma

In artificial intelligence, neural networks typically rely on "rate-based" units that output continuous values. While these models are powerful function approximators, they diverge significantly from biological reality. Real neurons communicate via discrete electrical pulses (spikes), exhibit highly irregular firing patterns, and strictly adhere to Dale’s Law—meaning a single neuron is either excitatory or inhibitory, never both.

Historically, building small spiking neural networks (SNNs) that are both biologically realistic and computationally flexible has been a challenge. Most SNNs either require massive populations to "smooth out" spikes into rates or rely on non-biological "mixed-sign" connections. This research addresses a fundamental question: How can small, biologically constrained spiking circuits perform sophisticated, nonlinear computations?

Comparison of rate-based and balanced spike-based coding regimes. Rate codes (a-c) rely on time-averaged linear regimes and regular spiking, whereas balanced spike codes (d-f) operate near thresholds with irregular firing to compute network outputs.

The Latent Boundary Framework

The authors propose a new framework utilizing low-rank connectivity and geometric threshold analysis to bridge this gap. Instead of random connectivity, weight matrices are structured as the product of encoding and decoding vectors ($W = ED$). This architecture forces high-dimensional neural activity to represent a low-dimensional "latent variable."

In this model, each neuron’s spiking threshold is viewed as a boundary in a latent input-output space:

  • Inhibitory (I) populations form stable, attracting boundaries. When the latent variable reaches a boundary, an inhibitory spike pushes it back into a subthreshold zone.
  • Excitatory (E) populations form unstable, repellent boundaries. Crossing an E-boundary triggers a spike that pushes the variable further away, potentially leading to activity explosions.

By coupling these two populations, the inhibitory boundary stabilizes the excitatory one. The network's computational "answer" resides at the intersection of these two boundaries.

Dale’s Law as a Computational Engine

A key insight of the paper is that Dale’s Law is not a biological nuisance but a computational engine. The authors demonstrate that the output of a rank-2 excitatory-inhibitory (EI) network is mathematically equivalent to the Difference of Convex (DC) functions. In optimization theory, DC functions are known to be universal approximators capable of representing any continuous nonlinear mapping. This provides a mechanistic reason for why the brain separates excitatory and inhibitory cell types: it allows the network to implement DC logic for complex function approximation.

Results and Biological Implications

The framework was tested using synthetic benchmarks, including 1D and 2D function approximations (e.g., non-convex "saw-tooth" functions). The results highlighted several key properties:

  • Universal Approximation: The rank-2 EI network successfully approximated non-linear, non-convex functions that a single population could not handle.
  • Irregular Firing as a Nullspace Phenomenon: The model explains the irregular, Poisson-like firing seen in the cortex. Noise causes the boundaries to "jitter," and while the latent variable (the signal) remains precise, different neurons take turns firing to enforce the boundary. This "noise" is effectively pushed into the "nullspace" of the decoder.
  • Inhibition-Stabilized Dynamics: The networks naturally exhibited the "paradoxical effect"—where stimulating inhibitory neurons decreases overall activity—a hallmark of real cortical circuits.

Conclusion and Future Directions

This work provides a rigorous mathematical bridge between the discrete world of spikes and the continuous world of rate equations, showing that classical rate networks are the limit of these spiking networks under high noise and slow synapses.

Future work will need to address scaling these principles to higher-rank connectivity and larger networks. Additionally, while the current model focuses on static function approximation, extending the latent boundary framework to temporal tasks—such as working memory or motor control—remains a critical next step in understanding how the brain computes.

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