Abstract
Forecasting trend and variation ranges for time series has been challenging but crucial in real-world modeling. This study designs a hybrid time series forecasting (FIGDS) model based on granular computing and dynamic selection strategy. Firstly, with the guidance of the principle of justifiable granularity, a collection of interval-based information granules is formed to characterize variation ranges for time series on a specific time domain. After that, the original time series is transformed into granular time series, contributing to dealing with time series at a higher level of abstraction. Secondly, the L1 trend filtering method is applied to extract trend series and residual series. Furthermore, this study develops hybrid predictors of the trend series and residual series for forecasting the variation range of time series. The ARIMA model is utilized in the forecasting task of the residual series. The dynamic selection strategy is employed to identify the ideal forecasting models from the pre-trained multiple predictor system for forecasting the test pattern of the trend series. Eventually, the empirical experiments are carried out on ten time series datasets with a detailed comparison for validating the effectiveness and practicability of the established hybrid time series forecasting method.
Introduction
Time series data is a series of data points collected by their occurrence in time, which emerges in various areas, including economy [1], health care [2], energy management [3], hydrology [4], and electric power system [5], etc. Therefore, developing an ideal forecasting method is a crucial task in time-series modeling, which is a prerequisite for scientific decision-making. However, due to the characteristics of time series data presenting different patterns over time, selecting the most suitable forecasting models is a highly challenging task.
A large number of time series forecasting theories and methods have been proposed from different perspectives, including classical statistical models and machine learning algorithms.
The autoregressive (AR) model [6] and autoregressive moving average (ARMA) model [7] are well-known classical statistical models for stationary time series. By incorporating an initial differencing step in the ARMA model, the autoregressive integrated moving average (ARIMA) model [8] can work well on the time series with non-stationarity. Holt-Winters exponential smoothing [9] forecasts new samples by calculating the weighted average of the current value and the previous smoothed observation, which effectively deal with non-stationary series. To solve the problems with non-constant variance of the volatility of the time series, the non-linear autoregressive conditional heteroskedasticity (ARCH) model [10] and the generalized autoregressive conditional heteroskedasticity (GARCH) model [11] have been developed for characterizing the fluctuation levels. These classical models have been developed based on specific assumptions on trends or error distributions. Without relying too much on assumptions, machine learning models, including artificial neural networks (ANN) [12], support vector regression (SVR) [13], harmonic regression [14], and long short-term memory (LSTM) [15], offer promising alternatives to analyze the non-direct relationships hidden in time series. However, although these methods have been practical in diverse fields, no one forecasting algorithm performs well for all cases according to the no-free-lunch theorem [16]. Many scholars have attempted to construct various time series forecasting models to avoid a single model that may generate unsatisfactory results by incorporating an ensemble learning strategy.
The ensemble method has been acknowledged as a promising way of improving forecasting systems’ robustness. Li et al. [17] proposed a heterogeneous ensemble forecasting model with multi-objective programming for nonlinear time series, verifying that the forecasting performance is better than the individual models. Du et al [18] employed a Bayesian optimization-based dynamic ensemble method, overcoming the limitation of a single forecasting model.
Dynamic selection offers a strategy to identify the elite model from the multiple predictors to forecast each test pattern [16]. The merit of the dynamic selection makes multiple predictor system (MPS) not depend on the same models but dynamically select the ideal models for each new pattern according to the nature and behavior of the time series. The multiple predictor system (MPS) incorporating dynamic selection has exhibited better superiority and forecasting precision. However, the inputs and outputs of most forecasting methods are numerical values, and the variation ranges for future time series are not depicted enough. Therefore, the forecasting models with ideal variation ranges and accuracies are pursing in modeling time series.
Granular computing (GrC) [19] offers a novel way for data process and information interpretation based on simulating the human problem-solving mechanism. Information granule [20], as a base unit of granular computing, can hold the internal characteristics and critical information, on which some granular models have been developed for effectively solving problems at an abstract level. The principle of justifiable granularity [21] is a key guideline for constructing and optimizing information granules, involving two conflicting requirements: coverage and sound semantic. The principle of justifiable granularity has been employed to transform the original time series into the corresponding granular versions, efficiently capturing the primary information of the original time series. The time series forecasting models based on the principle of justifiable granularity [22, 23], exhibit competitive advantages in dimension reduction and long-term prediction. By incorporating information granulation into time series forecasting, the outputs are information granules, which can be used in characterizing variation ranges of the future time series.
This study is to develop a hybrid time series forecasting (FIGDS) model based on information granulation and dynamic selection strategy, aiming to offer variation ranges and sound forecasting performance. The developed method first obtains the interval granular time series for obtaining the variation ranges in the specific period. Second, we obtain the trend series and residual series by using L1 trend filtering technique. In the prediction process, the dynamic selection strategy is employed to identify the predictor from the pre-trained multiple predictors for trend series forecasting, and the ARIMA model is utilized for forecasting residual series. Finally, the forecasting results on the trend series and residual series are integrated to form interval information granules. The contributions of the designed method can be summarized as follows: The granular time series inherits the main essence of the original time series and characterizes the variation ranges in the specific period. The information granules generated from the trend and residual series forecasting effectively describe the trends and the variation ranges of future time series. The forecasting model incorporating a dynamic selection strategy exhibits sound forecasting accuracy in prediction.
The remaining parts of this study are structured as follows: Section 2 formulates the theoretical foundation for the designed hybrid model. Section3 details the procedure of the FIGDS model. The performance metrics are presented in Section 4 Section 5 focuses on carrying on experiment verification and exhibiting empirical results on ten datasets compared with other approaches. Finally, the conclusion is presented in Section 6.
Theoretical foundation
This section offers the theoretical foundation of the proposed hybrid time series forecasting model.
Time series granulation
Following the principle of justifiable granularity, the numeric time series can be transformed into the sequence of information granules in chronological order, through which the dimensionality is reduced. In what follows, let us firstly focus on how to realize the granulation of the time series.
Given a numeric time series x1, x2, ⋯ , x
n
, the granulation is realized by dividing the time domain T = {1, 2, ⋯ , n} into k non-overlapping time intervals T1, T2, ⋯ , T
k
. Therefore, the whole time series can be expressed as k non-overlapping sequences s1, s2, ⋯ , s
k
. For i-th sequence s
i
, an optimal interval-based information granule Ω
i
= [a
i
, b
i
] is constructed by employing the principle of justifiable granularity [21]. In this process, two sound and intuitively appealing criteria, namely: coverage and sound semantics, are taken into account. The first one requires the information granule Ω
i
to cover the data points as much as possible in the sequence s
i
, which makes the information granule Ω
i
more experimentally and serves as a reasonable quantification. In general, an increasing function f1 of the cardinality card {x
j
|x
j
∈ Ω
i
} is employed to describe the role of coverage. The second criterion requires that the information granule constructed is as specific as possible, which can be characterized by a decreasing function f2 of the length of interval m(Ω
i
) = |b
i
- a
i
|. A smaller value of f2 means well-articulated semantics. Keeping these two conflicting requirements into account, it is a reasonable way to consider the product of these functions: f = f1 · f2. The following way is considered to form the interval-based information granule [24]:
The process to construct the interval-based information granule Ω
i
is firstly realized by seeking the representative element rep (s
i
), the optimal lower bound a
i
, and optimal upper bound b
i
. Since the average is a crucial measure to describe the central level of data, the average of the sequence s
i
is experimentally regarded as the representative point, denoted as rep (s
i
). Nextly, the optimal lower bound a
i
and optimal upper bound b
i
of the information granule Ω
i
can be determined by applying the function f on the left part
Through the process mentioned above, each sequence s i can be granulated into an interval-based information granule Ω i = [a i , b i ]. The information granulation of time series not only offers a way to represent and deal with time series at a higher abstract level for capturing its main essence but also provides a concise description for the original time series [24].
Since trend information is a critical feature in time series, developing a forecasting model considering trend information has attracted much attention. L1 trend filtering [25], as an extension on Hodrick-Prescott (H-P) filtering [26], is an important method to analyze the primary linear trend of time series, which is an efficient algorithm for estimating the potential trend in time series. It is also an approximation way of the original time series with line segment representation. L1 trend filtering gets plenty of potential applications in time series forecasting fields. For example, L1 trend filtering is applied to produce an optimal segmentation of time series for time series clustering [27].
For the original time series x = {x1, x2, ⋯ , x
t
}, the role of L1 trend filtering is to extract a smooth trend series y
t
existing in time series x and obtain a residual series z
t
(t = 1, 2, ⋯ , n) which is as small as possible. L1 trend filtering can be realized by minimizing the following optimization problem:
The autoregressive integrated moving average (ARIMA) [8] model, as a representative of the econometric model, is one of the classical statistical time series analysis techniques, which has been widely applied for non-stationary time series data analysis in the reference literature. Driven by the Box-Jenkins model [28] (1960), ARIMA model is built to make full use of the past value to predict the future values of time series, which can be described as a linear combination of autoregressive (AR) and moving average (MA) components. The ARIMA model consists of three stages: model identification, parameter estimation, and diagnostic check, through which an adaptive and optimal forecasting model is determined. The ARIMA(p,d,q) model can be expressed as follows.
In this study, we design a hybrid time series forecasting method. The flowchart of the designed model is presented in Fig. 1. As illustrated in Fig. 1(I), the time series is firstly granulated following the principle of justifiable granularity, obtaining a collection of well-articulated interval-based information granules. Due to forming the interval-based information granules in chronological order, we call the interval-based granular time series
This study is to use a dynamic selection strategy to produce the desired predictive performance for interval-based trend series

Framework of the designed hybrid time series forecasting method based on information granulation and dynamic selection strategy.
Fig. 1(III)(a) presents the stage of model generation. Due to the superiority of the dynamic selection strategy, the MPS consists of four mainstream time series forecasting models: Holt-Winters exponential smoothing (Holt-Winters ETS) [9], support vector regression (SVR) [13], back propagation neural network (BPNN) [29] and long short-term memory (LSTM) network [15]. Four time series predictors in the MPS are trained on different datasets for the interval-based trend series. The parameters of predictors in the MPS are described in Table 1, which are associated with the model construction and influence dynamic selection. In this study, the values of model parameters are optimized by minimizing the root mean square error (RMSE). Besides, the parameter γ of the RBF kernel function is equal to the inverse of the lagged order L.
The values of Parameters used in the MPS
The values of Parameters used in the MPS
The lagged order L means applying the previous L data to predict the test data. Aiming at different datasets, we are supposed to fix a suitable lagged order L for each predictor to alleviate the overfitting problem when training the MPS. With the guidance of structural risk minimization [30], the lagged order L of each predictive model in the MPS is defined in the following manners:
The dynamic selection aims to select the most appropriate predictors for the local test pattern in dealing with the interval-based trend series
With regard to the test stage, a test input pattern of the trend series
Performance metrics of the hybrid time series forecasting method
In this study, we employ two classical evaluation indexes to measure the performance and forecasting accuracy of the FIGDS model.
Root mean square error (RMSE)
Root mean square error (RMSE) [32] is an important measure that generally appears in the literature to evaluate the forecasting performance of classical time series models. Because of obtaining interval-based information granules, RMSE can be calculated by
Since the outputs of the FIGDS model are a series of interval-based predictive information granules
The outputs of the FIGDS model are interval information granules that can describe the variation ranges of future time series. Moreover, the designed method also offers a dynamic selection for forecasting tasks. In this section, experiments are carried out to highlight its effectiveness and practicality by comparison of the forecasting models without a dynamic selection strategy.
Experimental data description
The experiments are conducted on ten real-world time series datasets, which are respectively futures settlement price of WTI, Refined Oil Transportation Index (BCTI) and Sea Dry Bulk Index (BDI) both in Baltic Shipping, Shanghai Composite Index (SHCI), Shanghai Composite B Share Index, China Securities 100 Index, the closing price of COMEX gold, the closing price of the National Association of Securities Dealers Automated Quotations Index (NASDAQ), variation of atmospheric pressure in Beijing with time, temperature change in a region. The last two datasets all come from the UCI repository. A brief description of the ten time series datasets is shown in Table 2.
Description of the ten time series datasets
Description of the ten time series datasets
In this part, we take the futures settlement price of WTI as an example to illustrate the detailed process of the FIGDS model. In the first process, the original time series of the futures settlement price of WTI is granulated by taking a month as a unit, following the principle of justifiable granularity. The granulation results, shown in Fig. 2(b), are more intuitive and keep the primary information in the original time series, as depicted in Fig. 2(a).
Performance comparisons among different models (I)
Performance comparisons among different models (I)
Performance comparisons among different models (II)
Following the Fig. 1(II), L1 trend filtering is employed to extract the potential trend of the granular time series of the futures settlement price of WTI. Additionally, the corresponding residual series can be gained by making the difference between the granular time series and the trend series. The parameter λ is set to 2. By observing Fig. 2(b) and (c), the L1 trend filtering method can extract the linear trend in the futures settlement price of the WTI series. Moreover, the corresponding residual series is generated, as shown in Fig. 2(d). As shown in Table 1, the granular time series of the futures settlement price of WTI includes 240 training data and 24 test data.

Futures settlement price of WTI:(a) The original time series; (b) The interval-based granular time series; (c) The interval-based trend series using L1 trending filtering; (d) The residual time series.
The upper bounds of the granular time series taken as an example are used for model training. In Fig. 1(IV), the residual series of the futures settlement price of WTI is stationary by the Augmented Dickey-Fuller (ADF) [34] test. With the help of the AIC, the autoregressive order p and the moving average q of the ARIMA model are fixed to 2 and 5, respectively. The ARIMA(2,0,5) model is employed for forecasting the residual series. Besides, we take four predictors to form MPS for forecasting for the trend series. By minimizing RMSE, the parameters of forecasting models can be determined. The α and β of the Holt-Winters ETS are both equal to 0.1; For the BPNN, a three-layer neural network with 19 nodes in the hidden layer is employed for forecasting tasks; The parameter γ of the RBF kernel function is equal to 0.5.
After obtaining the pre-trained MPS, we combine the competence regions and the dynamic selection strategy to choose the most suitable model for test pattern by comparing RMSE, as presented in Fig. 1(III)(b). Similar steps are used for the lower bound granular time series. Finally, the interval-based trend series prediction is completed for the futures settlement of WTI. For other experimental datasets, we can conduct the above-mentioned steps to establish the FIGDS model.
Analysis of experimental results
Guiding the evaluation index RMSE and the performance index Q of information granule, the forecasting performance of the FIGDS model is compared with the five single predictors Holt-Winters ETS, BPNN, SVR, LSTM and ARIMA. Other hybrid systems without dynamic selection strategy, including Holt-Winters ETS+ARIMA, SVR+ARIMA, BPNN+ARIMA, LSTM+ARIMA, Mean_DS+ARIMA, IG_ Holt-Winters ETS+ARIMA, IG_SVR+ARIMA, IG_BP NN+ARIMA and IG_LSTM+ARIMA, are conducted as comparative experiments. These comparative models are listed in Table 3 and Table 4. In Table 3, the inputs of the first ten models are the mean values time series and others are the interval granular time series. Fig. 3(a) and (b) correspond to the granulation results and the predictive performance of the futures settlement price of WTI on the test samples. We can observe that the generated predictive information granules are, to an extent, consistent with the original time series and offer future variation ranges.

Prediction results of the hybrid method about futures settlement price of WTI: (a) The granulation results; (b) The forecasting results.
Table 3 and Table 4 present the empirical results of RMSE and Q. The lowest RMSE value and the highest Q value for each dataset are also highlighted in bold. By comparing the RMSE values on all datasets, we can observe that individual predictor is hard to achieve the best forecasting performance for all the cases. The FIGDS model can outperform the other models by some different margins.
The Holm test
The Friedman test [35] and the Holm test [36] are applied to examine the significant difference between the FIGDS model and other comparative models. In the Friedman test, the null hypothesis is that all models have the same performance based on their ranks in terms of RMSE. The value of the
Due to the interval information granules as the final outputs, the average level of coverage Q1 and specificity Q2 are also taken as performance indicators. We observe from Table 3 and Table 4 that the Q1 is smaller when the Q2 is larger and vice versa, which reflects the conflicting relationship between coverage and specificity. The FIGDS model exhibits sound performances compared to IG_Holt-Winters ETS+ARIMA, IG_SVR+ ARIMA, IG_BPNN+ARIMA, and IG_LSTM +ARIMA in terms of the Q. The comparisons also illustrate that the outputs of the FIGDS model are more representative. The FIGDS model realizes a trade-off between the future variation ranges and forecasting accuracy when compared with the model on mean values time series.
This study designs a hybrid time series forecasting (FIGDS) model based on information granulation and dynamic selection strategy. The method first translates the original time series into granular time series following the principle of justifiable granularity, retaining the primary information in the numerical time series. Predictive systems are established by considering the granular trend and residual item. The dynamic selection strategy selects the most appropriate models for the trend series test pattern. The ARIMA model achieves the forecasting of the residual series. The results of two predictive systems form interval information granules to reflect variation ranges of future time series. The proposed model can reach promising forecasting accuracy than other comparative models and is feasible for forecasting real-world time series.
