[Paper Review] Forecast Evaluation for Data Scientists: Common Pitfalls and Best Practices
This paper provides a comprehensive guide to forecast evaluation for data scientists, addressing common pitfalls such as improper data partitioning, misuse of error metrics like MAPE, and data leakage in time series. It advocates for best practices including rolling origin validation, appropriate error measure selection based on data characteristics, and multi-metric evaluation to ensure robust and meaningful model comparison in machine learning-driven forecasting.
Machine Learning (ML) and Deep Learning (DL) methods are increasingly replacing traditional methods in many domains involved with important decision making activities. DL techniques tailor-made for specific tasks such as image recognition, signal processing, or speech analysis are being introduced at a fast pace with many improvements. However, for the domain of forecasting, the current state in the ML community is perhaps where other domains such as Natural Language Processing and Computer Vision were at several years ago. The field of forecasting has mainly been fostered by statisticians/econometricians; consequently the related concepts are not the mainstream knowledge among general ML practitioners. The different non-stationarities associated with time series challenge the data-driven ML models. Nevertheless, recent trends in the domain have shown that with the availability of massive amounts of time series, ML techniques are quite competent in forecasting, when related pitfalls are properly handled. Therefore, in this work we provide a tutorial-like compilation of the details of one of the most important steps in the overall forecasting process, namely the evaluation. This way, we intend to impart the information of forecast evaluation to fit the context of ML, as means of bridging the knowledge gap between traditional methods of forecasting and state-of-the-art ML techniques. We elaborate on the different problematic characteristics of time series such as non-normalities and non-stationarities and how they are associated with common pitfalls in forecast evaluation. Best practices in forecast evaluation are outlined with respect to the different steps such as data partitioning, error calculation, statistical testing, and others. Further guidelines are also provided along selecting valid and suitable error measures depending on the specific characteristics of the dataset at hand.
Motivation & Objective
- Address the growing gap between traditional forecasting methods and modern machine learning (ML) practices in time series forecasting.
- Identify common pitfalls in forecast evaluation—such as incorrect data partitioning, inappropriate error measures, and data leakage—that undermine model comparison and generalization.
- Provide a systematic, tutorial-style guide to forecast evaluation tailored for ML practitioners, emphasizing data partitioning, error calculation, statistical testing, and metric selection.
- Promote standardized, reproducible, and meaningful evaluation practices to improve the credibility and competitiveness of ML-based forecasting models.
Proposed method
- Propose a structured framework for forecast evaluation that includes data partitioning strategies such as rolling origin and time series cross-validation (tsCV), with recommendations based on data length and model type.
- Advocate for the use of benchmark models like the naïve and seasonal naïve forecasts as essential reference points for model performance evaluation.
- Introduce a decision guide (Table 1) for selecting error measures based on data characteristics, such as scale, non-normality, and non-stationarity.
- Recommend evaluating forecasts using multiple error metrics (e.g., MAE, RMSE, MASE) to ensure robustness and sanity-checking, while designating one as the primary evaluation criterion.
- Highlight the importance of avoiding data leakage during preprocessing steps such as smoothing, decomposition, and normalization in time series workflows.
- Suggest statistical testing for model differences with careful consideration of model diversity and data availability to prevent spurious conclusions.
Experimental results
Research questions
- RQ1What are the most common pitfalls in forecast evaluation that ML practitioners encounter when working with time series data?
- RQ2Which data partitioning strategies (e.g., k-fold CV, tsCV, rolling origin) are most appropriate for different types of time series and model architectures?
- RQ3How should error measures be selected based on the characteristics of the time series, such as scale, non-normality, and non-stationarity?
- RQ4In what ways can data leakage compromise forecast evaluation, and how can it be prevented during preprocessing and validation?
- RQ5How can statistical testing be used effectively to compare model performance without introducing bias due to model similarity or insufficient data?
Key findings
- The use of MAPE for time series with values in the [-1, 1] range is fundamentally flawed and misleading, as it becomes undefined or unstable under such conditions.
- k-fold cross-validation can be a valid and data-efficient alternative to tsCV for AR-based models when residuals pass a serial correlation test (e.g., Ljung-Box), especially for short time series.
- Time series cross-validation (tsCV) is the preferred validation method for models with continuous state dynamics, such as RNNs and ETS, due to the importance of temporal order.
- No single error measure is universally optimal; the choice must be guided by data characteristics, business context, and scale—e.g., scale-dependent measures are valuable when aligned with business utility (e.g., price/volume).
- Evaluating models with multiple error metrics improves confidence in results, but models must be optimized for a single primary metric to avoid conflicting objectives.
- Statistical testing of model differences should balance model diversity and data availability to avoid detecting spurious differences due to overfitting or low sample size.
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.