Abstract
Time series forecasting is a challenging task with applications in a wide range of domains. Auto-regression is one of the most common approaches to address these problems. Accordingly, observations are modelled by multiple regression using their past lags as predictor variables. We investigate the extension of auto-regressive processes using statistics which summarise the recent past dynamics of time series. The result of our research is a novel framework called VEST, designed to perform feature engineering using univariate and numeric time series automatically. The proposed approach works in three main steps. First, recent observations are mapped onto different representations. Second, each representation is summarised by statistical functions. Finally, a filter is applied for feature selection. We discovered that combining the features generated by VEST with auto-regression significantly improves forecasting performance. We provide evidence using 90 time series with high sampling frequency. VEST is publicly available online.
Introduction
In machine learning, feature engineering is often the "secret sauce" that separates mediocre models from high-performing ones. However, in time series forecasting, this process is typically ad-hoc, relying heavily on manual effort and deep domain expertise. While practitioners might manually calculate a moving average or a trend line, there hasn't been a systematic, automated way to extract the most informative "endogenous" features (features derived from the series itself) for forecasting.
The VEST (Vector of Statistics from Time series) framework addresses the "curse of dimensionality" and the lack of a standardized pipeline for time series feature extraction. It aims to provide a framework that works for practitioners with minimal technical expertise, turning raw time series lags into a rich, optimized feature set.
Methodology
VEST follows an "expand-reduce" strategy, operating in three distinct phases as illustrated in Figure 1.
- Transformation: The input embedding vector (a window of past observations) is mapped into $m$ different representations. These include the Identity (raw data), Simple Moving Average (SMA), First and Second Differencing (to handle trends), Box-Cox (to stabilize variance), Sine/Cosine terms (for seasonality), and Discrete Wavelet Transforms (DWT).
- Summarization: Each of these representations is compressed into a set of features using 32 different statistical functions. These range from basic measures (mean, variance) to complex ones like the Hurst exponent (long-range dependence), Kurtosis, and the Maximum Lyapunov exponent (to quantify chaos). This results in an initial pool of 256 features.
- Selection: To prevent overfitting, a three-tier filter is applied: removing features with too many missing values, removing features with low variance (near-constant values), and removing highly correlated features to reduce redundancy.
The final selected features are concatenated with the original auto-regressive lags to train a regression model, such as Cubist model trees or Lasso.
Experimental Evaluation
The authors evaluated VEST using a case study of 90 univariate time series:
- 55 series were sourced from the
tsdl(Time Series Data Library) benchmark. - 35 series were retrieved from previous forecasting literature.
- All series featured high sampling frequencies (daily or higher) and at least 1,000 observations, ensuring enough data to support complex feature engineering.
Key Insights
- Complementarity is King: The research found that no single representation (like differencing) or single statistic (like the mean) is a "silver bullet." Instead, the combination of different perspectives on the data provides the most significant performance gains.
- The "AR+VEST" Synergy: VEST features are most effective when used alongside traditional auto-regressive lags, rather than replacing them. The lags provide the immediate context, while VEST features capture the underlying dynamics and "shape" of the recent past.
- Sample Size Matters: VEST requires a reasonable amount of data to be effective. In very small datasets, the added complexity can lead to overfitting, but as the sample size increases (beyond ~500–1,000 points), VEST consistently overtakes pure AR and classical statistical models.
- Interpretability: Unlike deep learning "black boxes," VEST features are based on interpretable statistical operations (e.g., "the variance of the differenced series"), which is vital for sensitive applications.
Results
The authors used the Mean Absolute Scaled Error (MASE) and Bayesian sign tests for evaluation:
- Superiority over Baselines: The
AR+VESTapproach significantly outperformed pure auto-regression (AR) and classical state-of-the-art methods, including ARIMA, ETS, and TBATS. - Probability of Success: Bayesian analysis showed that
AR+VESThas a high probability (often >70-80%) of either winning or reaching "practical equivalence" against all other tested methods. - Feature Importance: While the most recent lag (
LAG.1) remains the most important individual feature, VEST features (particularly those involving Moving Averages and Differencing) frequently appeared in the top-ranked predictors across the 90 datasets.
Conclusion and Future Work
VEST provides a robust, automated framework for feature engineering in forecasting. While the current "brute force" nature is computationally intensive, future versions could use meta-learning to intelligently select operations. Other areas for future research include exploring "long-term" features across multiple windows and extending the framework for multi-step forecasting, where initial tests showed less clear advantages.
Summary updated