SafeGraph-CP: Uncertainty-Gated Zero-Shot Topology Transfer for Graph-Based Power-Grid Control
Graph neural networks, safe reinforcement learning, and conformal prediction have each been applied to power-grid control, but a systematic review of 32 OpenAlex-verified references published between 2023 and June 2026 finds that no prior work jointly represents the grid as a variable-topology graph, quantifies decision uncertainty with calibrated conformal estimates, uses that uncertainty to gate control actions against a safety fallback, and validates on topologies unseen during training. We propose SafeGraph-CP, an uncertainty-gated controller for zero-shot topology transfer in graph-based power-grid control: a size-invariant graph-attention encoder and per-node selective state-space temporal model, trained with a physics-informed loss, coupled to a conformal uncertainty-gated safety shield. Trained once on pandapower’s case118 (118 buses, 53 controllable generators, i.e., units with strictly positive maximum active-power capacity in pandapower’s bundled case file, a count that can differ from the generator count reported for case118 under other conventions) and evaluated zero-shot, with no retraining or recalibration, on the larger case300 (300 buses, 68 controllable generators by the same convention), the same weights cut mean overload rate by 53–84% relative to a Do-Nothing baseline across five generalization tiers (p<0.01, 11/15 seeds converging; 39–62% pooled across all 15 trained seeds, including the 4 that do not converge usefully). The same overload-reduction pattern, and the same split between converging and non-converging seeds, independently replicates, with no retraining, on three further unseen networks of different size and structure (24, 30, and 39 buses). Against a full AC optimal power flow (AC-OPF) re-dispatch baseline, re-solved at every control step, SafeGraph-CP’s forward-pass inference is 60–80× faster while AC-OPF overloads the grid more than Do-Nothing and fails to converge at all on the transfer network, a gap only partially closed by giving AC-OPF an explicit 90–95% thermal reserve margin. The safety shield’s own contribution is mixed, and depends on what it is compared against. Against the same architecture with the shield removed entirely, a matched-seed statistical comparison shows a directionally favorable but not significant difference, and a post hoc power analysis finds the seed count needed to resolve that specific effect size is one to several orders of magnitude beyond this study’s budget. Against a genuine alternative safety mechanism, a classical, non-adaptive, single-topology split-conformal shield, the comparison is significant: the alternative saturates into permanent fallback on 67% of the same 15 trained checkpoints, versus 27% for this paper’s adaptive, jointly calibrated design (p=0.03). A controlled ablation separately rejects the hypothesis that jointly calibrating the conformal layer across multiple topologies, rather than the single training topology, is what enables the zero-shot transfer itself. A total of 4/15 seeds collapse to a saturated shield during training, and the same seeds’ reward-optimized objective does not transfer as cleanly as overload reduction does, remaining substantially worse than Do-Nothing at the zero-shot tier. The central, well-supported result is therefore size-invariant, zero-shot structural transfer of safety-related control behavior at large latency advantage over optimization-based control, with the shield’s calibration design now shown to be significantly more reliable than the natural alternative, while its incremental benefit over no shield at all and the training-time reliability of the base policy remain open problems. For grid operators, this suggests that a single, size-invariant policy can plausibly extend safety-related control behavior to unplanned or unmodeled network configurations without a costly retraining or recalibration cycle, subject to the shield’s own open reliability gap; for the research community, it points to a concrete need for calibration or training procedures that close that gap, and quantifies, rather than merely asserts, how much additional data a fully powered no-shield comparison would require.
Authors
- César Hernando Valencia Niño (ORCID: https://orcid.org/0000-0001-6077-6458)
- Carlos Adolfo Forero González (ORCID: https://orcid.org/0009-0009-4112-4601)
- Jeison Marín (ORCID: https://orcid.org/0009-0003-2079-3642)
Institutions
- Unidades Tecnológicas de Santander (CO)
Publication Details
- Journal
- Technologies
- Published
- 2026-11-18
- DOI
- https://doi.org/10.3390/technologies14110768
- Primary Topic
- Power System Optimization and Stability
- Type
- article
- Field-Weighted Citation Impact
- 0.00