University of Sussex
Browse

Loss shaping enhances exact gradient learning with Eventprop in Spiking Neural Networks

Download (1.6 MB)
journal contribution
posted on 2025-01-29, 16:17 authored by Thomas NowotnyThomas Nowotny, James Paul Turner, James KnightJames Knight
Event-based machine learning promises more energy-efficient AI on future neuromorphic hardware. Here, we investigate how the recently discovered Eventprop algorithm for gradient descent on exact gradients in spiking neural networks can be scaled up to challenging keyword recognition benchmarks. We implemented Eventprop in the GPU-enhanced Neural Networks framework and used it for training recurrent spiking neural networks on the Spiking Heidelberg Digits and Spiking Speech Commands datasets. We found that learning depended strongly on the loss function and extended Eventprop to a wider class of loss functions to enable effective training. We then tested a large number of data augmentations and regularisations as well as exploring different network structures; and heterogeneous and trainable timescales. We found that when combined with two specific augmentations, the right regularisation and a delay line input, Eventprop networks with one recurrent layer achieved state-of-the-art performance on Spiking Heidelberg Digits and good accuracy on Spiking Speech Commands. In comparison to a leading surrogate-gradient-based SNN training method, our GeNN Eventprop implementation is 3X faster and uses 4X less memory. This work is a significant step towards a low-power neuromorphic alternative to current machine learning paradigms.

Funding

ActiveAI - active learning and selective attention for robust, transparent and efficient AI : EPSRC-ENGINEERING & PHYSICAL SCIENCES RESEARCH COUNCIL | EP/S030964/1

Brains on Board: Neuromorphic Control of Flying Robots : EPSRC-ENGINEERING & PHYSICAL SCIENCES RESEARCH COUNCIL | EP/P006094/1

HBP SGA3 - Human Brain Project Specific Grant Agreement 3 : EUROPEAN UNION | 945539

Unlocking spiking neural networks for machine learning research : EPSRC-ENGINEERING & PHYSICAL SCIENCES RESEARCH COUNCIL | EP/V052241/1

History

Publication status

  • Published

File Version

  • Published version

Journal

Neuromorphic Computing and Engineering

ISSN

2634-4386

Publisher

IOP Publishing

Volume

5

Department affiliated with

  • Informatics Publications

Institution

University of Sussex

Full text available

  • Yes

Peer reviewed?

  • Yes

Usage metrics

    University of Sussex (Publications)

    Categories

    No categories selected

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC