[Paper Review] Multi-Time Attention Networks for Irregularly Sampled Time Series
This paper proposes Multi-Time Attention Networks (mTANs), a deep learning framework for modeling multivariate, sparse, and irregularly sampled time series by learning continuous-time embeddings and using a learnable attention mechanism to compute temporal similarity. The method achieves state-of-the-art or better performance on interpolation and classification tasks while training over 100 times faster than ODE-based baselines.
Irregular sampling occurs in many time series modeling applications where it presents a significant challenge to standard deep learning models. This work is motivated by the analysis of physiological time series data in electronic health records, which are sparse, irregularly sampled, and multivariate. In this paper, we propose a new deep learning framework for this setting that we call <i>Multi-Time Attention Networks</i>. Multi-Time Attention Networks learn an embedding of continuous time values and use an attention mechanism to produce a fixed-length representation of a time series containing a variable number of observations. We investigate the performance of this framework on interpolation and classification tasks using multiple datasets. Our results show that the proposed approach performs as well or better than a range of baseline and recently proposed models while offering significantly faster training times than current state-of-the-art methods.
Motivation & Objective
- To address the challenge of modeling multivariate, sparse, and irregularly sampled time series in healthcare and other domains where standard deep learning models fail due to missing or misaligned observations.
- To develop a flexible, continuous-time deep learning framework that replaces fixed similarity kernels with a learnable attention mechanism for improved temporal representation learning.
- To enable end-to-end training using a variational autoencoder (VAE) framework that supports interpolation and classification tasks on irregular time series.
- To significantly reduce training time compared to existing state-of-the-art ODE-based models while maintaining or improving performance.
- To demonstrate the effectiveness of temporally distributed latent representations and learnable time embeddings in capturing local time-series structure.
Proposed method
- The mTAN framework uses a query-key attention mechanism where reference time points serve as queries and observed time points as keys to compute dynamic temporal attention weights.
- It employs a learnable continuous-time embedding layer to represent time values, replacing fixed positional encodings and enabling data-driven temporal representation.
- The model uses an encoder-decoder architecture with a VAE objective: the encoder maps irregular time series into a fixed-length latent representation over reference points, and the decoder reconstructs the original series.
- The attention mechanism replaces fixed kernels (e.g., RBF) with a differentiable, data-driven similarity function learned during training.
- The framework supports partial observation alignment across variables by modeling time as continuous and learning similarity from data rather than assuming fixed spacing.
- Training is optimized using stochastic gradient descent with variational inference, enabling end-to-end learning of time embeddings and attention parameters.
Experimental results
Research questions
- RQ1Can a learnable attention mechanism over continuous time points improve modeling of irregularly sampled multivariate time series compared to fixed kernels?
- RQ2Does learning time embeddings and temporal similarity from data lead to better performance on interpolation and classification tasks than fixed encodings?
- RQ3Can the mTAN framework achieve state-of-the-art performance while significantly reducing training time compared to ODE-based models?
- RQ4How effective is the use of temporally distributed latent representations in capturing local time-series structure?
- RQ5Does the mTAN architecture generalize well across diverse datasets such as PhysioNet, MIMIC-III, and Human Activity?
Key findings
- The mTAND-Full model achieved an AUC of 0.858 ± 0.004 on the PhysioNet dataset, outperforming all RNN-based baselines and matching or exceeding ODE-based models.
- On the MIMIC-III mortality prediction task, mTAND-Full achieved an AUC of 0.8544 ± 0.0024, comparable to the best ODE-based models (e.g., L-ODE-ODE) but with significantly faster training.
- The mTAND-Full model trained in just 0.2 minutes per epoch, making it over 100 times faster than L-ODE-ODE (22.0 min/epoch) and over 85 times faster than ODE-RNN (16.5 min/epoch).
- Ablation studies showed that learnable time embeddings improved classification accuracy by up to 1.5% compared to fixed positional encodings.
- The model with learnable attention kernels outperformed fixed RBF kernels, demonstrating the benefit of data-driven similarity learning.
- On the Human Activity dataset, mTAND-Full achieved an accuracy of 0.910 ± 0.002, significantly outperforming all RNN and IP-Net baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.