[Paper Review] Yformer: U-Net Inspired Transformer Architecture for Far Horizon Time Series Forecasting
Yformer proposes a U-Net-inspired transformer architecture with Y-shaped encoder-decoder stacks that integrate sparse attention, skip connections from encoder to decoder, and an auxiliary reconstruction loss. It achieves state-of-the-art performance with a 19.82% average MSE and 18.41% MAE improvement over baselines on univariate and multivariate far-horizon time series forecasting benchmarks.
Time series data is ubiquitous in research as well as in a wide variety of industrial applications. Effectively analyzing the available historical data and providing insights into the far future allows us to make effective decisions. Recent research has witnessed the superior performance of transformer-based architectures, especially in the regime of far horizon time series forecasting. However, the current state of the art sparse Transformer architectures fail to couple down- and upsampling procedures to produce outputs in a similar resolution as the input. We propose the Yformer model, based on a novel Y-shaped encoder-decoder architecture that (1) uses direct connection from the downscaled encoder layer to the corresponding upsampled decoder layer in a U-Net inspired architecture, (2) Combines the downscaling/upsampling with sparse attention to capture long-range effects, and (3) stabilizes the encoder-decoder stacks with the addition of an auxiliary reconstruction loss. Extensive experiments have been conducted with relevant baselines on four benchmark datasets, demonstrating an average improvement of 19.82, 18.41 percentage MSE and 13.62, 11.85 percentage MAE in comparison to the current state of the art for the univariate and the multivariate settings respectively.
Motivation & Objective
- Address the lack of resolution-preserving mechanisms in sparse transformer architectures for long-horizon time series forecasting.
- Integrate multi-resolution feature learning from U-Net skip connections into a transformer-based encoder-decoder framework.
- Stabilize training and improve generalization by introducing an auxiliary reconstruction loss on past targets.
- Enable high-resolution output predictions by coupling downscaling and upsampling procedures in a transformer architecture.
- Demonstrate superior performance on univariate and multivariate time series forecasting benchmarks with far-horizon predictions.
Proposed method
- Propose a Y-shaped encoder-decoder architecture that directly connects downscaled encoder features to corresponding upsampled decoder layers, inspired by U-Net.
- Integrate sparse self-attention mechanisms at every scale level to efficiently model long-range dependencies while reducing computational complexity.
- Apply learnable upsampling and downsampling operations that preserve spatial (temporal) resolution across the network.
- Introduce an auxiliary reconstruction loss that compares predicted past targets with ground truth, regularizing the model to generalize better.
- Train the model end-to-end using a multi-task objective combining future target prediction and past reconstruction.
- Use hyperparameter tuning to optimize the reconstruction loss weighting factor (α) across different forecasting horizons.
Experimental results
Research questions
- RQ1Can U-Net-style skip connections improve long-horizon time series forecasting performance in a transformer-based architecture?
- RQ2How does incorporating an auxiliary reconstruction loss affect model generalization and performance on future target prediction?
- RQ3To what extent does coupling downscaling and upsampling in a sparse transformer improve resolution fidelity in time series forecasting?
- RQ4Does the proposed Yformer architecture outperform existing sparse transformer models like Informer on both univariate and multivariate time series benchmarks?
- RQ5How does the optimal weighting of the reconstruction loss (α) vary across different forecasting horizons and dataset types?
Key findings
- Yformer achieves a 19.82% average improvement in MSE and 18.41% in MAE over baselines in the univariate setting across all horizons.
- In the multivariate setting, Yformer improves MSE by 13.62% and MAE by 11.85% compared to baseline models.
- The removal of U-Net skip connections (Yformer*) results in significant performance degradation, especially for longer forecasting horizons.
- The optimal reconstruction loss weight α is predominantly 0.7 across horizons, with higher values favored for shorter horizons, indicating stronger regularization benefit.
- The reconstruction loss stabilizes training and reduces overfitting, particularly on short-horizon forecasts, by encouraging generalization over the past target distribution.
- The ablation study confirms that skip connections are most effective for long-horizon forecasting, where multi-resolution feature fusion is critical for performance.
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.