[Paper Review] Spike-based primitives for graph algorithms
This paper proposes spike-based primitives for graph algorithms using spiking neuromorphic hardware, leveraging the intrinsic parallelism of spike transmission to implement extraction, enumeration, and verification tasks. It demonstrates that both static and plastic synapses can efficiently compute graph primitives like shortest paths, triangle counting, and clique detection, with key results showing O(1) or O(d) time complexity for core operations using event-driven spiking dynamics.
In this paper we consider graph algorithms and graphical analysis as a new application for neuromorphic computing platforms. We demonstrate how the nonlinear dynamics of spiking neurons can be used to implement low-level graph operations. Our results are hardware agnostic, and we present multiple versions of routines that can utilize static synapses or require synapse plasticity.
Motivation & Objective
- To explore neuromorphic computing as a novel platform for graph algorithm execution, moving beyond neural network applications.
- To address the challenge of mapping discrete graph operations onto event-driven spiking neuron systems with minimal computational overhead.
- To provide hardware-agnostic implementations that work on both plastic and non-plastic neuromorphic platforms.
- To establish mathematical foundations for spike-based primitives that can be used as building blocks for larger graph analytics pipelines.
- To demonstrate that spiking neurons can natively express graph-theoretic operations through their nonlinear dynamics and spike transmission.
Proposed method
- Mapping graph vertices to spiking neurons with heterogeneous firing thresholds, where each neuron's threshold $v_{th}$ is set based on the degree or structural role of its corresponding vertex.
- Using isotropic spike transmission—where a single spike from a neuron propagates simultaneously to all connected neurons—enabling massive parallelism in graph traversal and subgraph analysis.
- Implementing extraction routines (e.g., nearest neighbors, single-source shortest path) via iterative or parallel spike propagation, with maximum clock time (MCT) bounded by graph structure and threshold-to-weight ratios.
- Designing enumeration algorithms (e.g., triangle counting) using spike convergence: a vertex fires only if it receives a number of spikes equal to its required threshold, indicating a structural feature like a triangle.
- Creating verification primitives (e.g., clique detection) by setting neuron thresholds to $n-1$ for a candidate $K_n$ subgraph, so internal firing confirms full connectivity.
- Providing dual implementations: one using static synapses (for platforms without plasticity) and one using plastic synapses (for faster, parallel execution), with complexity analysis per routine.
Experimental results
Research questions
- RQ1Can spiking neurons natively implement fundamental graph operations such as shortest path computation and subgraph enumeration through their intrinsic dynamics?
- RQ2How can spike-based primitives be designed to be hardware-agnostic, supporting both neuromorphic systems with and without synaptic plasticity?
- RQ3What is the computational complexity (in terms of clock steps and neuron reads/writes) of spike-based graph primitives compared to traditional algorithms?
- RQ4Can spike convergence be used to verify structural properties like cliques or triangles in a graph using only spike counts and thresholding?
- RQ5To what extent does synaptic plasticity reduce computation time in spike-based graph algorithms compared to iterative static-synapse approaches?
Key findings
- Nearest neighbor extraction is achieved in a single clock step using static synapses, with $v_{th}/s_w = 1$, requiring zero reads and one write to instantiate the neuron set.
- Clique verification using static synapses requires only one clock step, with threshold $v_{th} = n-1$ for a candidate $K_n$, and succeeds only if all $n$ neurons fire in response to $n-1$ incoming spikes.
- Triangle enumeration via edge-based detection completes in one clock step with $v_{th}/s_w = 2$, using $d+1$ writes for vertex-based enumeration where $d$ is the maximum degree.
- For subgraph extraction, the static-synapse version requires $N+1$ clock steps and two writes, while the plastic-synapse version reduces this to two steps with one read and two writes.
- The use of plastic synapses enables parallel execution and reduces MCT from $O(N)$ to $O(1)$ for certain operations, significantly improving performance on capable hardware.
- The framework supports hybrid computation: spike-based primitives can be combined with non-spiking data structures to store intermediate results, enabling scalable, heterogeneous graph algorithms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.