bindsnet_if_network
A spiking neural network of integrate-and-fire neurons, simulated over time with the BindsNET library.
Spiking networks · 2,103 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Spiking networks
- Parameters
- 1.9K
- Operations
- 2,103
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- Frontiers in Neuroinformatics (arXiv 2018)
- Cited by
- 287 (as of 23 October 2026)
- Authors
- Hananel Hazan, Daniel J. Saunders, Hassaan Khan and others
- Source
- GitHub: BindsNET/bindsnet
- License
- GPL-3.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3673
- Graph hash
- a4cb740ee10915e433e6ce2dd77149a19ebcc79477a34f1e7f715c2a9f9b1250
- Skeleton hash
- a771647defe0123c50cfdbe5f4de7a83bcdf6cc6d6be8792d9023807380222bf
- Architecture hash
- b2c4f917cd5be0e017d39eabab5e6b9443fdbfbe91ab032efe1866d68b0923f4
- Diagram SHA-256
- 41203321ca5f9d3d447cd514828cdb1a5b56602ccbc4644f129628db94a5369d
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a network of IFNodes, the integrate-and-fire neuron type in BindsNET. BindsNET is a Python package for simulating spiking neural networks, geared towards machine learning and reinforcement learning. It is built on top of PyTorch, which gives fast CPU and GPU computation for large spiking networks. The paper's motivation is that existing spiking-network simulators are typically not suited to rapid prototyping or to machine learning problems.
A spiking neuron's membrane potential is raised or lowered by presynaptic inputs, and when it reaches a threshold voltage the neuron emits a spike and its voltage is reset. In BindsNET a Network object coordinates groups of neurons (Nodes) and Connections, and Monitors record their state variables. The network is simulated over time: its run function applies synchronous updates to all components, with every time constant scaled to a time step parameter dt. The readme explains that the neuron dynamics are converted into difference equations and solved at regular, short intervals, with dt on the order of 1 millisecond.
Input data is encoded into spike trains by an encoding module. By default, connections do not learn their weights; a rule such as Hebbian learning or a variant of spike-timing-dependent plasticity (STDP) is added through an update rule argument. The library also provides an interface to OpenAI gym for training and evaluating spiking networks on reinforcement learning problems.
Key idea. The paper presents BindsNET, a Python package built on PyTorch that makes spiking neural networks quick to build and simulate for machine learning and reinforcement learning.
- bindsnet
- bindsnet if network
- if network
- integrate-and-fire
- integrate-and-fire neurons
- ifnodes
- spiking neural network
- snn
- spiking network simulation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hazan2018bindsnetmachinelearningorientedspiking,
title={BindsNET: A machine learning-oriented spiking neural networks library in Python},
author={Hananel Hazan and Daniel J. Saunders and Hassaan Khan and Darpan T. Sanghavi and Hava T. Siegelmann and Robert Kozma},
year={2018},
eprint={1806.01423},
archivePrefix={arXiv},
primaryClass={cs.NE},
doi={https://doi.org/10.3389/fninf.2018.00089},
url={https://arxiv.org/abs/1806.01423},
}