IMTS is Worth Time $\times$ Channel Patches: Visual Masked Autoencoders for Irregular Multivariate Time Series Prediction

Zhangyi Hu, Jiemin Wu, Hua Xu, Mingqian Liao, Ninghui Feng, Bo Gao, Songning Lai, Yutao Yue

TL;DR

Forecasting irregular multivariate time series (IMTS) is notoriously difficult due to missing data and unaligned channels. VIMTS solves this by restructuring chaotic IMTS data into time-aligned "patches" and leveraging the sparse-data modeling power of pre-trained visual Masked Autoencoders (MAEs). This framework achieves state-of-the-art forecasting accuracy and shows remarkable few-shot generalization, outperforming existing methods even when trained on a fraction of the data.

What Problem Does This Paper Address?

Real-world multivariate time series data—like ICU patient vitals, traffic flows, or weather metrics—are rarely clean. They are typically Irregular Multivariate Time Series (IMTS), meaning different channels are sampled at different, unaligned times, and huge chunks of data are missing due to sensor failures, random check-ins, or privacy constraints.

Existing approaches fall short: statistical imputation can discard valuable missingness patterns, Neural-ODEs are computationally expensive, and recent time-series foundation models are strictly designed for Regularly Sampled Time Series (RTS). The authors ask a clever question: Can we adapt powerful vision foundation models, which already excel at handling sparse pixel data, to forecast highly irregular and incomplete time series?

Figure 1. Illustration of our idea: (a) Current IMTS-specific meth- ods struggle to capture reliable temporal patterns from such data due to significant missing values. (b) Pre-trained models show po- tential for modeling sparse data, but are limited to RTS. In contrast, as illustrated in (c) and (d), VIMTS segments data into time-aligned patches and imputes missing values at the representation level us- ing time × channel patchify. It then leverages self-supervised learning to adapt the visual MAE’s pre-trained capability for han- dling semantically sparse multi-channel data to IMTS data, leading to powerful performance and few-shot capability.

Methods

The authors introduce VIMTS, which treats IMTS data like a 2D image-like structure (Time $\times$ Channel). The architecture consists of three main phases across a two-stage training strategy:

  1. Time $\times$ Channel Patchify: The irregular timeline is divided into equal intervals. A Transformable Time-aware Convolutional Network (TTCN) extracts features within each interval to handle temporal alignment. Then, a Graph Convolutional Network (GCN) learns cross-channel dependencies to fill in feature-level representations for missing values.
  2. Time-Wise Reconstruction (Visual MAE): The compensated patches are fed into a pre-trained visual Masked Autoencoder (MAE). In Stage 1 (Self-Supervised Learning), parts of the patches are randomly masked, forcing the MAE to learn the underlying temporal dynamics by reconstructing them. In Stage 2 (Supervised Fine-tuning), the model is optimized for the downstream forecasting task.
  3. Patch2Point Prediction: Instead of directly projecting patches to future points, VIMTS uses a coarse-to-fine decoding strategy. It reconstructs period-level patches via the MAE and then queries specific target timestamps using a Multi-Layer Perceptron (MLP) to output precise, point-level predictions.
Figure 3. The overall architecture of VIMTS. The irregularly sampled data in each channel is divided into sections with equal-intervals along the timeline. Each section undergoes intra-section feature extraction using Time-aware Convolutional Network (TTCN) and cross-channel information compensation via Graph Convolutional Networks (GCNs). These compensated patches are then fed into a pre-trained MAE for patch reconstruction, thereby modeling temporal dependencies among patches within each channel. Finally, a coarse-to-fine technique gradually generates precise predictions from patch-level to point-level. The training encompasses two stages. First, self-supervised learning aims to improve IMTS modeling by adapting the capabilities of the visual pre-trained MAE to IMTS data. Second, the supervised fine-tuning is employed to enhance forecasting performance.

Datasets

VIMTS was evaluated on four diverse, real-world IMTS datasets characterized by high missing data ratios:

  • PhysioNet: Clinical ICU data (41 channels, 85.7% missing ratio).
  • MIMIC: Large-scale clinical database (96 channels, 96.7% missing ratio).
  • Human Activity: Biomechanics tracking data (12 channels, 75.0% missing ratio).
  • USHCN: Climate science records (5 channels, 77.9% missing ratio).
Table 2. Datasets Technical Specifications

Key Insights and Ideas

  • Time-Series as Sparse Images: The core "aha" moment is recognizing that irregular, multi-channel time series share structural similarities with sparse or masked RGB images. A pre-trained visual MAE already knows how to fill in missing spatial/structural context, making it an ideal backbone if the time-series data can be properly "patchified."
  • Feature-Level Imputation via GCN: Rather than imputing raw data points before feeding them to a model (which introduces noise and artifacts), VIMTS uses a GCN to impute data at the representation level by passing messages across correlated channels.
  • Coarse-to-Fine Decoding: Direct timestamp prediction is prone to noise from irrelevant time periods. By first reconstructing the patch-level time period and then querying specific points, the model filters out temporal noise.
  • The Power of Visual Priors: Self-supervised learning on time-series data helps adapt the 3-channel (RGB) visual prior to handle arbitrary numbers of time-series channels, unlocking massive data efficiency.

Key Results

VIMTS was tested against 20 baseline models (including specialized IMTS models like t-PatchGNN and Latent-ODE, and vision-based models like VisionTS) and consistently achieved the lowest Mean Squared Error (MSE) and Mean Absolute Error (MAE) across all datasets.

  • Few-Shot Dominance: Remarkably, when trained on just 20% or 50% of the training data, VIMTS matched or outperformed the current best-performing baseline (t-PatchGNN) trained on 100% of the data.
  • Inference Efficiency: Despite using a large vision backbone, VIMTS achieves an inference speed of ~4.82 ms/sample, making it faster than other foundation-model approaches like ViTST (~7.09 ms) and continuous models like CRU (~7.66 ms).
Figure 2. The illustration highlights VIMTS’s superior Mean Abso- lute Error (MAE) and Mean Squared Error (MSE) relative to state- of-the-art methods on the PhysioNet, Human Activity, USHCN, and MIMIC datasets. Moreover, VIMTS maintains competitive performance in few-shot scenarios.
Figure 4. Performance comparison of VIMTS model variants under low-resource conditions (10%, 20%, 50%, and 100% data) on MSE and MAE metrics across Activity, PhysioNet, USHCN, and MIMIC datasets. Variants include models with and without visual pre-trained initialization and self-supervised learning. T-PatchGNN is used as a baseline. Lower values indicate better performance.

Limitations and Future Work

  • Scalability: While VIMTS successfully adapts a base visual MAE, scaling up to a massive, dedicated IMTS foundation model remains an open challenge that requires larger-scale pre-training datasets and more advanced fine-tuning strategies.
  • Structural Flexibility: The current architecture relies on fixed patch sizes and a fixed number of channels. It struggles to adapt dynamically to zero-shot scenarios where data structures change completely without parameter tuning.
  • Future Directions: The authors suggest exploring "time-contextual scaling" mechanisms to dynamically adjust semantic hierarchies and developing a general cross-channel dependency graph foundation model to handle any arbitrary number of channels flexibly.

Summary updated

BibTeX
@inproceedings{hu2025imts,
  author = {Zhangyi Hu and Jiemin Wu and Hua Xu and Mingqian Liao and Ninghui Feng and Bo Gao and Songning Lai and Yutao Yue},
  title = {{IMTS is Worth Time $\textbackslash\{\}times$ Channel Patches: Visual Masked Autoencoders for Irregular Multivariate Time Series Prediction}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=2mnZ7AjMim},
}
Figure