Bayesian Inference and Online Experimental Design for Mapping Neural Microcircuits

Benjamin Shababo, Brooks Paige, Ari Pakman, Liam PaninskiNeurIPS 2013

Mapping the dense web of connections in the brain is a notoriously slow, "needle-in-a-haystack" problem. To truly understand how the brain processes information, neuroscientists must map "microcircuits"—identifying exactly which neurons are connected and determining the strength of those synaptic connections.

This paper introduces a novel Bayesian framework that combines a realistic statistical model of neural stimulation with an "online" experimental design algorithm. By intelligently selecting which neurons to stimulate next, this closed-loop system identifies synaptic connections significantly faster than traditional random-sampling methods.

The Challenge of Mapping Microcircuits

Current mapping methods typically involve stimulating "presynaptic" neurons (often using targeted lasers in optogenetics) and recording the resulting electrical response in a "postsynaptic" neuron. However, this process faces three major hurdles:

  1. Sparsity: The vast majority of neurons are not connected to each other. Randomly testing pairs wastes massive amounts of experimental time recording "zeros."
  2. Uncertainty: Optical stimulation is imperfect. Aiming a laser at a specific neuron doesn't guarantee it will fire, and the light might accidentally stimulate neighboring cells.
  3. Time Constraints: Biological samples degrade quickly. Researchers must extract the maximum amount of information in the shortest possible time before the tissue dies.

To overcome these hurdles, the authors propose moving away from slow, randomized stimulation toward a "smart" system that learns from each trial to pick the most informative next stimulus.

A Bayesian Framework for Active Learning

The authors developed a two-part system to enable real-time, optimal experimental design:

  • The Statistical Model: The system employs a "spike-and-slab" prior, a classic Bayesian technique ideal for sparse data. The "spike" represents the high probability that a connection between two neurons is exactly zero. The "slab" models the distribution of actual synaptic weights for the rare connections that do exist. Crucially, the model also accounts for biological realities like timing delays ("jitter") and the physical spread of the laser stimulus.
  • Fast Inference: To make decisions in real-time, the system must update its "beliefs" about the circuit in mere seconds. The authors compared Gibbs Sampling (highly accurate but computationally slow) with Variational Bayes (VB). They found that VB provides a sufficiently accurate approximation while being orders of magnitude faster, making it the "sweet spot" for online experiments.
Simulated spatial location of presynaptic neurons, inferred weights, and postsynaptic current traces.
  • Optimal Experimental Design: This is the "active learning" engine. The algorithm chooses a subset of $R$ neurons to stimulate by maximizing Mutual Information. Essentially, it asks: "Which set of neurons, if stimulated right now, will most reduce my overall uncertainty about the circuit map?" To keep this computationally feasible for hundreds of neurons, the authors utilized a greedy optimization approach—ranking neurons individually and picking the top candidates.

Experimental Setup

Because a static public benchmark for this specific closed-loop process doesn't exist, the study relies on simulated neural data. This allowed the authors to test their algorithm against a known "ground truth" connectivity map. The simulations operated at a scale of 100 to 500 neurons and included high biological realism, featuring excitatory and inhibitory cell types, spatial point-spread functions for the laser stimulus, and varying levels of postsynaptic noise.

Key Results and Insights

The transition from random sampling to optimal experimental design yielded significant improvements in both speed and accuracy.

  • Efficiency Gains: The optimal design reached a low Normalized Reconstruction Error (NRE) significantly faster than random stimulation. For example, in a 500-neuron system with moderate noise, the optimal design achieved the same accuracy in roughly half the trials required by the random approach.
  • Real-Time Speed: The combined accelerations of Variational Bayes and greedy selection allowed the full inference and optimization loop to run in approximately one second per trial for a system of 500 neurons and 8 simultaneous stimuli. This proves the system is viable for true "online" use in a lab.
  • Diminishing Returns of Mass Stimulation: The benefit of this "smart" design is most pronounced when stimulating only a few neurons at a time (small $R$). If a massive number of neurons are stimulated at once, random stimulation eventually catches up in performance. However, large-scale simultaneous stimulation is often biologically unrealistic or damaging to the tissue, making the targeted approach highly preferable.
Normalized Reconstruction Error (NRE) over trials comparing optimal design to random stimulation.

Limitations and Future Directions

While the simulated results are highly promising, the authors note a few limitations to address in future work:

  • Data Compression: To maintain real-time speeds, the current model collapses the entire electrical trace (a complex time series) into a single "charge" value. Valuable information about synaptic timing and dynamic responses is lost in this compression.
  • Spontaneous Activity: The model currently assumes that any recorded electrical activity is a direct result of the applied stimulus. In a real, living brain, neurons fire spontaneously, which could introduce "false positives" into the inferred connectivity map.
  • Hardware Integration: This paper successfully establishes the mathematical framework and proves it in simulation. The critical next step is integrating this algorithm with physical hardware to prove its efficacy in a live "wet lab" environment.

Summary updated

BibTeX
@inproceedings{shababo2013bayesian,
  author = {Benjamin Shababo and Brooks Paige and Ari Pakman and Liam Paninski},
  title = {{Bayesian Inference and Online Experimental Design for Mapping Neural Microcircuits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
  url = {https://openreview.net/forum?id=ByW1TIZdWH},
}
Figure