SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.02923 · ICLR · 2025

P-Spikessm: Harnessing Probabilistic Spiking State Space Models for Long-Range Dependency Tasks

Malyaban Bal, Abhronil Sengupta

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
NeuroCompLab-psu/PSpikeSSMs canonical 3 of 7
FunctionStatusWhere it lives
dequantize Ran NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/audio.py
code served (permissive licence) · get_code("ce310b19a858070f")
minmax_scale Ran NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/audio.py
code served (permissive licence) · get_code("1b76e4737067023f")
quantize Ran NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/audio.py
code served (permissive licence) · get_code("1631cd936e9b1a90")
deprecated Not yet run NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/base.py
code served (permissive licence) · get_code("25edc240223b76c0")
listops_tokenizer Not yet run NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/lra.py
code served (permissive licence) · get_code("72d464924b5dee96")
time_features Not yet run NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/et.py
code served (permissive licence) · get_code("9d0777602eda354e")
time_features_from_frequency_str Not yet run NeuroCompLab-psu/PSpikeSSMs/src/dataloaders/et.py
code served (permissive licence) · get_code("f8544563682146e5")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Spiking neural networks (SNNs) are posited as a computationally efficient and biologically plausible alternative to conventional neural architectures, with their core computational framework primarily using the leaky integrate-and-fire (LIF) neuron model. However, the limited hidden state representation of LIF neurons, characterized by a scalar membrane potential, and sequential spike generation process, poses challenges for effectively developing scalable spiking models to address long-range dependencies in sequence learning tasks. In this study, we develop a scalable probabilistic spiking learning framework for long-range dependency tasks leveraging the fundamentals of state space models. Unlike LIF neurons that rely on the deterministic Heaviside function for a sequential process of spike generation, we introduce a SpikeSampler layer that samples spikes stochastically based on an SSM-based neuronal model while allowing parallel computations. To address non-differentiability of the spiking operation and enable effective training, we also propose a surrogate function tailored for the stochastic nature of the SpikeSampler layer. To enhance inter-neuron communication, we introduce the SpikeMixer block, which integrates spikes from neuron populations in each layer. This is followed by a ClampFuse layer, incorporating a residual connection to capture complex dependencies, enabling scalability of the model. Our models attain state-of-the-art performance among SNN models across diverse long-range dependency tasks, encompassing the Long Range Arena benchmark, permuted sequential MNIST, and the Speech Command dataset and demonstrate sparse spiking pattern highlighting its computational efficiency. Our implementation source code is available at https://github.com/NeuroCompLab-psu/PSpikeSSMs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.02923")
get_code_for_paper("2406.02923")
have("2406.02923")

Connect an agent — have() is free.