Stochastic rounding and reduced-precision fixed-point arithmetic for solving neural ordinary differential equations
Open Access
- 20 January 2020
- journal article
- research article
- Published by The Royal Society in Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences
- Vol. 378 (2166) , 20190052
Abstract
Although double-precision floating-point arithmetic currently dominates high-performance computing, there is increasing interest in smaller and simpler arithmetic types. The main reasons are potential improvements in energy efficiency and memory footprint and bandwidth. However, simply switching to lower-precision types typically results in increased numerical errors. We investigate approaches to improving the accuracy of reduced-precision fixed-point arithmetic types, using examples in an important domain for numerical computation in neuroscience: the solution of ordinary differential equations (ODEs). The Izhikevich neuron model is used to demonstrate that rounding has an important role in producing accurate spike timings from explicit ODE solution algorithms. In particular, fixed-point arithmetic with stochastic rounding consistently results in smaller errors compared to single-precision floating-point and fixed-point arithmetic with round-to-nearest across a range of neuron behaviours and ODE solvers. A computationally much cheaper alternative is also investigated, inspired by the concept of dither that is a widely understood mechanism for providing resolution below the least significant bit in digital signal processing. These results will have implications for the solution of ODEs in other subject areas, and should also be directly relevant to the huge range of practical problems that are represented by partial differential equations. This article is part of a discussion meeting issue ‘Numerical algorithms for high-performance computational science’.Keywords
All Related Versions
Funding Information
- H2020 Future and Emerging Technologies (785907)
- Engineering and Physical Sciences Research Council (EP/D07908X/1)
- Engineering and Physical Sciences Research Council (EP/G015740/1)
This publication has 25 references indexed in Scilit:
- Accuracy and Efficiency in Fixed-Point Neural ODE SolversNeural Computation, 2015
- The SpiNNaker ProjectProceedings of the IEEE, 2014
- On explicit two-derivative Runge-Kutta methodsNumerical Algorithms, 2009
- Stochastic Arithmetic as a Model of Granular Computing2008
- Peritumoral edema and prognosis in intracranial meningioma surgeryJournal of Clinical Neuroscience, 2008
- TestU01ACM Transactions on Mathematical Software, 2007
- Numerical ‘health check’ for scientific codes: the CADNA approachComputer Physics Communications, 2007
- Simple model of spiking neuronsIEEE Transactions on Neural Networks, 2003
- Probabilistic rounding in neural network learning with limited precisionNeurocomputing, 1992
- Reprint of a Note on Rounding-Off ErrorsSIAM Review, 1959