Comparative Evaluation of Direct and Recursive Multi-Step Forecasting for Electricity Demand Using Deep Learning and Gradient Boosting Models
Abstract
Predicting electrical demand in distribution systems is a fundamental problem for the efficient operation of smart grids, especially under scenarios of high temporal variability. This study compares two multi-step forecasting strategies for 24-h horizons: a direct 24→24 strategy and a recursive strategy based on sequential 24→1 predictions. Four machine learning and deep learning architectures are evaluated: LSTM, N-HiTS, U-Net, and LightGBM, using real data from electrical feeders belonging to distribution systems in the equatorial region of Ecuador. The methodology includes constructing time windows, non-overlapping train/validation/test partitioning for evaluation, consistent normalization, and comparative analysis using MAE, RMSE, and MAPE metrics. The results show that the direct 24→24 strategy achieves the best overall performance, with LSTM standing out with an approximate MAPE of 4.12%. However, the recursive strategies exhibit greater stability in the face of atypical patterns observed during holidays and weekends. Furthermore, U-Net demonstrates competitive performance in both accuracy and temporal robustness, while LightGBM stands out for its computational efficiency. It is concluded that the selection of a forecasting strategy depends on the required balance between overall accuracy, temporal stability, and computational cost.