Skip to content

torch-biopl: Biologically-plausible networks made easy

code-api

Overview

  • We provide our general philosophy and an overview of the functionalities supported in torch-biopl below. This is a growing list, so if you have any suggestions please don't hesitate to get in contact.

  • There are several applications for which you, as a neuroscientist, would want to build a model for. We have done some preliminary work in providing a few example use cases as utilities. These come with instructions on how to create/access relevant datasets (+ accompanying dataloaders) and models. This list is by no means exhaustive but merely a starting point to fuel your imagination.

  • To get started, jump to installation and then take a look at the examples provided.

Motivation

The neuroscience community has varying modeling needs. On one hand, the more functional deep-learning based models are less biologically aligned and do not support testing mechanistic hypotheses. On the other hand, instantiating neural architectures that work at scale (on realistic sensory inputs) requires the practitioner to be overly techinically adept. Our motivation was to bridge these worlds.

In this package, we provide a basic set of features that will enable to user to construct biologically-realistic neural networks with minimal effort. At a glance, here are some of the main capabilities supported:

  • Cell-type specification


    celltypes
    Synapses can adhere to Dale's law. Specify synapse- vs neuron-specific nonlinearities.
    Example

  • Spatially embedded populations


    spatial
    Construct hierarchical populations of spatially embedded neurons.
    Example

  • Microcircuit archetypes


    microcircuits
    Learnable scaffolds for local "microcircuit" patterns of connectivity.
    Example

  • Diverse feedback wiring


    feedback
    Various specifications for inter-areal feedback projections.
    Example

  • Connectome constrained modelling


    connectome
    Efficient implementation of sparse-matrix arithmetic for forward and backpropagation.
    Example