Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting

Informer predicts long time series in one pass with sparse attention

  • Problem Vanilla Transformers stall on long forecasting horizons because attention time and memory grow quadratically with input length.
  • Method Informer keeps only the top queries by attention spread and predicts the full output in one forward pass.
  • Results On univariate forecasting, Informer wins 32 cases against 12 for Informer†.

Why long-horizon forecasting stalls

Most forecasting models were designed for short horizons, often 48 points or fewer. Past that point the error climbs and inference slows, as the authors show with an LSTM forecasting an electrical transformer's temperature. The authors say long-horizon forecasting needs two things: long-range alignment between inputs and outputs, and efficient operations on long inputs and outputs.

Transformers look promising because self-attention shortens the path a signal travels to O(1). The catch is that self-attention costs grow quadratically with the length L of inputs and outputs.

The authors list three limits of the vanilla Transformer when it is applied to LSTF. Attention costs O(L²) per layer, and stacking J layers multiplies memory to O(J·L²). Dynamic decoding makes long outputs as slow as an RNN. Sparse Transformer, LogSparse Transformer and Longformer cut attention cost to O(L log L) with heuristics, but their gains are limited.

Those works mainly address the first limit, so the memory stacking and decoding limits remain open.

ProbSparse attention: keep only the queries that matter

The key idea is that most query-key pairs add little, so only queries whose attention departs from uniform need full computation. Canonical attention computes \(A(Q,K,V)=\mathrm{Softmax}(QK^\top/\sqrt{d})V\), which costs quadratic dot products and O(L_Q L_K) memory. To score each query, the authors measure how far its attention is from a uniform distribution.

That measure, \(M(q_i,K)=\ln\sum_{j=1}^{L_K}e^{q_ik_j^\top/\sqrt{d}}-\frac{1}{L_K}\sum_{j=1}^{L_K}q_ik_j^\top/\sqrt{d}\), takes a log-sum-exp over the keys and subtracts their arithmetic mean. A larger value means the query's attention is more spread out and more likely to contain the dominant pairs.

Computing M exactly needs every dot product, and the log-sum-exp step can be numerically unstable. Lemma 1 bounds M between \(\ln L_K\) and the maximum scaled product minus its mean plus \(\ln L_K\), which motivates a cheaper stand-in. The max-mean form, \(M(q_i,K)=\max_j\{q_ik_j^\top/\sqrt{d}\}-\frac{1}{L_K}\sum_{j=1}^{L_K}q_ik_j^\top/\sqrt{d}\), replaces it.

The max is less sensitive to zeros, so unsampled pairs are filled with zero and only \(U=L_K\ln L_Q\) random dot products are needed.

ProbSparse then keeps the top-u queries under M, with \(u=c\cdot\ln L_Q\) and c as a sampling factor. Each query-key lookup costs O(ln L_Q), and layer memory is O(L_K ln L_Q). The unselected queries take the mean of V as their output rather than being dropped. With L_Q = L_K = L, the total time and space cost is O(L ln L). Each head picks its own sparse set of pairs, which avoids severe information loss.

Distilling the encoder and decoding in one pass

Before attention, each input step is a scalar projection plus fixed positional and learnable global time-stamp embeddings. The encoder then stacks attention blocks, and distilling shrinks the time axis after each one. Between layers the input passes through a convolution, an ELU activation and max-pooling: \(X^t_{j+1}=\mathrm{MaxPool}(\mathrm{ELU}(\mathrm{Conv1d}([X^t_j]_{AB})))\).

The convolution has kernel width 3 and the max-pool has stride 2, so each step halves the length. That halving keeps the stacked memory near \(O((2-\epsilon)L\log L)\), with ε a small number. The authors add replicas of the stack fed with halved inputs, dropping one distilling layer per replica, and concatenate their outputs.

The decoder input is a start token concatenated with a zero placeholder for the target, \(X^t_{de}=\mathrm{Concat}(X^t_{token},X^t_0)\). The start token is a slice of the known past, such as the 5 days before a 168-point target. Masked attention sets future positions to −∞, so no position sees later ones and no output is fed back step by step.

Training uses MSE on the decoder outputs, back-propagated through the whole model. Adam starts from a learning rate of 1e−4 that halves each epoch, with 8 epochs, early stopping and a batch size of 32.

Does the evidence back the idea?

In the univariate table Informer wins 32 cases and Informer† wins 12, which the authors read as support for the query sparsity assumption. Against LSTMa, Informer's MSE falls by 26.8%, 52.4% and 60.1% at horizons 168, 336 and 720. Against DeepAR, ARIMA and Prophet, the average MSE falls by 49.3%, 61.1% and 65.1% at the same three horizons.

On ECL, DeepAR is better up to horizon 336, and Informer wins at longer horizons. So the relative gains grow with horizon in these comparisons.

In the multivariate table Informer wins 33 cases, compared to 14 for Informer†. Relative to the univariate results, the margin over LSTMa and LSTnet is reduced, with average MSE drops of 26.6%, 28.2% and 34.3% at horizons 168, 336 and 720.

The ProbSparse test uses reduced settings, batch size 8, 8 heads and dimension 64, to isolate memory use. At input length 1440 with prediction length 336, Informer† and LogTrans run out of memory, while Informer reaches MSE 0.216. LogTrans's public implementation masks full attention, so it keeps O(L²) memory.

Without distilling, Informer‡ runs out of memory at input lengths 960 and 1200, while Informer† runs at every length. At horizon 336, Informer‡ holds MSE between 0.207 and 0.216 for prediction offsets from +0 to +72. Informer§, which uses dynamic decoding, reports 0.201 at offset +0 and nothing at the other offsets. This is read as the decoder avoiding error accumulation, since it relies on time stamps rather than its own earlier outputs.

In the runtime comparison, Informer trains fastest among the Transformer-based methods. At test time its generative decoding makes it much faster than the other methods. The sampling factor curve rises a little from c = 3 and then levels off, so c = 5 is used.

Limits and open questions

The main tables cover only the ETT, ECL and Weather data. The horizons were chosen so that every method could run on one single GPU. The authors leave the cause of the smaller multivariate margin, which they tie to anisotropy in feature dimensions, to future work. The long-tail evidence is a qualitative look at ETTh1 attention heads from one layer of a vanilla Transformer.

On ECL, DeepAR beats Informer at short horizons, so the win isn't universal. The memory ablation uses reduced batch size and head count, so it doesn't measure the main configuration directly.

Paper info

Authors
Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, Wancai Zhang
Venue
arXiv · Preprint
First published
2020-12-14
Added
2026-11-11
Updated
2021-3-28
Version
v3
arXiv
2012.07436
Category
cs.LG · cs.AI · cs.IR
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, Wancai Zhang (2020). Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. arXiv:2012.07436v3. https://arxiv.org/abs/2012.07436v3

BibTeX
@misc{zhou2020informer,
  title = {{Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting}},
  author = {Haoyi Zhou and Shanghang Zhang and Jieqi Peng and Shuai Zhang and Jianxin Li and Hui Xiong and Wancai Zhang},
  year = {2020},
  eprint = {2012.07436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.07436v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up