MSDformer: Multi-scale Discrete Transformer For Time Series Generation

Shibo Feng, Zhicheng Chen, Xi Xiao, Zhong Zhang, Qing Li +2 more
5/20/2025
5 citations
cs.LG
transformer-attention

Official code: kkking-kk/MSDformer (9 stars, Python, last commit 2026-10-08).

Abstract

Discrete Token Modeling (DTM), which employs vector quantization techniques, has demonstrated remarkable success in modeling non-natural language modalities, particularly in time series generation. While our prior work SDformer established the first DTM-based framework to achieve state-of-the-art performance in this domain, two critical limitations persist in existing DTM approaches: 1) their inability to capture multi-scale temporal patterns inherent to complex time series data, and 2) the absence of theoretical foundations to guide model optimization.

Show full abstract

To address these challenges, we proposes a novel multi-scale DTM-based time series generation method, called Multi-Scale Discrete Transformer (MSDformer). MSDformer employs a multi-scale time series tokenizer to learn discrete token representations at multiple scales, which jointly characterize the complex nature of time series data. Subsequently, MSDformer applies a multi-scale autoregressive token modeling technique to capture the multi-scale patterns of time series within the discrete latent space. Theoretically, we validate the effectiveness of the DTM method and the rationality of MSDformer through the rate-distortion theorem. Comprehensive experiments demonstrate that MSDformer significantly outperforms state-of-the-art methods. Both theoretical analysis and experimental results demonstrate that incorporating multi-scale information and modeling multi-scale patterns can substantially enhance the quality of generated time series in DTM-based approaches. Code is available at this repository:https://github.com/kkking-kk/MSDformer.

View on arXivView PDF

Code Implementations(1)

[TPAMI 2026] Official Implementation of "MSDformer: Multi-scale Discrete Transformer For Time Series Generation"

91Python, ShellApr 6, 20261 months ago

Similar Papers

Cite this paper

@article{feng2025msdformer,
  title  = {MSDformer: Multi-scale Discrete Transformer For Time Series Generation},
  author = {Shibo Feng and Zhicheng Chen and Xi Xiao and Zhong Zhang and Qing Li and Xingyu Gao and Peilin Zhao},
  year   = {2025},
  eprint = {2505.14202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14202v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

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

Discussion