[Paper Review] Ti-MAE: Self-Supervised Masked Time Series Autoencoders
Ti-MAE introduces a self-supervised masked time series autoencoder that reconstructs randomly masked point-level time series tokens, bridging contrastive representation learning and generative Transformer models for forecasting and classification.
Multivariate Time Series forecasting has been an increasingly popular topic in various applications and scenarios. Recently, contrastive learning and Transformer-based models have achieved good performance in many long-term series forecasting tasks. However, there are still several issues in existing methods. First, the training paradigm of contrastive learning and downstream prediction tasks are inconsistent, leading to inaccurate prediction results. Second, existing Transformer-based models which resort to similar patterns in historical time series data for predicting future values generally induce severe distribution shift problems, and do not fully leverage the sequence information compared to self-supervised methods. To address these issues, we propose a novel framework named Ti-MAE, in which the input time series are assumed to follow an integrate distribution. In detail, Ti-MAE randomly masks out embedded time series data and learns an autoencoder to reconstruct them at the point-level. Ti-MAE adopts mask modeling (rather than contrastive learning) as the auxiliary task and bridges the connection between existing representation learning and generative Transformer-based methods, reducing the difference between upstream and downstream forecasting tasks while maintaining the utilization of original time series data. Experiments on several public real-world datasets demonstrate that our framework of masked autoencoding could learn strong representations directly from the raw data, yielding better performance in time series forecasting and classification tasks.
Motivation & Objective
- Bridge the gap between contrastive learning and generative Transformer approaches for time series.
- Learn strong representations directly from raw time series with minimal inductive bias.
- Improve long-sequence forecasting and time series classification via masked autoencoding.
- Provide a flexible pre-training framework usable across multiple forecasting horizons without re-training.
- Demonstrate scalability and effectiveness on real-world datasets.
Proposed method
- Tokenize time series with a 1-D conv layer and add fixed sinusoidal positional embeddings.
- Randomly mask a subset of embedded time series tokens and feed only visible tokens to a Transformer encoder.
- Use a lighter Transformer decoder to reconstruct the original sequence at the point level from encoded visible tokens and mask tokens.
- Train with mean squared error between original and reconstructed values over the masking regions.
- Adopt an asymmetric MAE-style architecture where the encoder is heavier than the decoder and no date-specific embeddings are used.
- Show that a masking ratio around 75% yields optimal performance and that random masking provides diverse views without extra data augmentation.
Experimental results
Research questions
- RQ1Can Ti-MAE learn representations that improve forecasting accuracy across diverse real-world multivariate time series datasets?
- RQ2Does random masking alleviate distribution shift better than continuous masking in forecasting and classification tasks?
- RQ3How does masking ratio, input sequence length, and decoder design impact the quality of learned representations and downstream performance?
- RQ4Is Ti-MAE effective for time series classification as a direct representation learner without heavy augmentation or hierarchical priors?
Key findings
- Ti-MAE consistently improves forecasting performance across datasets (ETTh, Weather, Exchange, ILI) for multiple horizons compared to representation-learning baselines.
- Ti-MAE achieves MAE decreases of 15.7% (ETTh), 42.3% (Weather), 45.5% (Exchange), and 19.2% (ILI) relative to baselines.
- Pre-trained Ti-MAE can be used with a frozen encoder plus a simple linear projection for fine-tuning at different horizons, without extra regressors.
- For 128 UCR datasets in classification, Ti-MAE achieves an average accuracy of 0.8231, ranking competitively against other unsupervised methods (average rank 2.054).
- Ablation studies show the optimal masking ratio is around 75%, and that random masking with a lightweight decoder is effective for time series reconstruction and downstream tasks.
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.