REVIEW 4 major objections 5 minor 31 references
Revisiting Deep AC-OPF
T0 review · 4 major / 5 minor · reviewed 2026-08-05 · deepseek-v4-flash
Pith's one-line read The paper claims that simple linear baselines match or beat deep-learning surrogates for AC optimal power flow, making the reported gains of ML approaches marginal once these baselines are included.
desk verdict A fair empirical shot across the bow of ML-for-AC-OPF: linear baselines are strong in the near-linear regime tested, but the scope is narrower than the title implies. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The comparison is carried by a set of deliberately simple predictors: gridwise averaging (a data-driven flat start), nodewise averaging (the per-bus mean voltage), and ordinary least squares regression with the load vector as input. Against these sit two linearized power-flow solvers—DC-OPF, with its flat-start Taylor assumptions, and a hot-start linear power flow built from a first-order Taylor expansion about the nodal voltage average, whose truncation-error bound selects that reference point—plus the FCNN DeepOPF-V and the new transformer OPFormer-V, which encodes each bus as a token and jointly predicts voltage magnitude and angle. The load-to-voltage linearity revealed by the baselines
What would settle it
A reader could settle this by downloading the OPF-Learn case30 data already used here, adding a second dataset generated with loads drawn from a wider or skewed distribution (for example, ±80% or scenarios that push voltages against their limits), and comparing linear regression's FVU with OPFormer-V's; if the linear advantage reverses or disappears under wider voltage excursions, the paper's central claim is conditional rather than general.
Extended reading notes
Core claim
The central claim is that the load-to-voltage map in the evaluated AC-OPF problems is close enough to linear that ordinary least squares regression—one linear model per voltage target—matches or beats the leading learned surrogate. On the self-generated IEEE case30 and case118 grids, linear regression's FVU is lower than DeepOPF-V's for both voltage magnitude and angle, and only the newly proposed OPFormer-V transformer does better. On the OPF-Learn case30 dataset, linear regression is the best method overall. The paper also derives a warm-start linear power flow model from a first-order Taylor expansion around the nodal voltage average, with an explicit error bound that justifies the refere
Load-bearing premise
The load-bearing assumption is that the benchmark datasets are representative, yet they are generated by sampling loads uniformly within ±50% of a nominal case, keeping voltages in a narrow range where the load-to-voltage relation is nearly linear and where linear baselines can win.
Editorial extensions
If this is right
- Published ML surrogate accuracy claims for AC-OPF should be reported together with at least a linear regression baseline before gains are attributed to model complexity.
- OPFormer-V's transformer architecture is a viable alternative to the FCNN: it improves on DeepOPF-V in both regression and power metrics on the self-generated grids.
- The value of ML surrogates depends on the operating regime: on the OPF-Learn dataset, designed to include many distinct active constraint sets, linear regression wins, so gains do not transfer across dataset-generation strategies.
- A hot-start linear power flow based on a first-order Taylor expansion around the nodal average outperforms DC-OPF in voltage-angle error and optimality gap, showing DC-OPF is not the right linear benchmark for voltage prediction.
- Improvements in voltage prediction do not automatically lower generation-limit violation rates, so feasibility constraints need explicit treatment.
Reading between the lines
- The paper's conclusion likely depends on the operating envelope: because loads are sampled within ±50% of nominal, voltages stay in a narrow band where linearization error is small. A testable extension is to repeat the comparison on datasets with heavier loading, contingency cases, or voltage-bound violations and check whether linear regression's edge persists.
- The results imply that published 'speedup vs solver' claims for AC-OPF surrogates should be paired with training-inclusive cost comparisons: linear regression requires no training run and can be fit in closed form, so a fair comparison must include the ML training cost, not just inference time.
- The weak coupling between voltage-prediction accuracy and generation-limit violation rate suggests that improving MSE/FVU alone is not the binding constraint for ML-AC-OPF; attention should shift to architectures or losses that enforce feasibility, which the paper did not develop.
- OPFormer-V's token-per-bus representation, with static per-node features, is a natural route to topology generalization; the paper only tests fixed topologies, so whether the representation helps under N-1 contingencies remains an open question.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper revisits claims that ML surrogates achieve high accuracy for AC-OPF by introducing OPFormer-V, a transformer-based voltage predictor, and comparing it against DeepOPF-V as well as simple linear baselines. Experiments are run on two self-generated datasets (IEEE 30 and 118 bus, with loads sampled uniformly in ±50% around nominal) and on the OPF-Learn case30 dataset. The central empirical finding is that OPFormer-V consistently outperforms DeepOPF-V in regression and power metrics, but simple linear methods—especially ordinary least squares—achieve comparable or better voltage-prediction accuracy on the three test sets, including the best FVU on OPF-Learn case30. The paper also develops a hot-start linear power flow approximation with an error-bound-based reference point. The authors conclude that ML surrogates offer only marginal gains over strong linear baselines and that such baselines should be standard in future evaluations.
Significance. If the conclusions hold, the paper is a useful methodological correction to the AC-OPF ML literature: it provides a direct comparison of a state-of-the-art architecture against carefully chosen linear baselines, gives a detailed transformer architecture, includes an error-bound analysis for the hot-start linear model, and reports seed variability. The paper is honest about a key limitation in §7: the data-generation process yields small voltage variances. The main strength is that the empirical protocol is transparent enough to be replicated, and the linear-baseline point is worth making. However, the scope of the claim is broader than the evidence: the tested regime is nearly linear, so the general 'marginal gains' conclusion is not yet established outside that regime.
major comments (4)
- [§4, §5.2.2, §7, Tables 1–3] The central claim that simple linear baselines match or beat DeepOPF-V is established only in a low-voltage-variance, near-linear regime. The self-generated data in §4 use load samples uniformly in ±50% of nominal, but the resulting voltage variance is tiny: e.g., grid-average MSE for Vm is 3.577e-4 pu² (case30, Table 1) and 1.564e-4 pu² (case118, Table 2), and the OPF-Learn Va variance is 3.111e-6 rad² (Table 3). The paper itself relies on this small variance in §5.2.2 and A.1.2 to justify linear approximations. In this regime OLS is expected to be near-optimal. Since §7 states the conclusion generally, the paper needs either experiments in regimes where voltage/reactive limits bind, loads vary more widely or are spatially correlated, or a substantially narrowed claim. This is load-bearing, not a mere caveat.
- [§5.4, §6] DeepOPF-V is compared without its post-processing step. The text says the effect of that step is 'minimal from the reported results', but no citation or quantitative comparison is given, and §6 states that both DeepOPF-V and OPFormer-V are evaluated without it. Since DeepOPF-V is the state-of-the-art baseline and the paper's title is a revisiting of Deep AC-OPF, omitting a component of the published method could inflate the relative improvements of OPFormer-V and the linear baselines. Please either implement the post-processing, report its effect on the metrics used here, or explicitly justify with numbers from the original paper why omitting it is inconsequential.
- [Appendix A.2, Tables 6–13] A method labeled 'GP' appears in the appendix regression tables without any definition or description. It is not introduced in §5.1–5.5, so the reader cannot interpret these results. The paper should either define the GP model (including its kernel, training, and hyperparameters) or remove it from the tables. This is a missing-support issue in the empirical record.
- [Tables 14–15, A.4.5] The reported speedups compare a solver run on MATLAB Online with ML models trained or run on a local Apple M1 Pro. This is not a controlled comparison, and the 'Approx. Speedup' numbers should not be used as evidence of practical speed superiority without a common hardware/software environment. If speed is part of the contribution, please provide a fairer measurement or explicitly describe the numbers as rough, non-comparable estimates.
minor comments (5)
- [§1, §5.2.2] Typos: 'datatsets' in §1; 'simplyfying' in §5.2.2. Also 'OPFormer-V , feats 8outperforms' in §6.1 needs spacing and a verb.
- [§5.3] Subsection 5.3 'ML approaches' is empty and should be removed or filled.
- [Tables 6–13] The tables in the appendix use inconsistent notation ('Grid Avg.', 'Node Avg.', 'Hot-Start', 'OLS', 'GP'), and some entries print '1.000 × 10−0' where '1.000' is clearer.
- [§5.2.2] Equation (12) introduces Λ in the line above but uses 'E[|Λ|]ub' without explicitly defining the subscript 'ub'; please clarify the notation.
- [§4] The self-generated datasets are stated to contain 100k samples each, but the split is 60/15/25; please confirm the exact training/validation/test sizes, since some appendix tables show near-zero GP training error that may indicate leakage or memorization if sample sizes are small.
Circularity Check
No significant circularity: the central empirical comparisons are held-out evaluations against external baselines and datasets.
full rationale
The paper's main claims are empirical and are evaluated on held-out test splits against external benchmarks (DeepOPF-V from Huang et al. 2021 and the OPF-Learn dataset from Joswig-Jones et al. 2022). The linear baselines are defined independently of the ML models: gridwise averaging and nodewise averaging are simple statistical predictors, linear regression is ordinary least squares on the same training split, DC-OPF is a standard linear power-flow approximation, and the hot-start linear power-flow method selects its reference point by minimizing an analytic upper bound on the Taylor remainder (Eqs. 11-12) rather than by fitting to test targets. The observation that Grid Average has FVU = 1.000 is explicitly a consequence of predicting the training mean and is a sanity check, not a derived prediction. The conclusion's acknowledgement that the data-generation process yields small voltage variances is a scope limitation of the datasets, not a circular step. No equation in the paper reduces to its own inputs by construction, no fitted parameter is renamed as a prediction, and there are no load-bearing self-citations by the authors. The paper is self-contained against external benchmarks, so the appropriate finding is no significant circularity.
Assumptions & free parameters
free parameters (2)
- Hot-start reference point =
nodal voltage averages
- OPFormer-V hyperparameters
assumptions (3)
- domain assumption E[f(x)] is well approximated by f(E[x]) for the voltage mapping
- domain assumption Independence and symmetry of vi, vj, delta_ij for error bound minimization
- standard math MATPOWER AC-OPF solutions are treated as ground truth
Cite this review
Pith. "Pith review of Revisiting Deep AC-OPF." pith.science (2026). https://pith.science/paper/5SMILAWV
@misc{pith2026250900655,
author = {Pith},
title = {Pith review of: Revisiting Deep AC-OPF},
year = {2026},
howpublished = {\url{https://pith.science/paper/5SMILAWV}},
note = {Machine review of arXiv:2509.00655}
}
read the original abstract
Recent work has proposed machine learning (ML) approaches as fast surrogates for solving AC optimal power flow (AC-OPF), with claims of significant speed-ups and high accuracy. In this paper, we revisit these claims through a systematic evaluation of ML models against a set of simple yet carefully designed linear baselines. We introduce OPFormer-V, a transformer-based model for predicting bus voltages, and compare it to both the state-of-the-art DeepOPF-V model and simple linear methods. Our findings reveal that, while OPFormer-V improves over DeepOPF-V, the relative gains of the ML approaches considered are less pronounced than expected. Simple linear baselines can achieve comparable performance. These results highlight the importance of including strong linear baselines in future evaluations.
Figures
Reference graph
Works this paper leans on
-
[1]
A rewriting system for convex optimization problems
Akshay Agrawal, Robin Verschueren, Steven Diamond, and Stephen Boyd. A rewriting system for convex optimization problems. Journal of Control and Decision, 5 0 (1): 0 42--60, 2018
work page 2018
-
[2]
Under what conditions does e[f(x)] f(e[x]) ? Mathematics Stack Exchange, 2019
angryavian (https://math.stackexchange.com/users/43949/angryavian). Under what conditions does e[f(x)] f(e[x]) ? Mathematics Stack Exchange, 2019. URL https://math.stackexchange.com/q/3127971. URL:https://math.stackexchange.com/q/3127971 (version: 2019-02-26)
-
[3]
Emulating AC OPF solvers for Obtaining Sub-second Feasible, Near-Optimal Solutions
Kyri Baker. Emulating ac opf solvers for obtaining sub-second feasible, near-optimal solutions, 2022. URL https://arxiv.org/abs/2012.10031
work page Pith review arXiv 2022
-
[4]
CVXPY : A P ython-embedded modeling language for convex optimization
Steven Diamond and Stephen Boyd. CVXPY : A P ython-embedded modeling language for convex optimization. Journal of Machine Learning Research, 17 0 (83): 0 1--5, 2016
work page 2016
-
[5]
Neural networks for power flow: Graph neural solver
Balthazar Donon, R \'e my Cl \'e ment, Benjamin Donnot, Antoine Marot, Isabelle Guyon, and Marc Schoenauer. Neural networks for power flow: Graph neural solver. Electric Power Systems Research, 189: 0 106547, 2020
work page 2020
-
[6]
Machine learning for sustainable energy systems
Priya L Donti and J Zico Kolter. Machine learning for sustainable energy systems. Annual Review of Environment and Resources, 46: 0 719--747, 2021
work page 2021
-
[7]
Enforcing robust control guarantees within neural network policies
Priya L Donti, Melrose Roderick, Mahyar Fazlyab, and J Zico Kolter. Enforcing robust control guarantees within neural network policies. arXiv preprint arXiv:2011.08105, 2020
work page Pith review arXiv 2011
-
[8]
Priya L. Donti, David Rolnick, and J. Zico Kolter. Dc3: A learning method for optimization with hard constraints, 2021
work page 2021
Show all 31 references
-
[9]
Deep learning architectures for inference of ac-opf solutions
Thomas Falconer and Letif Mones. Deep learning architectures for inference of ac-opf solutions. arXiv preprint arXiv:2011.03352, 2020
2011 arXiv
-
[10]
Leveraging power grid topology in machine learning assisted optimal power flow
Thomas Falconer and Letif Mones. Leveraging power grid topology in machine learning assisted optimal power flow. IEEE Transactions on Power Systems, 2022
2022
-
[11]
Power flow balancing with decentralized graph neural networks
Jonas Berg Hansen, Stian Normann Anfinsen, and Filippo Maria Bianchi. Power flow balancing with decentralized graph neural networks. IEEE Transactions on Power Systems, 38 0 (3): 0 2423--2433, 2023. doi:10.1109/TPWRS.2022.3195301
2023
-
[12]
Deepopf-v: Solving ac-opf problems efficiently
Wanjun Huang, Xiang Pan, Minghua Chen, and Steven H Low. Deepopf-v: Solving ac-opf problems efficiently. IEEE Transactions on Power Systems, 37 0 (1): 0 800--803, 2021
2021
-
[13]
OPFLearnData: Dataset for Learning AC Optimal Power Flow
Trager Joswig-Jones, Ahmed Zamzam, and Kyri Baker. OPFLearnData: Dataset for Learning AC Optimal Power Flow . https://data.nrel.gov/submissions/177, 2021. NREL Data Catalog. Golden, CO: National Renewable Energy Laboratory. Last updated: January 21, 2025. DOI: 10.7799/1827404 ...
2021 doi
-
[14]
Trager Joswig-Jones, Kyri Baker, and Ahmed S. Zamzam. Opf-learn: An open-source framework for creating representative ac optimal power flow datasets. In 2022 IEEE Power &; Energy Society Innovative Smart Grid Technologies Conference (ISGT). IEEE, April 2022. doi:10.1109/isgt50...
2022
-
[15]
Numerical comparisons of linear power flow approximations: Optimality, feasibility, and computation time
Meiyi Li, Yuhan Du, Javad Mohammadi, Constance Crozier, Kyri Baker, and Soummya Kar. Numerical comparisons of linear power flow approximations: Optimality, feasibility, and computation time. In 2022 IEEE Power & Energy Society General Meeting (PESGM), pages 1--5, 2022. doi:10....
2022
-
[16]
Zhigang Li, Jinyu Yu, and Q. H. Wu. Approximate linear power flow using logarithmic transform of voltage magnitudes with reactive power and transmission loss consideration. IEEE Transactions on Power Systems, 33 0 (4): 0 4593--4603, 2018. doi:10.1109/TPWRS.2017.2776253
2018
-
[17]
Deepopf-u: A unified deep neural network to solve ac optimal power flow in multiple networks, 2023
Heng Liang and Changhong Zhao. Deepopf-u: A unified deep neural network to solve ac optimal power flow in multiple networks, 2023. URL https://arxiv.org/abs/2309.12849
2023 arXiv
-
[18]
Topology-aware graph neural networks for learning feasible and adaptive ac-opf solutions
Shaohui Liu, Chengyang Wu, and Hao Zhu. Topology-aware graph neural networks for learning feasible and adaptive ac-opf solutions. IEEE Transactions on Power Systems, 2022
2022
-
[19]
Optimal power flow using graph neural networks
Damian Owerko, Fernando Gama, and Alejandro Ribeiro. Optimal power flow using graph neural networks. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5930--5934, 2020. doi:10.1109/ICASSP40776.2020.9053140
2020
-
[20]
Unsupervised optimal power flow using graph neural networks
Damian Owerko, Fernando Gama, and Alejandro Ribeiro. Unsupervised optimal power flow using graph neural networks. arXiv preprint arXiv:2210.09277, 2022
2022 arXiv
-
[21]
Reduced optimal power flow using graph neural network
Thuan Pham and Xingpeng Li. Reduced optimal power flow using graph neural network. In 2022 North American Power Symposium (NAPS), pages 1--6. IEEE, 2022
2022
-
[22]
Canos: A fast and scalable neural ac-opf solver robust to n-1 perturbations
Luis Piloto, Sofia Liguori, Sephora Madjiheurem, Miha Zgubic, Sean Lovett, Hamish Tomlinson, Sophie Elster, Chris Apps, and Sims Witherspoon. Canos: A fast and scalable neural ac-opf solver robust to n-1 perturbations. arXiv preprint arXiv:2403.17660, 2024
2024 arXiv
-
[23]
Learning an optimally reduced formulation of opf through meta-optimization
Alex Robson, Mahdi Jamei, Cozmin Ududec, and Letif Mones. Learning an optimally reduced formulation of opf through meta-optimization. arXiv preprint arXiv:1911.06784, 2019
1911 arXiv
-
[24]
Linear power flow calculation methods for urban network
Leyu Wang, Hongwei Zhao, Qi Yu, Qingyang Wen, Yushuai Zhang, and Wentao Wang. Linear power flow calculation methods for urban network. In 2022 IEEE/IAS Industrial and Commercial Power System Asia (I&CPS Asia), pages 58--62, 2022. doi:10.1109/ICPSAsia55496.2022.9949682
2022
-
[25]
A state-independent linear power flow model with accurate estimation of voltage magnitude
Jingwei Yang, Ning Zhang, Chongqing Kang, and Qing Xia. A state-independent linear power flow model with accurate estimation of voltage magnitude. IEEE Transactions on Power Systems, 32 0 (5): 0 3607--3617, 2017 a . doi:10.1109/TPWRS.2016.2638923
2017
-
[26]
A novel network model for optimal power flow with reactive power and network losses
Zhifang Yang, Haiwang Zhong, Qing Xia, and Chongqing Kang. A novel network model for optimal power flow with reactive power and network losses. Electric Power Systems Research, 144: 0 63--71, 2017 b . URL https://api.semanticscholar.org/CorpusID:125485328
2017
-
[27]
A linearized opf model with reactive power and voltage magnitude: A pathway to improve the mw-only dc opf
Zhifang Yang, Haiwang Zhong, Anjan Bose, Tongxin Zheng, Qing Xia, and Chongqing Kang. A linearized opf model with reactive power and voltage magnitude: A pathway to improve the mw-only dc opf. IEEE Transactions on Power Systems, 33 0 (2): 0 1734--1745, 2018. doi:10.1109/TPWRS....
2018
-
[28]
A general formulation of linear power flow models: Basic theory and error analysis
Zhifang Yang, Kaigui Xie, Juan Yu, Haiwang Zhong, Ning Zhang, and Qing Xia. A general formulation of linear power flow models: Basic theory and error analysis. IEEE Transactions on Power Systems, 34 0 (2): 0 1315--1324, 2019. doi:10.1109/TPWRS.2018.2871182
2019
-
[29]
Heydt, Vijay Vittal, and Jaime Quintero
Hui Zhang, Gerald T. Heydt, Vijay Vittal, and Jaime Quintero. An improved network model for transmission expansion planning considering reactive power and network losses. IEEE Transactions on Power Systems, 28 0 (3): 0 3471--3479, 2013. doi:10.1109/TPWRS.2013.2250318
2013
-
[30]
Min Zhou, Minghua Chen, and Steven H. Low. Deepopf-ft: One deep neural network for multiple ac-opf problems with flexible topology. IEEE Transactions on Power Systems, 38 0 (1): 0 964--967, 2023. doi:10.1109/TPWRS.2022.3217407
2023
-
[31]
Matpower
Ray D Zimmerman, Carlos E Murillo-S \'a nchez, and Deqiang Gan. Matpower. PSERC.[Online]. Software Available at: http://www. pserc. cornell. edu/matpower, 1997
1997
Reviewed August 5, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.