Adaptive Time Encoding for Irregular Multivariate Time-Series Classification

Sangho Lee, Kyeongseo Min, Youngdoo Son, Hyungrok DoNeurIPS 2025

TL;DR

ATENet (Adaptive Time Encoding Network) tackles the "messiness" of real-world multivariate time series by learning optimal, data-driven reference points for interpolation rather than relying on fixed time grids. By combining this adaptive encoding with lightweight regularization for temporal and inter-variable relationships, the model achieves state-of-the-art classification accuracy while being significantly faster and more parameter-efficient than complex graph-based alternatives.

What Problem Does This Paper Address?

In an ideal world, multivariate time series (like a patient's vital signs in an ICU) arrive in neat, synchronized grids. In reality, data is highly "irregular": sensors fail, different medical tests are ordered at different frequencies, and observations across variables are rarely aligned.

Illustration of an irregular multivariate time series with misaligned observations.

Standard deep learning models struggle with this irregularity. Common fixes like imputation (filling in the blanks) can distort the data's true distribution, while discretization (binning data into fixed time intervals) often loses fine-grained information. Furthermore, the timing of an observation is often informative in itself—for example, a doctor ordering more frequent tests usually signals a change in a patient's health status. The challenge is creating a model that captures these "missingness patterns" and the complex relationships between different variables without becoming a computational nightmare.

Methods: The ATENet Architecture

The authors introduce ATENet, a novel framework designed to natively handle irregular sampling without destructive preprocessing. It consists of three core innovations:

The overall architecture of ATENet, featuring learnable reference points and consistency regularization.
  1. Adaptive Time Encoding (ATE): Instead of interpolating data at fixed intervals (e.g., every hour), ATE uses a set of learnable reference points. These points act as "queries" in an attention mechanism, allowing the model to automatically discover which time points are most informative for a specific task.
  2. Temporal Consistency Regularization: To make the representations robust, the authors use a masking technique. They randomly hide portions of the time series and use a contrastive loss function to force the model to learn consistent temporal patterns even when data is sparse.
  3. Intervariable Consistency Regularization: Understanding how different variables (like heart rate and blood pressure) relate is crucial. Instead of using a heavy Graph Neural Network (GNN), ATENet uses a simple outer product of the variables to capture structural relationships. This provides the benefits of relational modeling at a fraction of the computational cost.

The resulting "fixed-length" representation is then fed into a relatively simple classifier (a GRU followed by a few dense layers), proving that the heavy lifting is effectively handled by the adaptive encoder.

Datasets

The model was rigorously evaluated on four benchmark tasks derived from three major datasets:

  • P12 (PhysioNet 2012): Clinical data from ICU stays used to predict mortality (P12-M) and length of stay (P12-L).
  • P19 (PhysioNet 2019): A large-scale dataset used for the early prediction of sepsis.
  • PAM (PAMAP2): Physical activity monitoring data. To test the model's limits, the authors manually made this dataset irregular by randomly dropping 60% of the observations.

Key Insights and Ideas

  • Learnable Queries > Fixed Bins: The core insight is that the model shouldn't be told when to look; it should learn it. By visualizing the attention weights, the authors showed that learnable reference points naturally migrate toward regions with high observation density, capturing the "missingness" signal that fixed grids ignore.
  • Efficiency is a Feature: Many state-of-the-art models for irregular time series rely on GNNs, which are notoriously slow and memory-hungry. ATENet proves that a well-designed regularization term based on simple linear algebra can capture inter-variable dependencies just as effectively.
  • Robustness to "Sensor Dropout": The model remains remarkably stable even when 50% of the variables or time points are missing, suggesting it learns a highly resilient latent space.

Key Results

  • Performance: ATENet achieved the best average rank (2.00) across all datasets and metrics (AUROC and AUPRC) compared to 10 state-of-the-art baselines.
  • Efficiency: Compared to Raindrop (a leading graph-based competitor), ATENet required 10x fewer parameters and achieved processing speeds at least 3x faster.
  • Ablation Success: Removing the learnable reference points or the consistency regularization terms led to a measurable drop in performance, validating that every piece of the architecture contributes meaningfully to the final result.

Limitations and Future Work

While ATENet is highly effective, the authors noted a few areas for potential improvement:

  • Noisy Data: On the P19 dataset, which features extreme noise and variability, the performance gains were more marginal. Integrating denoising techniques (like Kalman filters) could help.
  • Distribution Shifts: The model's learned reference points are optimized for the training data. If the underlying "sampling logic" changes drastically (e.g., a hospital changes its testing protocol), the reference points might need re-tuning.
  • Classifier Complexity: The authors deliberately used a simple classifier to highlight the encoder's strength. Future work could explore pairing the ATE encoder with more sophisticated backbones like Transformers for even higher accuracy.

Summary updated

BibTeX
@inproceedings{lee2025adaptive,
  author = {Sangho Lee and Kyeongseo Min and Youngdoo Son and Hyungrok Do},
  title = {{Adaptive Time Encoding for Irregular Multivariate Time-Series Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=l0kR6m9NDT},
}
Figure