Recommended articles:
-
-
Global Energy Interconnection
Volume 9, Issue 5, Oct 2026, Pages 1,001-1,014
Transferable electricity price forecasting: A dual-branch deep learning model adapting to evolving market data
Abstract
Abstract Electricity price forecasting is essential for power market operations; however, existing models primarily rely on ideal data conditions,which limits their applicability in real-world scenarios with constrained data availability. To address this aspect, we herein propose a predefined adaptive dual-branch deep learning model designed to handle data availability constraints. Specifically, the model comprises two complementary branches: a sequence-fitting branch for capturing temporal dynamics in price data and a feature-mapping branch for integrating external influences such as load demand or renewable energy output. This separation enables the model to remain robust under various data availability constraints. Subsequently, a convolutional neural network fuses the outputs of both branches, with weights assigned on the basis of the reliability of the data of each branch to achieve a more nuanced integration.Furthermore,a transfer learning mechanism is introduced to facilitate rapid deployment in data-scarce environments via fine-tuning of only a minimal set of parameters.Ultimately, evaluations on real-world datasets from Hubei and Yunnan, China, confirm that the model achieves high accuracy and robust generalization, outperforming benchmark models in limited-data scenarios.
0 Introduction
Electricity price forecasting (EPF) is a critical task required for ensuring the secure and economical operations of deregulated power markets [1]. Accurate EPF is indispensable for market participants such as generators,retailers, and large consumers for the formulation of effective bidding strategies, management of financial risks, and optimization of asset portfolios [2,3]. However, the nonstationary and volatile nature of electricity prices poses significant challenges to accurate forecasting models [4].A further—often underappreciated—challenge is also the lack of model adaptability to divergent data regimes encountered across global markets. The performance of even advanced models is highly contingent on data conditions that are often treated as ideal and uniform in research, but are, in reality, fragmented and constrained.
With the advent and development of data-driven artificial intelligence technology, existing EPF methodologies can be broadly categor ized into two paradigms on the basis of their core modeling assumptions.
The first is the intrinsic-pattern paradigm, which operates on the assumption that price movements can be explained by intrinsic patterns within the historical price series. Thus, it can be treated as a stochastic process to capture its temporal dynamics. For example, in [5], an extreme learning machine is embedded to model nonlinear relationships within price series, balancing reliability and sharpness in predictions. In [6], abnormal prices are detected and filtered before application of variational mode decomposition (VMD) to reduce complexity and randomness in the remaining price sequence. In [7],VMD is combined with an extended discrete Fourier transform for normal price prediction, with oversampling techniques employed to improve spike forecasting. In [8],the impact of different historical price periods on forecasting performance are compared, with inherent patterns in the price data being leveraged. Another study [9] focuses on the intrinsic temporal patterns of electricity prices, utilizing a temporal convolutional network (TCN) for highfrequency modeling. Models relying solely on intrinsic temporal patterns prioritize past behaviors as predictors for future outcomes. Although this approach is effective in stable environments,these models often neglect external factors, such as weather, demand fluctuations, and renewable energy output, which limit their adaptability to sudden market changes [10]. When external conditions shift drastically, these models may underperform owing to their lack of responsiveness to such changes. Moreover, their performance is contingent on the availability of long and consistent historical price data, which may not always be attainable in all market contexts.
Conversely, the second paradigm is the feature-causal paradigm, which assumes that external fundamental variables primarily drive prices. To this end, it involves feature mapping via incorporation of a wide array of these causal factors. Commonly considered features include system renewable generation [11,12], load demand [13], and weather conditions [14]. In [15], a graph attention mechanism with external features is employed as the auxiliary input, with superior performance exhibited in predicting abnormal spikes. In [16], orthogonal matching pursuit is applied to select features from highly collinear variable sets, enhancing prediction accuracy and reliability. Transformers are augmented with subnetworks in [17], which endogenously quantify the importance of each input feature. Although this paradigm can enhance accuracy, it introduces a strong dependency on the accessibility of a diverse and real-time feature set.
Nevertheless, several integrated models have been proposed to combine aspects of both paradig ms and thereby harness the strengths of both. For example, [18] involves the use of an attention mechanism and a convolutional neural network (CNN) for efficient feature extraction,alongside a recurrent neural network (RNN) to extract temporal patterns in prices. In [19], distinctive features are selected using extreme gradient boosting, with a deep neural network subsequently constructed to identify similar days on the basis of historical price patterns.[20] leverages a Gaussian mixture model alongside a lightweight gradient boosting machine to detect anomalies, wi th long short-term memory (LSTM) employed for trend forecasting. Additionally, this study incorporates Shapley additive explanations to interpret the underlying causes of anomalies.[21] addresses the complex challenges of EPF through the design of a hybrid deep learning (DL) model, combining CNN for spatial pattern recognition with gated recurrent unit(GRU)for capturing temporal dependencies and thereby offering a comprehensive view of price trends.
A common—often implicit—assumption across these advanced studies is the full and immediate availability of all required input data. However, this assumption is frequently invalid in practice. In mature, transparent markets, the challenge evolves into effectively processing and integrating vast, heterogeneous data streams. By contrast,emerging or regulated markets often face fundamental data scarcities owing to regulatory constraints, commercial confidentiality, or inadequate metering infrastructure. This gap betw een idealized data conditions and heterogeneous real-world scenarios highlights a key limitation of existing models: their inability to adapt to varying levels of data accessibility. To address the issue, this study proposes a novel predefined adaptive dual-branch DL framework.The key contributions are as follows:
1)A dual-branch DL model for EPF is introduced that adapts to varying data availability. The model comprises a sequence-fitting branch that captures temporal patterns in price data and a feature-mapping branch that incorporates external drivers, such as load demand and renewable energy output.This separation enables the model to prioritize the most reliable information source based on data availability,offering a flexible solution in environments with inconsistent or incomplete data.
2)A transfer learning strategy with a freeze-and-tune mechanism is developed specifically for data-scarce markets. This approach freezes the pre-trained dual-branch backbon e to preserve general knowledge and only fine-tunes a lightweight output layer on the target domain, ultimately facilitating rapid deployment with minimal local data requirements.
The remainder of this paper is organized as follows.Section 1 outlines the overall structure of the proposed framework. Section 2 details the methodology of each component. A case study validating the model performance is presented in Section 3. Finall y, Section 4 concludes the paper.
1 Structure o f EPF
The design of our proposed framework is grounded in a classification of practical data constraints, formulated to accommodate diverse scenarios of electricity price data availability. The classification is based on the accessibility of two primary data types: historical electricity price sequences and external market features. Notably, historical price data, being essential for market settlement, are never entirely unavailable. Instead, the key constraint is the sufficiency and suitability thereof for training dataintensive models. The classification is summarized in Table 1.
In light of the need for a flexible EPF solution adaptable to these diverse scenarios, this study proposes a novel‘‘dual-branch fusion transfer”framework.The fundamental structure, illustrated in Fig. 1, integrates two complementary forecasting branches, a nonlinear fusion module, and a transfer learning mechani sm, enabling robust performance across the defined data-availability conditions.
The first branch addresses scenarios with only historical price data. It commences by decomposing the price series via the complete ensemble empirical mode decomposition with adaptive noise (CEEMDAN) algorithm into intrinsic mode functions (IMFs), which are grouped by frequency—that is, high or low—via zero-crossing rate and sample entropy. Each frequency group is modeled separately: TCNs capture high-frequency volatility, whereas GRUs model low-frequency trends. Their predictions are then aggregated to produce a forecast driven solely by temporal dynamics.
The second branch incorporates features. It constructs a feature set combining external factors with phase space reconstruction (PSR)-based attributes derived from the price series. A mixture of experts (MoE) ensemble model processes these features, dynami cally activating the most relevant sub-model according to the current market regime. A multi-head attention (MHA) further extracts features and then outputs the predictions.
Subsequently, a CNN nonlinearly fuses the outputs of the two branches. Considering the dual predictions as a 2-channel temporal signal, the CNN applies convolutions to extract cross-branch reliability patterns over time, ultimately yielding an integrated forecast that adapts more effectively to market dynamics than simple averaging by weighing the output of each branch on the basis of its contextual information.
Finally, a transfer learning module facilitates model adaptation to new markets or data-scarce environments.The dual-branch backbone parameters are frozen to preserve general forecasting knowledge, and a trainable fully connected (FC) layer is fine-tuned to align with the local characteristics of the target market.
Table 1 Classification of practical data constraints.
Scenario Historical price data External features Price-only Available Unavailable Feature-rich Limited Available Data-abundant Available Available Data-scarce Limited Limited
2 M ethodology
Time series prediction tasks can typic ally be formulated as
![]()
The primary objective is typically to minimize the prediction error, which can be expressed as
Data-driven models, widely adopted for such tasks, typically involve input mod eling. This relationship can be described as
where x(t) is the input data, and f(.)denotes the mapping function.
To minimize the prediction error, the mapping function f(.)should approximate the actual values y(t)as closely as possible. Achieving this often necessitates the use of extensive datasets for training. In the co ntext of EPF,when utilizing external features along with historical price data as inputs, the model can be formulated as
where y(t -1) denotes the historical price, and I(t )represents the external features.
When sufficient data are available, data-driven models facilitate comprehensive modeling and can capture complex nonlinear relationships effectively. However, challenges arise when data resources are limited or misaligned. Moreover, insufficient data for modeling a particular relationship leads to an inadequate model fitting and an increase in the corresponding prediction error. To mitigat e the impact of partial data insufficiency, we herein propose separating the two types of inputs during the modeling phase and coupling them at the final stage. This can be achieved through a dual-branch approach:
where f1 (.) and f2(.)are the mapping functions for the historical time series and external features, respect ively,and f3(.)represents the final mapping function.
2.1 Sequence fitting branch forecasting
Considering that certain electricity markets do not disclose load demand or renewable generation, our research should incorporate a component fitted directly from the electricity price sequence itself. The proposed model in the sequence fitting branch leverages CEEMDAN, zerocrossing rates, the sample entropy, GRU, and TCN to yield a multi-model fusion approach for forecasti ng. The sequence fitting branch prediction process is shown in Fig. 2.
Fig. 1. Structure of dual-branch DL model for EPF.
Fig. 2. Sequence fitting branch prediction process.
Given the absence of feature inputs, this study commenced with an analysis of electricity price data to fully capture its variation characteristics. For overcomi ng issues of modal aliasing and reconstruction error present in the original empirical mode decomposition and its variants,the CEEMDAN method is employed [22]. This enhanced approach introduces independent additive noise at each decomposition stage and dynamically compensates for accumulated errors during the computation of each IMF. Thus,this improves mode orthogonality and decomposition stability. The decomposition process is expressed as

The resulting IMF components are grouped by frequency using the zero-crossing rate and sample entropy.Specifically, they are categorized into high- and lowfrequency groups. As the CEEMDAN model ensures that all IMFs are temporally aligned, the original price curve can be reconstructed through combination of the components. Accordingly, separate fitting models were herein developed for different frequency ranges
where phigh (t) and plow(t)denote the high-frequency and low-frequency components, respectively.
For the selection of suitable models for fitting these components, the TCN and GRU were compared. A summary of their characteristics is provided in Table 2.
Table 2 Comparison between TCN and GRU.
Model TCN GRU Basic model CNN RNN Key mechanism Gating mechanisms (update and reset gates) to control information flow.Feature extraction Causal dilated convolutions with residual connections.Parallel Serial Feature scope Local features multiple time steps Advantage High frequency Low frequency
To model the decomposed components, distinct neural network architectures were employed on the basis of their frequency characteristics. Moreover, TCNs were applie d to the high-frequency IMFs owing to their proficiency in capturing long-range dependencies within sequences [23].The TCN architecture utilizes causal convolutions, which prevent information leakage from future time steps,thereby ensuring predictions are based solely on past and present data. For an input price sequence p(t)and a convolution kernel κ(. ) of length L, output y(t)at time tis given by
To expand the receptive field efficiently without a linear increase in parameters and computational complexity,dilated convolutions were incorporated. A causal dilated convolution, with a dilation factor d,is expressed as
For the low-frequency IMFs, which exhibit smoother,more long-term trends, a GRU was adopted. As an advanced RNN, the GRU is well-suit ed for time-series prediction, offering an efficient balance between model complexity and performance [24]. The calculations within a GRU cell involve an update gat e z(t)and reset gate r(t ),which regulate the infor mation flow. The governing equations are as follows



2.2 Feature mapping branch forecasting
Electricity prices are influenced by various factors,including weather conditions, load demand, and renewable energy output. Therefore, when these features are available, performing predictions through feature mapping proves more ideal, enabling the attainment of more accurate causal mapping relationships. As a feature mapping branch, its input comprises two categories of features: first,externally driven features such as system load, renewable energy output, and meteorological conditions; second,intrinsic dynamic features derived from the electricity price sequence through dynamical systems theory. Notably, the external variables are not the actual realized values at the prediction horizon; instead, they are ex-ante available forecast quantities, including meteorological forecasts, system load forecasts, and renewable output forecasts. Concurrently, the PSR-based features are derived solely from the historical electricity price sequence observed before the prediction is made. Therefore, the feature vector employed by the model is constructed only from historical observations and forecast information available in advance, which prevents any information leakage from future realized data.A deep ensemble model incorporating hybrid expert models and MHA was employed to map these features onto electricity prices. The feature mapping branch prediction process is shown in Fig. 3.
In PSR, raw one-dimensional (1D) electricity price data are reconstructed into a high-dimensional phase space matrix. Although the source data for PSR technology comprise historical electricity prices, the purpose here is to transform a 1D time series into a high-dimensional feature space that reflects the underlying dynamics of the system. These reconstructed features, alongside external driving features, provide the MoE with interpretable inputs regarding market conditions. Therefore, in this study, PSR features were classified under the feature mapping branch, where they collaborated with external features to yiel d a comprehensive feature set that fully reflected the electricity price formation mechanism.Through selection of an appropriate delay time and embedding dimension, a system with the same topological properties as those of the source system could be reconstructed. The mutual information was used to calculate the delay time, and the Grassberger-Procaccia (GP) algorithm was employed to compute the embedding dimension.
Fig. 3. Feature mapping branch prediction process.
The fundamental principle behind using mutual information to calculate the delay time (τ)for PSR is to find a delay that maximizes the information gain between observations rather than just their linear correlation [25].Mutual information quantifies the nonlinear dependence between two variables—in this case, a time series and its delayed version. A high value indicates that knowing the value at time tprovides significant information about the value at the time t+τ,meaning that the delay is too short to yield an independent measurement. The goal here is to choose a τ for which the delayed data points are as statistically independent as possible. The standard method involves computation of the mutual information between the original signal and its time-delayed self for a range of τvalues. The optimal delay time is often selected as the first minimum of the mutual information function.At this point, the signals share just enough information to be non-redundant albeit still connected,thereby achieving a good compromise between independence and relevance for reconstructing the system dynamics. The mutual information can be expressed as
where p(ω,ψ)is the joint probability density function between Ωand Ψ, and p( ω) and p(ψ)are the marginal probability density functions.
Following the reconstruction of the system phase space,the correlation dimension was calculated to quantify its complexity.Using the GP algorithm is a standard method for this purpose[26]. This involves first computing the correlation integral, which measures the probability that two randomly chosen points in the phase space lie within a distance ε of each other. The fundamental principle is that for a smallrangeofε,thisintegralscalesasa power law:C(ε)~εD. The correlation dimensionDisthendefined as the slope of the linear region in a log-log plot ofC(ε)versus ε. In practice, Dis estimated by examining the manner in which this slope converges as the embedding dimension increases; for a deterministic chaotic system, the value would saturate, providing a finite-dimensional measure of the system’s dynamics.
This reconstruction transforms the 1D price time series p(t )into a multi-dimensional phase space trajectory PPSR(t),defined as
While the PSR price data captures internal dynamics,electricity prices are also driven by external market forces.Therefore, a multivariate matrix of influencing factors was constructed herein, comprising forecast data available at the prediction time for: 1) meteorological conditions: temperature, wind speed, and solar irradiance; 2) system load demand:total system-wide load forecast;and 3)renewable energy output:projected power generation from wind and solar sources. This matrix is denoted as Xexternal(t).

This unified dataset Itotal(t)total was then fed into the MoE model. Within the MoE framework, the gating network learns to assign appropriate weights to each expert based on the input characteristics. For instance, one expert might specialize in periods of high volatility driven by renewable energy fluctuations, while another might excel at forecasting prices during stable, high-demand periods.The final prediction by the model is a weighted sum of the outputs from all experts, which allow the model to dynamically adapt its reasoning to the specific market regime presented by the input features.
2.3 Dual-branch integrated forecasting
The sequence fitting branch excels at capturing overarching temporal trends and smooth, autoregressive patterns within electricity price series. By contrast, the feature mapping branch is more sensitive to external, high-dimensional factors, whereby it can model abrupt changes and regime shifts driven by market fundamentals. Although both branches generate valuable predictions, their performance and associated errors can vary significantly under different market conditions.
To leverage these complementary strengths, a CNN was employed as a fusion module based on predefined strategies. This approach surpasses simple averaging or weighted summation, enabling sophisticated, non-linear integration of the two prediction sequences. The parallel predictions were stacked to form a 2 × T input matrix,representing two channels across T time steps.This format treats the coupled predictions as a multi-channel temporal signal. The 1D convolutional kernels of the CNN then scan this input to extract local, high-level patterns that reflect the agreement, disagreement, and relative reliability between the two prediction streams at different times.Through training, the network learns to dynamically weight the contributions of each branch on the basis of the prevailing market context. The features extracted by the convolutional layers were subsequently integrated by FC layers to yield a single, consolidated forecast. This architecture ensures the final prediction is a dynamic,context-aware synthesis rather than a static combination.
2.4 Model transferring
To ensure model applicability across different electricity markets or time periods with limited data, a transfer learning strategy with fine-tuning was employed. This approach is essential when deploying the pre-trained model on a new target dataset where the volume of data—in terms of both historical prices and external features—is insufficient to train a complex model from scratch without overfitting.The transfer learning process involved the following steps,represented in Algorithm 1.
Algorithm 1 Model Transferring Input: Pre-trained model; Target market dataset Output Transferred model; Price forecasts 1: Load the pre-trained model and the target dataset.2: Freeze the backbone parameters of the pre-trained model.3: Determine the data availability scenario for the target dataset:4: price_only: Adequate historical price data only.5: feature_rich: External features only.6: data_abundant: Both price history and external features.7: data_scarce: Neither is adequate.8: Based on the scenario, select and fine-tune the corresponding model head:9: price_only→Fine-tune the sequence fitting head.10: feature_rich→Fine-tune the feature mapping head.11: data_abundant→Fine-tune the fusion head.12: data_scarce→Ke ep all parameters frozen; proceed to prediction.13: Train the selected head on the target data.14: Generate and return forecasts with the adapted model.
Model freezing and feature reuse[27]: the core architecture of the pre-trained model (including the sequencefitting and feature-mapping model) was loaded. The parameters of these pre-trained layers were then frozen,meani ng that their weights were not updated during subsequent training on the new,smaller dataset.This prevented the model from overwriting the general knowledge of electricity price dynamics it previously learne d, which would be unstable with limited new data.
Integration of an adaptive fine-tuning head: an additional, trainable FC layer was appended to the end of the frozen model or replaced the FC layers in the dualbranch model. This new trainable layer considered the high-level feature representations generated by the frozen model as its input. Only the weights of this FC layer were updated during training on the target dataset.
This strategy allowed the model to perform lightweight calibration. The frozen backbone acted as a powerful, generic feature extractor for electricity market patterns, and the new FC layer learned a simple, specific mapping to adjust the final predictions to the local characteristics of the new market.
3 Case study
A case study was conducted using data from Chinese provincial electricity markets. China’s electricity spot markets are currently in a phased and asynchronous state of development [28]. The transition to spot markets is ongoing, resulting in a landscape wherein some provinces have established markets with relatively complete data, while others are in early stages with limited data availability.This inherent heterogeneity renders the Chinese context an ideal testbed for evaluating model performance and generalization under divergent data regimes. To conduct strict validation of the central claim in Table 1, the case study was organized as a scenario-oriented evaluation of the proposed framework under four data-availability settings: price-only, feature-rich, data-abundant, and datascarce. Each experimental subsection was explicitly linked to one of these scenarios: the sequence-fitting branch corresponded to price-only, the feature-mapping branch corresponded to feature-rich, the fused dual-branch model corresponded to data-abundant, and the transfer learning experiment on the limited Yunnan dataset corresponded to data-scarce. As summarized in Table 3, the experimental section was intended not only to evaluate individual model modules, but also to establish a one-to-one validation link between each practical data scenario and its corresponding forecasting strategy.
Table 3 Experim ental setup.
Scenario Model configuratio n Price-only Sequence-fitting branch Feature-rich Feature-mapping branch Data-abundant Dual-branch fusion model Data-scarce Transfer learning strategy on target market
Therefore, the proposed model was first trained and validated on a comprehensive dataset from Hubei, China.Subsequently, its generalization capability was evaluated by transferring the trained model to a more limited dataset from Yunnan, China, simulating an emerging market scenario with scarce data. The Hubei dataset spans from June 2024 to August 2025, and the Yunnan dataset encompassed a period up to July and August 2025. The significant differences between these two regions provided a robust test for the model generalizability. For data preprocessing, an hourly sampling frequency was adopted. The dataset was divided into training, validation, and test sets in an 8:1:1 ratio. The training, validation, and test sets were strictly partitioned, with no overlap in the data used for model training or hyperparameter tuning. All features used in the forecasting process were based on historical and forecasted data that would have been available at the time of prediction, ensuring that no future data influenced the model performance. The missing values were imputed using linear interpolation, and features were normalized using min-max normalization. All models were trained by minimizing the prediction loss on the training set, and the best model was selected according to the validation-set performance. The optimizer, learning rate,batch size, epoch number, and early stopping settings are summarized in Table 4.
Herein, we compared several cutting-edge models and their combinations, as shown in Table 5. In addition to the proposed model, we separately incorporated the Transformer and random forest (RF) for comparison in each branch. All experiments were implemented in Python 3.12 and conducted on a PC with a 12th Gen 2.30 GHz Intel Core i7-12700H processor and 64 GB of RAM.
3.1 Sequence fitting branch prediction results
This subsection corresponds to the price-only scenario,where historical electricity price data were available while external features were unavailable; accordingly, the forecasting performance of the sequence-fitting branch was evaluated under this condition.
We first evaluated two signal decomposition techniques,VMD and CEEMDAN, for preprocessing the time series.A statistical comparison based on zero-crossi ng rate and sample entropy revealed a distinct contrast, which is depicted in Fig. 4. VMD components exhibited higher zero-crossing rates and lower sample entropy, indicating modes with less complex dynamical structures. By contrast, CEEMDAN components demonstrated higher sample entropy and lower zero-crossing rates, suggesting a superior ability to capture intricate, irregular patterns and richer informational content. This was further substantiated by a time-domain analysis of sample entropy for the CEEMDAN components in Fig. 5. The first five IMFs (IMFs 1-5) showe d high and fluctuating sample entropy, confirming their classification as high-frequency signals. The entropy of the remaining components (IMFs 6-10) decreased progressively, with the final residual compone nt maintaining a consistently low value, whereby these were characterized as low-frequency signals.
On the basis of this combined analysis of zero-crossing rate and sample entropy, the IMFs were effectively grouped into high- and low-frequency components. Separate input vector s were subsequently constructed from these groups for the respective high- and low-frequency forecasting sub-models.
The comparative results in Table 6 reveal distinct model capabilities in fitting low-and high-frequency components,as measured by mean ab solute error (MAE), root mean square error (RMSE), and R2 score [29].
For the low-frequency component, all models demonstrated strong performance, indicating that these patterns are relatively straightforward to capture. The GRU model achieved the highest accuracy, with the lowest MAE and RMSE and a near-perfect R2. The TCN performed comparably, while the transformer exhibited slightly higher errors.
By contrast, model performance diverges significantly on the high-frequency component. The predictive ability of the GRU degraded substantially, with errors increasing markedly and explanatory power dropping. The TCN,however, demonstrated superior capa bility, yielding the lowest errors and the highest R2 among the individual models. The transformer performed poorly, registering the highest errors and lowest R2.
This quantitative analysis confirms that the TCN architecture is more robust than that of the GRU in modeling complex, high-frequency dynamics. Consequently, a hybrid approach was adopted, pairing the GRU for lowfrequency fitting with the TCN for high-frequency fitting to achieve optimal overall performance.
3.2 Feature mapping branch prediction results
This subsection corresponds to the feature-rich scenario, where external features were available, but the dependence on long historical price sequences was reduced;therefo re, the feature-mapping branch was evaluated as the primary forecasting strategy under this condition.
To better elucidate the relationships between external factors and electricity prices, we conducted a correlation analysis, as shown in Fig. 6. Real-time prices were most strongly correlated with day-ahead prices (0.84) and historical prices (0.65), highlighting the importance of short-term price trends in predicting real-time prices. By contrast, factors such as competitive bidding energy(0.59) and photovoltaic generation forecasting (-0.47)had a more direct impact on electricity prices. The negative correlation between photovoltaic generation and real-time prices suggests that higher solar output may lower pricesowing to increased supply, while bidding energy significantly influences price fluctuation s, reflecting typical market dynamics.
Table 4 Primary implementation settings and hyperparameters.
Category Module Setting Sequence-fitting branch High-frequency model TCN Low-frequency model GRU TCN number of layers 3 TCN hidden channels [32, 64, 128]TCN kernel size 3 TCN dropout 0.2 GRU hidden size 32 GRU number of layers 1 GRU dropout 0.1 Feature-mapping branch Number of experts in MoE 8 Expert hidden dimension 64 MHA embedding dimension 64 Number of attention heads 8 Attention dropout 0.2 Dual-branch fusion module CNN number of layers 1 CNN kernel size 3 CNN stride / padding 1/1 Pooling size 2 Transfer learning Frozen layers Dual-branch backbone Trainable layers Output FC head Fine-tuning epochs 10 Fine-tuning learning rate 0.001 Training settings Loss function Mean square error Optimizer Adam Initial learning rate 0.001 Batch size 64 Maximum epochs 100 Random seed 42
Table 5 Case models.
Model Number Model M1 TCN M2 GRU M3 Transformer M4 GRU-TCN M5 MoE M6 MHA M7 RF M8 MoE-MHA M9 (Proposed Model)
Beyond external market factors, the internal dynamics of the electricity price series were characterized using PSR. The optimal parameters for this reconstruction were determined as foll ows: the time delay was set to 6, corresponding to the first minimum of the mutual information function (Fig. 7), and the embedding dimension was set to 4, the point at which the slope of the correlation dimension curve stabilizes (Fig. 8).
Fig. 4. Comparison of decomposition models.
The combined feature set, integrating both external and internal characteristics, was then fed into the MoE-MHA model (M8). For comparison, an RF (M7) was selected as a benchmark. The results are shown in Table 7. M7 could not easily predict the extreme values and generalize to unseen data patterns—limitations likely attributable to its inherent if-then rule structure. By contrast, neural network-based models demonstrated superior generalization. Through leveraging of a gating mechanism that synergistically combines the collective decision-making strength of multiple experts (akin to an RF) with the high representational capacity of neural networks, the proposed M8 model achieved the best performance. Specifically, it reduced the MAE by 20.13% and RMSE by 8.82%, while increasing the R2 value by 0.04 relative to that of the M7 benchmark.
Fig. 5. Decomposit ion results.
Table 6
Comparison of sequen ce fitting results.
Model IMF MAE RMSE R2 M1 High 42.06 59.56 0.67 Low 1.36 1.42 0.99 M2 High 41.99 57.95 0.68 Low 1.66 1.73 0.98 M3 High 66.69 94.54 0.49 Low 2.44 2.58 0.96 M4 Sum 39.76 57.82 0.82
3.3 Overall prediction results analysis
This subsection corresponds to the data-abundant scenario, wherein both sufficient historical price data and external features were available; thus, the integrated dual-br anch model was evaluated to verify the merit of fusing the sequence-fitting and feature-mapping branches.
The individual branch outputs were compared with the fused result in Fig. 9, which revealed that both branches achieved satisfactory performance in tracking the actual price fluctuations. However, a more rigorous evaluation requires assessing the manner in which predictive performance evolves with changing dataset composition.
Fig. 10 illustrates the model performance improvement as the training data increased from spanning one month to over a year. The corresponding Taylor diagram in Fig. 11 provides a detailed visualization of this progression. The sequence fitting branch demonstrated fewer outliers, indicating rapid adaptation to expanding datasets. By contrast, predictions from the feature mapping branch showed a higher data density and smaller standard deviation, suggesting greater stability when sufficient training data are available. The fused dual-branch model exhibited balanced performance in both convergence speed and quality, likely owing to the gating mechanism prioritizing the more reliable branch during training. Most notably,after convergence, the coupled model achieved a higher correlation coefficient, indicating that its variation pattern aligned most closely with the original data.This synergistic integration allows for flexible model selection based on data availability while maintaining superior predictive performance.
3.4 Analysis of prediction results under different feature conditions
This subsection corresponds to the data-scarce scenario,wherein both historical price data and external features were limited; therefore, the transfer learning strategy on the Yunnan dataset was evaluated to verify the model adaptability in a new market with scarce local data.
Prior to evaluating the transfer learning strategies, we quantitatively analyzed the domain shift between the source domain (Hubei, China) and targe t domain (Yunnan, China). Three metrics were considered: maximum mean discrepancy (MMD) [30], Kullback-Leibler divergence (KL) [31], and an LSTM-based domain classifier with the accuracy as the metric[32]. As shown in Table 8,the MMD between the source and target datasets was 0.13, indicating a moderate domain shift. This suggests that although adaptation is necessary, the shift is not extreme. The KL divergence value of 0.70 further supports this, reflecting differences in the probability distributions between the domains. Additionally, the LSTM-based domain classifier achieved an accuracy of 96%,confirming a clear distinction between the domains. These results justify the application of transfer learning to bridge the gap between the source and target domains.
Subsequently, Table 9 shows the comparison of the three strategies under different data availability conditions:1) pre-training: direct application of the Hubei model; 2)fine-tuning: adaptation of the Hubei model with an additional fine-tuning head; and 3) re-training: complete retraining using only Yunnan data.
With only seven days’ worth of training data, the pretraining strategy yielded the best performance, suggesting that directly leveraging a pre-trained model is advantageous when local data is severely limited. In such cases,the sequence-fitting approach offers a viable solution through exploitation of temporal patterns, despite potential feature disparities between regions—for example, the stronger influence of hydropower from the Thr ee Gorges Dam in Hubei.
Fig. 6. Correlation coefficients betwee n input features.
Fig. 7. Comparison of time delay.
Fig. 8. Comparison of embedding dimension.
As the training dataset expanded to encompass 14-21 days’ worth of data,the fine-tuned model demonstrated increasing advantages. With fewer parameters requiring training, it rapidly adapted to the new dataset while retaining knowledge from the source domain. Beyond approxi-mately one month’s worth of data, retraining a model locally becomes feasible. Ultimately, these results confirm that the proposed transfer learning framework enables reliable predictions earlier than conventional approaches,offering practical flexibility under data scarcity.
Table 7 Comparison of feature mapping results.
?
Fig. 9. Electricity price prediction results.
Fig. 10. Comparison of metrics under different sample sizes.
4 Conc lusion
This paper proposes a novel dual-branch deep coupling model to address the critical challenge of data availability in EPF. The framework is specifically designed to maintain robust performance across diverse real-world scenarios,from data-abundant conditions to data-scarce environments typic al of emerging markets.
Fig. 11. Taylor diagram.
Table 8 Results of domain shift analysis.
Metric MMD KL Accuracy Value 0.13 0.70 0.96
The core of the methodology lies in its dual-branch architecture. The sequence fitting branch, leveraging CEEMDAN for multi-scale decomposition and a hybridTCN-GRU model for component-specific forecasting,provides a reliable foundation when only historical price data are available. On the Hubei dataset, this branch alone achieved an R2 of 0.82, demonstrating its strong capability to capture intrinsic temporal patterns. Concurrently, the feature mapping branch, which incorporates external market fundamentals and intrinsic dynamics from PSR into a MoE-MHA model, delivered superior performance when feature data were accessible, reducing MAE by 20.13%and RMSE by 8.82% compared to a RF benchmark.The CNN-based fusion module combines the outputs of the two branches based on predefined strategies, synthesizing the predictions into a more accurate final forecast. This fusion significantly improved performance, as the final coupled model achieved a higher correlation coefficient(0.93) in the Taylor diagram analysis compared to either branch individually,confirming a more accurate alignment with the actual price series. The transfer learning strategy enables rapid model adaptation,requiring only two weeks of fine-tuning data for reliable performance in a new market. This approach significantly outperforms both direct pre-training and re-training when data is scarce.
Table 9 Comparison of model transfer prediction results.
Model Strategy 7 days 14 days 21 days 28 days MAE RMSE R2 MAE RMSE R2 MAE RMSE R2 MAE RMSE R2 M4 Pre-training 30.59 41.44 0.47 30.59 41.44 0.47 30.59 41.44 0.47 30.59 41.44 0.47 Fine-tuning 53.56 66.17 -0.35 30.79 41.27 0.49 28.09 40.06 0.51 25.80 33.01 0.51 Re-training 54.71 67.35 -0.40 39.28 49.37 0.28 32.21 44.07 0.40 25.52 32.73 0.51 M8 Pre-training 42.49 49.97 0.24 42.49 49.97 0.24 42.49 49.97 0.24 42.49 49.97 0.24 Fine-tuning 42.97 51.78 0.21 38.46 46.70 0.27 36.87 45.08 0.31 39.17 47.44 0.23 Re-training 47.07 57.24 -0.01 39.98 48.80 0.15 35.59 42.99 0.39 34.55 42.14 0.43 M9 Pre-training 43.67 49.69 0.22 43.67 49.69 0.22 33.67 39.69 0.22 33.67 39.69 0.22 Fine-tuning 45.32 43.54 0.18 30.16 40.88 0.49 27.86 39.74 0.52 29.24 35.49 0.50 Re-training 50.41 62.53 -0.21 36.63 47.15 0.33 32.28 43.93 0.41 25.55 32.64 0.54
While the proposed model shows promising results in handling data-scarce environments, several avenues for future work remain. First, we plan to explore more advanced transfer learning techniques to improve domain adaptation, particularly in scenarios where the target domain differs significantly from the source domain. These methods could include domain-adversarial training or fewshot learning, which would further enhance the model’s ability to generalize across diverse markets. In ad dition,we aim to improve the real-time adaptability of the model,making it capable of dynamically adjusting its forecasting strategy in response to rapidly changing market conditions. This would involve developing mechanisms that enable the model to automatically detect and respond to shifts in data availability and quality.
CRediT authorship contribution statement
Tian Ni: Writing - original draft, Visualization, Validation, Software, Project administration, Methodology, Formal analysis. Hui Hou: Writing - review & editing,Funding acquisition, Data curation, Conceptualization.Zhiqiang Zhan g: Data curation. Xixiu Wu: Writing -review & editing, Funding acquisition. Yan Xu: Writing- review & editing.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Acknowledgements
This work was supported by National Natural Science Foundation of China (52177110).
References
-
[1]
H.P. Jia, Y.C. Guo, X.B. Zhang, et al., Forecasting electricity prices in the spot market utilizing wavelet packet decomposition integrated with a hybrid deep neural network, Global Energy Interconnect. 8 (2025) 874-890. [百度学术]
-
[2]
P. Jiang, Y. Nie, J.Z. Wang, X.J.Huang,Multivariable short-term electricity price forecasting using artificial intelligence and multiinput multi-output scheme, Energy Econ. 117 (2023) 106471. [百度学术]
-
[3]
S.J. Chai, Z. Xu, Y.W. Jia, Conditional density forecast of electricity price based on ensemble ELM and logistic EMOS,IEEE Trans. Smart Grid 10 (3) (2019) 3031-3043. [百度学术]
-
[4]
H. Yue, Y. Zhang, J.H. Guo, et al., Analysis and construction of evaluation index system of inter-provinc ial electricity spot markets,Global Energy Interconnect. 7 (6) (2024) 697-706. [百度学术]
-
[5]
C.X. Zhang, Y. Fu, Probabilistic electricity price forec ast with optimal prediction interval, IEEE Trans. Power Syst. 39 ( 1)(2024)442-452. [百度学术]
-
[6]
Z.G.Z. Chen, B. Zhang, C.L. Du, C.H. Yang, W.H. Gui, Outlieradaptive-based non-crossing quantiles method for day-ahead electricity price forecasting, Appl. Energy 382 (2025) 125328. [百度学术]
-
[7]
C.X. Zhang, Y. Fu, L. Gong, Short-term electricity price forecast using frequency analysis and price spikes oversampling, IEEE Trans. Power Syst. 38 (5) (2023) 4739-4751. [百度学术]
-
[8]
M. Heidarpanah, F. Hooshyaripor, M. Fazeli, Daily electricity price forecasting using artificial intelligence models in the Iranian electricity market, Energy 263 (2023) 126011. [百度学术]
-
[9]
H.R. Zhang, W.H. Hu, D. Cao, Q. Huang,Z. Chen,F.Blaabjerg,A temporal convolutional network based hybrid model for shortterm electricity price forecasting, CSEE J. Power Energy Syst 10(2024) 1119-1130. [百度学术]
-
[10]
H. Hilger, D. Witthaut, M. Dahmen, L.R.Gorjao,J. Trebbien,E.Cramer, Multivariate scenario generation of day-ahead electricity prices using normalizing flows, Appl. Energy 367 (2024) 123241. [百度学术]
-
[11]
J.Yan,J.Zhang,L.X.Zhang,et al.,Enhanced resilience andefficiency in multi-energy systems via stochastic gradient-dri ven robust optimization, Prot. Control Mod. Power Syst. 11 (1)(2026)141-156. [百度学术]
-
[12]
A.P. Zhou, M. Yang, X. Fang, Y. Zhang, Addressing wind power forecast errors in day-ahead pricing with energy storage systems:a distributionally robust joint chance-constr ained approach, IEEE Trans. Sustain. Energy 15 (3) (2024) 1754-1767. [百度学术]
-
[13]
S.X. Zhu, H.R. Ma, L.J. Chen, et al., Short-term load forecasting of an integrated energy system based on STL-CPLE with multitask learning, Prot. Control Mod. Power Syst. 9 (6) (2024) 71-92. [百度学术]
-
[14]
R. Sgarlato, F. Ziel, The role of weather predictions in electricity price forecasting beyond the day-ahead horizon, IEEE Trans.Power Syst. 38 (3) (2023) 2500-2511. [百度学术]
-
[15]
Y. Li, C.J. Li, G. Chen, X.J. Zhou, Z.Y. Dong, Multi-task graph adaptive learning for multivariate electricity price short-term forecasting in Australia’s National Electricity Market, IEEE Trans. Power Syst. 40 (1) (2025) 530-542. [百度学术]
-
[16]
D. Nickelsen, G. Mu¨ller, Bayesian hierarchical probabilistic forecasting of intraday electricity prices, Appl. Energy 380 (2025)124975. [百度学术]
-
[17]
J. Bottieau, Y. Wang, Z. De Gre`ve, F. Valle´e, J.F. Toubeau,Interpretable transformer model for capturing regime switching effects of real-time electricity prices, IEEE Trans. Power Syst. 38(3) (2023) 2162-2176. [百度学术]
-
[18]
H.F. Xu, F.H. Hu, X.H. Liang, M.A. Gunmi, Attention mechanism multi-size depthwise convolutional long short-term memory neural network for forecasting real-time electricity prices,IEEE Trans. Power Syst. 39 (5) (2024) 6277-6289. [百度学术]
-
[19]
S.W. Huang, J.H. Shi, B.Y. Wang, et al., A hybrid framework for day-ahead electricity spot-price forecasting: a case study in China,Appl. Energy 373 (2024) 123863. [百度学术]
-
[20]
X.D. Shen, H.X. Liu, G. Qiu, Y.B. Liu, J.Y. Liu, S.X. Fan,Interpretable interval prediction-based outlier-adaptive day-ahead electricity price forecasting involving cross-market features, IEEE Trans. Ind. Inf. 20 (5) (2024) 7124-7137. [百度学术]
-
[21]
B. Ehsani, P.O. Pineau, L. Charlin, Price forecasting in the Ontario electricity market via TriConvGRU hybrid model: Univariate vs.multivariate frameworks, Appl. Energy 359 (2024) 122649. [百度学术]
-
[22]
Y. Huang, Y.F. Hu, L.Z. Wu, S.Y. Wen, Z.D. Wan, Price prediction of power transformer materials based on CEEMD and GRU, Global Energy Interconnect. 7 (2) (2024) 217-227. [百度学术]
-
[23]
H. Xiao, W.T. Zheng, H. Zhou, W. Pei, Ultra-short-term photovoltaic power prediction based on improved temporal convolutional network and feature modeling, CSEE J. Power Energy Syst 11 (5) (2025) 2024-2035. [百度学术]
-
[24]
X.Y. Deng, Y.D. Chen, D.C. Fan, Y.B. Liu, C. Ma, GRUintegrated constrained soft actor-critic learning enabled fully distributed scheduling strategy for residential virtual power plant,Global Energy Interconnect. 7 (2) (2024) 117-129. [百度学术]
-
[25]
Z.G. Wang, H. Hou, C. Liu, et al., Distribution network graystart and emergency recovery strategy with pumped storage unit under a typhoon, Global Energy Interconnect. 8 (1) (2025) 121-133. [百度学术]
-
[26]
F. Camastra, A. Vinciarelli, Estimating the intrinsic dimension of data with a fractal-based method, IEEE Trans. Pattern Anal.Mach. Intell. 24 (10) (2022) 1404-1407. [百度学术]
-
[27]
H. Fan, M.X. Li, Z.H. Zhang, et al., M2WLLM: Multi-modal multi-task ultra-short-term wind power prediction algorithm based on large language model, Inf. Fusion 126 (2026) 103541. [百度学术]
-
[28]
National Development and Reform Commission and National Energy Administration, Notice on Deepening the Market-Oriented Reform of On-grid Electricity Prices for New Energy and Promoting the High-Quality Development of New Energy (No.136 [2025]). (2025). https://www.gov.cn/zhengce/zhengceku/202502/content_7002959.htm. [百度学术]
-
[29]
M.V. Siqueira, V.H. Herrera, A.C. Colombini, Long term wind energy forecasting using machine learning techniques, Global Energy Interconnect. 8 (6) (2025) 1030-1046. [百度学术]
-
[30]
C. Huang, W. Gao, C. Huang, L. Lin, A photovoltaic array DC arc fault location method integrating MKDANN and SPA, Global Energy Interconnect. 8 (5) (2025) 760-777. [百度学术]
-
[31]
Y. Xu, G. Li, Y. Gui, Z. Li, Generation of input spectrum for electrolysis stack degradation test applied to wind power PEM hydrogen production, Global Energy Interconnect. 7 (4) (2024)462-474. [百度学术]
-
[32]
X. Han, T. Liu, D. Cai, R. Chen, E.Wang,J.Chen,A multi-model management approach for power system transient stability assessment based on multi-moment feature clustering, Global Energy Interconnect. 8 (5) (2025) 847-857. [百度学术]
Fund Information
