Saved in:
Bibliographic Details
Main Authors: Holberg, Christian, Salvi, Cristopher
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.13587
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916257260896256
author Holberg, Christian
Salvi, Cristopher
author_facet Holberg, Christian
Salvi, Cristopher
contents We introduce a mathematically rigorous framework based on rough path theory to model stochastic spiking neural networks (SSNNs) as stochastic differential equations with event discontinuities (Event SDEs) and driven by càdlàg rough paths. Our formalism is general enough to allow for potential jumps to be present both in the solution trajectories as well as in the driving noise. We then identify a set of sufficient conditions ensuring the existence of pathwise gradients of solution trajectories and event times with respect to the network's parameters and show how these gradients satisfy a recursive relation. Furthermore, we introduce a general-purpose loss function defined by means of a new class of signature kernels indexed on càdlàg rough paths and use it to train SSNNs as generative models. We provide an end-to-end autodifferentiable solver for Event SDEs and make its implementation available as part of the $\texttt{diffrax}$ library. Our framework is, to our knowledge, the first enabling gradient-based training of SSNNs with noise affecting both the spike timing and the network's dynamics.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13587
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Exact Gradients for Stochastic Spiking Neural Networks Driven by Rough Signals
Holberg, Christian
Salvi, Cristopher
Machine Learning
Probability
We introduce a mathematically rigorous framework based on rough path theory to model stochastic spiking neural networks (SSNNs) as stochastic differential equations with event discontinuities (Event SDEs) and driven by càdlàg rough paths. Our formalism is general enough to allow for potential jumps to be present both in the solution trajectories as well as in the driving noise. We then identify a set of sufficient conditions ensuring the existence of pathwise gradients of solution trajectories and event times with respect to the network's parameters and show how these gradients satisfy a recursive relation. Furthermore, we introduce a general-purpose loss function defined by means of a new class of signature kernels indexed on càdlàg rough paths and use it to train SSNNs as generative models. We provide an end-to-end autodifferentiable solver for Event SDEs and make its implementation available as part of the $\texttt{diffrax}$ library. Our framework is, to our knowledge, the first enabling gradient-based training of SSNNs with noise affecting both the spike timing and the network's dynamics.
title Exact Gradients for Stochastic Spiking Neural Networks Driven by Rough Signals
topic Machine Learning
Probability
url https://arxiv.org/abs/2405.13587