Abstract
This study presents a novel time series prediction model(VLinear), designed with linear computational complexity, demonstrating superior predictive performance compared to DLiner without increasing parameter count or computational demands. Our model introduces two key innovations: first, a Feature Pyramid Network (FPN) is employed to effectively capture time series data characteristics, bypassing the traditional decomposition into trend and seasonal components. Second, a multi-layer fusion structure is developed to integrate deep and shallow features seamlessly. Empirically, VLinear outperforms DLiner in 31 out of 32 test cases on eight open-source datasets, with an average reduction of 16.8% in mean squared error (MSE) and 11.8% in mean absolute error (MAE). Additionally, compared to the transformer-based PatchTST, VLinear achieves 10 best MSE and 15 best MAE results, using only 8% of PatchTST’s total computational load in the 32 test projects.
Highlights
This article proposes an enhanced linear complexity time series prediction model, abbreviated as VLinear. VLinear uses pooling operation to decompose temporal features, and uses fusion operation to fuse different levels of prediction results to obtain the final prediction result. VLinear achieved state-of-the-art results in multiple out of 32 tests across 8 datasets.
Introduction
Time series forecasting, a critical area in deep learning research, finds extensive applications in finance, 1 weather forecasting, 2 and sensor data analysis, 3 among others. The need for accurate long-term predictions in various domains has driven the development of sophisticated algorithms, including deep learning models like ARIMA, 4 GBRT, and recursive neural networks, 5 as well as more recent architectures like Causal Time Networks (TCNs) 6 and the Mixer. 7
Transformers, initially designed for NLP tasks, have also made significant strides in time series forecasting, with models like PatchTST, 8 ETSformer, 9 Autoformer, 10 and FEDformer 11 showcasing their prowess. However, these models often come with high computational complexity and a large number of parameters.TSMixer 12 is designed for multivariate forecasting and representation learning on patched time series ,it use Vision MLP-Mixer for time series and introduce empirically validated components to enhance accuracy.In contrast, DLlinear 13 offers a linear complexity alternative, decomposing data into trend and seasonal components and predicting them separately, achieving strong performance despite its simplicity.
Data decomposition and normalization are the most commonly used methods to improve the predictive ability of models. The earliest origin of data decomposition is the ARMA,
4
which decomposes time series data into four parts: trend factor (T), cycle factor (C), seasonal factor (S), and random factor (I), which is more in line with human perception of data. Decomposing the data into trend and seasonal terms is a simplification of these four parts. As shown in Figure 1,Traditional machine learning is based on raw data, extracting features from the raw data and predicting future data, such as GBRT, Informar,
14
DLinear,
13
Logtrans,
15
DeepAR,
16
LSTMnetwork,
17
etc. There is another data decomposition strategy: to decompose time series data into trend and seasonal items. The PatchTST
8
and DLlinear
13
decompose time series data into trend and seasonal terms, extract and predict the two separately, and add them up to output the prediction results. Autoformer
10
and FEDformer
11
use feature fusion models to fuse trend and seasonal features, and use the fused features to predict the future. After verification by many scientific researchers, binary decomposition is a very suitable method for deep learning. However, the data binary decomposition method has two problems:
The inherent relationship between trend and seasonal characteristics is overlooked in a crude decomposition. This separation can lead to the loss of trend information within seasonal components and vice versa, as the distinct characteristics are intertwined. Current approaches, which involve feature extraction for trend and seasonal terms separately, followed by simple addition for fusion, do not effectively account for the correlation between these features. This limits the model’s ability to capture and utilize the complex interactions between trend and seasonality in the data.
To address these limitations, this paper contributes a novel FPN-based multi-layer fusion model(VLinear), inspired by the U-Net architecture, for time series forecasting. Our contributions are three-fold:

The pipeline of existing Model TSF solutions.

(a) Feature Pyramid Network for time series analysis. (b) FPNLinear algorithm structure. (c) FPNMLinear algorithm structure. (d) VLinear algorithm structure.
In Section Proposed Method, we present our methodology in detail and validate its effectiveness through extensive experiments. To analyze the FPN fusion model’s components, we compare it with FPNLinear, FPNMLinear, NLinear, and DLiner models, using 8 publicly available datasets and 32 tests. Figure 2 illustrates the structural diagrams of the FPN feature pyramid, FPNLinear, FPNMLinear, and VLinear.
Linear Time Series Models
Linear time series models, characterized by a complexity of
Transformer-Based Models
The Transformer’s 19 advancements have inspired its application in long-term time series forecasting. Notable examples include LogTrans, 15 which utilizes convolutional self-attention layers and LogSparse design to capture local information and reduce spatial complexity. Informer 14 introduces ProbSparse self-attention for efficient feature extraction. Autoformer 10 combines time series analysis with Transformers, decomposing data into trend and seasonal components, and introduces autocorrelation. FEDformer 11 employs Fourier-enhanced structures for linear complexity, while Yformer 20 employs a U-Net-inspired Transformer design with downscaling and upsampling for long-range effects. Pyr-aformer 21 introduces a pyramid attention module with inter- and intra-scale connections, maintaining linear complexity. PatchTST 8 applies patch techniques to shorten sequences, reducing complexity and enhancing local features.
Time Series Decomposition Techniques
A time series is composed of trends, seasonal fluctuations, cyclic variations, and irregular components. Long-term trends represent persistent changes over extended periods, seasonal fluctuations are regular patterns due to seasonal variations, cyclic fluctuations are periodic fluctuations without strict rules, and irregular fluctuations result from random influences. Autoformer 10 initiates the use of seasonal trend decomposition to enhance predictability by inputting trend components derived from the sequence. The residual between the original sequence and trend components is considered seasonal. FEDformer 11 extends this by proposing an expert strategy for mixed trend extraction, using moving average kernels with varying sizes. PatchTST 8 and DLlinear 13 adopt binary seasonal trend decomposition, isolating seasonal and trend components for separate prediction, then combining them for the final forecast.
Proposed Method
The task of time series forecasting involves predicting T future data points based on a historical look-back window of fixed length L. Given input data
Feature Pyramid Network of time series
In the realm of image analysis, the Feature Pyramid Network 18 effectively addresses the challenge of detecting objects at large scales by capturing features at diverse scales. Similarly, in the context of time series analysis, decomposing data into trend and seasonal components is a prevalent strategy for enhancing prediction accuracy. Inspired by FPN’s success, we employ pooling operations to extract time series features, creating a feature pyramid. Deep layers contain more trend information, while shallow layers hold more seasonal details.
For instance, when setting the data into four layers (with
FPNLinear and FPNMLinear
FPNLinear and FPNMLinear are introduced. FPNLinear concatenates FPN feature layers and employs a fully connected output for length prediction. FPNMLinear, on the other hand, applies fully connected layers to each FPN feature layer, generating scale-specific outputs
VLinear model
The multi-stage fusion module takes advantage of the multi-scale time series feature
The proposed VLinear model, illustrated in Figure 2, consists of two main components: time series FPN and a feature fusion module. It mirrors the structure of the U-Net network,
22
combining fully connected and pooling layers. The left side processes time series FPN, forming a descriptive feature set
Algorithm Engineering and Evaluation Indicators
The algorithm engineering adopts the PatchTST algorithm, which is an open-source framework on https://github.com/yuqinie98/PatchTSTGitHub . The framework currently includes PatchTST, 8 DLinear, 13 FED-former, 11 Informer, 14 Autoformer, 10 etc. The framework includes data processing and reading, model training, and algorithm evaluation functions. In order to fairly compare the basic algorithms, both PatchTST 8 and DLinear 13 algorithms adopt the best results in the author’s paper. This paper proposes that VLinear, FPNLinear, and FPNMLinear are trained and evaluated using the current framework, with evaluation metrics of MSE and MAE.
Experiments
In this study, we assess the efficacy of our proposed VLinear model on eight real-world datasets, including ETT (ETTh1, ETTh2, ETTm1, ETTm2), transportation, electricity, weather, and ILI. These datasets, which are commonly employed for benchmarking and publicly available, 10 are chosen for their extensive use. Notably, we focus on larger datasets such as weather, transportation, ILI, and electricity, as they boast a larger number of time series, which aids in obtaining more stable and less prone to overfitting results. For univariate forecasting, ETT is employed, while multivariate forecasting is conducted on the remaining eight datasets. The statistical details of these datasets are summarized in Table 1.
The statistics of the nine popular datasets for benchmark.
The statistics of the nine popular datasets for benchmark.
The platform employed for experimentation was a Windows system, equipped with an Intel Xeon Gold 6226R CPU running at 2.90 GHz (dual-core) and a single Nvidia RTX A4000 graphics processing unit, offering 16 GB of memory. The section below presents the results and analysis of univariate long-term forecasting, using the ETT datasets with prediction lengths ranging from 96 to 720 time steps. The best performance for each metric is highlighted in bold for clarity.
Compared SOTA methods
To compare our model with state-of-the-art (SOTA) methods, we consider Transformer-based models like PatchTST,
8
FEDformer,
11
Autoformer,
10
and Informer.
14
Additionally, we include the linear model DLiner
13
as a baseline. All models are tested under consistent experimental conditions, with prediction lengths
Table 2 summarize the univariate evaluation results of all the methods on ETT datasets, which is the univariate series that we are trying to forecast. We cite the baseline results from PatchTST
8
and DLinear.
13
Among the 16 tests on the ETT dataset, overall, VLinear achieved 13 optima in terms of mse and 11 optima in terms of mae.
Compared with DLiner, VLinear achieved a maximum reduction of 54% in mse, an average decrease of 11.0%, a maximum reduction of 35.0% in mae, and an average decrease of 5.5%. Compared with PatchTST, VLinear has 7 leading items and 6 identical items in the mse indicator, with only 3 items worse than PatchTST. In the mae indicator, VLinear has 10 leading items, 1 identical item, and 4 items worse than PatchTST On the ETTm1 dataset, VLinear achieved all the best results, with an average improvement of 2.1% in MSE and 0.9% in MAE compared to PatchTST, and an average improvement of 14.4% in MSE and 4.2% in MAE compared to DLinear.On the ETTm2 dataset, VLinear also achieved the best results, with an average improvement of 2.5% in MSE and 2.6% in MAE compared to PatchTST, and an average improvement of 2.2% in MSE and 1.2% in MAE compared to DLinear. On the ETTh1 and ETTh2 datasets, VLinear has a relative advantage in predicting lengths of 96 and 192. When the prediction length on ETTh1 is 720, VLinear shows a significant improvement in performance compared to DLinear.
Univariate long-term forecasting results. ETT datasets are used with prediction lengths
. The best results are in bold .
Univariate long-term forecasting results. ETT datasets are used with prediction lengths
Through the detailed analysis above, it has been verified that the feature extraction method of VLinear using FPN has advantages over the DLinear binary method. VLinear has stronger adaptability at different time granularity levels, and at time granularity levels of minutes, FPN’s feature extraction and multi-level fusion method have stronger feature extraction and adaptability compared to the traditional binary method.
Table 3 presents the comprehensive evaluation results of various methods on eight datasets. The VLinear model demonstrated outstanding performance, with a total of 10 best MSE scores and 15 best MAE results across the 32 tests. Compared to DLinear, VLinear exhibited an average improvement of 16.8% in MSE and 11.8% in MAE.
On the weather dataset, which exhibits strong periodicity, VLinear and patchTST achieved superior performance, with a 1.0% decrease in MSE and a 0.4% decrease in MAE compared to DLinear. Notably, these methods outperformed DLinear by 12.6% and 15.1% in terms of MAE. On traffic and electricity datasets, VLinear demonstrated a consistent improvement of approximately 2% in MSE and 3.3% in MAE compared to DLinear. The ILI dataset showcased VLinear’s prowess, with the best results for a prediction horizon of 60. Compared to PatchTST, VLinear achieved a 7.4% decrease in MSE and a 6.4% decrease in MAE. Against DLinear, the improvements were even more substantial, with a 66.6% decrease in MSE and a 46.7% decrease in MAE. In the ETT dataset, VLinear exhibited a strong performance, with 11 optimal MAE results and 4 optimal MSE outcomes. Notably, on the test instance with a prediction length of 192 on ETTh1, VLinear exhibited a 3.4% decrease in MSE and a 3.5% decrease in MAE compared to PatchTST.
Multivariate long-term forecasting results. We use prediction lengths
Through the comparative analysis of multivariate prediction above, in the results of multivariate prediction, VLinear has advantages in some scenarios. Compared with univariate prediction analysis, VLinear’s advantages become weaker, but compared with DLinear, it has a considerable improvement. In complex multivariate scenarios, VLinear has a significant advantage when predicting a length of 60 in the ILI dataset, indicating that VLinear has strong advantages in certain characteristic industrial scenarios and can become one of the basic algorithms for time series prediction.
To evaluate the FPN module and fusion mechanism in our VLinear algorithm, we conduct an ablation study by comparing Linear, FPNLinear, FPNMLinear, VLinear, NLinear, and DLiner models. The performance is averaged over five folds for all evaluation metrics.
Table 4 presents the comparative results of these models, with VLinear achieving optimal performance in 32 tests, attaining 25 minimum MSE and 24 minimum MAE instances. By comparing DLinear and FPNLinear, we can conclude that FPN is superior to traditional trend and fluctuation binary methods in feature extraction. By comparing FPNMLinear and FPNLinear algorithms, for shorter prediction lengths, fully connected processing can reduce some feature redundancy and improve MSE and MAE significantly. As the prediction length increases, the effect gradually decreases or even deteriorates. By comparing VLinear, FPNLinear, and FPNMLienar models, highlighting its effectiveness in mitigating duplicate trend features and enhancing the representation of fine-grained information.
Ablation study:multivariate long-term forecasting results. The best results are in bold .
Ablation study:multivariate long-term forecasting results. The best results are in
we analyze the efficiency of VLinear by examining computational complexity, model parameters, and GPU memory usage, comparing it with reference models such as DLiner, PatchTST, Autoformer, and Informer. This evaluation provides insights into the trade-offs between model performance and computational efficiency.
Table 5 presents a detailed comparison of model efficiency, focusing on parameters, computational complexity (measured by Multiply-Accumulate Operations, or MACS), and GPU memory usage. The experiments were conducted with a fixed look-back window of 336, a prediction length of 96, and a batch size of 32 on the ETTh2 dataset. The results are averaged over five runs to ensure fairness in the comparison.
VLinear and DLinear exhibit comparable computational efficiency, with VLinear demonstrating a slight advantage. PatchTST, which relies on patch-based methods, has a significantly higher computational cost, approximately 12.1 times that of VLinear. By employing a smaller pooling kernel, VLinear reduces computational requirements by 6.6%, further enhancing its efficiency. In terms of model size and memory footprint, VLinear is on par with DLinear and PatchTST. Given its superior performance and resource efficiency, VLinear is a more practical choice for real-world applications, especially in univariate and multivariate time series forecasting tasks where resource constraints are prevalent.
Compare the parameter quantity and resource consumption of the model under the look-back window
, prediction length
and
on the ETTh2. MACS are the number of multiply-accumulate operations.
Compare the parameter quantity and resource consumption of the model under the look-back window
The current model effectiveness analysis only focuses on one testing scenario. From the perspective of the spatiotemporal complexity of the model, Autoformer and Informer are both
The results of multi-dimensional long-term time series prediction experiments, single dimensional long-term time series prediction experiments, and ablation experiments show that VLlinear outperforms competitive methods such as DLinear in prediction accuracy while maintaining linear computational complexity. The improvement in its performance is attributed to FPN feature extraction and effective multi-layer fusion, which allows for better processing of complex patterns in data, making it one of the new choices for industrial applications. In the future, the structure of FPN for extracting temporal features can be combined with large models or attention mechanisms to further improve the accuracy of temporal prediction.
Conclusion and Future Work
In this article, we introduce the VLlinear model, a groundbreaking approach that can create a universal and robust foundation model for various time series tasks in real-world scenarios. By combining FPN with multi-layer fusion, FPN effectively captures the trend and fluctuation characteristics of time series data, and adds fluctuation features to the trend through multi-layer fusion structure. A large number of experiments have demonstrated the powerful performance of VLlinear in 8 standard benchmark tests, providing a new option for the field of time series prediction engineering. However, we recognize some limitations. We mainly study long-term sequences and have not evaluated the performance of VLinears on very long and very short sequences. At the same time, we did not explore the combination of features extracted by FPN with attention mechanisms. For future work, we have envisioned several key directions: first, combining the temporal features extracted by FPN with large models, utilizing the capabilities of large models to improve prediction accuracy; second, combining the design ideas of VLinear models with specific industry algorithms, proposing algorithms for specific industrial scenarios.
Footnotes
Competing interests
All authors certify that they have no affiliations with or involvement in any organization or entity with any financial interest or non-financial interest in the subject matter or materials discussed in this manuscript.
Authors’ contribution
Chu Li: Data curation, Formal analysis, Methodology, Software, Validation, Writing – original draft. Bingjia Xiao, Qiping Yuan: Conceptualization, Methodology, Resources, Supervision, Writing – review & editing.
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work is supported by the National MCF Energy R&D program of China, Grant No. 2018YFE0302100.
