Task-Synchronized Recurrent Neural Networks

Mantas Lukoševičius, Arnas Uselis
4/11/2022
cs.LGcs.NE

Official code: oshapio/task-synchronized-RNNs (2 stars, Python, last commit 2024-07-04).

Abstract

Data are often sampled irregularly in time. Dealing with this using Recurrent Neural Networks (RNNs) traditionally involved ignoring the fact, feeding the time differences as additional inputs, or resampling the data.

Show full abstract

All these methods have their shortcomings. We propose an elegant straightforward alternative approach where instead the RNN is in effect resampled in time to match the time of the data or the task at hand. We use Echo State Network (ESN) and Gated Recurrent Unit (GRU) as the basis for our solution. Such RNNs can be seen as discretizations of continuous-time dynamical systems, which gives a solid theoretical ground to our approach. Our Task-Synchronized ESN (TSESN) and GRU (TSGRU) models allow for a direct model time setting and require no additional training, parameter tuning, or computation (solving differential equations or interpolating data) compared to their regular counterparts, thus retaining their original efficiency. We confirm empirically that our models can effectively compensate for the time-non-uniformity of the data and demonstrate that they compare favorably to data resampling, classical RNN methods, and alternative RNN models proposed to deal with time irregularities on several real-world nonuniform-time datasets. We open-source the code at https://github.com/oshapio/task-synchronized-RNNs .

View on arXivView PDF

Code Implementations(1)

Official implementation of Task-Synchronized RNNs for handling irregular time series data.

20Python, ShellJun 26, 20242 years ago

Similar Papers

Cite this paper

@article{lukoeviius2022tasksynchronized,
  title  = {Task-Synchronized Recurrent Neural Networks},
  author = {Mantas Lukoševičius and Arnas Uselis},
  year   = {2022},
  eprint = {2204.05192},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.05192}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.05192.svg)](https://codeofpaper.com/paper/2204.05192)

Discussion