LightTS: Light Sampling-oriented MLP for Multivariate Time-Series Forecasting

Machine Learning
Introduced by
Tianping Zhang et al.
Year
2022
Type
Lightweight MLP-based multivariate time-series forecaster
Family
Time-series forecasting

What does it do?

LightTS is a lightweight, MLP-based architecture for multivariate time-series forecasting, introduced by Tianping Zhang et al. in 2022.

It applies interval sampling to split a long input window into several shorter sub-sequences, then processes each one with a shared Chunk-MLP for local patterns and a Continuous-MLP for longer-range structure. The design aims at low computational cost on long input windows.

The intuition behind the method

Instead of attending over every pair of time steps, as a Transformer does, LightTS first thins the input by taking every S-th observation, which produces S shorter sub-sequences. A small MLP that is shared across chunk positions summarises short windows of each sub-sequence, which captures local patterns. A second MLP then combines these chunk representations into a view of the whole downsampled sequence. The outputs from the sub-sequences are aggregated and passed through a linear layer that maps them to the forecast horizon for all variates.

History

LightTS was proposed in 2022 by Tianping Zhang and colleagues as a lightweight alternative to attention-based forecasters for multivariate forecasting. The original reference is an arXiv preprint, listed on this page (arXiv:2207.01186), under the title 'Less is more: Fast multivariate time series forecasting with light sampling-oriented MLP structures'.

When to use it

Choose LightTS for multivariate forecasting with long input windows when computational cost or inference speed is a constraint, for example when many series must be forecast frequently or on limited hardware. It fits problems where the series are reasonably regular, since the architecture contains no explicit mechanism for distribution shift and the design does not include a built-in normalisation step. It is a weaker choice when the series are strongly non-stationary, contain abrupt change points, or need calibrated prediction intervals, because the model produces point forecasts. For a simpler baseline, DLinear is the natural comparison; TSMixer is a related alternative with a similar MLP-mixing design, and patch-based models are an option when attention over patches is preferred.

Limitations and considerations

  • Lacks explicit attention mechanisms, which may limit its ability to capture complex long-range dependencies
  • Interval sampling can discard high-frequency temporal information if S is too large
  • Does not natively model probabilistic uncertainty or provide prediction intervals
  • Performance may degrade under strong distribution shift or highly non-stationary regimes without additional adaptation

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Reduced sequence length after interval sampling: each sub-sequence has about L/S steps, so the downstream modules work on a shorter input than the raw window
  • Small set of design choices: the sampling interval S and the chunk size C are the main structural parameters named in the model formulation
  • Two-stage MLP hierarchy: the Chunk-MLP captures local windows and the Continuous-MLP models relations across the downsampled sequence
  • Built from plain MLP blocks, which avoids the attention matrices used by Transformer forecasters

Applications

  • Multivariate forecasting of many sensor or meter channels where a single shared model is preferred to one model per series
  • Forecasting with long historical input windows where the cost of attention-based models is a concern
  • Latency-sensitive forecasting tasks that run repeatedly on limited hardware

How it works

How it works

1

The input matrix of length L and N variates is split into S sub-sequences by taking every S-th time step, starting from offset s. Each sub-sequence therefore has about L/S steps, so the sequence length seen by the later modules is reduced by roughly a factor of S. Each offset gives a different interleaved view of the same window.

Formula
\text{Given input } \mathbf{X} \in \mathbb{R}^{L \times N}, \text{ interval sampling produces } S \text{ sub-sequences: } \mathbf{X}^{(s)} = \mathbf{X}[s::S] \in \mathbb{R}^{\lfloor L/S \rfloor \times N}, \; s = 0, \ldots, S-1
2

Within each sub-sequence, a window of C consecutive steps is passed to a Chunk-MLP. The same weights are applied at every chunk position t, as the step formula indicates, so the module behaves like a shared local filter over time and does not use recurrence or self-attention. The stride between chunk positions determines how much neighbouring windows overlap.

Formula
\text{Each sub-sequence is reshaped into chunks of size } C \text{ and processed by a shared Chunk-MLP: } \hat{\mathbf{h}}_{t} = \text{MLP}_{\text{chunk}}(\mathbf{x}_{t:t+C}), \; \forall t
3

The chunk-level representations of each sub-sequence are collected in order and passed to a Continuous-MLP, which models dependencies across the downsampled sequence. This second stage is what gives the model a view of longer-range structure, on top of the local chunk features from the first stage.

Formula
\text{A Continuous-MLP models temporal continuity across the full (downsampled) sequence: } \mathbf{z}^{(s)} = \text{MLP}_{\text{cont}}\!\left([\hat{\mathbf{h}}_{0}^{(s)}, \hat{\mathbf{h}}_{1}^{(s)}, \ldots]\right)
4

The outputs z of the S sub-sequences are combined and projected by a linear layer with weight W_out and bias b. The result is a forecast of shape T by N, covering the full horizon for all variates at once.

Formula
\text{Outputs from all sampled sub-sequences are aggregated and projected: } \hat{\mathbf{Y}} = \mathbf{W}_{\text{out}} \sum_{s=0}^{S-1} \mathbf{z}^{(s)} + \mathbf{b}, \quad \hat{\mathbf{Y}} \in \mathbb{R}^{T \times N}

Common pitfalls

  • Choosing a large sampling interval S discards fine-grained temporal structure, which can hurt accuracy on high-frequency series; S should be checked on validation data for each dataset
  • When series have different scales, consider adding an input normalisation step such as reversible instance normalization, since the base formulation described on this page does not include one
  • The Chunk-MLP is applied at every chunk position in the formulation given here. Datasets whose series follow very different dynamics should be validated carefully before assuming that one shared model fits all variates
  • Comparing LightTS with Transformer models without matching the lookback window length can produce misleading benchmark results, because the measured speed and accuracy differences can depend on input length

Frequently asked questions

How does LightTS differ from a standard MLP applied directly to the time series?

A plain MLP that takes the whole flattened input window needs a first layer whose size grows with the window length multiplied by the hidden width. LightTS shortens the sequence with interval sampling and then applies two structured MLPs, a Chunk-MLP for local windows and a Continuous-MLP across the downsampled sequence, so the input seen by each module is shorter and the weights are shared across positions.

Is LightTS suitable for univariate forecasting?

LightTS is formulated for multivariate input of N variates modelled jointly. It can be applied to a univariate series by setting N to one, but for purely univariate tasks simpler linear models are a common first baseline and should be compared before adopting it.

What is the role of the sampling interval S and how should it be chosen?

The sampling interval S sets the trade-off between computation and temporal resolution. A small S keeps more detail but leaves longer sub-sequences, while a large S shortens them and risks losing high-frequency structure. No default value is given here, so S should be treated as a hyperparameter and selected on validation data.

Related methods

Sources

  1. Zhang, T., Zhang, Y., Cao, W., Bian, J., Yi, X., Zheng, S., & Li, J. (2022). Less is more: Fast multivariate time series forecasting with light sampling-oriented MLP structures. arXiv preprint.

    Open publication reference