Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Learning Long-Term Dependencies in Irregularly-Sampled Time Series

About

Recurrent neural networks (RNNs) with continuous-time hidden states are a natural fit for modeling irregularly-sampled time series. These models, however, face difficulties when the input data possess long-term dependencies. We prove that similar to standard RNNs, the underlying reason for this issue is the vanishing or exploding of the gradient during training. This phenomenon is expressed by the ordinary differential equation (ODE) representation of the hidden state, regardless of the ODE solver's choice. We provide a solution by designing a new algorithm based on the long short-term memory (LSTM) that separates its memory from its time-continuous state. This way, we encode a continuous-time dynamical flow within the RNN, allowing it to respond to inputs arriving at arbitrary time-lags while ensuring a constant error propagation through the memory path. We call these RNN models ODE-LSTMs. We experimentally show that ODE-LSTMs outperform advanced RNN-based counterparts on non-uniformly sampled data with long-term dependencies. All code and data is available at https://github.com/mlech26l/ode-lstms.

Mathias Lechner, Ramin Hasani• 2020

Related benchmarks

TaskDatasetResultRank
Multivariate Time Series ClassificationUEA 30% missing rate (test)
Accuracy51.8
39
Time-series classification18 UEA datasets Regular
Accuracy56.6
38
Time-series classificationUEA 18 datasets 70% Missing
Accuracy47.4
34
Temporal Point Process modelingMOOC real-world (test)
NLL-0.2277
25
Temporal Point Process modelingReddit real-world (test)
Negative Log-Likelihood-1.0888
25
Time-series classification30 benchmark datasets Regular (test)
Accuracy61.9
25
Time-series classificationbenchmark datasets 30% Missing (test)
Accuracy58.4
25
Novelty DetectionLSST Scenario 4 v1 (test)
AUROC58.3
21
Time-series classificationLSST Scenario 1 v1 (test)
Accuracy40.1
21
Time-series classificationLSST Scenario 2 v1 (test)
Accuracy33.3
21
Showing 10 of 39 rows

Other info

Code

Follow for update