CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation

Yusuke Tashiro, Jiaming Song, Yang Song, Stefano Ermon
7/7/2021
cs.LGstat.ML

Official code: ermongroup/CSDI (464 stars, MIT, last commit 2024-03-14). 1 more implementation below.

Abstract

The imputation of missing values in time series has many applications in healthcare and finance. While autoregressive models are natural candidates for time series imputation, score-based diffusion models have recently outperformed existing counterparts including autoregressive models in many tasks such as image generation and audio synthesis, and would be promising for time series imputation. In this paper, we propose Conditional Score-based Diffusion models for Imputation (CSDI), a novel time series imputation method that utilizes score-based diffusion models conditioned on observed data. Unlike existing score-based approaches, the conditional diffusion model is explicitly trained for imputation and can exploit correlations between observed values. On healthcare and environmental data, CSDI improves by 40-65% over existing probabilistic imputation methods on popular performance metrics. In addition, deterministic imputation by CSDI reduces the error by 5-20% compared to the state-of-the-art deterministic imputation methods. Furthermore, CSDI can also be applied to time series interpolation and probabilistic forecasting, and is competitive with existing baselines. The code is available at https://github.com/ermongroup/CSDI.

View on arXivView PDF

Code Implementations(2)

ermongroup/CSDIOfficial100%
MIT

Codes for "CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation"

464113Python, Jupyter NotebookJul 7, 20212 years agoMIT
WenjieDu/PyPOTSCommunity100%
PyTorchBSD-3-Clause

A Python toolkit/library for reality-centric machine/deep learning & data mining on partially-observed time series, with 50+ SOTA neural network models for scientific analysis tasks (imputation, classification, clustering, forecasting, anomaly detection, cleaning) on incomplete industrial irregularly-sampled multivariate TS with NaN missing values

2,060190Shell, PythonMar 29, 20225 months agoBSD-3-Clause
anomaly-detectionclassificationclusteringdata-analysisdata-mining+10 more

Similar Papers

Cite this paper

@article{tashiro2021csdi,
  title  = {CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation},
  author = {Yusuke Tashiro and Jiaming Song and Yang Song and Stefano Ermon},
  year   = {2021},
  eprint = {2107.03502},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.03502}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.03502.svg)](https://codeofpaper.com/paper/2107.03502)

Discussion