Migration MLP fusion load prediction algorithm and device
Through transfer learning and fine-tuning of the multi-layer perceptron model, the accuracy and adaptability problems of short-term load forecasting methods in Taiwan areas are solved, higher prediction accuracy and stability are achieved, and it is suitable for the power load characteristics of different Taiwan areas. Reduces model training costs and computing resource requirements.
Patent Information
- Application Number
- CN202410931860.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-01
AI Technical Summary
Existing short-term load forecasting methods in station areas have low accuracy and poor generalization ability in the face of large load fluctuations and complex and changeable data, and the fixed model cannot flexibly respond to the characteristics and changes of different station areas, resulting in prediction results The deviation is large.
Using a combination of transfer learning and multi-layer perceptron (MLP), through the data collection, feature extraction and model training stages, smart meters and weather stations are used to collect data, and the MLP model is designed for pre-training and fine-tuning, and the model parameters and structure are dynamically adjusted. , improve the adaptability and generalization ability of the model.
Significantly improves the accuracy and stability of load forecasting, enables personalized forecasting when the amount of data is limited, reduces model training time and computing resource requirements, and reduces the risk of overfitting through model fusion and regularization technology , improving the operating efficiency and reliability of the power grid.
Smart Images

Figure CN118734935A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of short-term load forecasting in a substation, and more specifically to a migration MLP fusion load forecasting algorithm and device. Background Art
[0002] Existing short-term load forecasting methods for substations are mainly based on traditional time series analysis and machine learning techniques, which make forecasts by analyzing historical load data, weather data and other factors. However, these methods often have problems such as low accuracy and poor generalization ability when dealing with large load fluctuations and complex and changeable data. Traditional time series analysis methods, such as ARIMA and SARIMA models, can capture the time dependence and seasonal changes of data, but they perform poorly when faced with nonlinear and high-dimensional features. Machine learning methods, such as support vector machines and random forests, have stronger nonlinear fitting capabilities, but require a lot of prior knowledge and computing resources in feature selection and model parameter tuning. In addition, existing load forecasting devices usually use fixed model parameters and cannot flexibly respond to the characteristics and changes of different substations. This fixed model is difficult to maintain consistent prediction accuracy when facing load characteristics, user behavior patterns and environmental factors in different substations. For example, the electricity consumption patterns of different substations may vary significantly due to differences in user living habits, industrial activities and commercial activities. Models with fixed parameters cannot fully adapt to these changes, resulting in large deviations in prediction results. At the same time, power load patterns will change over time, such as seasonal changes and holiday effects, and fixed parameter models are unable to cope with these dynamic changes. Summary of the invention
[0003] The present invention aims to solve the problems of low accuracy, poor generalization ability, and poor adaptability of the existing short-term load forecasting methods for substations. By introducing transfer learning and multi-layer perceptron (MLP) ensembles, combined with the data characteristics and similarities between different substations, the accuracy and stability of load forecasting are improved, and personalized forecasting for different substations is achieved.
[0004] Technical solution: A migration MLP fusion load forecasting algorithm, including data collection stage, feature extraction stage and model training stage;
[0005] The data collection phase uses an outlier detection algorithm and uses smart meters and weather stations to collect historical load data, weather conditions, and holiday information as data input;
[0006] In the feature extraction stage, an MLP model is designed, and a sliding window statistic and time feature of historical load data are extracted and generated based on the collected raw data using a multi-layer perceptron;
[0007] In the model training phase, the back propagation algorithm and the Adam optimizer are used to first train the MLP model on the source area, and then the model is migrated to the target area for fine-tuning.
[0008] Preferably, in the feature extraction stage, the input layer of the MLP model receives processed data, the hidden layer uses the activation function ReLU for nonlinear transformation, and the output layer applies batch normalization and discarding technology; the output layer uses a linear activation function to predict 96-point load values within the next day.
[0009] Preferably, in the model training phase, the pre-training phase uses the historical load data of the source station area to train the MLP model to extract key features.
[0010] In the fine-tuning phase, the trained model is transferred to the target area, the weights of the input layer and the first hidden layer are frozen, and the last two hidden layers and the output layer are trained;
[0011] Preferably, the adjustment in the fine-tuning stage comprises the following steps:
[0012] S1. After the pre-training phase, the last two hidden layers and the output layer of the pre-trained MLP model are fine-tuned to learn a more general feature representation;
[0013] S2. Divide the data set collected from the target area into a training set and a validation set;
[0014] S3. Fine-tune with a smaller learning rate than the pre-training stage;
[0015] S4. Use the training set of the target area to train the subsequent layers of the model, use the mean square error MSE to calculate the difference between the predicted value and the actual load value, and update the weights of the subsequent layers through back propagation;
[0016] S5. During the fine-tuning process, monitor the performance of the model on the validation set. If the error on the validation set increases, adopt an early stopping strategy and further adjust the learning rate and regularization parameters.
[0017] Preferably, the fine-tuning stage adopts the following adjustment methods:
[0018] At the beginning, only the weights of the last hidden layer are unfrozen for training. Once this layer is stable, the weights of the previous hidden layer are unfrozen.
[0019] In the early stage of transfer learning, choose to freeze more low-level parameters and only fine-tune high-level parameters.
[0020] In the dynamic adjustment stage, the settings of the frozen layers are dynamically adjusted based on the loss and accuracy of the validation set in monitoring the model's performance on the target task; if the model's performance stagnates and shows signs of overfitting, more low-level parameters are unfrozen for fine-tuning; if the model shows insufficient feature extraction for the target task, more high-level parameters are frozen.
[0021] Dynamically freeze and unfreeze different neurons and parameter groups in the same layer based on their contribution to the target task;
[0022] During fine-tuning, if the model's performance stops improving on the validation set, gradually reduce the learning rate;
[0023] Increase and decrease the strength of L2 regularization and adjust the Dropout rate;
[0024] Use cross-validation techniques to find the number of neurons in the hidden layer, the learning rate, and the regularization parameters;
[0025] Preferably, the special transformation and processing in the training phase include regularization, ensemble learning and data enhancement;
[0026] Apply L2 regularization on the weights of each hidden layer;
[0027] After the fine-tuning phase is completed, multiple MLP models are constructed and the prediction results of different models are merged by weighted averaging, using different randomly initialized weights and different subsets of fine-tuning data;
[0028] During training, slight noise is added to the time series data for data augmentation;
[0029] Preferably, the prediction stage utilizes a trained and fine-tuned model to achieve accurate prediction of power load for the next 24 hours, with one data point every 15 minutes, for a total of 96 points.
[0030] Preferably, the specific method of using the model to make accurate predictions includes the following steps:
[0031] S1. The terminal equipment and server regularly receive the latest load and meteorological data from the smart meters and weather stations in the data acquisition system for preprocessing, and convert the time information, including hours and days of the week, into a format that can be processed by the model;
[0032] S2. Construct a feature vector from the processed data based on the feature importance determined during the model training phase, including the load average, temperature, humidity, time of day, and day of the week code above the time code for the past few hours;
[0033] S3. Input the feature vector into each trained MLP model for independent forward propagation calculation, and output the load forecast value for the next 96 time points.
[0034] Preferably, the prediction model fusion strategy is to perform weighted averaging of the prediction results of multiple fine-tuned MLP models, and the better the performance of the model, the greater the weight in the weighted average.
[0035] Post-process the forecast results obtained after weighted averaging. If the predicted load value is negative, adjust it to 0 and adjust the forecast results by applying the trend of historical data.
[0036] The final output forecast results are displayed in the form of time series, which are the power load values every 15 minutes in the next 24 hours.
[0037] A migration MLP fusion load prediction device is also provided, which is used to implement the aforementioned migration MLP fusion load prediction algorithm.
[0038] Compared with the prior art, the advantages of the present invention are:
[0039] (1) In the field of power load forecasting, especially for newly built or insufficiently data-collected substations, the existing technology often makes it difficult to establish an accurate forecasting model due to insufficient data. The present invention adopts a transfer learning strategy to first pre-train the model in a data-rich source substation, then migrate the learned model parameters to the target substation and perform fine-tuning. This method makes it possible to utilize the knowledge migrated from the source substation even when the amount of data is limited, effectively improving the accuracy and robustness of the forecasting model.
[0040] (2) The prediction models in the prior art are often optimized for specific data sets. When faced with different data distributions, the generalization ability of the model is limited and the prediction accuracy decreases. The present invention transfers the learning model parameters between different stations, so that the model can learn a more general load feature representation, thereby significantly improving the generalization ability and prediction performance of the model in the new station area.
[0041] (3) Traditional power load forecasting models are prone to overfitting when faced with complex data, especially when the amount of data is limited. The present invention effectively reduces the risk of overfitting and improves the prediction accuracy of the model by introducing technologies such as Dropout and L2 regularization during model training and using an ensemble learning method for model fusion.
[0042] (4) The present invention realizes real-time prediction of future power load by constructing a system architecture that can receive real-time data and quickly output prediction results, combined with fast model forward propagation calculation. This capability is of great significance to power grid operation and dispatching decisions, and helps to improve the operating efficiency and reliability of the power grid. Through transfer learning, the present invention eliminates the need to train the model from scratch, but directly utilizes the knowledge of the pre-trained model, which greatly reduces the time and computing resources required for model training and reduces the cost of model training. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the overall process of a migration MLP fusion load prediction algorithm and device of the present invention. DETAILED DESCRIPTION
[0044] For examples, see Figure 1 The core of the present invention is to use transfer learning combined with a multi-layer perceptron (MLP) model to improve the accuracy and efficiency of power load forecasting through model fusion, especially in new areas with limited data or when data distribution changes. The following is a detailed analysis of the main inventive points of the present invention and its inventive principles:
[0045] (1) Invention Point 1: Application of Transfer Learning to Power Load Forecasting
[0046] Invention principle: Transfer learning allows the model to transfer the knowledge learned on one task (load forecasting at the source substation) to another related task (load forecasting at the target substation). This method is particularly suitable for scenarios where the target task data is insufficient to train a completely new model from scratch. By starting with a pre-trained model from the source substation and then fine-tuning it on the data from the target substation, the model is able to retain the learned general feature representation while adapting to the new data distribution, thereby improving the accuracy and robustness of the prediction.
[0047] (2) Invention Point 2: Structural Optimization of Multilayer Perceptron (MLP) Model
[0048] Principle of the invention: The present invention optimizes the structure of the MLP model, including the number of layers, the number of neurons in each layer, the selection of activation functions, etc., so that the model can more effectively capture the nonlinear relationship and complex patterns in the power load data. Combined with transfer learning, this optimized MLP model can not only learn effective feature representations on the source task, but also quickly adapt to the target task to improve the accuracy of prediction.
[0049] (3) Invention point 3: Innovation of model fine-tuning strategy
[0050] Principle of the invention: In the process of transfer learning, the model fine-tuning strategy adopted by the present invention not only includes basic layer selection and parameter adjustment, but also introduces the following innovations to further ensure that the model can be efficiently migrated from the source area to the target area and show excellent prediction performance in the new data environment:
[0051] a. Dynamic freezing technology: In traditional transfer learning, model fine-tuning usually involves freezing the first few layers of the pre-trained model and only fine-tuning the last few layers. The present invention adopts dynamic freezing technology, that is, dynamically adjusting the number of layers to be frozen according to the performance of the model on the target area data. This method makes the model more flexible to adapt to new data distributions and effectively improves the prediction accuracy.
[0052] b. Layer-by-layer learning rate adjustment: This paper adopts a layer-by-layer learning rate adjustment strategy to assign different learning rates to different layers. The parameters of the deep layer (close to the output layer) have a higher learning rate to speed up their adaptation to the new data distribution; while the parameters of the shallow layer (close to the input layer) use a lower learning rate to retain more common features learned from the source task. This differentiated learning rate setting helps to balance the stability and adaptability of the model.
[0053] c. Adaptive adjustment of regularization parameters: In view of the characteristics of the target area data, the present invention implements an adaptive adjustment mechanism for regularization parameters. This mechanism dynamically adjusts the L1 and L2 regularization strengths based on the performance of the model on the validation set to minimize the risk of overfitting. This adaptive adjustment strategy provides the model with better generalization capabilities.
[0054] Introduction of knowledge distillation technology: In the fine-tuning process, the present invention also introduces knowledge distillation technology, that is, by allowing the target model (student model) to learn the output of the source model (teacher model) and the relationship between the two, the performance of the student model on the target area task is improved. This method not only helps to retain the useful knowledge in the source model, but also reduces the model's dependence on specific data distribution, improving its prediction accuracy and robustness in the target area.
[0055] A migration MLP fusion load prediction algorithm and device, a migration MLP fusion load prediction algorithm and device includes the following stages and steps:
[0056] 1. Data collection phase: Collect necessary data for training and prediction, including but not limited to historical load data of the substation, weather conditions, holiday information, etc.
[0057] Specific approach: Use smart meters to collect hourly or daily electricity consumption data; weather stations provide weather information including temperature, humidity, wind speed, etc.; also consider the impact of holidays on electricity load.
[0058] Algorithm details: In the data preprocessing stage, an outlier detection algorithm (such as a Z-Score-based method) is used to identify and process abnormal data points to ensure data quality. In addition, an interpolation algorithm (such as linear interpolation) is used to handle missing data.
[0059] 2. Feature extraction stage: extract features that are helpful for load forecasting from the raw data.
[0060] Specific approach: Use a multi-layer perceptron (MLP) model to extract deep features of time series data. Considering the periodicity and trend of time series, the features include sliding window statistics of historical load data (such as the average load in the past few hours) and time features (such as time of day, day of the week, etc.).
[0061] Algorithm Details: Design an MLP model which includes an input layer, multiple hidden layers, and an output layer.
[0062] The input layer receives the processed data, and the hidden layer has 128, 64, and 32 neurons in each layer, respectively. Nonlinear transformation is performed using activation functions (such as ReLU), and the output layer extracts key features. At this stage, batch normalization and dropout techniques are also applied to prevent overfitting. The output layer has 96 nodes, which are used to predict 96 load values in the next day. Because it is a regression problem, a linear activation function is used.
[0063] 3. Model training phase: training a high-precision load forecasting model.
[0064] The specific approach is: first train the MLP model on the source area (the area with more historical data), then migrate the model to the target area (i.e., the new area or the area with less data), and adapt it to the new data distribution through fine-tuning.
[0065] Algorithm details: When training in the source area, back propagation algorithm and gradient descent (Adam optimizer) are used to update parameters. When migrating to the target area, the parameters of some pre-trained layers are frozen and only the last few layers are fine-tuned. The loss function uses mean square error (MSE) to measure the difference between the predicted value and the true value.
[0066] a. Pre-training stage: In this stage, the MLP model is trained using historical load data from a data-rich source area. The purpose is to enable the model to learn the ability to extract key features from the load data.
[0067] b. Fine-tuning phase: After the model is trained on the source region, it is migrated to the target region (where the data may be less). In this phase, the weights of the input layer and the first hidden layer are frozen, and only the last two hidden layers and the output layer are trained. This is done because it is assumed that the previous layers learn more general features, while the later layers need to be adjusted according to the specific data of the target region.
[0068] The purpose of adjusting the subsequent layers of the multi-layer perceptron (MLP) model is to make the model better adapt to the specific data distribution of the target area. The following are the detailed adjustment steps and methods:
[0069] Adjustment steps in the fine-tuning phase:
[0070] (1) Selecting fine-tuning layers: After the pre-training phase, it is decided to fine-tune the last two hidden layers and the output layer of the model. The previous layers (input layer and first hidden layer) usually learn more general feature representations, so their weights are frozen during the fine-tuning phase.
[0071] (2) Data preparation: For fine-tuning, it is necessary to collect the target area’s data set and divide it into a training set and a validation set. During fine-tuning, the model will only be trained on the target area’s training set.
[0072] (3) Learning rate adjustment: During fine-tuning, a smaller learning rate is used than in the pre-training phase. This is because we want to fine-tune the model weights rather than making large updates, which helps preserve the knowledge learned from the source area.
[0073] (4) Model training: The training set of the target area is used to train the subsequent layers of the model. In this stage, the loss function (using mean square error MSE) is used to calculate the difference between the predicted value and the true load value, and the weights of the subsequent layers are updated through back propagation.
[0074] (5) Verification and adjustment: During the fine-tuning process, the performance of the model on the validation set is monitored. If the error on the validation set begins to increase, it indicates that the model may begin to overfit. At this time, there are two measures: one is to adopt an early stopping strategy; the other is to further adjust the learning rate and regularization parameters.
[0075] Adjustment methods adopted in the fine-tuning stage:
[0076] (1) Layer-by-layer and dynamic unfreezing: At the beginning, only the weights of the last hidden layer are unfrozen for training. Once this layer stabilizes, the weights of the previous hidden layer are unfrozen. This step-by-step approach helps avoid destroying the feature representations that have already been learned.
[0077] Initialization phase: In the early stages of transfer learning, you can choose to freeze more low-level parameters and only fine-tune high-level parameters. This helps to quickly utilize the general feature representation capabilities of the source model and provides a basis for the initial adaptation of the model to the target task.
[0078] In the dynamic adjustment phase: As training progresses, the settings of the frozen layers are dynamically adjusted by monitoring the performance of the model on the target task (such as the loss or accuracy on the validation set). For example, if the performance of the model stagnates or shows signs of overfitting, you can choose to unfreeze more low-level parameters for fine-tuning, or conversely, if the model shows insufficient feature extraction for the target task, you can freeze more high-level parameters to strengthen the learning of common features.
[0079] Finer-grained adjustments: In some cases, the dynamic freezing technique can be further refined to the inner layer, that is, different neurons or parameter groups in the same layer can be dynamically frozen or unfrozen, and personalized adjustments can be made based on their contribution to the target task.
[0080] The introduction of dynamic freezing technology makes the model fine-tuning process more flexible and efficient. The specific advantages include:
[0081] A. Improve adaptability: By dynamically adjusting the frozen layers, the model can more accurately adapt to the data characteristics and distribution of the target task and improve prediction accuracy.
[0082] B. Reduce the risk of overfitting: A reasonable freezing and thawing strategy helps balance the complexity of the model, avoid overfitting at a specific level, and enhance the generalization ability of the model.
[0083] C. Improve training efficiency: Dynamic freezing reduces unnecessary parameter updates and can improve training efficiency and speed while ensuring model performance.
[0084] (2) Learning rate decay: During fine-tuning, if the performance of the model stops improving on the validation set, the learning rate can be gradually reduced to achieve more refined weight adjustments.
[0085] (3) Regularization strength adjustment: Increase or decrease the strength of L2 regularization, or adjust the Dropout rate to control the complexity of the model and prevent overfitting.
[0086] (4) Hyperparameter optimization: Use techniques such as cross-validation to find the best hyperparameter settings, such as the number of neurons in the hidden layer, learning rate, regularization parameters, etc.
[0087] Through these adjustment methods, the MLP model can better adapt to the data characteristics of the target substation and improve the accuracy of load forecasting.
[0088] Special transformation and processing during the training phase:
[0089] (1) Regularization: To further reduce overfitting, in addition to Dropout, L2 regularization is applied to the weights of each hidden layer.
[0090] (2) Ensemble learning: After the fine-tuning phase is completed, not just one MLP model is constructed, but multiple MLP models are constructed, each using different randomly initialized weights and a different subset of the fine-tuning data. In this way, the prediction accuracy and robustness of the predictions can be improved by integrating the predictions of these models. The specific method is to combine the predictions of different models through simple averaging or weighted averaging (the weights are based on the performance of the model on the validation set).
[0091] (3) Data augmentation: In order to make the model generalize better to new data, the data is augmented during the training process by adding slight noise to the time series data, which helps the model learn more robust feature representations.
[0092] 4. Prediction stage: Use the trained and fine-tuned model to accurately predict the power load for a period of time in the future (e.g., one data point every 15 minutes for the next 24 hours, a total of 96 points).
[0093] Specific approach: (1) Data reception and preprocessing: The terminal device or server regularly receives the latest load and weather data from the data acquisition system (such as smart meters and weather stations). These data are first preprocessed, including normalization, filling missing values, and converting time information (such as hours and days of the week) into a format that can be processed by the model.
[0094] (2) Feature construction: Based on the feature importance determined during the model training phase, feature vectors are constructed from real-time data, including load averages, temperature, humidity, and time codes (such as time of day, week codes) over the past few hours.
[0095] (3) Model prediction: The feature vector is input into each trained MLP model. Each model independently performs forward propagation calculation and outputs load forecast values for the next 96 time points.
[0096] Algorithm details: (1) Ensemble learning: In order to improve the accuracy and robustness of prediction, a model fusion strategy is adopted. Specifically, the prediction results of multiple fine-tuned MLP models are weighted averaged. The weight of the weighted average can be determined based on the performance of each model on the validation set. The better the performance of the model, the greater the weight in the weighted average.
[0097] (2) Post-processing of forecast results: The forecast results obtained after weighted averaging may need to be post-processed to ensure the rationality of the output data. For example, if the predicted load value is negative, it can be adjusted to 0; or the trend of historical data can be applied to adjust the forecast results to ensure that they are consistent with known seasonality and trends.
[0098] (3) Output format: The final output forecast result is the power load value every 15 minutes in the next 24 hours, a total of 96 data points. These data points are displayed in the form of time series.
[0099] Implementation example: Assume that there are three fine-tuned MLP models, and their performance on the validation set is A, B, and C. If A has the best performance, then when performing weighted averaging, A has the largest weight, and B and C have smaller weights. For the load forecast at each time point, the forecast values are obtained from A, B, and C respectively, and then the weighted average is calculated according to their respective weights as the final forecast result. In this way, even if a model's forecast has a large deviation, the ensemble learning method can reduce the impact of this deviation on the final result to a certain extent, thereby improving the overall accuracy and robustness of the forecast.
[0100] A migration MLP fusion load prediction algorithm includes a migration MLP fusion load prediction algorithm and device as described in any one of claims 1-9, characterized in that a migration MLP fusion load prediction algorithm is obtained based on a migration MLP fusion load prediction algorithm and device.
[0101] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A migration MLP fusion load forecasting algorithm, characterized in that: It includes data collection stage, feature extraction stage and model training stage; The data collection phase uses an outlier detection algorithm and uses smart meters and weather stations to collect historical load data, weather conditions, and holiday information as data input; In the feature extraction stage, an MLP model is designed, and a sliding window statistic and time feature of historical load data are extracted and generated based on the collected raw data using a multi-layer perceptron; In the model training phase, the back propagation algorithm and the Adam optimizer are used to first train the MLP model on the source area, and then the model is migrated to the target area for fine-tuning.
2. The migration MLP fusion load prediction algorithm according to claim 1 is characterized in that: In the feature extraction stage, the input layer of the MLP model receives the processed data, the hidden layer uses the activation function ReLU for nonlinear transformation, and the output layer applies batch normalization and discarding technology; the output layer uses a linear activation function to predict the 96-point load value in the next day.
3. The migration MLP fusion load prediction algorithm according to claim 1 is characterized in that: In the model training phase, the pre-training phase uses the historical load data of the source area to train the MLP model to extract key features. In the fine-tuning phase, the trained model is transferred to the target area, the weights of the input layer and the first hidden layer are frozen, and the weights of the last two hidden layers and the output layer are trained.
4. The migration MLP fusion load prediction algorithm according to claim 3 is characterized in that: The adjustment in the fine-tuning stage includes the following steps: S1. After the pre-training phase, the last two hidden layers and the output layer of the pre-trained MLP model are fine-tuned to learn a more general feature representation; S2. Divide the data set collected from the target area into a training set and a validation set; S3. Fine-tune with a smaller learning rate than the pre-training stage; S4. Use the training set of the target area to train the subsequent layers of the model, use the mean square error MSE to calculate the difference between the predicted value and the actual load value, and update the weights of the subsequent layers through back propagation; S5. During the fine-tuning process, monitor the performance of the model on the validation set. If the error on the validation set increases, adopt an early stopping strategy and further adjust the learning rate and regularization parameters.
5. The migration MLP fusion load prediction algorithm according to claim 3 is characterized in that: The fine-tuning stage adopts the following adjustment methods: At the beginning, only the weights of the last hidden layer are unfrozen for training. Once this layer is stable, the weights of the previous hidden layer are unfrozen. In the early stage of transfer learning, choose to freeze more low-level parameters and only fine-tune high-level parameters. In the dynamic adjustment stage, the settings of the frozen layers are dynamically adjusted based on the loss and accuracy on the validation set of the monitoring model's performance on the target task; if the model's performance stagnates and shows signs of overfitting, more low-level parameters are unfrozen for fine-tuning; if the model shows insufficient feature extraction for the target task, more high-level parameters are frozen. Dynamically freeze and unfreeze different neurons and parameter groups in the same layer based on their contribution to the target task; During fine-tuning, if the model's performance stops improving on the validation set, gradually reduce the learning rate; Increase and decrease the strength of L2 regularization and adjust the Dropout rate; The number of neurons, learning rate, and regularization parameters for the hidden layer were found using cross-validation techniques.
6. The migration MLP fusion load prediction algorithm according to claim 1 is characterized in that: The special transformations and processing in the training phase include regularization, ensemble learning and data augmentation; Apply L2 regularization on the weights of each hidden layer; After the fine-tuning phase is completed, multiple MLP models are constructed and the prediction results of different models are merged by weighted averaging, using different randomly initialized weights and different subsets of fine-tuning data; During training, slight noise is added to the time series data for data augmentation.
7. The migration MLP fusion load prediction algorithm according to claim 1 is characterized in that: The prediction stage uses a trained and fine-tuned model to achieve accurate prediction of power load at 96 points in total for the next 24 hours, with one data point every 15 minutes.
8. The migration MLP fusion load prediction algorithm according to claim 7 is characterized in that: The specific method of using the model to make accurate predictions includes the following steps: S1. The terminal equipment and server regularly receive the latest load and meteorological data from the smart meters and weather stations in the data acquisition system for preprocessing, and convert the time information, including hours and days of the week, into a format that can be processed by the model; S2. Construct a feature vector from the processed data based on the feature importance determined during the model training phase, including the load average, temperature, humidity, time of day, and day of the week code above the time code for the past few hours; S3. Input the feature vector into each trained MLP model for independent forward propagation calculation, and output the load forecast value for the next 96 time points.
9. The migration MLP fusion load prediction algorithm according to claim 8 is characterized in that: The prediction model fusion strategy is used to perform weighted averaging of the prediction results of multiple fine-tuned MLP models. The better the performance of the model, the greater the weight in the weighted average. Post-process the forecast results obtained after weighted averaging. If the predicted load value is negative, adjust it to 0 and adjust the forecast results by applying the trend of historical data. The final output forecast results are displayed in the form of time series, which are the power load values every 15 minutes in the next 24 hours.
10. A migration MLP fusion load forecasting device, characterized in that , used to implement a migration MLP fusion load prediction algorithm as described in any one of claims 1-9.
Citation Information
Cited By
Multi-zone load prediction method and system fusing global enhancement and local attention characteristics
CN119834215A
Photovoltaic power generation capacity dynamic prediction method and system based on information text feature extraction
CN120073723A
Hybrid LSTM power grid load prediction method
CN120657744A
Multi-user unified load prediction method based on industry embedding and parameter fine tuning
CN121327493A
Garment parcel weight prediction system and method based on MLP fine tuning
CN121581147A
