Diffusion Transformers for Imputation: Statistical Efficiency and Uncertainty Quantification
Abstract
Imputation methods play a critical role in enhancing the quality of practical time-series data, which often suffer from pervasive missing values. Recently, diffusion-based generative imputation methods have demonstrated remarkable success compared to autoregressive and conventional statistical approaches. Despite their empirical success, the theoretical understanding of how well diffusion-based models capture complex spatial and temporal dependencies between the missing values and observed ones remains limited. Our work addresses this gap by investigating the statistical efficiency of conditional diffusion transformers for imputation and quantifying the uncertainty in missing values. Specifically, we derive statistical sample complexity bounds based on a novel approximation theory for conditional score functions using transformers, and, through this, construct tight confidence regions for missing values. Our findings also reveal that the efficiency and accuracy of imputation are significantly influenced by the missing patterns. Furthermore, we validate these theoretical insights through simulation and propose a mixed-masking training strategy to enhance the imputation performance.
1 Introduction
Sequential data are ubiquitous in real-world applications such as finance (John et al. 2019; Chen et al. 2016), healthcare (Tonekaboni et al. 2021; Kazijevs and Samad 2023), transportation (Li et al. 2020; Tedjopurnomo et al. 2020), and meteorology (Yozgatligil et al. 2013). However, these datasets often suffer from missing values due to factors such as sensor malfunctions, data transmission errors, and human oversight (Greco et al. 2012; Yi et al. 2016). Missing data can significantly degrade the performance of downstream tasks (Ribeiro and Castro 2022; Alwateer et al. 2024), making accurate and robust imputation a critical challenge.
One of the earliest imputation methods dates back to Allan and Wishart 1930, which provided formulas for estimating single missing observations. Over the past century, this foundational idea of imputation has been extended to broader application domains. Statistical imputation methods have gained sustained attention due to their computational efficiency and ease of implementation. These approaches range from simple techniques, such as imputation using the mean or median of observations, to interpolation-based methods (Tukey 1952), and more sophisticated model-based techniques, including Kalman filters and autoregressive models (Gómez and Maravall 1994; Shumway et al. 2000). However, these methods often rely on strong assumptions such as linearity and stationarity, which may not hold in complex real-world scenarios, thereby limiting their applicability and accuracy (Fuller 2009).
To address the limitations of statistical methods, recent research has increasingly turned to machine learning approaches for imputation. These methods are capable of capturing complex spatio-temporal patterns and nonlinear dependencies without requiring strict assumptions (Fang and Wang 2020). Typical examples include training neural networks such as recurrent neural networks and transformer architectures for inferring missing values (Wang et al. 2024). In parallel, generative models such as Variational AutoEncoders (VAEs) and Generative Adversarial Networks (GANs) have shown promise by introducing uncertainty-aware imputations (Fortuin et al. 2020; Miao et al. 2021). However, these generative models often spell limitations in expressiveness or training stability. More recently, diffusion-based generative models have emerged as a powerful alternative, offering robust imputations and strong empirical performance across diverse and high-dimensional time series datasets (Tashiro et al. 2021; Zhou et al. 2024).
Despite their widespread empirical success, diffusion-based imputation methods exhibit two key challenges. First, their performance is highly sensitive to dataset characteristics, often displaying substantial variability across benchmarks (Zhang et al. 2024; Zheng and Charoenphakdee 2022; Tashiro et al. 2021). Second, they are significantly affected by missing patterns, leading to inconsistencies in imputation quality (Zhang et al. 2024; Ouyang et al. 2023; Zhou et al. 2024). These observations motivate the following fundamental questions:
How well can diffusion models capture the underlying conditional distribution of missing values?
How does the missing pattern affect the imputation performance?
In this paper, we answer the two questions from a statistical learning perspective. Our analysis centers on Diffusion Transformers (DiT, Peebles and Xie 2022) applied to imputation tasks with Gaussian process (GP) data. Despite their conceptual simplicity, GPs exhibit rich spatio-temporal dependencies and long-horizon dependencies that pose challenges for modeling and imputation. On the other hand, GPs are powerful statistical tools widely used in regression, classification, and forecasting tasks (Seeger 2004; Banerjee et al. 2013; Borovitskiy et al. 2021).
We establish sample complexity bounds for DiTs in learning the underlying conditional distribution of missing values given observed ones. The obtained bounds demonstrate the role of missing patterns in imputation performance, highlighting how the condition number of the covariance matrix for the missing values and distribution shifts contribute to variability in accuracy. Furthermore, we derive confidence intervals for imputed values and show the coverage probability of them converging to the desired level. We summarize our contributions as follows.
Statistical Efficiency. We show that DiTs capture the conditional distribution of missing values effectively. The sample complexity in Theorem 2 scales at a rate , where denotes the training sample size. We obtain a convergence rate with a mild polynomial dependence on the sequence length . In addition, is the condition number induced by the missing patterns. To establish Theorem 2, we develop a novel score representation theory (Theorem 1) for DiTs, where we utilize an algorithm unrolling technique.
Uncertainty Quantification. Leveraging the generative power of trained DiTs, we construct confidence regions (intervals) from massive generated missing values. This approach possesses its natural appeal and enjoys strong coverage guarantees (Corollary 1). We show that the coverage probability converges to the desired level at a rate. Meanwhile, the missing patterns influences the convergence.
Mixed-Masking Training Strategy. Motivated by our theoretical results, we propose a training strategy blending different masking schemes to cover diverse missing patterns. The performance of our method on synthetic datasets validates our findings and outperforms benchmark methods.
Notations We use bold lowercase letters to denote vectors and bold uppercase letters to denote matrices. For a vector , denotes its Euclidean norm. For a matrix , and denote its spectral norm and Frobenius norm, respectively, and . When matrix is positive definite, we denote and as its largest and smallest eigenvalues; its condition number is . We denote if there exists a constant such that . Notation suppresses constants, while further hides logarithmic factors.
2 Related Work
In the early stages of time series imputation, statisticians developed a wide range of traditional statistical methods aimed at both imputation (point estimation) and quantifying uncertainty, often by leveraging well-established statistical tools to construct confidence intervals (Cox et al. 1981; Shumway et al. 2000). Initial techniques were relatively simple, such as imputing missing values using the mean or median of observed entries. These were later followed by more advanced interpolation approaches based on regression models, including linear regression and splines (Shumway et al. 2000). To better exploit the spatio-temporal structure inherent in time series data, model-based methods emerged, such as ARIMA, GARCH, Kalman filters, and Bayesian inference frameworks (Fuller 2009). These approaches are advantageous for their interpretability, ability to incorporate domain knowledge, and support for formal statistical testing. Moreover, many of them naturally allow for uncertainty quantification through predictive intervals or posterior distributions. However, these methods come with notable limitations: they typically rely on strong assumptions about stationarity, linearity, or noise distributions, making them less effective for complex real-world data with nonlinear or high-dimensional spatio-temporal dependencies (Anderson 2011). Additionally, their computational cost often scales poorly with data dimensionality, posing challenges for modern large-scale applications.
To address the limitations of statistical approaches, machine-based imputation methods have become increasingly popular in recent years. Early approaches include classical machine learning models (Jerez et al. 2010) such as support vector machines (Wu et al. 2015) and tree-based methods (including bagging and boosting techniques) (Vateekul and Sarinnapakorn 2009; Yang et al. 2017). With the advancement of model architectures and increasing computational power, deep learning-based models have gained prominence for their ability to capture complex temporal dependencies (Fang and Wang 2020; Wang et al. 2024; Du et al. 2024). Predictive models such as RNNs (Che et al. 2018; Yoon et al. 2018b; Cao et al. 2018), CNNs (Wu et al. 2022; Fu et al. 2024a), GNNs (Cini et al. 2021), and transformer-based networks (Bansal et al. 2021; Du et al. 2023) directly estimate missing values using well-designed architectures. Generative imputation methods model the distribution of missing data and perform better in quantifying uncertainty; representative techniques include GAN-based methods (Luo et al. 2018; Yoon et al. 2018a; Miao et al. 2021), VAE-based approaches (Mattei and Frellsen 2019; Fortuin et al. 2020; Mulyadi et al. 2021; Peis et al. 2022; Kim et al. 2023), and diffusion models. Among diffusion approaches, CSDI (Tashiro et al. 2021) introduced conditional diffusion for time series imputation, and subsequent work (Alcaraz and Strodthoff 2022; Wang et al. 2023; Liu et al. 2023; Zhou et al. 2024) improved conditioning strategies and computational efficiency. DiT (Peebles and Xie 2022; Cao et al. 2024) extends this line by integrating a transformer backbone into the diffusion framework, achieving better imputation accuracy and uncertainty quantification. These methods resolve certain issues and perform well empirically, however, are still limited by lacks of uncertainty quantification in many methods and theoretical understanding.
Our work also contributes towards the theoretical foundations of diffusion models (Chen et al. 2024; Tang and Zhao 2024). Some prior works have established sample efficiency and learning guarantees for diffusion models when modeling the original data distribution. Chen et al. 2022; Benton et al. 2023; Li et al. 2024 show that the generated distribution remains close to the target distribution, assuming access to an relatively accurate score function. By incorporating score approximation procedures and corresponding theoretical analysis, Chen et al. 2023; Oko et al. 2023; Mei and Wu 2025 provide end-to-end guarantees, covering various types of data including manifold data and graphical models. In the case of conditional diffusion models, sharp statistical bounds of distribution estimation have been derived in Fu et al. 2024c. Additionally, Fu et al. 2024b explores the theoretical regime of modeling spatio-temporal dependencies in sequential data. However, these results do not directly apply to more concrete and complex scenarios, such as how conditional DiT models can learn intricate dependencies to accomplish time series imputation tasks.
3 Imputation in Gaussian Processes via Conditional Diffusion Models
In this section, we formalize the imputation task as a conditional distribution estimation problem. When the data are sampled from a Gaussian process, we identify rich structures in the conditional distribution. We then utilize a DiT to learn the distribution of missing values. Lastly, we summarize diffusion-based imputation method in Algorithm 1.
3.1 Imputation for Gaussian Process Data
Imputation refers to the task of inferring missing values given the observed ones. Denote by the set of all time indices. For a multivariate sequence of length , we consider a block-missing setting, where certain time frames are entirely unobserved. The subset of observed indices is denoted by , where denotes the cardinality. Correspondingly, denotes the time indices of missing frames. To avoid degenerate cases, we assume . In the sequel, we focus on the Missing Completely at Random case (Little 1988), where each index in is independently sampled from some underlying distribution.
We represent the vectorized observed partial sequence as , and the vectorized missing part as . We estimate the missing values by learning the conditional distribution . Notably, learning the conditional distribution goes beyond point estimates of the missing values, but provides easy access to confidence regions. We slightly abuse the notation by using to simultaneously refer to random vectors.
Throughout our theoretical analysis, we focus on -dimensional Gaussian process data. To uniquely distinguish a Gaussian process, it suffices to specify its mean and covariance functions. In particular, we denote the mean as and we parameterize the covariance matrix by , where for any and is a kernel function. It is worth mentioning that captures the spatial dependencies and function represents temporal correlation. The kernel function dictates the strength and decay of the temporal dependencies among different data frames. The joint distribution of a sequence is Gaussian , where
Here and is the matrix Kronecker product. We impose the following assumption for characterizing the temporal dependencies.
Assumption 1.
There exists -dimensional embedding such that for a constant . Moreover, for any , it holds that , and for , . Kernel function only depends on . Furthermore, we assume and are positive definite.
Assumption 1 ensures that the pairwise distances in the embedding uniquely identifies positional gaps. We do not specify a particular form of the kernel function, which encodes many commonly ones such as Gaussian Radial Basis Function (RBF), Ornstein–Uhlenbeck kernels, and Matérn kernels (Rasmussen and Williams 2006). As a concrete example, sinusoidal embedding is widely used in transformer networks (Vaswani et al. 2017). Consider a two-dimensional embedding defined as where is a fixed radius and is a scaling constant. The Euclidean distance between any two embedding is which is strictly positive for , and approximately linear in when is sufficiently large.
Under the Gaussian process setting, the conditional distribution of is still Gaussian (Bishop and Nasrabadi 2006). The conditional mean and covariance are given by
where we denote (the same holds for ), , and (resp. ) as the covariance of (resp. ). See Figure 1 for a graphical demonstration. We check that with capturing correlation among index set .
3.2 Training Diffusion Transformers for Imputation
We estimate the conditional distribution using diffusion transformers. A diffusion model consists of two coupled processes—a forward and a backward process. We adopt a continuous-time description. In the forward process, we gradually corrupt data by
| (1) |
and is a Wiener process. The forward process terminates at a sufficiently large time and we denote the distribution of as with density . Note that we only corrupt the missing values by Gaussian noise, but keep the observed partial sequence unchanged.
Corresponding to the forward process, the backward process simulates the reverse evolution of the forward process. As a result, it generates new samples by progressively removing noise:
| (2) |
where is another Wiener process and is the conditional score function. In the remaining of the paper, we drop the subscript in the score function for simplicity. Unfortunately, is typically unknown and must be estimated using a neural network. We denote the estimated score function by . Consequently, the sample generation process follows an alternative backward SDE:
| (3) |
Here, we also replace the unknown by a standard Gaussian distribution.
When training the score estimator , we assume access to fully observed sequences. To simulate a partially observed sequence, we sample a masking sequence , where denotes missing the observation and keeping the observation. Then is extracted according to the masking sequence. In later context, we will investigate how to choose masking strategies. We summarize the diffusion-based method for sequence imputation in Algorithm 1.
Output: A well-trained conditional diffusion model.
For the rest of the paper, we parameterize the conditional score function using a transformer network. A transformer (Vaswani et al. 2017), comprises a series of blocks and each block encompasses a multi-head attention layer and a feedforward layer. Let be the (column) stacking matrix of patches. In a transformer block, the multi-head attention layer computes
| (4) |
where are weight matrices of corresponding sizes in the -th attention head, and is an activation function. The attention layer is followed by a feedforward layer, which computes
Here, are weight matrices, and are offset vectors, denotes a vector of ones, and the ReLU activation function is applied entry-wise. This feedforward layer performs a linear transformation to the output of the attention module with more flexibility. For our study, the raw input to a transformer is patches of -dimensional vectors and time in the backward process. We refer to as a transformer architecture defined by
| (5) |
4 Conditional Score Approximation via Algorithm Unrolling
Suggested by the sample generation process (3), the key is to learn the conditional score function. This section devotes to establishing a novel score approximation theory of transformers based on algorithm unrolling.
Since is Gaussian, the forward process (1) yields the following closed-form score function:
| (6) |
where and . The matrix inverse poses a challenge in representing the score by a transformer, as it may deteriorate structures in . Therefore, we reformulate the conditional score function as the optimal solution of a quadratic optimization problem:
| (7) |
It suffices to obtain an approximate optimal solution of (7) using a gradient descent algorithm. At the -th iteration, with a step size , we have
| (8) |
for . Unfortunately, we encounter another matrix inverse in . Analogous to (7), we consider an auxiliary quadratic optimization problem:
| (9) |
Via a gradient descent algorithm with step size , the update reads
| (10) |
where iteration index .
We substitute the last iterate into the right-hand side of (8) to obtain as an approximation to . We summarize the nested gradient descent algorithm for calculating the conditional score function in Algorithm 2.
Input: Observation , current state , time , step sizes , iteration counts .
With sufficiently large and , the representation error of Algorithm 2 can be well-controlled.
Lemma 1 (Representation error of Algorithm 2).
Detailed proof of Lemma 1 is provided in Appendix A. The compact region truncates the norm of and , which is plausible due to the Gaussian tail; see a precise definition of in Appendix Equation (13). Lemma 1 suggests that the computational complexity of Algorithm 2 for approximating the score function is governed by the condition numbers of and . A large condition number on implies that the variability of missing values among different directions changes significantly. Equivalently, with a large condition number, given , the missing values exhibit strong anistropic uncertainty that complicates the imputation.
Representing the conditional score function by a nested gradient descent algorithm enables an effective transformer network approximation. We show that transformers can realize each gradient descent iteration using a constant number of attention blocks. We provide the following score approximation theory using transformers.
Theorem 1.
Suppose Assumption 1 holds. Given an early stopping time and an error level , for any , there exists a transformer architecture such that, with proper weight parameters, it yields an approximation satisfying
The configuration of the transformer architecture satisfies
where we define .
The proof is provided in Appendix B. Figure 1 depicts the transformer architecture in our constructive proof, which unrolls Algorithm 2 efficiently. To obtain the approximation error bound, we develop a careful analysis of the error propagation in the auxiliary gradient descent for calculating . Theorem 1 also reinforces the insights from Lemma 1, where we observe that the size of the transformer network scales with the worst-case condition number. We will further discuss the relation between missing patterns and the condition number in Theorem 2.
5 Capturing Conditional Distribution and Uncertainty Quantification
Given a properly chosen transformer architecture, we establish guarantees for learning the conditional distribution of missing values and uncertainty quantification. We consider an estimated score network obtained by minimizing the following empirical score matching loss (a detailed derivation is deferred to Appendix D):
| (11) |
where
| (12) |
Substituting the learned score into the backward SDE (3) yields generated distribution . We introduce an early-stopping time to stabilize the training and sample generation (Song et al. 2020). We now present a convergence guarantee of to the true conditional distribution.
Theorem 2.
The proof of Theorem 2 is provided in Appendix C. This result establishes that DiT can efficiently learn the true conditional distribution of missing values. The sample complexity mildly depends on the sequence length. More importantly, the bound highlights that the estimation error depends on the condition numbers of and , reflecting the discussion after Lemma 1.
We provide an example to demonstrate that different missing patterns can lead to distinct condition numbers. Consider data of length with time correlation modeled by a Laplace kernel , and missing length . Clustered missingness—16 consecutive missing entries at the tail—yields a large condition number , making the task challenging. In contrast, dispersed missing patterns, 16 randomly placed missing entries, result in much smaller , making estimation easier. We provide numerical results on this example in Section 6.
Confidence Region Construction
Given the learned conditional distribution and a new observed sequence , we deploy the model to generate samples and form point estimates and confidence regions as in Algorithm 1. Since may not be seen in the training samples, we encounter a distribution shift, meaning that we need to transfer the knowledge in the learned model to the new testing instance. The subtlety here is how to quantify the knowledge transfer rate. Our proposal is the following class-dependent distribution shift coefficient.
Definition 1.
The distribution shift between two probability distributions and with respect to a function class is defined as
In our analysis, we specialize to a function class induced by the transformer network:
Since might be insensitive to certain distinctions, it introduces some smoothing effect to capture the difference between and . We consider and as the marginal training distribution of and the point mass of the testing distribution , denoted as and , respectively. The following corollary provides a guarantee for the coverage probability of the constructed CR.
Corollary 1.
Detailed proof is provided in Appendix C. Corollary 1 says that the coverage probability of the constructed CR converges to the desired level at the same rate of the conditional distribution estimation. More importantly, the distribution shift coefficient directly influences the coverage probability. We present a detailed discussion in the following remark.
Remark 1.
There are two factors controlling the distribution shift coefficient: 1) the observed values in and 2) the missing pattern. From our theoretical analysis, we identify a profound impact of the missingness patterns on the learning efficiency and the choice of transformer architectures. Indeed, when the masking strategy in Algorithm 1 is relatively easy, is small. However, can deviate significantly from the training samples, causing a large distribution shift. On the contrary, including harder masks can effectively reduce the distribution shift, but elevates learning difficulty. As a result, there is a trade-off between the masking strategy and the reliability of the trained diffusion transformer for imputation. In Section 6, we introduce a mixed-masking training strategy to enhance the performance of diffusion transformers, where diverse masking patterns are randomly sampled. This reduces distribution shift and improves robustness to varying imputation difficulty.
6 Experiments
We evaluate the performance of DiT through simulation to validate our theoretical results on imputation efficiency, uncertainty quantification, and the effectiveness of the mixed-masking training strategy. Experiments are conducted on Gaussian processes and, additionally, on more complex latent Gaussian processes to assess generalization beyond our theoretical scope. The DiT implementation builds on the DiT codebase (Peebles and Xie 2022). Further experimental details and real-world dataset experiments are provided in Appendix E. Our code is available at https://github.com/liamyzq/DiT_time_series_imputation.
6.1 Gaussian Processes
We generate Gaussian process data with sequence length , dimension , and define the missing segment length as . In addition to applying Algorithm 1 to construct confidence regions (CRs), we sample from the true conditional distribution to evaluate CR coverage—the proportion of true values that fall within the estimated CR for comparison.
We first vary two factors: training sample size , and missing patterns 1-4 (denoted as P1-P4) as shown in Figure 2. As discussed in Theorem 2, acts as a key varying parameter. To mitigate distribution shift, we apply the same missing patterns to both training and test data. Results in Figure 3 show that small training sets (, ) result in low variability and poor distribution estimation. As sample size increases, DiT yields CRs that significantly better match the true distribution. We further vary sequence length () and report the results in Table 1. The results suggest that CR coverage rate decreases as sequence length increases, which supports our theoretical findings. Regarding missing patterns, those with lower condition numbers reduce the sample complexity needed for effective estimation. These findings are consistent with our theory, suggesting that the conditional covariance condition number serves as a practical measure of estimation difficulty. Patterns with lower condition numbers retain richer temporal correlations, enabling accurate estimation with fewer samples.
| H | 16 | 32 | 64 | 96 | 128 |
| CR | 92.67 (±1.95) | 88.63 (±2.01) | 82.14 (±1.70) | 80.25 (±1.64) | 77.81 (±1.87) |
| P1 | P2 | P3 | P4 | |
| S1 | 34.58 (±1.22) | 58.46 (±1.89) | 72.42 (±1.66) | 80.25 (±1.64) |
| S2 | 66.22 (±3.86) | 83.71 (±2.86) | 74.04 (±1.90) | 81.50 (±2.12) |
| S3 | 56.04 (±6.48) | 81.05 (±2.09) | 74.59 (±1.27) | 83.09 (±1.48) |
| S4 | 57.27 (±5.34) | 79.00 (±2.42) | 74.38 (±3.00) | 82.74 (±2.40) |
| Only 8×2 | 36.74 (±1.31) | 60.51 (±1.65) | 71.24 (±1.52) | 80.46 (±2.01) |
| Only 4×4 | 34.15 (±1.16) | 59.23 (±1.88) | 73.08 (±1.10) | 79.83 (±1.84) |
| Only 1×16 | 32.68 (±1.50) | 54.23 (±1.76) | 69.46 (±1.53) | 76.72 (±2.20) |
Mixed-Masking training strategy.
Based on our insights from our distribution shift analysis, we introduce mixed-masking training strategy. Remark 1 highlights that discrepancies between training and test distributions can impair CR estimation, especially in real-world settings with limited training data. A common practice is to train on fully random masks, which tend to have lower condition numbers and thus pose easier estimation tasks. However, this intensifies the mismatch with test cases featuring more challenging, clustered missing patterns, limiting model adaptability. To address this, we propose mixed-masking training strategy. Using the same training samples, we evaluate the four test patterns in Figure 2. During training, we define four different mixed-masking strategies (each with 16 missing entries):
- •
S1: 100% random missing pattern (16×1, sixteen randomly placed missing entries).
- •
S2: 50% random (16×1) + 50% weakly grouped (8×2, eight randomly placed blocks of two consecutive missing entries).
- •
S3: 33.3% random (16×1) + 33.3% weakly grouped (8×2) + 33.3% moderately grouped (4×4, four randomly placed blocks of four consecutive missing entries).
- •
S4: 25% random (16×1) + 25% weakly grouped (8×2) + 25% moderately grouped (4×4) + 25% strongly grouped (1×16, one randomly placed block of sixteen consecutive missing entries).
Results in Table 2 show that models trained with mixed masking consistently outperform the baseline trained with completely random placed masks (S1). We also evaluate the strategies only containing individual patterns (8×2, 4×4, and 1×16 separately), and the results suggest that they yield inferior imputation performance compared to appropriately mixing different patterns. This supports our proposed mixed-masking strategies and aligns well with our theoretical insights. Yet determining optimal mixing ratios is instance based and remains an open question for future work.
Regarding how these strategies relate to our theoretical results, intuitively, different missing patterns during training lead to different training distributions , resulting in varying condition numbers and consequently different values. Training with diverse missing patterns—ranging from easy to hard—helps the model adapt to imputation tasks with varying levels of difficulty by effectively covering more scenarios. As for a more concrete example, let us denote the training distributions corresponding to S1 and S4 as and , respectively. Consider a test sample following the strongly grouped missing pattern P1 (consecutive missing entries). Intuitively, the resulting distribution is closer to than to , which implies the distribution shift coefficient of is smaller than the one of . Empirically, we calculate the average ratio across all test samples with missing pattern P1 and find that:
This clearly indicates that the mixed-masking training strategy (S4) yields significantly smaller distribution-shift coefficients compared to purely random missingness (S1). According to Corollary 1, this provides strong theoretical support for the superior empirical performance achieved by our mixed-masking strategy.
6.2 Latent Gaussian Processes
We conduct additional experiments to assess whether our findings generalize beyond the theoretical setting—specifically, whether different missing patterns affect imputation and uncertainty quantification performance, and whether the mixed-masking training strategy improves them. For drawn from the Gaussian process in Section 6.1, we consider a corresponding latent Gaussian process: with , where the non-linear transform is applied entry-wise. We adopt a training sample size of . This introduces nonlinearity and noise, increasing the difficulty of distribution estimation.
| DiT | CSDI | GPVAE | ||
| P1 | S1 | 0.70 (±0.03) | 0.75 (±0.03) | 5.24 (±0.75) |
| S2 | 0.68 (±0.02) | 0.69 (±0.02) | 5.45 (±1.05) | |
| S3 | 0.67 (±0.03) | 0.70 (±0.03) | 5.13 (±0.49) | |
| S4 | 0.67 (±0.02) | 0.68 (±0.02) | 5.28 (±0.68) | |
| P2 | S1 | 0.64 (±0.03) | 0.66 (±0.03) | 5.09 (±0.70) |
| S2 | 0.62 (±0.02) | 0.63 (±0.03) | 5.01 (±0.62) | |
| S3 | 0.60 (±0.03) | 0.62 (±0.02) | 4.94 (±0.56) | |
| S4 | 0.62 (±0.03) | 0.63 (±0.03) | 4.84 (±0.60) | |
| P3 | S1 | 0.62 (±0.02) | 0.65 (±0.02) | 4.63 (±0.58) |
| S2 | 0.60 (±0.03) | 0.64 (±0.03) | 5.12 (±1.00) | |
| S3 | 0.58 (±0.02) | 0.63 (±0.03) | 4.50 (±0.52) | |
| S4 | 0.58 (±0.03) | 0.61 (±0.02) | 4.59 (±0.54) | |
| P4 | S1 | 0.56 (±0.01) | 0.59 (±0.03) | 4.89 (±0.69) |
| S2 | 0.53 (±0.03) | 0.60 (±0.02) | 4.79 (±0.61) | |
| S3 | 0.53 (±0.01) | 0.58 (±0.03) | 4.39 (±0.49) | |
| S4 | 0.53 (±0.02) | 0.58 (±0.02) | 4.45 (±0.54) |
| DiT | CSDI | ||
| P1 | S1 | 36.46 (±1.62) | 54.75 (±1.89) |
| S2 | 53.68 (±3.26) | 56.68 (±2.75) | |
| S3 | 54.26 (±2.79) | 58.64 (±3.11) | |
| S4 | 56.43 (±3.76) | 55.67 (±4.03) | |
| P2 | S1 | 55.81 (±1.55) | 63.67 (±1.77) |
| S2 | 65.77 (±2.87) | 64.89 (±3.43) | |
| S3 | 66.24 (±3.22) | 63.13 (±2.95) | |
| S4 | 63.95 (±4.38) | 65.97 (±3.59) | |
| P3 | S1 | 63.53 (±1.72) | 61.35 (±1.49) |
| S2 | 71.29 (±2.99) | 65.69 (±2.79) | |
| S3 | 70.89 (±2.45) | 63.48 (±2.90) | |
| S4 | 73.36 (±4.37) | 67.17 (±3.93) | |
| P4 | S1 | 76.46 (±1.33) | 68.60 (±1.74) |
| S2 | 78.63 (±2.62) | 70.48 (±2.34) | |
| S3 | 78.79 (±2.67) | 73.46 (±2.53) | |
| S4 | 80.64 (±3.72) | 72.89 (±3.78) |
We evaluate DiT on this transformed dataset using the same four missing patterns and four training strategies from Section 6.1. For comparison, we implement two representative generative imputation models—CSDI (Tashiro et al. 2021) and GPVAE (Fortuin et al. 2020), ensuring all models have comparable numbers of trainable parameters. We report Mean Squared Error (MSE) against the true conditional mean and CR coverage rates, following the setup in Section 6.1. Results are shown in Tables 6.2 and 6.2. Since GPVAE performs poorly in point estimation, we omit its CR coverage. DiT consistently outperforms in both MSE and CR coverage, indicating transformers may better suit this task than CSDI’s convolutional design. Moreover, mixed-masking training improves performance not only for DiT but also for other models, demonstrating its broader benefit. These findings reinforce our conclusions from Gaussian process experiments and support the generalization of our theory and training methodology to more complex, nonlinear settings.
7 Conclusion and Discussion
Our work addresses a critical gap in the theoretical understanding of diffusion-based time series imputation and uncertainty quantification by investigating the statistical efficiency of diffusion transformers on Gaussian process data. This result enables efficient and accurate imputation and confidence region construction. Motivated by the theory, we propose a mixed-masking training strategy that introduces diverse missing patterns during training, rather than relying solely on completely random masks. Our experiments validate the theoretical findings and further demonstrate that the proposed strategy performs well and generalizes to more complex data beyond our analytical scope.
Looking ahead, investigating the behavior of diffusion transformers on heavy-tailed time series (e.g., financial data) would further clarify their limitations and guide practical design choices. Moreover, a more detailed analysis of optimal mixed-masking training strategies—especially those leveraging prior knowledge—could significantly improve the performance of imputation models.
References
- Alcaraz and Strodthoff (2022) Juan Miguel Lopez Alcaraz and Nils Strodthoff. Diffusion-based time series imputation and forecasting with structured state space models. arXiv preprint arXiv:2208.09399, 2022.
- Allan and Wishart (1930) FE Allan and John Wishart. A method of estimating the yield of a missing plot in field experimental work. The Journal of Agricultural Science, 20(3):399–406, 1930.
- Alwateer et al. (2024) Majed Alwateer, El-Sayed Atlam, Mahmoud Mohammed Abd El-Raouf, Osama A Ghoneim, and Ibrahim Gad. Missing data imputation: A comprehensive review. Journal of Computer and Communications, 12(11):53–75, 2024.
- Anderson (2011) Theodore W Anderson. The statistical analysis of time series. John Wiley & Sons, 2011.
- Banerjee et al. (2013) Anjishnu Banerjee, David B Dunson, and Surya T Tokdar. Efficient gaussian process regression for large datasets. Biometrika, 100(1):75–89, 2013.
- Bansal et al. (2021) Parikshit Bansal, Prathamesh Deshpande, and Sunita Sarawagi. Missing value imputation on multidimensional time series. arXiv preprint arXiv:2103.01600, 2021.
- Benton et al. (2023) Joe Benton, Valentin De Bortoli, Arnaud Doucet, and George Deligiannidis. Nearly -linear convergence bounds for diffusion models via stochastic localization. arXiv preprint arXiv:2308.03686, 2023.
- Bishop and Nasrabadi (2006) Christopher M Bishop and Nasser M Nasrabadi. Pattern recognition and machine learning, volume 4. Springer, 2006.
- Borovitskiy et al. (2021) Viacheslav Borovitskiy, Iskander Azangulov, Alexander Terenin, Peter Mostowsky, Marc Deisenroth, and Nicolas Durrande. Matérn gaussian processes on graphs. In International Conference on Artificial Intelligence and Statistics, pages 2593–2601. PMLR, 2021.
- Bubeck et al. (2015) Sébastien Bubeck et al. Convex optimization: Algorithms and complexity. Foundations and Trends® in Machine Learning, 8(3-4):231–357, 2015.
- Canonne (2022) Clément L Canonne. A short note on an inequality between kl and tv. arXiv preprint arXiv:2202.07198, 2022.
- Cao et al. (2024) Defu Cao, Wen Ye, Yizhou Zhang, and Yan Liu. Timedit: General-purpose diffusion transformers for time series foundation model. arXiv preprint arXiv:2409.02322, 2024.
- Cao et al. (2018) Wei Cao, Dong Wang, Jian Li, Hao Zhou, Lei Li, and Yitan Li. Brits: Bidirectional recurrent imputation for time series. Advances in neural information processing systems, 31, 2018.
- Che et al. (2018) Zhengping Che, Sanjay Purushotham, Kyunghyun Cho, David Sontag, and Yan Liu. Recurrent neural networks for multivariate time series with missing values. Scientific reports, 8(1):6085, 2018.
- Chen et al. (2016) Jou-Fan Chen, Wei-Lun Chen, Chun-Ping Huang, Szu-Hao Huang, and An-Pin Chen. Financial time-series data analysis using deep convolutional neural networks. In 2016 7th International conference on cloud computing and big data (CCBD), pages 87–92. IEEE, 2016.
- Chen et al. (2023) Minshuo Chen, Kaixuan Huang, Tuo Zhao, and Mengdi Wang. Score approximation, estimation and distribution recovery of diffusion models on low-dimensional data. In International Conference on Machine Learning, pages 4672–4712. PMLR, 2023.
- Chen et al. (2024) Minshuo Chen, Song Mei, Jianqing Fan, and Mengdi Wang. Opportunities and challenges of diffusion models for generative ai. National Science Review, 11(12):nwae348, 2024.
- Chen et al. (2022) Sitan Chen, Sinho Chewi, Jerry Li, Yuanzhi Li, Adil Salim, and Anru R Zhang. Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptions. arXiv preprint arXiv:2209.11215, 2022.
- Cini et al. (2021) Andrea Cini, Ivan Marisca, and Cesare Alippi. Filling the g_ap_s: Multivariate time series imputation by graph neural networks. arXiv preprint arXiv:2108.00298, 2021.
- Cox et al. (1981) David R Cox, Gudmundur Gudmundsson, Georg Lindgren, Lennart Bondesson, Erik Harsaae, Petter Laake, Katarina Juselius, and Steffen L Lauritzen. Statistical analysis of time series: Some recent developments [with discussion and reply]. Scandinavian Journal of Statistics, pages 93–115, 1981.
- Du (2023) Wenjie Du. PyPOTS: a Python toolbox for data mining on Partially-Observed Time Series. arXiv preprint arXiv:2305.18811, 2023.
- Du et al. (2023) Wenjie Du, David Côté, and Yan Liu. Saits: Self-attention-based imputation for time series. Expert Systems with Applications, 219:119619, 2023.
- Du et al. (2024) Wenjie Du, Jun Wang, Linglong Qian, Yiyuan Yang, Zina Ibrahim, Fanxing Liu, Zepu Wang, Haoxin Liu, Zhiyuan Zhao, Yingjie Zhou, et al. Tsi-bench: Benchmarking time series imputation. arXiv preprint arXiv:2406.12747, 2024.
- Fang and Wang (2020) Chenguang Fang and Chen Wang. Time series data imputation: A survey on deep learning approaches. arXiv preprint arXiv:2011.11347, 2020.
- Fortuin et al. (2020) Vincent Fortuin, Dmitry Baranchuk, Gunnar Rätsch, and Stephan Mandt. Gp-vae: Deep probabilistic time series imputation. In International conference on artificial intelligence and statistics, pages 1651–1661. PMLR, 2020.
- Fu et al. (2024a) Chun Fu, Matias Quintana, Zoltan Nagy, and Clayton Miller. Filling time-series gaps using image techniques: Multidimensional context autoencoder approach for building energy data imputation. Applied Thermal Engineering, 236:121545, 2024a.
- Fu et al. (2024b) Hengyu Fu, Zehao Dou, Jiawei Guo, Mengdi Wang, and Minshuo Chen. Diffusion transformer captures spatial-temporal dependencies: A theory for gaussian process data. arXiv preprint arXiv:2407.16134, 2024b.
- Fu et al. (2024c) Hengyu Fu, Zhuoran Yang, Mengdi Wang, and Minshuo Chen. Unveil conditional diffusion models with classifier-free guidance: A sharp statistical theory. arXiv preprint arXiv:2403.11968, 2024c.
- Fuller (2009) Wayne A Fuller. Introduction to statistical time series. John Wiley & Sons, 2009.
- Gómez and Maravall (1994) Víctor Gómez and Agustín Maravall. Estimation, prediction, and interpolation for nonstationary series with the kalman filter. Journal of the American Statistical Association, 89(426):611–624, 1994.
- Greco et al. (2012) Sergio Greco, Cristian Molinaro, and Francesca Spezzano. Incomplete data and data dependencies in relational databases, volume 29. Morgan & Claypool Publishers, 2012.
- Jerez et al. (2010) José M Jerez, Ignacio Molina, Pedro J García-Laencina, Emilio Alba, Nuria Ribelles, Miguel Martín, and Leonardo Franco. Missing data imputation using statistical and machine learning methods in a real breast cancer problem. Artificial intelligence in medicine, 50(2):105–115, 2010.
- John et al. (2019) Chisimkwuo John, Emmanuel J Ekpenyong, and Charles C Nworu. Imputation of missing values in economic and financial time series data using five principal component analysis approaches. CBN Journal of Applied Statistics (JAS), 10(1):3, 2019.
- Kazijevs and Samad (2023) Maksims Kazijevs and Manar D Samad. Deep imputation of missing values in time series health data: A review with benchmarking. Journal of biomedical informatics, page 104440, 2023.
- Kim et al. (2023) SeungHyun Kim, Hyunsu Kim, Eunggu Yun, Hwangrae Lee, Jaehun Lee, and Juho Lee. Probabilistic imputation for time-series classification with missing data. In International Conference on Machine Learning, pages 16654–16667. PMLR, 2023.
- Li et al. (2024) Gen Li, Yu Huang, Timofey Efimov, Yuting Wei, Yuejie Chi, and Yuxin Chen. Accelerating convergence of score-based diffusion models, provably. arXiv preprint arXiv:2403.03852, 2024.
- Li et al. (2020) Huiping Li, Meng Li, Xi Lin, Fang He, and Yinhai Wang. A spatiotemporal approach for traffic data imputation with complicated missing patterns. Transportation research part C: emerging technologies, 119:102730, 2020.
- Little (1988) Roderick JA Little. A test of missing completely at random for multivariate data with missing values. Journal of the American statistical Association, 83(404):1198–1202, 1988.
- Liu et al. (2023) Mingzhe Liu, Han Huang, Hao Feng, Leilei Sun, Bowen Du, and Yanjie Fu. Pristi: A conditional diffusion framework for spatiotemporal imputation. In 2023 IEEE 39th International Conference on Data Engineering (ICDE), pages 1927–1939. IEEE, 2023.
- Luo et al. (2018) Yonghong Luo, Xiangrui Cai, Ying Zhang, Jun Xu, et al. Multivariate time series imputation with generative adversarial networks. Advances in neural information processing systems, 31, 2018.
- Mattei and Frellsen (2019) Pierre-Alexandre Mattei and Jes Frellsen. Miwae: Deep generative modelling and imputation of incomplete data sets. In International conference on machine learning, pages 4413–4423. PMLR, 2019.
- Mei and Wu (2025) Song Mei and Yuchen Wu. Deep networks as denoising algorithms: Sample-efficient learning of diffusion models in high-dimensional graphical models. IEEE Transactions on Information Theory, 2025.
- Miao et al. (2021) Xiaoye Miao, Yangyang Wu, Jun Wang, Yunjun Gao, Xudong Mao, and Jianwei Yin. Generative semi-supervised learning for multivariate time series imputation. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 8983–8991, 2021.
- Mulyadi et al. (2021) Ahmad Wisnu Mulyadi, Eunji Jun, and Heung-Il Suk. Uncertainty-aware variational-recurrent imputation network for clinical time series. IEEE Transactions on Cybernetics, 52(9):9684–9694, 2021.
- Oko et al. (2023) Kazusato Oko, Shunta Akiyama, and Taiji Suzuki. Diffusion models are minimax optimal distribution estimators. In International Conference on Machine Learning, pages 26517–26582. PMLR, 2023.
- Ouyang et al. (2023) Yidong Ouyang, Liyan Xie, Chongxuan Li, and Guang Cheng. Missdiff: Training diffusion models on tabular data with missing values. arXiv preprint arXiv:2307.00467, 2023.
- Pardo (2018) Leandro Pardo. Statistical inference based on divergence measures. Chapman and Hall/CRC, 2018.
- Peebles and Xie (2022) William Peebles and Saining Xie. Scalable diffusion models with transformers. arXiv preprint arXiv:2212.09748, 2022.
- Peis et al. (2022) Ignacio Peis, Chao Ma, and José Miguel Hernández-Lobato. Missing data imputation and acquisition with deep hierarchical models and hamiltonian monte carlo. Advances in Neural Information Processing Systems, 35:35839–35851, 2022.
- Rasmussen and Williams (2006) Carl Edward Rasmussen and Christopher K. I. Williams. Gaussian Processes for Machine Learning. MIT Press, 2006.
- Ribeiro and Castro (2022) S Mara Ribeiro and CL Castro. Missing data in time series: A review of imputation methods and case study. Learning and Nonlinear Models, 20(1):31–46, 2022.
- Seeger (2004) Matthias Seeger. Gaussian processes for machine learning. International journal of neural systems, 14(02):69–106, 2004.
- Shumway et al. (2000) Robert H Shumway, David S Stoffer, and David S Stoffer. Time series analysis and its applications, volume 3. Springer, 2000.
- Song et al. (2020) Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
- Tang and Zhao (2024) Wenpin Tang and Hanyang Zhao. Score-based diffusion models via stochastic differential equations–a technical tutorial. arXiv preprint arXiv:2402.07487, 2024.
- Tashiro et al. (2021) Yusuke Tashiro, Jiaming Song, Yang Song, and Stefano Ermon. Csdi: Conditional score-based diffusion models for probabilistic time series imputation. Advances in Neural Information Processing Systems, 34:24804–24816, 2021.
- Tedjopurnomo et al. (2020) David Alexander Tedjopurnomo, Zhifeng Bao, Baihua Zheng, Farhana Murtaza Choudhury, and Alex Kai Qin. A survey on modern deep neural network for traffic prediction: Trends, methods and challenges. IEEE Transactions on Knowledge and Data Engineering, 34(4):1544–1561, 2020.
- Tonekaboni et al. (2021) Sana Tonekaboni, Danny Eytan, and Anna Goldenberg. Unsupervised representation learning for time series with temporal neighborhood coding. arXiv preprint arXiv:2106.00750, 2021.
- Tukey (1952) John W Tukey. The extrapolation, interpolation and smoothing of stationary time series with engineering applications, 1952.
- Vaswani et al. (2017) Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
- Vateekul and Sarinnapakorn (2009) Peerapon Vateekul and Kanoksri Sarinnapakorn. Tree-based approach to missing data imputation. In 2009 IEEE International Conference on Data Mining Workshops, pages 70–75. IEEE, 2009.
- Vincent (2011) Pascal Vincent. A connection between score matching and denoising autoencoders. Neural computation, 23(7):1661–1674, 2011.
- Wang et al. (2024) Jun Wang, Wenjie Du, Wei Cao, Keli Zhang, Wenjia Wang, Yuxuan Liang, and Qingsong Wen. Deep learning for multivariate time series imputation: A survey. arXiv preprint arXiv:2402.04059, 2024.
- Wang et al. (2023) Xu Wang, Hongbo Zhang, Pengkun Wang, Yudong Zhang, Binwu Wang, Zhengyang Zhou, and Yang Wang. An observed value consistent diffusion model for imputing missing values in multivariate time series. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 2409–2418, 2023.
- Wu et al. (2022) Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. Timesnet: Temporal 2d-variation modeling for general time series analysis. arXiv preprint arXiv:2210.02186, 2022.
- Wu et al. (2015) Shin-Fu Wu, Chia-Yung Chang, and Shie-Jue Lee. Time series forecasting with missing values. In 2015 1st International Conference on Industrial Networks and Intelligent Systems (INISCom), pages 151–156. IEEE, 2015.
- Yang et al. (2017) Jun-He Yang, Ching-Hsue Cheng, and Chia-Pan Chan. A time-series water level forecasting model based on imputation and variable selection method. Computational intelligence and neuroscience, 2017(1):8734214, 2017.
- Yi et al. (2016) Xiuwen Yi, Yu Zheng, Junbo Zhang, and Tianrui Li. St-mvl: Filling missing values in geo-sensory time series data. In Proceedings of the 25th international joint conference on artificial intelligence, 2016.
- Yoon et al. (2018a) Jinsung Yoon, James Jordon, and Mihaela Schaar. Gain: Missing data imputation using generative adversarial nets. In International conference on machine learning, pages 5689–5698. PMLR, 2018a.
- Yoon et al. (2018b) Jinsung Yoon, William R Zame, and Mihaela van der Schaar. Estimating missing data in temporal data streams using multi-directional recurrent neural networks. IEEE Transactions on Biomedical Engineering, 66(5):1477–1490, 2018b.
- Yozgatligil et al. (2013) Ceylan Yozgatligil, Sipan Aslan, Cem Iyigun, and Inci Batmaz. Comparison of missing value imputation methods in time series: the case of turkish meteorological data. Theoretical and applied climatology, 112:143–167, 2013.
- Zhang et al. (2024) Hengrui Zhang, Liancheng Fang, and Philip S Yu. Unleashing the potential of diffusion models for incomplete data imputation. arXiv preprint arXiv:2405.20690, 2024.
- Zhang et al. (2017) Shuyi Zhang, Bin Guo, Anlan Dong, Jing He, Ziping Xu, and Song Xi Chen. Cautionary tales on air-quality improvement in beijing. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 473(2205):20170457, 2017.
- Zheng and Charoenphakdee (2022) Shuhan Zheng and Nontawat Charoenphakdee. Diffusion models for missing value imputation in tabular data. arXiv preprint arXiv:2210.17128, 2022.
- Zhou et al. (2024) Jianping Zhou, Junhao Li, Guanjie Zheng, Xinbing Wang, and Chenghu Zhou. Mtsci: A conditional diffusion model for multivariate time series consistent imputation. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, pages 3474–3483, 2024.
Appendix A Proof of Lemma 1
We provide the detailed proof of Lemma 1 in this section.
To simplify our analysis, we begin by making some assumptions. Firstly, without loss of generality, we assume the mean of the Gaussian process data . Large norms in and often lead to training instability, making it practical to perform clipping. Inspired by this, leveraging the Gaussian and light-tailed nature of and , we truncate the domain of the data and diffused samples by defining an event that occurs with high probability :
| (13) |
where is a threshold depending on . Our score approximation analysis of Lemma 1 and Theorem 1 is conducted under the condition of event (ensuring the conclusions hold with high probability ), which significantly simplifies the process. The relationship between the truncation range , and high probability is deferred to Lemma 11. Outside event (i.e., on ), the unbounded range complicates obtaining a meaningful score approximation in the second-norm sense. However, as occurs with a small probability, we can still achieve reliable results in distribution estimation, where evaluation is based on expectation.
Some Useful Results
In this part, we present some key results regarding the eigenvalues and condition numbers of covariance matrices, which will be instrumental in our analysis.
We first define:
Using the positive definiteness of and , we obtain:
Furthermore, by the properties of the Kronecker product, we derive:
Finally, we assume:
A.1 Key Steps for Proving Lemma 1
In Lemma 1, we aim to show that the gradient-based Algorithm 2 provides a good approximation of the conditional score function.
The algorithm employs gradient descent to solve two types of optimization problems: the major GD problem (7), and the auxiliary GD problem (9), which is solved within each update step of the major GD. It is critical to note that the major GD updates are inherently noisy due to various reasons, such as the auxiliary GD approximating certain quantities at each step, and later using transformers to approximate each step. Therefore, to establish the result in Lemma 1, our proof consists of two key steps:
Step 1. We demonstrate that, with a sufficient number of auxiliary iterations , the approximation error of the auxiliary GD loop’s result can be controlled below a specified threshold.
Step 2. We then show that, by controlling the perturbation level in each major GD update step, the score approximation error (i.e., the gap between the output of the major GD and the ground truth score function) can also be bounded, provided there are enough major iterations .
In the following, we elaborate on each step by providing precise statements and subsequently use them to prove Lemma 1. All supporting results are deferred to later sections.
A.2 Detailed Statements in Steps 1-2 and Proof of Lemma 1
Now we present formal statements in Step 1-2 and use them to prove Lemma 1.
A.2.1 Formal Statements in Steps 1-2
Lemma 2.
For an arbitrarily fixed time and given an error tolerance , let , running the auxiliary gradient descent in (10) with a suitable step size for
iterations produces a solution that satisfies
Here, we introduce to distinguish the noise arising from the auxiliary GD loop approximation from the error level stated in Lemma 1. This distinction provides additional flexibility to adjust in subsequent proofs.
Next, we establish a lemma for the convergence of the major GD. In each major GD step (referring to (8)), we incorporate an error term and represent our gradient update as:
| (14) |
where represents the error term in each perturbed major GD step. Explicitly accounting for the noise present in each perturbed gradient step, we can establish:
Lemma 3.
For an arbitrarily fixed time and given an error tolerance , suppose , then running the major gradient descent in (14) and a suitable step size for
iterations produces a solution that satisfies
where .
With the convergence of both the auxiliary and major GD established, we are ready to prove Lemma 1.
A.2.2 Proof of Lemma 1
Proof.
By the statement in Lemma 3, we need to control the noise level in each major GD step, i.e. ensure We analyze this error as
Here, the latter term arises from approximating , and represents the -iteration auxiliary GD approximation of the matrix-vector product.
We provide a useful lemma to help control the error above.
Lemma 4.
For an arbitrarily fixed time , we have
and
Invoking Lemma 2 and Lemma 4, letting , to ensure that ., we can bound the required auxiliary iteration steps by:
Lastly, we invoke Lemma 3, substitute with , we have
Finally, notice that
and leveraging
A.3 Proofs of Lemma 2 and Lemma 3
To prove the lemmas, we first state a standard result in convex optimization.
Lemma 5 (Theorem 3.12 in [Bubeck et al. 2015]).
Let be -smooth and -strongly convex on and be the global minimizer. Then gradient descent with satisfies
where is the outcome at the -th iteration of gradient descent, and .
Equipped with this lemma, the proof process is straightforward.
A.3.1 Proof of Lemma 2
A.3.2 Proof of Lemma 3
Appendix B Proof of Theorem 1
We provide the detailed proof of Theorem 1 in this section by explicitly construct a transformer architecture to unroll Algorithm 2. Firstly, we assume that the mean function can be constructed by an additional preprocessing network. Thus, the analysis in this section can also be conducted under the condition of event and still assuming as stated in Appendix A.
B.1 Key Steps for Proving Theorem 1
The proof of Theorem 1 is presented in a constructive framework. Revisiting the architecture in (3.2), we observe that it comprises the encoder , which transforms the original input into a form compatible with the unrolling of Algorithm 2; the raw transformer blocks, which perform the algorithm unrolling; and the decoder , which extracts and truncates the output to provide the final score approximation.
We define the major GD step with as the first major GD step and those with as the later major GD steps. Similarly, we categorize the auxiliary GD steps. Notably, the first major GD step is relatively simpler, while the later major GD steps are analogous to it. Accordingly, we separate our analysis into the first and later major GD steps. To establish Theorem 1, the proof proceeds through the following steps:
Step 1. Construct the encoder, decoder, and essential components that are critical for constructing the subsequent raw transformer architectures.
Step 2. Construct the raw transformer architecture for the first major GD step.
Step 3. Construct the raw transformer architecture for the later major GD steps analogously.
Step 4. Analyze the error and configuration of the raw transformer architectures constructed in the previous steps.
Step 5. Summarize the constructions and analyses to establish the result in Theorem 1.
B.2 Constructing Encoder, Decoder and Some Crucial Transformer Components
For sake of simplicity, given a time step , we denote in the following analysis. Additionally, we define each as a transformer block. The architecture composed solely of transformer blocks, excluding the encoder and decoder , is referred to as the raw transformer, denoted by .
Encoder
The encoder we need is to mapping our input to higher dimensions in an attepmpt to include some useful values (e.g. time embeddings) and also some buffer spaces to finish the gradient descent process. For simplicity, at a specific time , we suppose the encoder converts the initial input into , which satisfies
where with . Specifically, we use different subscriptions for observed indices and missing indices, i.e. . For simplicity, we omitted the subscript here, and , , serve as the buffer space for storing the components necessary for unrolling the algorithm.
Decoder
Suppose the output tokens from the transformer blocks has produced a conditional score approximator in matrix shape, and the stability for the computation inside the network, we design the decoder . Where extracts and flattens the input into a vector that aligns with the dimension of the conditional score function, and controls the output range of the network by the upper bound of the score function. By Lemma 4, denote as , we can set
Module
At the end of this part, we also provide the construction of the multiplication module, which approximates the product between scalars and vectors. This is a crucial component in constructing later. We introduce a lemma, which is a modified version of Corollary 3 in [Fu et al. 2024b]:
Lemma 6.
Suppose input to be with , where and . Given any , there exists a (FFN-only) transformer architecture such that
with layers that approximately multiply each component with the weight and put it into a buffer, keeping other dimensions the same. This can be formally written as
The number of nonzero coefficients in each weight matrices or bias vectors is at most , and the norm of the matrices and bias are all bounded by .
B.3 First Major GD Step
In this section, we construct the transformer architecture unrolling the first step of major GD procedure, and the result can be summarized as:
Lemma 7 (Construct first major GD step).
There exists a raw transformer architecture , which can construct an approximate first step major GD result from the output of the encoder.
Given an error level and learning rate , the approximated first step GD result satisfies
where is the groundtruth gradient step.
The configuration of the raw transformer architecture satisfies
We defer the analysis of transformer configuration to B.5.
Following the encoder network construction above, we obtain the following input:
Revisiting the major GD gradient step in (8), our goal is to form the following at major GD first step:
| (15) |
Initially, we apply a multiplication module to construct:
This encapsulates the fundamental operations required for constructing the first major GD iteration.
B.3.1 Auxiliary GD for First Major GD Step
In this section, we approximate the term using an iterative auxiliary GD procedure.
First Auxiliary GD Step
Starting from the initialization for , we want the first auxiliary GD iteration finish the update:
Using , we can easily obtain
This finished the first step of auxiliary GD.
Auxiliary GD Later Steps
For subsequent iterations, the updated rule for the auxiliary GD becomes:
| (16) |
for
Similar to the first auxiliary GD step performed above, we firstly use to obtain
Then, by constructing a -head attention block as described in B.6.1, we obtain
Lastly, after combining an linear transformation FFN block with the attention block above to build up the basic transformer block , we will have
where
This completes a later step auxiliary GD update.
Final result for Auxiliary GD
We denote the iterative blocks as . The result of the auxiliary GD for approximating is expressed as:
After completing auxiliary GD iterations, we obtain at the following transformation:
which incorporates the iterative updates. The resulting output includes for each observation entry, alongside the original data. We therefore finish the auxiliary GD procedure for the first major GD step.
B.3.2 Matrix Multiplication
After steps of auxiliary GD iterations, we proceed with an additional matrix multiplication step to compute .
The multiplication can be expressed as:
Referring to the construction in B.6.2, this computation can be implemented using a -head attention block:
Combining the attention block described above with a linear transformation through a FFN block, which we denote as , we obtain:
We now define as:
Comparing this result with (15), we observe that the first step of the major gradient descent is now complete. We represent this step as .
For simplicity, we introduce the notation:
B.4 Major GD Later Steps
In this section, we construct the transformer architecture unrolling the later steps of major GD procedure, and the result can be summarized as
Lemma 8 (Construct major GD later steps).
There exists a raw transformer architecture (i.e. without encoder and decoder), which can construct a new approximate later step GD result from the output of the latest step of major GD. Given an error level and learning rate , the approximated first step GD result satisfies
where is the groundtruth gradient step.
Furthermore, the configuration of the raw transformer architecture satisfies
We defer the analysis of transformer configuration to B.5.
In the later steps of the major GD, we need to compute the following update:
| (17) | ||||
In the following proof, for the sake of simplicity, we use as abbreviation for , respectively.
In each new major GD step, the input to the iteration is the output of the most recent GD step. For simplicity, we continue to represent this input using .
Similar to the construction in the first step, we first apply a multiplication module to obtain:
Next, we proceed to the matrix multiplication step, followed by the auxiliary GD process.
B.4.1 Matrix Multiplication 1
To begin, we compute , which can be expressed as:
For each corresponding to the observations, this can be further rewritten as:
To perform this computation, similar to the construction in the first step major GD, we employ a -head attention block combined with an identical FFN block to form :
B.4.2 Auxiliary GD
In this step, we compute .
Following the auxiliary GD procedure described in B.3.1, we employ a similar iterative approach using to approximate the multiplication between a matrix inverse and vectors:
B.4.3 Matrix Multiplication 2
In this step, we compute .
Following a similar procedure as in B.3.2, we construct a transformer block . This block similarly employs a -head attention mechanism combined with an identity FFN to perform the matrix multiplication:
B.4.4 Matrix Multiplication 3
In this step, we compute .
Following a similar procedure as in B.6.1, we construct a transformer block . This attention layer utilizes a -head attention block to obtain:
Then, with a linear transformation FFN layer, we get the final output
where
Comparing this expression with (17), we conclude that one major GD update has been completed.
We can represent the later major GD steps compactly as:
B.5 Error Analysis and Transformer Configurations
In this section, we analyze the error induced by using transformer architectures to unroll the gradient descent procedure, and derive the corresponding transformer configurations to formally establish the result in Lemma 7 and 8. Lastly, we combine these results to finish the proof of Theorem 1.
Above all, we should notice that, by our construction above, leveraging transformer to approximate each step of Auxiliary GD also induces noise. Consequently, similar to (14), in each auxiliary GD step, we incorporate an error term and represent the update as:
| (18) |
where represents the approximation error term in each auxiliary GD step. We can also state a corresponding Lemma that sharing the same proof strategy with its counterpart in major GD (Lemma 3):
Lemma 9.
For an arbitrarily fixed time and given an error tolerance , if we can control , then running the auxiliary GD in (14) with a suitable step size for
iterations gives:
B.5.1 First Major GD Step
In this part, we analyze the noise introduced by the construction in B.3, and corresponding transformer architecture configuration (i.e. ).
Bounding Approximation Error
Let denote the exact major GD update, and represent our approximation. According to (15), in first major GD step, transformer blocks are utilized to compute:
for , as an approximation to:
In first major GD step, auxiliary GD is responsible for computing .
From (B.3.1), each auxiliary GD step updates as (here we only analyze the later auxiliary GD step, and we use for for the sake of simplicity):
and we approximate it using:
To ensure control over the error , Lemma 6 indicates that setting suffices. This requires iterations.
With each step noise controlled, the entire auxiliary GD procedure, combined with the subsequent matrix product blocks, yields . According to Lemma 9, setting
ensures that:
| (19) |
This provides an approximation of with controlled error bounds.
Finally, the module approximates scalar and vector multiplications to complete the first step of gradient descent. The overall error for each is computed as:
By setting , which leads to an auxiliary gradient descent step count of
and by Lemma 6, setting , which leads to
we successfully control the error .
Configuration of Transformer Architecture for Approximating the First Major GD Step
We finally summarize our construction by characterizing the configuration of the architecture:
- •
The input to the transformer is of dimension with .
- •
In each auxiliary GD step, we use 1 transformer block to form the matrix product and some modules, requiring a total of transformer blocks. We need to perform auxiliary GD steps. After completing the auxiliary GD, additional modules are used to compute scalar and vector products, which require blocks. Thus, the number of the transformer blocks is bounded by
- •
The number of transformer blocks is bounded by .
- •
With the constructions above, referring to Lemma 6, the norm of the multiplication module is bounded by ;, and Lemma 4 helps us bound and . Referring to the attention module constructed in B.6.2 and B.6.1, the norm of the attention matrices are bounded by ; and considering the weight matrices in the FFN, since they only do linear transformations and only have at most nonzero weights, their norm are bounded by . To sum up, we have the norm of the transformer parameters bounded by
And this finishes the proof of Lemma 7.
B.5.2 Major GD Later Steps
In this part, we analyze the noise introduced by the construction in B.4, and corresponding transformer architecture configuration.
Bounding Approximation Error
We first consider the auxiliary gradient descent which computes . Compared to the first step analysis, we simply replace with . So we can completely follow the procedure in (19). To control , we set the corresponding inside multiplication module error as
which requires
Combining the auxiliary GD output with the following matrix multiplication blocks, we obtain . By Lemma 9, with , we have
Next, we decompose the overall error term. Recall that
similar to the analysis in the first iteration, we can derive the error bound for approximating as:
where the second term, , was computed in the first iteration bound and is thus bounded by .
By setting , which leads to the auxiliary gradient descent step count:
and setting , which leads to
we successfully control the error .
Size of Transformer Architecture for Approximating the Later Steps Major GD
We finally summarize our construction by characterizing the size of the architecture:
- •
The input to the transformer is of dimension with .
- •
In the later major GD steps, , we use transformer blocks for each auxiliary GD step, and a total of auxiliary GD steps are required. After completing the auxiliary GD, we perform additional matrix multiplications (e.g., multiplying vectors by , , and ), which require 3 transformer blocks for attention. Subsequently, modules are used to complete the major GD, requiring blocks. Thus, the total number of transformer blocks required for each subsequent major GD step is bounded by:
- •
The number of transformer blocks is bounded by .
- •
Same as the analysis in the first step of major GD, we have the norm of the transformer parameters bounded by
And this finishes the proof of Lemma 8.
B.5.3 Proof of Theorem 1
Proof.
We formally construct the conditional score approximation transformer as follows:
Recalling that , by the major GD convergence result in Lemma 3, to ensure , the total major GD iteration number required is upper bounded by , which is obtained by substituting with .
Utilizing Lemma 7 and 8, and substituting with , the following transformer configuration can control the error in each major GD step:
where is computed by times the transformer block required in each major GD step.
Finally, by substituting with , and considering the truncation range which is induced by the decoder (), we obtain a uniform bound for any . Taking supremum over all admissible , and leverage the relationship that , we finish the proof of Theorem 1.
∎
B.6 Construction of Attention Layers
In this section, we construct the attention layers used in the transformer architectures built up in B.3 and B.4.
We utilize the added
to construct different types of interaction between different types of samples. (i.e. When we want attention exclusively among observed samples or missing samples, we use the construction method as described in below; When we want attention between observed samples and missing samples, while setting all other interactions to zero, we use the construction method as described in below. )
The intuition of (B.3.1) suggests a construction of a multi-head attention layer. Formally, for an arbitrary value of , we construct four attention heads with ReLU activation. The indicator function can be realized by calculating the auxiliary product of time embedding. To see this, we observe
Therefore, it holds that
since Assumption 1 ensures that the time embeddings uniquely identify discrete time gaps through their pairwise distances. Directly approximating an indicator function using a ReLU network can be difficult. Yet we note that can only take integer values. Therefore, we can slightly widen the decision band for the indicator function. Specifically, we denote a minimum gap . Thus, we deduce
We can use four ReLU functions to approximate the right-hand side of the last display, and simultaneously take different type of interaction types into account. We use another indicator function (which can be realized by the 0s and 1s added above) to represent what types of interaction we want in this specific transformer block.
We construct a trapezoid function as follows:
B.6.1 Construction of attention matrices related to the observed part
We construct the attention matrices for here.
For particular , we utilize
and
and
and
It is easy to verify that
We can claim that attention heads and identity FFN are enough for constructing this block.
B.6.2 Construction of attention matrices related to the correlation part
We only need to do some small changes to .
For particular , let
and
and
and
It is easy to verify that
We can thus state that attention heads and identity FFN are enough for constructing this block.
Appendix C Proofs of Theorem 2 and Corollary 1
Firstly, we introduce some notations specifically for this part for sake of simplicity. We denote our training set with i.i.d. samples as
We introduce the corollary below which will act as an significant role in our later proof:
Corollary 2.
By choosing the transformer architecture as in Theorem 1, the early-stopping time and the terminal time , it holds that
where .
C.1 Proof of Theorem 2
Although our assumption on Gaussian processes does not ensure the Novikov’s condition to hold, according to [Chen et al. 2022], as long as we have bounded the second moment for the score estimation error and finite KL divergence w.r.t the standard Gaussian, we could still adopt Girsanov’s Theorem and bound the KL divergence between the two distribution. We restate the Lemma as follows:
Lemma 10 (Corollary D.1 in [Oko et al. 2023], see also Theorem 2 in [Chen et al. 2022]).
Let be a probability distribution, and let and be two stochastic processes that satisfy the following SDEs:
We further define the distributions of and by and . Suppose that
| (20) |
for any . Then we have
Proof of Theorem 2.
Firstly, following the proof of Lemma 12, we can easily verify that for any ,
Thus, the condition (10) holds for all , which means that we could apply Girsanov’s theorem in this time range.
To further distinguish the SDE defined in (1), (2), and (3), we denote the distribution of as , respectively. Additionally, we need to introduce another intermediate backward process between as follows
and we denote the marginal distribution of (conditioned on ) as .
Equipped with these notations, we can decompose the total variation between and as
| (21) |
We denote as the eigenvalues of , and we can do eigenvalue decompositions to as , where .
Considering the second last term,, by Data Processing Inequality and Pinsker’s Inequality (see e.g. Lemma 2 in [Canonne 2022]), we have
| (22) |
where we leverage the close-form solution of the KL-divergence between two gaussian distributions in the first equality.
Regarding the first term, by Pinsker’s Inequality and the close-form solution of the KL-divergence between Gaussian distributions [Pardo 2018], we have
Leveraging the close-form solution of the KL-divergence between two gaussian distributions, we further have
Considering term , we have
Then we obtain
Regarding term , we have
Considering term , we have
Thus, with , we can take , and
| (23) |
Plugging in the result in Corollary 2 (taking , and ), we finally obtain
where . We complete our proof.
∎
C.2 Proof of Corollary 1
Proof.
Firstly, by the definition of total variation distance, we have the relationship
Following the decomposition in (C.1), we can obtain
Regarding the right hand side, following the derivation in (C.1), we can bound each term similarly by taking and .
For the second term, we leverage the close-form solution of the KL-divergence between two gaussian distributions:
For the last term, recalling the definition of , we have
Let
For the first term, leveraging the result in (23), and the decomposition of term C in the proof Theorem 2, we have
Finally, we can combine all the bounds above to obtain
and the corollary follows.
∎
Appendix D Proof of Corollary 2
In this section, we provide the detailed proof of Corollary 2.
Training Loss
During training, given a state we aim to minimize the ideal risk function:
| (25) |
However, in practice, the objective (25) is not directly accessible. According to Lemma C.3 in Vincent 2011, an equivalent objective function , which differs from only by a constant, can be used for optimization:
| (26) |
Here, is the Gaussian transition kernel of the forward process, satisfying
D.1 Steps for Proving Corollary 2
D.1.1 Risk Decomposition
The proof procedure is analogous to the proof of Theorem 4.1 in [Fu et al. 2024c], provided in Appendix D of the same work. Our goal is to derive a bound on We denote the ground truth score function as and set .
Following the setup, the risk can be decomposed as:
where is the score function trained on dataset using the empirical risk. By creating i.i.d. ghost samples
the population risk of can be rewritten as:
To bound the rewritten population risk, we can further decompose it by analyzing its behavior in a truncated area (aligning with our score approximation analysis in Theorem 1, we analyze the error conditioning on the event ), and the error induced by truncation.
The truncated loss function is defined as
| (27) |
Accordingly, we denote the truncated domain of the score function by , and the truncated loss function class defined as
| (28) |
Define the following intermediate terms ( depends on ):
and
The decomposition for the expected empirical risk over then becomes:
| (29) |
The terms , , and respectively represent the error incurred due to truncation, approximation in truncation, and the in-sample empirical risk expectation.
D.1.2 Bound of Each Component
We first bound the data range with high probability. The proof of the lemmas stated in this section are deferred to D.3.
Lemma 11 (Range of the data).
Given a sufficiently large data truncation range , we have
where , and is the absolute constant defined in Lemma 16.
We also have , where .
In the following analysis, for the sake of simplicity, we denote , which origins from Lemma 4. Then we state Lemma 12 to bound term in (D.1.1), which is the counterpart of in [Fu et al. 2024c].
Lemma 12.
For any ,
It is straightforward to conclude that
| (30) |
Then we proceed to the term in (D.1.1). For any , we have the following relationship
the inequality holds due to minimizes .
Taking minimum , we have
| (31) |
Lemma 13.
Given an error level ,
Finally, we can proceed to the bound of term . In an attempt to providing the bound, we first need to calculate the covering number of the loss function class , and correspondingly, the covering number of our transformer architecture function class. The covering number is defined as follows:
Definition 2.
We denote to be the covering number of any function class w.r.t the norm , i.e.,
A modified version of Lemma 23 in [Fu et al. 2024b] provides the following result on transformer covering numbers:
Lemma 14.
Consider the entire transformer architecture (i.e. with encoder and decoder). If the input to the transformer satisfy , the time embedding and the diffusion time-step embedding satisfy and , then the log-covering number of the transformer architecture is bounded by
Then, we can leverage the following lemma to calculate the covering number of the corresponding truncated loss function class.
Lemma 15.
Suppose such that for any and , then we have
Equipped with this lemma, it is straight forward to derive that
and satisfies
Invoking the bound provided in (D.16) of [Fu et al. 2024c], we have
| (32) |
D.2 Proof of Corollary 2
D.3 Proof of Supporting Lemmas in D.1.2
Proof of Lemma 11.
We first state the polynomial concentration lemma for Gaussian random variables.
Lemma 16 (Lemma 24 in [Fu et al. 2024b]).
Let be a polynomial of degree and . Then there exists an absolute positive constant , depending only on , such that for any ,
For a random variable , consider , we have
Applying Lemma 16, we can conclude that with high probability at least ,
Considering , we have ; and for , we have .
Therefore,
the last inequality holds for . Similar inequalities hold for .
Consider and let . We can then obtain a union bound. With probability at least ,
We finish the proof by setting . ∎
Proof of Lemma 12.
For any ( can depend on ),
where is the truncation range of the decoder, and we apply triangular inequality in the third line.
∎
Proof of Lemma 13.
Since , we can invoke Theorem 1 and triangular inequality:
where we apply Cauchy-Schwarz inequality in the second step, Jensen’s inequality in the last step.
For the second last term, similar to the proof of Lemma 12, we have
For the last term, we have
where we utilize the positive definiteness of in the last inequality.
Combining all the terms together, we have
∎
Appendix E Experiment Details
For our numerical experiments, we trained the models using a batch size of 64. Our adapted DiT model architecture used a hidden size of 256, 12 transformer layers, and 16 attention heads per layer. We utilized the PyPOTS [Du 2023] framework to implement and handle hyperparameter tuning for the baseline methods CSDI and GP-VAE. This tuning process aimed to find the best settings and ensure the models had a comparable number of trainable parameters. Experiments were conducted on hardware consisting of an NVIDIA RTX A6000 GPU (48GB) and an Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHz. We report all the results as the average of 5 runs. Our implementation of DiT for imputation is attached in supplementary materials.
E.1 Real World Datasets
Dataset Descriptions.
We utilize two real-world datasets, BeijingAir [Zhang et al. 2017] and ETT_m1, to benchmark the imputation performance of DiT. The BeijingAir dataset comprises hourly measurements of six air pollutants and meteorological variables collected from 12 monitoring sites in Beijing. The ETT_m1 dataset, part of the Electricity Transformer Temperature benchmark, records clients’ electricity consumption data, including power load and oil temperature. Detailed statistics for both datasets are provided in Table 5.
| Dataset | Total Samples | Sequence Length | Time Interval | Number of Variables |
| Air Quality | 1168 | 30 | 1H | 132 |
| Electricity | 2321 | 48 | 15min | 7 |
Results.
We report the Mean Absolute Error (MAE) in Table 6, the Mean Squared Error (MSE) in Table 7 and the Mean Relative Error (MRE) in Table 8. Results are shown across different missing data rates (10%, 20%, and 50%) for both datasets. The experimental results indicate that DiT consistently outperforms the baseline methods on both datasets, demonstrating its effectiveness, and our mixed-masking strategy can also enhance DiT’s performance on real-world datasets.
Figure 4 presents a comparison of imputation results on the ETT_m1 dataset, where we randomly select samples from a 50% missing data scenario. From the plots, it is evident that although both DiT and CSDI generate CRs that largely encompass the true data points, DiT achieves a tighter bandwidth, leading to improved uncertainty quantification performance.
| Model | ETTm_1 (Missing %) | BeijingAir (Missing %) | ||||
| 10% | 20% | 50% | 10% | 20% | 50% | |
| CSDI [Tashiro et al. 2021] | 0.1448 (±0.0105) | 0.1521 (±0.0114) | 0.1650 (±0.0097) | 0.1780 (±0.0138) | 0.1800 (±0.0129) | 0.2141 (±0.0119) |
| GP-VAE [Fortuin et al. 2020] | 0.2786 (±0.0077) | 0.3267 (±0.0044) | 0.4666 (±0.0073) | 0.4152 (±0.0088) | 0.4401 (±0.0080) | 0.5265 (±0.0054) |
| DiT | 0.1269 (±0.0076) | 0.1377 (±0.0095) | 0.1543 (±0.0102) | 0.1753 (±0.0094) | 0.1815 (±0.0208) | 0.2057 (±0.0145) |
| Model | ETT_m1 (Missing %) | BeijingAir (Missing %) | ||||
| 10% | 20% | 50% | 10% | 20% | 50% | |
| CSDI [Tashiro et al. 2021] | 0.0615 (±0.0097) | 0.0698 (±0.0106) | 0.0797 (±0.0106) | 0.4196 (±0.1726) | 0.3926 (±0.0790) | 0.4534 (±0.0379) |
| GP-VAE [Fortuin et al. 2020] | 0.1567 (±0.0094) | 0.2138 (±0.0067) | 0.4249 (±0.0127) | 0.4096 (±0.0202) | 0.4777 (±0.0179) | 0.7017 (±0.0189) |
| DiT | 0.0534 (±0.0063) | 0.0606 (±0.0076) | 0.0684 (±0.0070) | 0.3683 (±0.0351) | 0.4025 (±0.0424) | 0.4255 (±0.0670) |
| DiT w/ mixed-masking strategy | 0.0502 (±0.0055) | 0.0588 (±0.0081) | 0.0711 (±0.0092) | 0.3428 (±0.0275) | 0.3864 (±0.0403) | 0.4229 (±0.0539) |
| Model | ETT_m1 (Missing %) | BeijingAir (Missing %) | ||||
| 10% | 20% | 50% | 10% | 20% | 50% | |
| CSDI [Tashiro et al. 2021] | 0.1706 (±0.0123) | 0.1808 (±0.0135) | 0.1938 (±0.0114) | 0.2380 (±0.0186) | 0.2420 (±0.0174) | 0.2929 (±0.0159) |
| GP-VAE [Fortuin et al. 2020] | 0.3285 (±0.0091) | 0.3882 (±0.0052) | 0.5478 (±0.0085) | 0.5598 (±0.0118) | 0.5917 (±0.0107) | 0.7042 (±0.0072) |
| DiT | 0.1592 (±0.0084) | 0.1701 (±0.0102) | 0.1825 (±0.0094) | 0.2154 (±0.0125) | 0.2578 (±0.0375) | 0.3073 (±0.0241) |