Abstract
Predicting the demand for electricity with uncertainty helps in planning and operation of the grid to provide reliable supply of power to the consumers. Machine learning (ML)-based demand forecasting approaches can be categorized into (1) sample-based approaches, where each forecast is made independently, and (2) time series regression approaches, where some historical load and other feature information is used. When making a short-to-mid-term electricity demand forecast, some future information is available, such as the weather forecast and calendar variables. However, in existing forecasting models this future information is not fully incorporated. To overcome this limitation of existing approaches, we propose Masked Multi-Step Multivariate Probabilistic Forecasting (MMMPF), a novel and general framework to train any neural network model capable of generating a sequence of outputs, that combines both the temporal information from the past and the known information about the future to make probabilistic predictions. Experiments are performed on a real-world dataset for short-to-mid-term electricity demand forecasting for multiple regions and compared with various ML methods. They show that the proposed MMMPF framework outperforms not only sample-based methods but also existing time-series forecasting models with the exact same base models. Models trained with MMMPF can also generate desired quantiles to capture uncertainty and enable probabilistic planning for grid of the future.
Introduction
Accurate electricity demand forecasting is critical for grid stability. Under-prediction can lead to blackouts, while over-prediction results in economic inefficiency. As renewable energy sources introduce more volatility, traditional forecasting methods struggle with long-term accuracy. Existing approaches typically fall into two categories: recursive methods, which suffer from "error accumulation" as small mistakes snowball over time, and direct methods, which often fail to leverage known future information like weather forecasts and calendar cycles.
We introduce MMMPF (Masked Multi-Step Multivariate Probabilistic Forecasting), a training framework designed to bridge this "future information gap." By utilizing a self-supervised masking technique inspired by natural language processing, MMMPF enables models to integrate historical trends with known future predictors effectively.
Methodology: The MMMPF Framework
The core of MMMPF is a self-supervised training strategy applicable to various neural architectures, including LSTMs, TCNs, and Transformers. The framework "masks" the target electricity demand for a random number of future steps during training. The model is then tasked with "filling in the blanks" using both historical data and unmasked future features, such as temperature forecasts and day-of-week indicators.
Furthermore, MMMPF employs Quantile Regression (QR) via a pinball loss function. This allows the model to produce probabilistic forecasts (e.g., 5th, 50th, and 95th percentiles) rather than a single point estimate, providing a crucial measure of uncertainty for grid operators to manage "worst-case" peaks.
Experimental Evaluation
The framework was evaluated using the ISO New England (ISONE) dataset, covering hourly demand across eight zones from 2011 to 2021. Features included historical demand, calendar variables, and weather data (dry bulb and dew point temperatures). For short-to-mid-term planning, hourly data was aggregated to daily peaks to focus on 1- to 60-day horizons.
Results and Discussion
MMMPF demonstrated superior performance and stability compared to traditional methods across all tested base models.
Accuracy and Stability
For an LSTM-based model, MMMPF achieved a Mean Absolute Percentage Error (MAPE) of 4.99%, significantly lower than the Recursive Step Forecasting (RSF) at 8.63% and Direct Multi-step Forecasting (DMF) at 19.22%. A key advantage of MMMPF is its stability; while recursive models see error rates climb sharply as the forecast horizon extends, the MMMPF error rate remains relatively flat.
Model Agnosticism
The framework's benefits were consistent across different architectures. Using a TCN base model, MMMPF achieved a MAPE of 6.00%, while a Transformer base model reached 5.56%. This suggests that the MMMPF training paradigm is a robust enhancement for any sequence-to-sequence neural network, regardless of its internal architecture.
Conclusion
MMMPF offers a powerful new paradigm for electricity demand forecasting by effectively incorporating future context and providing reliable uncertainty estimates. Future work will focus on the impact of weather forecast noise on prediction accuracy and refining the calibration of the generated probabilistic quantiles to ensure they accurately reflect real-world uncertainty.
Summary updated