PatchTST is a model that splits a multivariate time series into single series per variable (channel independence), cuts each into short segments (patches), feeds them to a Transformer encoder, and forecasts the whole forecast window at once. It was published in 2022 by Nie, Nguyen, Sinthong, and Kalagnanam of Princeton University and IBM Research in "A Time Series is Worth 64 Words: Long-term Forecasting with Transformers," and appeared at ICLR 2023. The name stands for patch time series Transformer.
The starting point of the paper was the result, shown by the paper that proposed DLinear (Zeng et al.), that "a simple linear model can forecast more accurately than Transformer-based models such as Informer, Autoformer, and FEDformer." Without changing the attention mechanism, PatchTST showed that a Transformer can beat this linear model by rethinking what becomes a single token.
There are two key ideas.
- Patching: A value at a single time step, like a single character in a sentence, carries little meaning on its own. So consecutive time steps (for example, 16) are grouped into one token. The number of tokens drops to roughly ( is the stride between patches), so a longer lookback window can be read with the same compute.
- Channel independence: The variables are not mixed; each one passes through the same Transformer separately. The embedding and encoder weights are shared across all variables.
It applies to 1D time series the same idea as ViT, which cut images into 16×16 patches to make tokens.
In this article, the past interval used as input for the forecast is called the lookback window (length ), and the interval to be predicted is called the forecast window (length ). PatchTST turns the lookback window into a sequence of patches, reads it with the encoder, and outputs all values of the forecast window at once with a final linear layer.

