NeuralForecast XLinear
A lightweight gated-MLP forecaster that routes exogenous signals through one endogenous global token.
Time series · 51 operations Checked
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
- Task
- Time series
- Parameters
- 151K
- Operations
- 51
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI (arXiv 2026)
- Cited by
- 5 (as of 19 October 2026)
- Authors
- Xinyang Chen, Huidong Jin, Yu Huang, Zaiwen Feng
- Source
- GitHub: Zaiwen/XLinear
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1930
- Graph hash
- 2d9a4eef17fd5561006712c692a9835c66e86394665da9d898e3f4661da39fbf
- Skeleton hash
- fcc7c484e655db45ddf39b522f4e361f2a9edf8e9842ff4b1e44c0e15f5e94f8
- Architecture hash
- 93b054922cccda23007d9a5f7f1eb43c77579020bfc78199320fd0c4f2da9d9d
- Diagram SHA-256
- 13ef21ddad606793286aa5c49c05a31be31fe9dbfe67207c35b5591cb22c847f
- 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
XLinear is a lightweight time series forecasting model built upon multilayer perceptrons, aimed at long-term forecasting where cheap exogenous inputs carry signal about the target. The motivating observation is that cost-effective exogenous data such as local weather can unilaterally influence the dynamics of an endogenous variable such as lake surface temperature. Transformer-based models capture long-range dependencies but incur high computation and suffer from permutation invariance, and patch-based variants improve efficiency yet can miss local temporal patterns.
XLinear uses a global token derived from an endogenous variable as a pivotal hub for interacting with exogenous variables, and employs MLPs with sigmoid activation to extract both temporal patterns and variate-wise dependencies. In the authors' description the model consists solely of two sets of gating modules with identical structures, designed to filter out noisy features in the temporal and variable dimensions. The global-representation idea for endogenous variables is drawn from TimeXer, to mitigate information interference between the two dimensions. Its prediction head then integrates these signals to forecast the endogenous series.
The authors evaluate XLinear on seven standard benchmarks and five real-world datasets with exogenous inputs. In the exogenous experiments the last variable of each dataset is designated the endogenous variable, with the remaining variables serving as exogenous inputs. Compared with Transformer-based models that achieve higher accuracy, the readme reports an approximate 30% improvement in training speed while consuming less GPU memory.
Key idea. A global token from the endogenous variable acts as the hub for exogenous interaction inside sigmoid-gated MLPs, giving a lightweight long-term forecaster for exogenous inputs.
- XLinear
- XLinear: A Lightweight and Accurate MLP-Based Model for Long-Term Time Series Forecasting with Exogenous Inputs
- exogenous inputs
- long-term time series forecasting
- MLP forecasting
- NeuralForecast
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2026xlinearlightweightaccuratemlpbased,
title={XLinear: A Lightweight and Accurate MLP-Based Model for Long-Term Time Series Forecasting with Exogenous Inputs},
author={Xinyang Chen and Huidong Jin and Yu Huang and Zaiwen Feng},
year={2026},
eprint={2601.09237},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1609/aaai.v40i24.39121},
url={https://arxiv.org/abs/2601.09237},
}