                    TimeDART: A Diffusion Autoregressive Transformer for Self-Supervised Time Series Representation

Table 8: Fine-tuning under few-shot and linear probing settings. Average MSE and MAE from 4 different predicted windows
for forecasting while Accuracy and Macro-F1 for classification task. See Appendix G for full results.

                        ETT H 2                                                         PEMS04                                                                       HAR
       ( A ) F EW- SHOT         ( B ) L INEAR P ROBING                 ( A ) F EW- SHOT        ( B ) L INEAR P ROBING                    ( A ) F EW- SHOT                  ( B ) L INEAR P ROBING
  P ORTION       MSE MAE      M ETHOD         MSE MAE             P ORTION       MSE MAE    M ETHOD          MSE MAE              P ORTION        ACC.       F1         M ETHOD         ACC.      F1
     5%         0.365   0.392    T IME DART      0.354   0.391       5%         0.142   0.254    T IME DART      0.145   0.258       5%         0.8843      0.8901     T IME DART      0.8976   0.9005
    10%         0.354   0.391      S IM MTM      0.357   0.395      10%         0.140   0.250      S IM MTM      0.148   0.260      10%         0.9014      0.9053       S IM MTM      0.8732   0.8756
    F ULL       0.346   0.387     T IME MAE      0.361   0.397      F ULL       0.133   0.245     T IME MAE      0.152   0.264      F ULL       0.9247      0.9286      T IME MAE      0.8858   0.8862
 R AN . F ULL   0.358   0.396   R ANDOM I NIT.   0.368   0.401   R AN . F ULL   0.145   0.255   R ANDOM I NIT.   0.161   0.271   R AN . F ULL   0.8738      0.8723    R ANDOM I NIT.   0.8542   0.8578



redundancy, as they capture finer temporal dynamics. Fig-
ure 5 underscores the importance of adaptive patch length
selection based on dataset characteristics.

4.5. Analysis Experiment
Few-shot Evaluation In real-world applications, labeled
time series data often starts with a limited number of ob-
servations. This can make it tough to train accurate mod-
els. To see how well TimeDART performs in these situa-
tions, we conduct few-shot evaluations using the ETTh2,
PEMS04, and HAR datasets. Specifically, we train our mod-
els using only a small fraction (either 5% or 10%) of the                                             Figure 6: Pre-training and Fine-tuning the model to the
available training data, a method consistent with previous                                            inputs with extended length. The MSE averaged from all
research (Liu et al., 2024d). We then evaluate these models                                           predicted horizons is reported.
on the complete test set. The results of this evaluation are
presented in Table 8 (a).                                                                             fectively teaching the model to extract valuable representa-
The results show that while fine-tuning with a small portion                                          tions even from noisy data. This intentional design allows
of samples yields weaker performance than fine-tuning with                                            TimeDART to achieve superior forecasting performance
the full dataset on both forecasting and classification tasks,                                        with longer look-back windows.
it still outperforms full-data supervised fine-tuning under                                           Furthermore, as the look-back window increases, we ob-
random initialization in the vast majority of cases. This                                             serve a consistent improvement in forecasting in Figure 6.
corroborates the strong capabilities of the pre-trained repre-                                        This demonstrates that TimeDART successfully captures
sentation network. The results are detailed in Appendix G.                                            meaningful information from extended input length, and
                                                                                                      crucially, robustly mitigates the impact of increasing noise
Linear Probing As an important fine-tuning setting, we                                                that often accompanies longer inputs.
also experiment with the linear probing, where we fix the
pre-trained encoder and only fine-tune the newly added
projector at the end of the model. Table 8 (b) illustrates the                                        5. Conclusion
performance compared to some of the compared baselines.                                               In this paper, we introduced TimeDART, a novel pre-training
Our findings indicate that TimeDART’s performance in the                                              framework for self-supervised time series representation
linear probing setup exceed that of several baseline mod-                                             learning that unifies two effective generative paradigms. By
els, providing additional evidence for the efficacy of our                                            employing a causal Transformer encoder with a patch-based
pre-training framework. Concurrently, linear probing of-                                              embedding strategy to model global trends and incorporat-
ten matches or surpasses full-data supervised fine-tuning                                             ing a denoising diffusion process to capture fine-grained
from random initialization (e.g., MSE 0.354 vs. 0.358),                                               local patterns, TimeDART effectively addresses both long-
demonstrating the generalizability of TimeDART’s learned                                              term dynamic evolution and subtle local features. Extensive
representations across various downstream tasks. The re-                                              experiments on benchmark datasets for time series forecast-
sults are detailed in Appendix G.                                                                     ing and classification reveal that TimeDART consistently
                                                                                                      outperforms compared methods, confirming its effective-
Adapt to Extended-Length Input The standard fore-                                                     ness. A series of extra analyses confirmed TimeDART’s suit-
casting framework can often struggle when faced with ex-                                              ability and robustness in numerous self-supervised settings.
tended input lengths, a challenge frequently attribute to the                                         With its unique approach, TimeDART has the potential to
increased noise inherent in longer time series. However,                                              pave the way for future advancements in self-supervised
TimeDART’s pre-training explicitly incorporates noise, ef-                                            representation learning for time series.

                                                                                                 9
