iTransformer is a long-term forecasting model that keeps every component of the Transformer encoder unchanged and only inverts the direction of the tokens, from "time steps" to "variables". It turns the entire past window of one variable into one token, learns the relationships between variables with attention, and learns each variable's change over time with the feed-forward layer. Liu, Hu, Zhang, Wu, Wang, Ma, and Long of Tsinghua University and Ant Group published it in 2023, and it appeared at ICLR 2024.
Earlier Transformer-based models (Informer, Autoformer, and others) made the values of all variables at one time step into one token. The paper points out the following problems with this design.
- Values with different meanings get mixed into one: Values with different units and distributions, such as temperature (°C) and power (kW), are embedded into a single vector.
- The same time step does not necessarily reflect the same event: Variables can be offset in time (a change in one variable may show up in another several hours later).
- A single time step carries little information: Each token sees too narrow a range, so attention weights struggle to mean anything.
On top of that, the simple linear model DLinear had been shown to beat Transformer-based models, prompting debate over whether Transformers are unsuited to time-series forecasting. The paper's position is that "the Transformer is not unsuitable; the way it was used (which axis becomes the token) was wrong."
This article calls the past interval used as input for the forecast the past window and the interval to be forecast the future window. In the paper's notation, the past window has length , the future window has length , and there are variables (note that these symbols differ from and in other articles).

