HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

SAITS: Self-Attention-based Imputation for Time Series

Wenjie Du; David Cote; Yan Liu

SAITS: Self-Attention-based Imputation for Time Series

Abstract

Missing data in time series is a pervasive problem that puts obstacles in the way of advanced analysis. A popular solution is imputation, where the fundamental challenge is to determine what values should be filled in. This paper proposes SAITS, a novel method based on the self-attention mechanism for missing value imputation in multivariate time series. Trained by a joint-optimization approach, SAITS learns missing values from a weighted combination of two diagonally-masked self-attention (DMSA) blocks. DMSA explicitly captures both the temporal dependencies and feature correlations between time steps, which improves imputation accuracy and training speed. Meanwhile, the weighted-combination design enables SAITS to dynamically assign weights to the learned representations from two DMSA blocks according to the attention map and the missingness information. Extensive experiments quantitatively and qualitatively demonstrate that SAITS outperforms the state-of-the-art methods on the time-series imputation task efficiently and reveal SAITS' potential to improve the learning performance of pattern recognition models on incomplete time-series data from the real world. The code is open source on GitHub at https://github.com/WenjieDu/SAITS.

Code Repositories

gorgen2020/LSSDM_imputation
pytorch
Mentioned in GitHub
WenjieDu/SAITS
Official
pytorch
Mentioned in GitHub
WenjieDu/PyPOTS
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
multivariate-time-series-imputation-on-1SAITS
MAE (10% of data as GT): 0.186
multivariate-time-series-imputation-on-3SAITS
MAE (100 steps, 10% data missing): 0.735

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp