mlsanityData to 7 Oct 2026

GridSFM: A Foundation Model for Solving AC Optimal Power Flow

arXiv 2609.30173 ↗First posted 24 Sep 2026eess.SY cs.LG cs.SYcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce GridSFM, a framework that combines a pretrained foundation model across grid topologies with physics-informed fine-tuning for solving AC Optimal Power Flow (AC-OPF) at scale. It is a 15 million parameter physics-inspired graph neural network pretrained across 54 topologies of 500 to 4,000 buses. Our model attains a 2.45% zero-shot generation-cost error on a 10,000 bus case held-out operating conditions with no degradation as system size grows. Building on this, we pair the pretrained backbone with a physics-informed fine-tuning design based on Newton's method for power flow. With only 100 solved instances, GridSFM adapts to unseen grids up to 10,000 buses. We show it out performs single topology, dedicated neural network models that are trained more data, both in terms of cost and solver iterations when deployed as warm starting points. In designing this foundation model, we overcome the fact that the feasible set for AC-OPF can be disconnected. This is an obstruction that prevents any continuous neural network from approximating the solution map. To do so, we lift the problem and relax its constraints with logarithmically penalized slacks. We prove that the resulting elastic feasible set is contractible, that the AC-OPF minimizers remain minimizers of the elastic problem above an explicit penalty threshold, and that projecting an approximate solution back onto the AC-OPF feasible set is well posed. We release all models, data, and code so that the community can build on a shared starting point for AC-OPF.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 41 references that are in the map. First posted on arXiv 24 Sep 2026.

Builds on

21 of 41 references.

References · 21

  1. 2017Inductive Representation Learning on Large Graphscited by 6,284
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  3. 2019Strategies for Pre-training Graph Neural Networkscited by 964
  4. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 326
  5. 2021DC3: A learning method for optimization with hard constraintscited by 181
  6. 2019Predicting AC Optimal Power Flows: Combining Deep Learning and Lagrangian Dual Methodscited by 93
  7. 2019Learning Optimal Solutions for Extremely Fast AC Optimal Power Flowcited by 76
  8. 2020DeepOPF: A Feasibility-Optimized Deep Neural Network Approach for AC Optimal Power Flow Problemscited by 45
  9. 2022Topology-aware Graph Neural Networks for Learning Feasible and Adaptive ac-OPF Solutionscited by 28
  10. 2024CANOS: A Fast and Scalable Neural AC-OPF Solver Robust To N-1 Perturbationscited by 27
  11. 2024OPFData: Large-scale datasets for AC optimal power flow with topological perturbationscited by 22
  12. 2021Leveraging power grid topology in machine learning assisted optimal power flowcited by 21
9 more
  1. 2025FSNet: Feasibility-Seeking Neural Network for Constrained Optimization with Guaranteescited by 19
  2. 2014Convex Relaxation of Optimal Power Flow, Part I: Formulations and Equivalencecited by 17
  3. 2020DeepOPF+: A Deep Neural Network Approach for DC Optimal Power Flow for Ensuring Feasibilitycited by 11
  4. 2023Accelerating Optimal Power Flow with GPUs: SIMD Abstraction of Nonlinear Programs and Condensed-Space Interior-Point Methodscited by 11
  5. 2026LUMINA: Foundation Models for Topology Transferable ACOPFcited by 7
  6. 2026GENCO - A Unified Neural Solver Embedded in a Development Framework for Steady-State Grid Analysiscited by 4
  7. 2018Generic Existence of Unique Lagrange Multipliers in AC Optimal Power Flowcited by 2
  8. 2026Building Power Grid Models from Open Data: A Complete Pipeline from OpenStreetMap to Optimal Power Flowcited by 1
  9. 2026UNION: A Unified AC-OPF Framework for Topology-Varying Real-Time Grid Operationcited by 1

Built on by

Not cited yet.