Preformer: Predictive Transformer with Multi-Scale Segment-wise Correlations for Long-Term Time Series Forecasting

Dazhao Du, Bing Su, Zhewei Wei
2/23/2022
cs.LGstat.ML
transformer-attention

Official code: ddz16/Preformer (46 stars, Python, MIT, last commit 2023-02-17).

Abstract

Transformer-based methods have shown great potential in long-term time series forecasting. However, most of these methods adopt the standard point-wise self-attention mechanism, which not only becomes intractable for long-term forecasting since its complexity increases quadratically with the length of time series, but also cannot explicitly capture the predictive dependencies from contexts since the corresponding key and value are transformed from the same point.

Show full abstract

This paper proposes a predictive Transformer-based model called {\em Preformer}. Preformer introduces a novel efficient {\em Multi-Scale Segment-Correlation} mechanism that divides time series into segments and utilizes segment-wise correlation-based attention for encoding time series. A multi-scale structure is developed to aggregate dependencies at different temporal scales and facilitate the selection of segment length. Preformer further designs a predictive paradigm for decoding, where the key and value come from two successive segments rather than the same segment. In this way, if a key segment has a high correlation score with the query segment, its successive segment contributes more to the prediction of the query segment. Extensive experiments demonstrate that our Preformer outperforms other Transformer-based methods.

View on arXivView PDF

Code Implementations(1)

ddz16/PreformerOfficial100%
MIT

This repository contains the pytorch code for the 2023 ICASSP paper "Preformer: Predictive Transformer with Multi-Scale Segment-wise Correlations for Long-Term Time Series Forecasting”

463PythonOct 26, 20223 years agoMIT
artificial-intelligencecorrelation-analysisdeep-learningdeep-neural-networkspredictive-modeling+5 more

Similar Papers

Cite this paper

@article{du2022preformer,
  title  = {Preformer: Predictive Transformer with Multi-Scale Segment-wise Correlations for Long-Term Time Series Forecasting},
  author = {Dazhao Du and Bing Su and Zhewei Wei},
  year   = {2022},
  eprint = {2202.11356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.11356}
}

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

Discussion