Conformalized Prediction of Post-Fault Voltage Trajectories Using Pre-trained and Finetuned Attention-Driven Neural Operators

Amirhossein Mollaali, Gabriel Zufferey, Gonzalo Constante-Flores, Christian Moya, Can Li, Guang Lin, Meng Yue · DOI

TL;DR

This paper introduces a novel deep learning approach, QAF-DeepONet, to predict the range (intervals) of voltage trajectories in power systems after a fault. By combining pre-training with federated learning for privacy and fine-tuning with conformal prediction for guaranteed accuracy, the method offers reliable and robust predictions even with limited data, crucial for grid stability.

What Problem Does This Paper Address?

Ensuring the stability of power systems is paramount for reliable electricity supply. After a disturbance like a fault, the system's voltage can fluctuate significantly. Predicting these "post-fault voltage trajectories" is essential for operators to understand the system's behavior and prevent cascading failures. Traditional physics-based simulations are accurate but computationally expensive, making them impractical for real-time decision-making. While machine learning offers faster predictions, existing methods struggle with:

  • Infinite-Dimensionality: Voltage trajectories are continuous functions, not simple data points, requiring models that can handle this complexity.
  • Variable Input Data: Fault clearing times and other factors lead to unpredictable input data, challenging model consistency.
  • Uncertainty Quantification: Simply predicting a single value isn't enough; operators need to know the range of possible outcomes (predictive intervals) to assess risk.
  • Limited Data: Obtaining comprehensive fault data for every possible scenario is difficult, especially for individual power grid components.
  • Data Privacy: Sharing sensitive voltage data between different parts of the grid for training is often not feasible.
  • Guaranteed Accuracy: Ensuring that the predicted intervals actually contain the true voltage trajectory (coverage probability) is critical but hard to achieve.

This paper aims to bridge these gaps by developing a data-driven method that can accurately predict post-fault voltage trajectory intervals while addressing data limitations and privacy concerns, and guaranteeing a certain level of prediction reliability.

Methods

The core of the proposed solution is the Quantile Attention-Fourier Deep Operator Network (QAF-DeepONet). This is an advanced deep learning architecture built upon the Deep Operator Network (DeepONet) framework, which is designed to learn mappings between function spaces. Here's a breakdown of the key components:

  • Deep Operator Network (DeepONet): This is the foundational architecture that learns the relationship between an input function (the observed portion of the voltage trajectory) and an output function (the unobserved post-fault trajectory). It uses two main parts: a "branch network" to encode the input and a "trunk network" to process evaluation points.
  • Attention Mechanism: Integrated into the branch network, this allows the model to focus on the most relevant parts of the input voltage trajectory, improving its ability to capture complex dynamics.
  • Fourier Features: Incorporated into the trunk network, these help the model better represent and capture high-frequency fluctuations often seen in voltage trajectories.
  • Quantile Estimation: Instead of predicting a single value, QAF-DeepONet is designed to predict quantiles (e.g., the 2.5th and 97.5th percentiles) of the voltage trajectory. This directly provides the lower and upper bounds of the predictive interval.
  • Pre-training with Federated Learning: To overcome the "low data regime" and privacy concerns, the model is first pre-trained using data from neighboring buses. Federated learning is employed, meaning each bus trains its model locally and only shares model parameters (not raw data) with a central server. This allows the model to learn general voltage dynamics across the grid without compromising individual bus data privacy.
  • Fine-tuning: After pre-training, the model is fine-tuned using data from the target bus itself. This helps the model adapt to the specific characteristics and nuances of that particular bus's voltage behavior.
  • Conformal Prediction: To ensure that the predicted intervals reliably contain the true voltage trajectory (guaranteed coverage probability), conformal prediction techniques are integrated. This method calibrates the model's predictions using a separate "calibration dataset" to adjust the interval widths and guarantee a desired level of accuracy.

Datasets

The study uses data from the New England 39-bus test system. This is a standard benchmark for power system analysis.

  • Training Data:
    • Pre-training: Voltage trajectories from neighboring buses (Np = 6000 trajectories).
  • Fine-tuning: Voltage trajectories from the target bus (NF = 3000 trajectories).
  • Calibration: Unseen voltage trajectories from the target bus (Ncal = 100 trajectories) for conformal prediction.
  • Simulation Conditions: Realistic simulations were generated by varying demand (±30%), introducing N-1 contingencies (three-phase short circuits on transmission lines), and randomly selecting fault locations. Fault clearing times were uniformly sampled between 100 ms and 333 ms.

Key Insights and Ideas

  • Federated Learning for Privacy and Data Augmentation: The paper demonstrates that federated learning is a viable and effective strategy to leverage data from multiple sources (neighboring buses) for pre-training without compromising data privacy. This is crucial for real-world power system applications.
  • Operator Learning for Continuous Trajectories: Using operator learning (DeepONet) is a natural fit for predicting continuous voltage trajectories, as it inherently handles function-to-function mappings, unlike traditional ML models that operate on fixed-size vectors.
  • Conformal Prediction as a Guarantee: While fine-tuning improves accuracy, conformal prediction provides a crucial layer of assurance by guaranteeing that the predicted intervals will cover the true trajectory with a specified probability, even if the underlying model isn't perfect.
  • Trade-off Between Coverage and Precision: The study highlights the inherent trade-off: conformal prediction ensures coverage but often leads to wider prediction intervals (higher PINAW), which can make decisions more conservative and potentially costly.

Key Results

  • Improved Prediction Accuracy: The fine-tuned model achieved higher Prediction Interval Coverage Probability (PICP) compared to the pre-trained model alone, indicating more reliable predictions.
  • Reliable Coverage with Conformal Prediction: After applying conformal prediction, the PICP values consistently converged to the target coverage goal (95%), demonstrating its effectiveness in guaranteeing prediction intervals.
  • Impact of Observable Duration (Atobs): Increasing the observable post-fault duration (Atobs) generally improved prediction quality (higher PICP, lower PINAW) up to a certain point (around 600-1000 ms), after which gains plateaued.
  • Impact of Dataset Size: Larger datasets for pre-training and fine-tuning significantly improved PICP, while PINAW remained relatively stable, suggesting better generalization and robustness.
  • PINAW Increase with Conformal Prediction: Conformal prediction, while ensuring coverage, led to wider intervals (higher PINAW) compared to the fine-tuned model alone. This effect was more pronounced for stable trajectories.

Limitations and Future Work

  • PINAW Metric: The paper acknowledges that conformal prediction primarily addresses the PICP metric and does not directly optimize for PINAW (interval width). This can lead to wider, more conservative intervals.
  • Future Work:
    • Conformal Risk Control: Incorporate conformal risk control methods to simultaneously optimize both PICP and PINAW, aiming for a better balance between coverage and interval width.
  • Foundation Models for Power Systems: Extend this work to develop "foundation models" for transient stability using transformer architectures and federated pre-training strategies, enabling more capable forecasting of complex power system responses.

Summary updated

BibTeX
@article{mollaali2025conformalized,
  author = {Amirhossein Mollaali and Gabriel Zufferey and Gonzalo Constante-Flores and Christian Moya and Can Li and Guang Lin and Meng Yue},
  title = {{Conformalized Prediction of Post-Fault Voltage Trajectories Using Pre-trained and Finetuned Attention-Driven Neural Operators}},
  journal = {Neural Networks},
  year = {2025},
  doi = {10.1016/j.neunet.2025.107809},
}
Figure