atlas

Research map / Probabilistic and scientific modeling / Dynamical systems

A differentiable brain simulator bridging brain simulation and brain-inspired computing

ICLR 2024 · Probabilistic and scientific modeling › Dynamical systems · approach: Latent models of neural activity · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces BrainPy, a differentiable brain simulator built on JAX/XLA that adds sparse and event-driven operators, JIT connectivity, a synapse-projection abstraction, multi-scale model building, and object-oriented JIT, bridging brain simulation and brain-inspired computing.

Problem

Traditional brain simulators lack differentiability for gradient-based training, while deep learning frameworks and SNN libraries lack the biophysical realism, sparse/event-driven efficiency, and scalability needed for brain dynamics, so no shared programming framework exists for brain simulation an

Approach

Build a differentiable brain simulator on top of JAX/XLA by providing dedicated sparse and event-driven primitive operators, memory-free JIT connectivity operators, an AlignPre/AlignPost synaptic projection abstraction that decouples dynamics from communication, and an object-oriented JIT transformation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use event-driven matrix-vector multiplication that computes only at presynaptic spike eventsBrainPy synaptic computation · Synaptic matrix-vector multiplicationspeedup: two to five orders of magnitude fasterHelped
Use JIT connectivity instead of dense or sparse matrix multiplicationBrainPy connectivity computation · JIT connectivity matrix-vector multiplicationspeed: one to two orders of magnitude greater speedHelped
Increase reservoir size to 30,000 nodes using JIT connectivityBrainPy reservoir model · KTHtesting accuracy: 91.3% -> 94.4%Helped
Increase reservoir size to 50,000 nodesBrainPy reservoir model · MNISTaccuracy: 98.9%Helped
Use JIT connectivity instead of sparse connectivityBrainPy reservoir model · Reservoir inferencespeed: twice as fastHelped
Use JIT connectivity instead of dense connectivity for reservoirs larger than 10,000 nodesBrainPy reservoir model · Reservoir inferencespeedHelped
Add automatic AlignPost synapse merging (ablation)BrainPy multi-area spiking network · 30-area spiking neural networkmemory usageHelped
Add automatic AlignPost synapse merging (ablation)BrainPy multi-area spiking network · 30-area spiking neural networkcompilation and simulation timeHelped
Train the biologically grounded GIF network with back-propagationBrainPy spiking network · Delayed match-to-sample working memory tasktesting accuracy: nearly 100%Helped

Limitations

Experimental setup

Datasets: KTH MNIST delayed match-to-sample working memory task

Benchmarks: KTH MNIST COBA-LIF COBA-HH delayed match-to-sample

Metrics: speed (running time) memory usage classification accuracy training loss compilation time

Baselines: NEURON NEST Brian2 ANNArchy BindsNet snnTorch SpikingJelly Norse

Builds on: JAX XLA Flax

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy