Markovian RNN: An Adaptive Time Series Prediction Network with HMM-based Switching for Nonstationary Environments
About
We investigate nonlinear regression for nonstationary sequential data. In most real-life applications such as business domains including finance, retail, energy and economy, timeseries data exhibits nonstationarity due to the temporally varying dynamics of the underlying system. We introduce a novel recurrent neural network (RNN) architecture, which adaptively switches between internal regimes in a Markovian way to model the nonstationary nature of the given data. Our model, Markovian RNN employs a hidden Markov model (HMM) for regime transitions, where each regime controls hidden state transitions of the recurrent cell independently. We jointly optimize the whole network in an end-to-end fashion. We demonstrate the significant performance gains compared to vanilla RNN and conventional methods such as Markov Switching ARIMA through an extensive set of experiments with synthetic and real-life datasets. We also interpret the inferred parameters and regime belief values to analyze the underlying dynamics of the given sequences.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Forecasting | Exchange (test) | MSE28.1406 | 63 | |
| Time Series Forecasting | Traffic | MAE2.0032 | 58 | |
| State estimation | 3-variable simulated dataset (No. 2) with frequent transitions v1 (test) | Accuracy63.98 | 18 | |
| Forecasting and state estimation | 10-variable simulated dataset (infrequent transitions) | Accuracy68.71 | 18 | |
| Forecasting | Exchange dataset | MAE2.5361 | 13 | |
| Forecasting | SMachine | MAE0.019 | 9 | |
| Forecasting | 3-variable simulated dataset frequent transitions v1 (test) | MAE0.1338 | 9 | |
| Forecasting | 3-variable simulated dataset (No. 2) with frequent transitions v1 (test) | MAE0.1697 | 9 | |
| Forecasting | 3-variable simulated dataset with frequent transitions No. 2 (test) | MAE0.1697 | 9 | |
| Forecasting | 3-variable simulated dataset with frequent transitions 1 | MAE0.1338 | 9 |