TSMixer (IBM) is an all-MLP model that splits a time series into patches (short segments) and forecasts future values by alternately applying an MLP that mixes across patches and an MLP that mixes features within each patch. It was presented in 2023 by Ekambaram, Jati, Nguyen, Sinthong, and Kalagnanam of IBM Research in "TSMixer: Lightweight MLP-Mixer Model for Multivariate Time Series Forecasting" and accepted at KDD 2023. An implementation is available in Hugging Face transformers under the name PatchTSMixer.
In the same year, 2023, Chen et al. at Google also presented a different model with the same name, TSMixer (Google) (TMLR). The IBM version splits the series into patches and then mixes "across patches" and "within patches" (and optionally "across variables"), whereas the Google version mixes along two directions, "time" and "variable", without splitting into patches. When a paper or library says TSMixer, check which one it means.
At the time, PatchTST, which splits a time series into patches and feeds them to a Transformer, was a strong baseline for time series forecasting. However, PatchTST internally uses computationally heavy multi-head self-attention. Meanwhile, in vision, MLP-Mixer had achieved accuracy close to Transformers without self-attention.
The paper shows that applying MLP-Mixer to time series as is does not yield a strong model, and then adds the following design choices.
- Patching and channel independence: As in PatchTST, the series is split into patches, and the same weights are used for every variable (a "channel" in the paper's terms).
- Gated attention: A simple gate that amplifies important features and suppresses unneeded ones is attached after the MLP of each mixer.
- Heads that reconcile the forecast: Two kinds of heads (online reconciliation heads) can be attached that correct the forecast during training using relations between variables and relations among values aggregated per patch.
With this design, it achieved 1β2% better accuracy than PatchTST with one-half to one-third of the training time and memory. The same team later presented TTM, a small pretrained model built from TSMixer components.

