[Paper Review] Reinforcement Learning based Dynamic Model Selection for Short-Term Load Forecasting
This paper proposes a Q-learning-based dynamic model selection (DMS) framework for short-term load forecasting (STLF) that selects the optimal machine learning model from a pool of ten state-of-the-art models at each time step. By learning from performance-based rewards, the agent achieves a 49.50% average reduction in normalized mean absolute error (nMAE), improving forecasting accuracy by approximately 50% compared to individual models.
With the growing prevalence of smart grid technology, short-term load forecasting (STLF) becomes particularly important in power system operations. There is a large collection of methods developed for STLF, but selecting a suitable method under varying conditions is still challenging. This paper develops a novel reinforcement learning based dynamic model selection (DMS) method for STLF. A forecasting model pool is first built, including ten state-of-the-art machine learning based forecasting models. Then a Q-learning agent learns the optimal policy of selecting the best forecasting model for the next time step, based on the model performance. The optimal DMS policy is applied to select the best model at each time step with a moving window. Numerical simulations on two-year load and weather data show that the Q-learning algorithm converges fast, resulting in effective and efficient DMS. The developed STLF model with Q-learning based DMS improves the forecasting accuracy by approximately 50%, compared to the state-of-the-art machine learning based STLF models.
Motivation & Objective
- Address the challenge of selecting the best forecasting model under varying load and weather conditions in short-term load forecasting (STLF).
- Overcome limitations of static model selection and ensemble methods by enabling adaptive, time-varying model selection.
- Develop a reinforcement learning framework that learns optimal model selection policies based on historical performance.
- Improve forecasting accuracy beyond individual state-of-the-art machine learning models through dynamic model selection.
- Demonstrate the effectiveness of Q-learning in real-time model selection for STLF using real-world two-year load and weather data.
Proposed method
- Construct a forecasting model pool of ten state-of-the-art machine learning models, including three ANN variants, three SVR models with different kernels, three GBM models with different loss functions, and one RF model.
- Formulate the dynamic model selection problem as a Markov Decision Process (MDP), where the agent selects the best model at each time step based on performance feedback.
- Implement a Q-learning agent that learns the optimal policy by receiving rewards based on the improvement in model ranking (e.g., moving from 4th to 1st place) compared to previous steps.
- Use a moving window approach to evaluate model performance and update Q-values iteratively, enabling the agent to adapt to changing conditions.
- Train the Q-learning agent on two years of historical load and weather data, with hyperparameters tuned using a validation set.
- Apply the trained DMS policy to select the best model at each forecasting time step, resulting in a hybrid forecasting model (M_Q) that combines dynamic selection with individual model forecasts.
Experimental results
Research questions
- RQ1Can a reinforcement learning agent effectively learn to select the best-performing forecasting model at each time step in a dynamic STLF environment?
- RQ2How does the performance of a Q-learning-based dynamic model selection framework compare to individual state-of-the-art machine learning models in STLF?
- RQ3What is the impact of dynamic model selection on forecasting accuracy, particularly in terms of nMAE and MAPE reduction?
- RQ4How stable and adaptive is the Q-learning agent’s model selection policy across different load patterns and weather conditions?
- RQ5Can the DMS framework consistently outperform static model selection and ensemble methods in real-world STLF applications?
Key findings
- The Q-learning agent converges quickly and effectively learns an optimal dynamic model selection policy from performance feedback.
- The developed M_Q model achieves an nMAE of 3.23% and MAPE of 5.61%, representing a significant improvement over individual models.
- The average nMAE reduction (Imp^A) of the M_Q model over the 10 candidate models is 49.50%, and the average MAPE reduction (Imp^P) is 47.45%.
- The M_Q model selects the best-performing model with a 75% probability, and its performance distribution is consistently superior, as shown by the upward trend in the violin plot.
- No single model dominates across all time steps; performance varies significantly, validating the need for dynamic selection.
- The Q-learning agent strategically selects models not only based on current performance but also considers future rewards, such as selecting a model that will improve in ranking in the next step.
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.