NeurIPS 2026
1Seoul National University
†Corresponding author
Time series imputation is a crucial area for reliable time series analysis, yet it remains challenging
due to the complex temporal dynamics and noise of real-world data. Existing approaches, however,
exhibit two limitations: missing and observed values are embedded within the same representation
space without explicit structural separation, and continuous diffusion-based methods are trained to
predict added noise rather than the original signal. To address these, we propose the
Masked Diffusion Time-series Imputation Model (MDTIM), which leverages the training paradigm of
masked diffusion models for imputation tasks. The [MASK] token is structurally orthogonal
to valid observations, and the model directly predicts the original values, naturally aligning both the
representation and the learning objective with the imputation task. To bridge the gap between discrete
masked diffusion and the continuous, ordinal nature of time series, we further introduce
Stochastic Discretization, which maps continuous values to ordinal-aware tokens while preserving
continuous dynamics. Our experiments on diverse benchmarks confirm that MDTIM achieves superior
robustness and scalability, consistently outperforming state-of-the-art deterministic and generative
baselines across various missing scenarios.
The absorbing [MASK] token is orthogonal to every observed value — the model always
knows what is missing, with no indicator heuristics.
MDTIM predicts the original values directly instead of added noise, matching the training objective to the imputation task.
Stochastic Discretization and soft labels preserve the continuous, ordinal structure of the signal inside a discrete token space.
Each input window is normalized with statistics computed from observed values only, so no information leaks from missing positions. The normalized values are projected onto a K-bin grid and bounded uniform noise is injected before rounding: a grid coordinate of 3.6 becomes token 4 with 60% probability and token 3 with 40%, so the discretization is unbiased in expectation and the model can learn dynamics finer than the grid resolution.
Treating tokens as independent classes would ignore that token k is semantically closer
to k+1 than to k+10. The training target is therefore a truncated Gaussian centered
on the true bin, with zero probability assigned to the [MASK] token and to distant
bins — probability mass concentrates on valid ordinal neighbors while the mask state remains
strictly separate.
Discrete tokens are embedded with a per-channel embedding table to preserve semantic orthogonality, then processed by interleaved DiT blocks that alternate between the time axis and the channel axis with rotary position embeddings on both. The output head covers an extended range of 1.5× the input grid to account for distribution shifts in unobserved regions.
The masked-diffusion objective is trained against the ordinal-aware soft labels — a smooth relaxation that recovers the standard NELBO when the labels collapse to one-hot. An auxiliary spectral consistency loss compares the FFT of the expectation-decoded sequence with that of the ground truth, enforcing global frequency structure alongside local ordinal accuracy.
Because stochastic discretization injects noise, inference is run M times with independent noise samples and the predicted distributions are averaged. The continuous value is recovered as the probability-weighted expectation over bin centers, yielding dense reconstructions — and calibrated uncertainty — from discrete outputs.
Qualitative example. MDTIM reconstructions with calibrated uncertainty bands (1σ, 2σ) against ground truth on ETTh.
Main results. MAE on missing positions across four benchmarks under uniform and geometric masking at 30% and 70% missing rates. Best results in bold, second best underlined.
@inproceedings{kim2026discretizing,
title={Discretizing Continuous Time Series for Imputation with Masked Diffusion Training},
author={Kim, Dongbin and Lee, Seungyun and Shin, Geonwoo and Lee, Jaewook},
booktitle={Advances in Neural Information Processing Systems},
volume={39},
year={2026}
}