HiPPO: Recurrent Memory with Optimal Polynomial Projections
Preprint
Abstract
A central problem in learning from sequential data is representing cumulative history in an incremental fashion as more data is processed. We introduce a general framework (HiPPO) for the online compression of continuous signals and discrete time series by projection onto polynomial bases. Given a measure that specifies the importance of each time step in the past, HiPPO produces an optimal solution to a natural online function approximation problem. As special cases, our framework yields a short derivation of the recent Legendre Memory Unit (LMU) from first principles, and generalizes the ubiquitous gating mechanism of recurrent neural networks such as GRUs. This formal framework yields a new memory update mechanism (HiPPO-LegS) that scales through time to remember all history, avoiding priors on the timescale. HiPPO-LegS enjoys the theoretical benefits of timescale robustness, fast updates, and bounded gradients. By incorporating the memory dynamics into recurrent neural networks, HiPPO RNNs can empirically capture complex temporal dependencies. On the benchmark permuted MNIST dataset, HiPPO-LegS sets a new state-of-the-art accuracy of 98.3%. Finally, on a novel trajectory classification task testing robustness to out-of-distribution timescales and missing data, HiPPO-LegS outperforms RNN and neural ODE baselines by 25-40% accuracy.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Weak supervision as an efficient approach for automated seizure detection in electroencephalographynpj Digital Medicine, 2020
- Recurrent Neural Networks for Multivariate Time Series with Missing ValuesScientific Reports, 2018
- Sliding Conjugate Symmetric Sequency-Ordered Complex Hadamard Transform: Fast Algorithm and ApplicationsIEEE Transactions on Circuits and Systems I: Regular Papers, 2012
- Accurate, Guaranteed Stable, Sliding Discrete Fourier Transform [DSP Tips & TricksIEEE Signal Processing Magazine, 2010
- Fast Algorithm for Walsh Hadamard Transform on Sliding WindowsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2009
- A First Course in the Numerical Analysis of Differential Equations2008
- Fast Algorithms for the Computation of Sliding Discrete Hartley TransformsIEEE Transactions on Signal Processing, 2007
- Fast Algorithms for the Computation of Sliding Discrete Sinusoidal TransformsIEEE Transactions on Signal Processing, 2004
- An update to the sliding DFTIEEE Signal Processing Magazine, 2004
- dsp tips & tricks - the sliding DFTIEEE Signal Processing Magazine, 2003