[Paper Review] PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting
PatchMixer presents a CNN-based patch-mixing backbone with depthwise separable convolutions and dual forecasting heads to outperform state-of-the-art methods in long-term time series forecasting while offering faster training and inference. It avoids self-attention and preserves temporal information through a single-scale, patch-based CNN design.
Although the Transformer has been the dominant architecture for time series forecasting tasks in recent years, a fundamental challenge remains: the permutation-invariant self-attention mechanism within Transformers leads to a loss of temporal information. To tackle these challenges, we propose PatchMixer, a novel CNN-based model. It introduces a permutation-variant convolutional structure to preserve temporal information. Diverging from conventional CNNs in this field, which often employ multiple scales or numerous branches, our method relies exclusively on depthwise separable convolutions. This allows us to extract both local features and global correlations using a single-scale architecture. Furthermore, we employ dual forecasting heads encompassing linear and nonlinear components to better model future curve trends and details. Our experimental results on seven time-series forecasting benchmarks indicate that compared with the state-of-the-art method and the best-performing CNN, PatchMixer yields $3.9\%$ and $21.2\%$ relative improvements, respectively, while being 2-3x faster than the most advanced method.
Motivation & Objective
- Motivate a CNN-based alternative to transformer-dominated long-term time series forecasting by preserving temporal information.
- Introduce a patch-mixing CNN backbone that operates in a single scale without self-attention.
- Show that dual forecasting heads (linear + nonlinear) improve predictive performance.
- Demonstrate efficiency gains in training and inference over state-of-the-art methods on multiple benchmarks.
- Provide insights into patch embedding choices and normalization/loss strategies for robust forecasting.
Proposed method
- PatchMixer uses a single-scale depthwise separable convolution block as the core module to capture global and local temporal patterns.
- Input time series are partitioned into temporal patches (patch embedding) and processed without positional embeddings due to permutation-variant CNNs.
- PatchMixer employs a patch-mixing design: intra-patch (depthwise) followed by inter-patch (pointwise) convolutions with residual connections.
- Dual forecasting heads are used: a linear flatten head and an MLP head; their outputs are summed to form the final prediction.
- Normalization via instance normalization is applied per instance; loss combines MSE and MAE in a 1:1 ratio.
- Training and inference benefit from a single-scale CNN with depthwise separable convolutions, enabling efficient learning of long-range temporal dependencies.
Experimental results
Research questions
- RQ1Can a CNN-based patch-mixing backbone outperform transformer-based models in long-term time series forecasting?
- RQ2Does single-scale depthwise separable convolution adequately capture both local and global temporal patterns without self-attention?
- RQ3Do dual forecasting heads (linear + nonlinear) improve forecasting accuracy over a single head?
- RQ4How do patch embedding strategies and normalization/loss choices impact long-term forecasting performance?
- RQ5What are the relative training and inference efficiency gains of PatchMixer compared to state-of-the-art methods?
Key findings
- PatchMixer achieves improvements over state-of-the-art methods in MSE and MAE on seven long-term forecasting benchmarks, and is significantly faster in training and inference than the top CNN/Transformer baselines.
- On average, PatchMixer shows a 3.9% relative improvement in MSE and a 3.0% relative improvement in MAE over PatchTST (SOTA Transformer).
- Compared with the best CNN baseline (TimesNet), PatchMixer yields a 21.2% relative reduction in MSE and a 12.5% relative reduction in MAE.
- Ablation studies indicate convolutional (including depthwise separable) modules outperform self-attention in most cases, and the dual-head forecasting setup outperforms single-head configurations.
- Longer look-back windows (L) generally improve PatchMixer performance, and PatchMixer demonstrates stable training/inference times as L grows, unlike some transformer-based baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.