TSMixer: An All-MLP Architecture for Time Series Forecasting
Si-An Chen, Chun-Liang Li, Nate Yoder, Sercan O. Arik, Tomas Pfister
TL;DR
TSMixer introduces an all-MLP architecture that alternates time-mixing and feature-mixing to efficiently capture temporal dynamics and cross-variate information in time-series forecasting. The authors provide theoretical insights into linear models for time series, present TMix-Only and extended TSMixer variants, and demonstrate competitive performance on standard long-term multivariate benchmarks and superior results on large-scale M5 retail data when using auxiliary information. Key contributions include a principled extension to incorporate static and future covariates, and a demonstration that cross-variate information can be beneficial in real-world, large-scale settings. The work highlights the potential of simple, scalable MLP-based designs for practical forecasting tasks and suggests directions for improving interpretability and scalability.
Abstract
Real-world time-series datasets are often multivariate with complex dynamics. To capture this complexity, high capacity architectures like recurrent- or attention-based sequential deep learning models have become popular. However, recent work demonstrates that simple univariate linear models can outperform such deep learning models on several commonly used academic benchmarks. Extending them, in this paper, we investigate the capabilities of linear models for time-series forecasting and present Time-Series Mixer (TSMixer), a novel architecture designed by stacking multi-layer perceptrons (MLPs). TSMixer is based on mixing operations along both the time and feature dimensions to extract information efficiently. On popular academic benchmarks, the simple-to-implement TSMixer is comparable to specialized state-of-the-art models that leverage the inductive biases of specific benchmarks. On the challenging and large scale M5 benchmark, a real-world retail dataset, TSMixer demonstrates superior performance compared to the state-of-the-art alternatives. Our results underline the importance of efficiently utilizing cross-variate and auxiliary information for improving the performance of time series forecasting. We present various analyses to shed light into the capabilities of TSMixer. The design paradigms utilized in TSMixer are expected to open new horizons for deep learning-based time series forecasting. The implementation is available at https://github.com/google-research/google-research/tree/master/tsmixer
