CORTEXA
← Browse
arxiveess.SYcs.LG2026-07-14

Gradient-Free Topology Adaptation for Power Flow Surrogates via In-Context Whitening

Ayushi Jolotia, Parikshit Pareek

Machine-learned surrogates for the AC power flow (ACPF) problem amortize the cost of repeated solves on a fixed network, but lose one to two orders of magnitude of accuracy when a line outage changes the topology. This degradation is an operator shift. The altered admittance matrix changes the input-to-output map, so identical inputs yield a different output distribution. Existing methods correct this with target-topology data and per-topology gradient steps. We ask whether the correction can instead be made statistical and gradient-free. We propose In-Context Whitening (ICW), which trains an ACPF surrogate in an output space whitened by the base topology's first two moments, and adapts it to an unseen N-1 or N-2 topology by re-estimating that whitening from a few hundred solved cases on the new topology. This adaptation is gradient-free, weight-free, and architecture-agnostic. We prove that among affine whiteners the unique choice that preserves the coordinate-wise semantics of the physical output vector is ZCA whitening, so within efficient invertible corrections, two moments are sufficient. Across the IEEE 30-, 118-, and 300-bus systems under N-1 and N-2 contingencies, ICW reduces overall error by 6$\times$ to 28$\times$ over frozen surrogates (up to 54$\times$ per-quantity under N-2) and cuts worst-bus power-balance mismatch by up to 30$\times$, with consistent gains across three backbones. At deployment scale it matches or beats gradient-based adaptation in accuracy while adapting 21$\times$ to 34$\times$ faster, with a cost that parallelizes on commodity CPU cores rather than requiring one GPU per contingency.

View free PDFSource page

Related papers

arxivcs.LGeess.SY2026-07-10

Power Flow Feasibility Assessment Using Variational Graph Autoencoders

Ferran Bohigas-Daranas, Hamid Latif-Martinez, Eduardo Prieto-Araujo, Pere Barlet-Ros, Oriol Gomis-Bellmunt

Data-driven methods, including graph neural networks, have been studied for accelerating power flow calculations in recent years, but very little attention has been paid to the solution feasibility, which can be obtained by traditional solvers. This paper presents a Variational G…

View free PDFSource page
arxiveess.SYcs.AIcs.LG2026-07-14

Audited Selective Verification for Risk-Controlled N-1 Thermal Contingency Screening under Deployment Shift

Jayakumar Manoharan

Real-time N-1 contingency screening in an energy management system trades assurance against cost: verifying every credible outage with full power flow is too slow, while fast linear-sensitivity screening gives no statistical guarantee and can silently pass unsafe operating points…

View free PDFSource page
arxivcs.LGeess.SYmath.OC2026-07-22

Local Stability and Gaussian Smoothing of Quantized Neural Networks

Sergey Salishev, Anton Makarov, Oleg Granichin

We study Gaussian averaging as a smooth surrogate for quantized neural models. Under bounded local oscillation, we derive a local dimension-dependent bound on |f-g|, linking Gaussian smoothing to the stability analysis of discontinuous networks. We compute closed-form Gaussian av…

View free PDFSource page
arxiveess.SYcs.LG2026-07-07

Creating Power Distribution Network Layouts Using Generative Adversarial Networks and Image-Based Representations

Juan Manuel Garcia-Perez, Carlos Mateo

Utilities increasingly rely on planning and operational tools to cope with the increased penetrations of distributed energy resources, yet the lack of realistic, openly available datasets remains a major barrier for benchmarking and comparison. Traditional test feeders, and recen…

View free PDFSource page
arxiveess.SYcs.LG2026-07-18

Increasing Line Outage Localization Performance with Ensemble Classifiers

Daniel Flores, Yuanrui Sang, Michael P. McGarry

In many cases, the outage of one transmission line in a system can be localized by monitoring the power flow of another line, and machine learning methods can be used to distinguish the cases under uncertainty. In this study, we examine the improvements in line outage localizatio…

View free PDFSource page