HDT: Hierarchical Discrete Transformer for Multivariate Time Series Forecasting

Shibo Feng, Peilin Zhao, Liu Liu, Pengcheng Wu, Zhiqi Shen
2/12/2025
cs.LGcs.AI

No official code found. Best implementation: hdtkk/HDT (19 stars, MIT, last commit 2025-02-17).

Abstract

Generative models have gained significant attention in multivariate time series forecasting (MTS), particularly due to their ability to generate high-fidelity samples. Forecasting the probability distribution of multivariate time series is a challenging yet practical task. Although some recent attempts have been made to handle this task, two major challenges persist: 1) some existing generative methods underperform in high-dimensional multivariate time series forecasting, which is hard to scale to higher dimensions; 2) the inherent high-dimensional multivariate attributes constrain the forecasting lengths of existing generative models. In this paper, we point out that discrete token representations can model high-dimensional MTS with faster inference time, and forecasting the target with long-term trends of itself can extend the forecasting length with high accuracy. Motivated by this, we propose a vector quantized framework called Hierarchical Discrete Transformer (HDT) that models time series into discrete token representations with l2 normalization enhanced vector quantized strategy, in which we transform the MTS forecasting into discrete tokens generation. To address the limitations of generative models in long-term forecasting, we propose a hierarchical discrete Transformer. This model captures the discrete long-term trend of the target at the low level and leverages this trend as a condition to generate the discrete representation of the target at the high level that introduces the features of the target itself to extend the forecasting length in high-dimensional MTS. Extensive experiments on five popular MTS datasets verify the effectiveness of our proposed method.

View on arXivView PDF

Code Implementations(1)

hdtkk/HDTCommunity100%
MIT

[AAAI 2025] Official Implementation of "HDT: Hierarchical Discrete Transformer for Multivariate Time Series Forecasting"

191PythonFeb 12, 20251 years agoMIT

Similar Papers

Cite this paper

@article{feng2025hdt,
  title  = {HDT: Hierarchical Discrete Transformer for Multivariate Time Series Forecasting},
  author = {Shibo Feng and Peilin Zhao and Liu Liu and Pengcheng Wu and Zhiqi Shen},
  year   = {2025},
  eprint = {2502.08302},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08302v1}
}

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/2502.08302.svg)](https://codeofpaper.com/paper/2502.08302)

Discussion