All models

NeuralForecast TSMixerx

TSMixer's all-MLP mixer extended to take static and future-known covariates alongside history.

Time series · 123 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
335.4K
Operations
123
Framework
PyTorch
Recurrent
No
Published
TMLR (arXiv 2023)
Cited by
528 (as of 18 October 2026)
Authors
Si-An Chen, Chun-Liang Li, Nate Yoder and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1924
Graph hash
c3b801472495164964282df3231420efa2a054a9e336776cbdece857c9b68ec4
Skeleton hash
0740f34c0de543780b02d81d9d4bc6db0c6a1ca1269b37b35bd1921d454b32f7
Architecture hash
eedf71a6b199cdc936cec2a3f74576e31346fa2ef2e3489e4a8eb78cd05f75d1
Diagram SHA-256
ade6bf74c52c73aca7a4febbc15f774c09743074b0886c1a55ee7f56659c923a
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

TSMixer-Ext extends Time-Series Mixer (TSMixer), an all-MLP forecasting architecture, to the practical setting where auxiliary information such as static features and future time-varying features is available. The base model stacks multi-layer perceptrons and relies on mixing operations along both the time and feature dimensions to extract information efficiently. The design starts from a surprising prior finding: simple univariate linear models can outperform recurrent and attention-based deep learning models on several commonly used academic benchmarks. Time-mixing MLPs are shared across all features and feature-mixing MLPs are shared across all of the time steps. This interleaving keeps parameter growth at only O(L + C) instead of O(LC) if fully-connected MLPs were used, which is what allows a long lookback window.

The extended architecture comprises two parts, align and mixing. In the align stage the model projects historical and future features into the same shape, and it repeats the static features to align the output length. The mixing stage then applies time-mixing and feature-mixing to all features collectively, leveraging temporal patterns and cross-variate information together. In this more practical and challenging setting the paper reports that TSMixer outperforms models popular in industrial applications, including DeepAR and TFT.

The captured member is NeuralForecast's port, TSMixerx, listed in that library's model collection next to TSMixer. The motivating benchmark is M5, a large scale retail dataset containing 30,490 time series with static features such as store locations, as well as time-varying features such as campaign information.

Key idea. An align-then-mix design that brings static and future time-varying features into TSMixer's time-mixing and feature-mixing MLPs.

  • TSMixer
  • TSMixer-Ext
  • TSMixerx
  • TSMixer with auxiliary information
  • Time-Series Mixer
  • all-MLP forecasting
  • NeuralForecast
  • exogenous variables
  • multivariate time series forecasting
  • tsmixer-exogenous

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{chen2023tsmixerallmlparchitecturetime,
      title={TSMixer: An All-MLP Architecture for Time Series Forecasting}, 
      author={Si-An Chen and Chun-Liang Li and Nate Yoder and Sercan O. Arik and Tomas Pfister},
      year={2023},
      eprint={2303.06053},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2303.06053}, 
}