RL for Mitigating Cascading Failures: Targeted Exploration via Sensitivity Factors

Anmol Dwivedi, Santiago Paternain, Ali Tajer · DOI · OpenReview

Abstract

This paper presents Physics-Guided Reinforcement Learning (PG-RL), a framework designed to prevent cascading power grid failures by addressing the "safe exploration" challenge in Reinforcement Learning. By integrating power-flow sensitivity factors—specifically Line Outage Distribution Factors (LODF)—into the agent's exploration strategy, the proposed method steers the learning process away from catastrophic "trial-and-error" actions that typically lead to immediate blackouts. Experimental results on the Grid2Op platform demonstrate that PG-RL significantly improves grid survival times, sample efficiency, and action diversity compared to standard black-box RL methods.

Introduction

Modern power grids are under increasing stress due to the integration of volatile renewable energy sources and the rising frequency of extreme weather events. These factors increase the risk of transmission line failures which, if not managed in real-time, can trigger cascading failures—a domino effect of overloads leading to total blackouts. While Reinforcement Learning (RL) is a promising candidate for real-time grid control, it faces a significant hurdle: standard exploration strategies (like $\epsilon$-greedy) often select random line-switching actions that cause immediate system collapse. This "blackout trap" prevents agents from exploring stable or stressed-but-manageable states, resulting in fragile policies.

Physics-Guided Reinforcement Learning (PG-RL)

The authors propose a framework that moves away from purely random exploration toward exploration informed by the physical laws of power flow.

Sensitivity Factors and Targeted Exploration

The core innovation is the use of Line Outage Distribution Factors (LODF). These linear approximations predict how the removal of a specific transmission line will redistribute power flow across the rest of the network. Instead of picking actions at random during training, the PG-RL agent uses LODFs to identify a subset of "effective" actions—specifically those that reduce load on congested lines without creating new overloads elsewhere.

MDP Formulation and Architecture

The problem is modeled as a Markov Decision Process (MDP) where the state is a moving window of recent grid conditions. The reward function is designed to maximize the "risk margin," keeping line flows as far below thermal limits as possible. The underlying architecture utilizes a Dueling Deep Q-Network (DQN) with prioritized experience replay, allowing the agent to better distinguish between the value of a state and the advantage of specific topological changes.

Experimental Results

Evaluations were performed using the Grid2Op platform on the 36-bus and IEEE 118-bus systems, using 450 scenarios covering diverse load profiles.

Improved Survival and Diversity

As shown in the performance summary, the PG-RL framework consistently outperformed both standard RL and traditional optimization baselines. On the 36-bus system, PG-RL achieved an average survival time (ST) of 6,657 steps, a 12.2% improvement over random-exploration RL. Furthermore, the physics-guided agent utilized a wider variety of topological changes (Action Diversity), indicating a more sophisticated understanding of grid flexibility.

Performance metrics across different agent types showing superior survival time and action diversity for PG-RL.

Sample Efficiency

One of the most significant advantages of PG-RL is its sample efficiency. Because the agent avoids causing immediate blackouts during the exploration phase, it spends more time interacting with the environment in meaningful states. This leads to a higher rate of Agent-MDP interactions per hour of training compared to random exploration.

Training efficiency comparison: PG-RL completes significantly more interactions per hour by avoiding early blackouts.

Discussion and Future Work

The study highlights that while power flow is inherently non-linear, linear sensitivity factors like LODFs are sufficiently accurate heuristics to guide RL exploration effectively. By pruning the action space, the agent develops a richer "memory" of how to handle grid stress proactively rather than reactively.

However, limitations remain. LODFs may lose accuracy in extremely near-collapse states where non-linearity is dominant. Future work aims to expand the action scope beyond line-switching to include bus-splitting and generator adjustments, and to explore the coordination of multiple simultaneous remedial actions to further enhance grid resilience.

Summary updated

BibTeX
@misc{dwivedi2024rl,
  author = {Anmol Dwivedi and Santiago Paternain and Ali Tajer},
  title = {{RL for Mitigating Cascading Failures: Targeted Exploration via Sensitivity Factors}},
  year = {2024},
  eprint = {2411.18050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.18050},
}
Figure