Data Preprocessing and Data Leakage in Multivariate Time Series Forecasting

Data preprocessing is often treated as a routine step, although it can change forecasting accuracy considerably. This study measured the effect of five preprocessing stages (missing value imputation, anomaly detection, categorical encoding, normalization and smoothing) on ten machine learning, deep learning and statistical models using hourly multivariate Beijing PM2.5 data. Two or three common methods per stage were compared one at a time around a reference pipeline (17 configurations). Each preprocessing method learned its parameters from the training years 2010 to 2013 only, and in the 2014 test year it used only values observed before the forecast hour. The models forecast PM2.5 one hour ahead, and their errors were measured against the original measurements with MAE, RMSE and MAPE. The stages that modify the target series had the largest influence: smoothing the series raised the MAE of every model by 5% to 93%, and statistical outlier removal by up to 35%. Scoring against the preprocessed series, a form of data leakage, made the same forecasts appear better, with median MAE reductions of 4% to 55%. The effects of imputation and normalization varied by model family. Preprocessing should therefore be evaluated together with the model and against unmodified observations.

Authors

Institutions

Publication Details

Journal
Journal of Naval Sciences and Engineering
Published
2026-11-11
DOI
https://doi.org/10.56850/jnse.2053286
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Data Preprocessing and Data Leakage in Multivariate Time Series Forecasting

Musa Mıllı
Journal of Naval Sciences and Engineering
Air Quality Monitoring and Forecasting
article

Data Preprocessing and Data Leakage in Multivariate Time Series Forecasting

Musa Mıllı
article en

Abstract

Data preprocessing is often treated as a routine step, although it can change forecasting accuracy considerably. This study measured the effect of five preprocessing stages (missing value imputation, anomaly detection, categorical encoding, normalization and smoothing) on ten machine learning, deep learning and statistical models using hourly multivariate Beijing PM2.5 data. Two or three common methods per stage were compared one at a time around a reference pipeline (17 configurations). Each preprocessing method learned its parameters from the training years 2010 to 2013 only, and in the 2014 test year it used only values observed before the forecast hour. The models forecast PM2.5 one hour ahead, and their errors were measured against the original measurements with MAE, RMSE and MAPE. The stages that modify the target series had the largest influence: smoothing the series raised the MAE of every model by 5% to 93%, and statistical outlier removal by up to 35%. Scoring against the preprocessed series, a form of data leakage, made the same forecasts appear better, with median MAE reductions of 4% to 55%. The effects of imputation and normalization varied by model family. Preprocessing should therefore be evaluated together with the model and against unmodified observations.

Journal of Naval Sciences and Engineering(Advanced Online Publication)
Naval Academy (TR)
Air Quality Monitoring and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon