Skip to content

python code and jupyter notebooks to reproduce figures from our PLOS Computational Biology paper

License

Notifications You must be signed in to change notification settings

benlansdell/rdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural spiking for causal inference and learning

Ben Lansdell and Konrad Kording 2023

Abstract: When a neuron is driven beyond its threshold, it spikes. The fact that it does not communicate its continuous membrane potential is usually seen as a computational liability. Here we show that this spiking mechanism allows neurons to produce an unbiased estimate of their causal influence, and a way of approximating gradient descent-based learning. Importantly, neither activity of upstream neurons, which act as confounders, nor downstream non-linearities bias the results. We show how spiking enables neurons to solve causal estimation problems and that local plasticity can approximate gradient descent using spike discontinuity learning.

python code and jupyter notebooks to reproduce figures from our PLOS Computational Biology paper (here).

See the text for more details.

alt text