mlsanityData to 7 Oct 2026

Training event-based neural networks with exact gradients via Differentiable ODE Solving in JAX

arXiv 2603.08146 ↗First posted 9 Mar 2026cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Existing frameworks for gradient-based training of spiking neural networks face a trade-off: discrete-time methods using surrogate gradients support arbitrary neuron models but introduce gradient bias and constrain spike-time resolution, while continuous-time methods that compute exact gradients require analytical expressions for spike times and state evolution, restricting them to simple neuron types such as Leaky Integrate and Fire (LIF). We introduce the Eventax framework, which resolves this trade-off by combining differentiable numerical ODE solvers with event-based spike handling. Built in JAX, our frame-work uses Diffrax ODE-solvers to compute gradients that are exact with respect to the forward simulation for any neuron model defined by ODEs . It also provides a simple API where users can specify just the neuron dynamics, spike conditions, and reset rules. Eventax prioritises modelling flexibility, supporting a wide range of neuron models, loss functions, and network architectures, which can be easily extended. We demonstrate Eventax on multiple benchmarks, including Yin-Yang and MNIST, using diverse neuron models such as Leaky Integrate-and-fire (LIF), Quadratic Integrate-and-fire (QIF), Exponential integrate-and-fire (EIF), Izhikevich and Event-based Gated Recurrent Unit (EGRU) with both time-to-first-spike and state-based loss functions, demonstrating its utility for prototyping and testing event-based architectures trained with exact gradients. We also demonstrate the application of this framework for more complex neuron types by implementing a multi-compartment neuron that uses a model of dendritic spikes in human layer 2/3 cortical Pyramidal neurons for computation. Code available at https://github.com/efficient-scalable-machine-learning/eventax.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 13 of its 21 references that are in the map. First posted on arXiv 9 Mar 2026.

Builds on

13 of 21 references.

References · 13

  1. 2022On Neural Differential Equationscited by 264
  2. 2021Training Spiking Neural Networks Using Lessons From Deep Learningcited by 251
  3. 2018Long short-term memory and learning-to-learn in networks of spiking neuronscited by 179
  4. 2020Event-Based Backpropagation can compute Exact Gradients for Spiking Neural Networkscited by 59
  5. 2019Fast and energy-efficient neuromorphic deep learning with first-spike timescited by 52
  6. 2022Efficient recurrent architectures through activity sparsity and sparse back-propagation through timecited by 26
  7. 2022Loss shaping enhances exact gradient learning with Eventprop in spiking neural networkscited by 13
  8. 2021The Yin-Yang datasetcited by 10
  9. 2023Smooth Exact Gradient Descent Learning in Spiking Neural Networkscited by 10
  10. 2024Exact Gradients for Stochastic Spiking Neural Networks Driven by Rough Signalscited by 9
  11. 2024jaxsnn: Event-driven Gradient Estimation for Analog Neuromorphic Hardwarecited by 5
  12. 2024SNNAX -- Spiking Neural Networks in JAXcited by 3
1 more
  1. 2025Eventprop training for efficient neuromorphic applicationscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.