Infomaxformer: Maximum Entropy Transformer for Long Time-Series Forecasting Problem

Peiwang Tang, Xianchao Zhang

Abstract

The Transformer architecture yields state-of-the-art results in many tasks such as natural language processing (NLP) and computer vision (CV), since the ability to efficiently capture the precise long-range dependency coupling between input sequences. With this advanced capability, however, the quadratic time complexity and high memory usage prevents the Transformer from dealing with long time-series forecasting problem (LTFP). To address these difficulties: (i) we revisit the learned attention patterns of the vanilla self-attention, redesigned the calculation method of self-attention based the Maximum Entropy Principle. (ii) we propose a new method to sparse the self-attention, which can prevent the loss of more important self-attention scores due to random sampling.(iii) We propose Keys/Values Distilling method motivated that a large amount of feature in the original self-attention map is redundant, which can further reduce the time and spatial complexity and make it possible to input longer time-series. Finally, we propose a method that combines the encoder-decoder architecture with seasonal-trend decomposition, i.e., using the encoder-decoder architecture to capture more specific seasonal parts. A large number of experiments on several large-scale datasets show that our Infomaxformer is obviously superior to the existing methods. We expect this to open up a new solution for Transformer to solve LTFP, and exploring the ability of the Transformer architecture to capture much longer temporal dependencies.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ETTh1 · ETTh_1InfomaxformerMSE0.544-0.2 vs baselineTime Series Forecasting · input-length=720 · prediction-length=336
Source quote
L242: \multirow{2}{*}{Infomaxformer} │ MSE │ 0.567 │ 0.556 │ 0.544 │ 0.566 │ 0.568 │ 0.624 │ 0.537 │ 0.583 │ 0.597 │ 0.599 │ 0.709
ETTh1 · ETTh_1InfomaxformerMSE0.624-0.12 vs baselineTime Series Forecasting · input-length=1440 · prediction-length=336
Source quote
L242: \multirow{2}{*}{Infomaxformer} │ MSE │ 0.567 │ 0.556 │ 0.544 │ 0.566 │ 0.568 │ 0.624 │ 0.537 │ 0.583 │ 0.597 │ 0.599 │ 0.709
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
ETTh1 · ETTh_1Autoformer baselineMSE0.748Time Series Forecasting · batch-size=16 · input-length=720 · prediction-length=336
Source quote
L239: \multirow{2}{*}{Autoformer} │ MSE │ 0.581 │ 0.560 │ 0.748 │ \multirow{2}{*}{-} │ \multirow{2}{*}{-} │ \multirow{2}{*}{-} │ 0.573 │ \multirow{2}{*}{-} │ \multirow{2}{*}{-} │ \multirow{2}{*}{-} │ \multirow{2}{*}{-}
ETTh1 · ETTh_1Autoformer baselineMAE0.650Time Series Forecasting · batch-size=16 · input-length=720 · prediction-length=336
Source quote
L240: MAE │ 0.547 │ 0.547 │ 0.650 │ 0.558
BibTeX
@misc{tang2023infomaxformer,
  author = {Peiwang Tang and Xianchao Zhang},
  title = {{Infomaxformer: Maximum Entropy Transformer for Long Time-Series Forecasting Problem}},
  year = {2023},
  eprint = {2301.01772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.01772},
}

Loading related content...

Figure