potentialpaper

GridDiffuser: Constraint-Guided Graph Diffusion for AC Optimal Power Flow

Yutong Zheng, Jichen Zhang, Danilo Mandic

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Modern power systems are undergoing a significant transition, with increasing operational uncertainty and variability driven by renewables, electrification, and topology perturbations. This shift requires optimal power flow (OPF) to be solved frequently under diverse operating conditions. Classical AC-OPF solvers provide high physical fidelity but are slow for high-frequency scheduling, while linear approximations such as DC-OPF sacrifice accuracy for computational speed. To address these challenges, we propose GridDiffuser, a graph diffusion solver for AC-OPF. Unlike deterministic learning methods that predict a single solution and struggle to capture multiple solution modes in a non-convex landscape, GridDiffuser models a distribution over operating points and generates multiple candidate solutions. Our method further uses Levenberg–Marquardt corrections to construct physics guidance during the low-noise stage of sampling, steering samples toward operating points with lower constraint violations. Experiments on thousand-bus grids with instance-level N-1 contingencies show that GridDiffuser substantially reduces most pre- and post-power flow (PF) violations compared with deterministic baselines while generating solutions much faster than AC-IPOPT. Further experiments indicate the potential of risk-based candidate selection to identify more robust operating points under load perturbations and of its predictions to serve as effective warm-start points for AC-IPOPT.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

GridDiffuser is a graph diffusion framework to learn AC optimal power flow. It represents the power grid as a graph with buses, generators, and branches, and uses a GNN as the diffusion denoiser. The model samples candidate operating points and applies a constraint-guided correction via Levenberg-Marquardt clean-space update. The correction approximately minimizes power-flow residuals and thermal-limit violations using conjugate-gradient iterations with JVP/VJP products, avoiding explicit Jacobian formation. The paper evaluates the method on large PGLearn AC-OPF benchmarks with stochastic demand and N-1 perturbations, and reports improvements in several pre-power-flow and post-power-flow feasibility metrics over deterministic GNN baselines.

Reviewers highlight that application of diffusion models in power systems is interesting (and new). This gives guidance on how to provide a power grid to graph object for ML. This inference sampling (perturb, LM correction) for the problem as it shows improvements over deterministic GNN baselines. It is creative how the violations are improved with conjugate-gradient iterations.

Overall, reviewers like the paper and have improved their scores especially after paper improvements due to the review cycle.

Final justification

Meta-review has been updated to justify overall recommendation.

Area Chair x3iQ · Meta-reviewOpenReview ↗
Final justification
Meta-review has been updated to justify overall recommendation.
Read meta-review
Meta-review

GridDiffuser is a graph diffusion framework to learn AC optimal power flow. It represents the power grid as a graph with buses, generators, and branches, and uses a GNN as the diffusion denoiser. The model samples candidate operating points and applies a constraint-guided correction via Levenberg-Marquardt clean-space update. The correction approximately minimizes power-flow residuals and thermal-limit violations using conjugate-gradient iterations with JVP/VJP products, avoiding explicit Jacobian formation. The paper evaluates the method on large PGLearn AC-OPF benchmarks with stochastic demand and N-1 perturbations, and reports improvements in several pre-power-flow and post-power-flow feasibility metrics over deterministic GNN baselines.

Reviewers highlight that application of diffusion models in power systems is interesting (and new). This gives guidance on how to provide a power grid to graph object for ML. This inference sampling (perturb, LM correction) for the problem as it shows improvements over deterministic GNN baselines. It is creative how the violations are improved with conjugate-gradient iterations.

Overall, reviewers like the paper and have improved their scores especially after paper improvements due to the review cycle.

1 comment
Authors · CommentOpenReview ↗

We sincerely thank the AC for summarizing the paper’s main strengths and concerns. We addressed the key issues highlighted in the metareview first and followed up on the reviewers’ additional concerns. We believe that these issues have now been largely addressed during the rebuttal.

For the DiffOPF baseline (raised by reviewer dFJN), although a fully controlled comparison is difficult due to differences in formulation and evaluation, as well as missing implementation details in the original paper, we followed the reviewer’s suggestion and evaluated our method on the same IEEE 118-bus case using the reported metrics, yielding favorable results.

Regarding the PF$\Delta$-related baseline (raised by reviewer 66s2), specifically the CANOS baseline implemented using its reference code, we note that this baseline was already considered in our original evaluation. We agree that this was not sufficiently clear and will revise the presentation accordingly.

We clarified the GNN runtime, multi-candidate generation cost, candidate-selection criteria, and other implementation details. We will also revisit these points and refine the manuscript to improve the clarity and precision of the presentation.

Reviewer dFJNOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes GridDiffuser, a constraint-guided graph diffusion framework for AC optimal power flow. The method represents the power grid as a graph with buses, generators, and branches, and uses an encode-process-decode GNN as the diffusion denoiser. At inference time, the model samples multiple candidate operating points and applies a constraint-guided correction based on a Levenberg-Marquardt-style clean-space update. The correction approximately minimizes power-flow residuals and thermal-limit violations using conjugate-gradient iterations with JVP/VJP products, avoiding explicit Jacobian formation. The paper evaluates the method on large PGLearn AC-OPF benchmarks with stochastic demand and N-1 perturbations, and reports improvements in several pre-power-flow and post-power-flow feasibility metrics over deterministic GNN baselines.

Strengths and weaknesses

The paper studies an important and practically relevant problem. Fast approximate AC-OPF under uncertainty and contingency perturbations is a meaningful application area, and physical feasibility remains a major bottleneck for learned OPF solvers. In this sense, the paper is well aligned with a use-inspired contribution: it attempts to adapt modern generative modeling and graph learning to the practical structure and constraints of power-system dispatch.

The graph formulation is natural. Explicitly modeling buses, generators, and branches matches the physical structure of power grids, and the use of generator availability masks is a sensible design choice that avoids learning irrelevant inactive-unit variables. The denoising architecture is also technically reasonable: edge states can encode branch parameters and operational limits, while the global virtual node provides a mechanism for system-level coordination. Residual connections and noise-conditioned adaptive normalization are appropriate choices for a diffusion denoiser.

A further strength is the inference-time constraint guidance. Instead of using a manually tuned gradient guidance step, the method uses a damped least-squares correction inspired by Levenberg-Marquardt updates. Solving the update approximately with conjugate-gradient iterations and JVP/VJP products is important for scalability on large grids, since explicitly forming or inverting the Jacobian would be expensive. The evaluation also goes beyond supervised prediction error by reporting pre-power-flow and post-power-flow feasibility metrics, which are more informative than only reporting MAE against IPOPT solutions. The use of thousand-bus systems, stochastic demand perturbations, and N-1 contingencies makes the experimental setting more realistic than small toy-grid studies.

However, I have several concerns that make the empirical case insufficiently convincing in the current version. First, the novelty is moderate. The method combines several existing ideas: diffusion sampling, graph neural networks for grid-structured data, Best@K candidate selection, and inference-time physics correction. This combination is coherent, but the paper does not sufficiently isolate what is new relative to prior diffusion-based OPF methods, especially DiffOPF. A direct comparison with DiffOPF or a closely matched diffusion baseline is important.

Second, the experimental comparison is incomplete. The main learned baselines are deterministic GNN and GNN+Constraint. Stronger and more diagnostic baselines are needed, including DiffOPF under the same protocol, deterministic GNN plus the same LM correction, GNN+Constraint plus Best@K selection where applicable, multi-start supervised baselines, and possibly warm-started classical OPF solvers. Without these comparisons, it is difficult to determine whether the gains come from diffusion modeling, multi-candidate sampling, or the inference-time correction.

Third, the contribution of each component is not fully separated. The final performance depends on diffusion sampling, (K=32) candidate generation, Best@K selection, projection, and LM guidance. Although the paper reports mean-vs-Best and guided-vs-unguided results, it remains unclear how much of the improvement is due to the learned diffusion distribution itself and how much is due to sampling many candidates followed by a strong feasibility correction. Some pre-power-flow results also appear counterintuitive: unguided GridDiffuser can be worse than GNN+Constraint on some violation metrics, especially thermal violations, while guidance improves the results by large factors. This suggests that the feasibility improvements may rely heavily on the LM correction rather than on the learned generative model. Fourth, the paper focuses heavily on constraint violations but does not sufficiently evaluate OPF objective quality. AC-OPF is an optimization problem, not only a feasibility problem. The paper should report generation cost, optimality gap relative to AC-IPOPT, and cost-feasibility tradeoffs. A solution with low violations but much worse generation cost may be less attractive in practice. Since the model is trained from IPOPT-generated supervision, it is also important to clarify whether it only imitates the distribution of IPOPT local optima or whether it can improve robustness or objective quality beyond the supervised solver distribution.

Fifth, the guidance procedure needs more analysis. The paper uses a fixed (\alpha_{\mathrm{LM}}=1), even though the Euler discretization suggests that a noise-schedule-dependent scaling may be appropriate. The empirical justification for this choice is limited. The method also uses a fixed number of CG iterations, but the paper does not report convergence diagnostics, residual tolerances, or sensitivity to the damping coefficient, guidance start step, and number of CG iterations. These details matter because failed or noisy CG updates could produce harmful corrections.

Finally, generalization remains limited. The experiments mostly train and test within the same grid topology distribution, with variations in operating conditions and N-1 perturbations. For a graph-learning method intended for power systems, generalization to new network topologies, new buses or branches, changed operating limits, and shifted load distributions is a central question. The paper also lacks statistical uncertainty reporting; the main tables do not include standard deviations, confidence intervals, or multiple random seeds, making smaller differences difficult to interpret.

The paper presents a technically coherent framework for graph diffusion with constraint-guided correction for AC-OPF. The results are promising, especially after Best@K selection and guidance. However, the current version does not yet provide sufficiently strong evidence that the main improvement comes from the proposed diffusion model rather than from multi-candidate selection and LM correction, and the lack of direct diffusion baselines, objective-cost evaluation, sensitivity analysis, and topology generalization substantially weakens the case for acceptance.

Questions
  1. How does GridDiffuser compare with DiffOPF under the same datasets, sampling budget, and post-power-flow evaluation protocol? This is important for establishing the novelty and practical advantage of the proposed diffusion framework.
  2. What happens if the same LM correction and Best@K selection are applied to deterministic GNN or GNN+Constraint baselines? This would help separate the benefit of diffusion modeling from the benefit of multi-candidate selection and inference-time feasibility correction.
  3. What are the generation-cost gaps relative to AC-IPOPT? Are the samples with lower constraint violations also near-optimal in objective value? Please report objective cost, optimality gap, and cost-feasibility tradeoffs.
  4. How sensitive are the results to (K), the number of diffusion steps, the guidance start step, (\alpha_{\mathrm{LM}}), the damping coefficient, and the number of CG iterations? Please also report whether the CG solver monitors residual reduction or convergence during guidance.
  5. Why does unguided GridDiffuser perform worse than GNN+Constraint on some pre-power-flow violation metrics, while guided GridDiffuser improves dramatically? Does this indicate that most of the feasibility improvement comes from the LM correction rather than from the diffusion model?
  6. Is the Best@K selection criterion fully available at deployment time? Does it require evaluating quantities that would be unavailable, expensive, or operationally unrealistic in real dispatch pipelines?
  7. Can the method generalize to unseen grid topologies, new contingency patterns, changed operating limits, or substantially shifted demand distributions? My evaluation would increase if the authors add a direct DiffOPF comparison, apply the same guidance and Best@K selection to deterministic baselines, report objective-cost gaps and statistical uncertainty, and show robustness to guidance hyperparameters and topology shifts. My evaluation would decrease if the gains are mainly attributable to LM correction or Best@K selection rather than the diffusion model itself.
Limitations

No. The paper should more explicitly discuss the limitations of relying on IPOPT-generated supervision, the possibility that the model imitates solver outputs rather than improving OPF quality, the dependence on inference-time correction, the lack of topology generalization, and the safety/fallback mechanisms required before deployment in real power-system dispatch.

Final justification

I raised score accordingly.

Formatting concerns

I did not notice major anonymity or formatting violations. However, some figures are visually crowded or difficult to read, especially the denoiser illustration and runtime violin plot. Some table entries use inconsistent numerical precision, and the bibliography appears to contain outdated or incomplete metadata for some references.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed assessment. We first address the most important concerns regarding insufficient baselines.

(1) Lack of comparison with DiffOPF

Thanks for raising this important point. We carefully studied DiffOPF, the closest AC-OPF work to ours. However, the two methods still differ substantially in formulation, conditioning, and post-processing, while key implementation and evaluation details of DiffOPF are not specified.

For this reason, we do not report a comparison with it. A faithful comparison would require reconstructing a different framework, with many key components determined by our own assumptions, making a reliable evaluation very difficult. Although we have not reported a DiffOPF baseline, we hope the comparison below provides a useful basis for assessing the method differences and the contributions of GridDiffuser.

Aspect DiffOPF GridDiffuser
Learning formulation Models p(Pd,Qd,Pg,Qg)p(P_d,Q_d,P_g,Q_g) Models p(Vm,Va,Pg,Qg∣Pd,Qd,G)p(V_m,V_a,P_g,Q_g \mid P_d,Q_d,\mathcal{G})
Conditioning strategy Learns the joint distribution of load and generator dispatch; load is conditioned during sampling Load and topology are directly provided as model conditions
Predicted variables Pg,QgP_g,Q_g only (generator dispatch) Vm,Va,Pg,QgV_m,V_a,P_g,Q_g (complete AC operating point)
Diffusion framework DDPM EDM
Denoising backbone Not specified (architecture, depth, hidden size, etc.) GNN with explicit topology message passing and a global virtual node for efficient long-range information propagation
Topology representation Not included (no graph or topology encoding described) Included, enabling branch outages to be modelled
Physical / constraint guidance Not included LM-based constraint guidance (power balance, thermal limits, etc.)
Post-processing IPOPT-based AC projection optimization (implementation details not specified) Standard Newton AC power flow (fixes predicted non-slack PgP_g and generator-bus VmV_m, then solves VaV_a, QgQ_g, and slack PgP_g, following the established CANOS protocol [1])
Experimental setting IEEE systems (up to 118 buses) PEGASE-1354 / RTE-1888 with mixed N−1N-1 contingencies

(2) What happens if the same LM correction and Best@K selection are applied to deterministic GNN or GNN+Constraint baselines? Does the improvement in pre-PF evaluation come mainly from the LM correction rather than from the diffusion model?

We will address them together.

We report below the results of applying the same LM correction to GNN+Constraint. We agree that LM further improves this baseline in pre-PF evaluation, but not enough to surpass GridDiffuser. More importantly, it provides almost no gain in post-PF evaluation, which is more relevant to practical deployment than pre-PF evaluation.

Table 1: Effect of applying LM correction to baseline in Pre-PF evaluation. The maximum reduction is 18%, still far below the 78% achieved when applying guidance to GridDiffuser.

Method P balance bus Q balance bus Thermal viol.
GNN + Constraint 6.294 3.059 0.149
GNN + Constraint + LM 5.153 3.054 0.1364

Table 2: Post-AC power flow feasibility. Here, we use K=64K=64 rather than K=32K=32 as in the main paper to reduce sampling variability. Cost gap is computed as $ |Cost_{pred}-Cost_{IPOPT}|/Cost_{IPOPT}\times100 $ %. Mean ± std over 3 random seeds.

Case Metric GNN + Constraint GNN + Constraint + LM Ours Mean Ours Best Ours + Guide Mean Ours + Guide Best DC-OPF
RTE1888 QgQ_g viol. 3.571 3.570 0.4847 ± 0.002562 0.3836 ± 0.002333 0.4718 ± 0.001051 0.3810±0.002299‾\underline{0.3810 \pm 0.002299} 43.014
Slack PgP_g viol. 3.610 3.610 1.668 ± 0.01001 0.02470 ± 0.01271 1.675 ± 0.01018 0.02329±0.008619‾\underline{0.02329 \pm 0.008619} 0.120
Voltage viol. (×10−2)(\times 10^{-2}) 3.839 3.828 1.455 ± 0.08120 0.2880 ± 0.007000 1.331 ± 0.01895 0.2865±0.006081‾\underline{0.2865 \pm 0.006081} 443.1
Thermal viol. 5.201 5.201 2.542 ± 0.04544 0.05247 ± 0.003246 2.505 ± 0.03599 0.03707±0.002182‾\underline{0.03707 \pm 0.002182} 24.783
Cost gap 0.226% 0.226% 0.124% 0.024% 0.120% 0.010‾\underline{0.010}% 5.357%

Two observations: (1) LM barely changes GNN+Constraint, showing its limitation as a standalone correction. (2) For GridDiffuser, guidance modestly improves the selected candidate, reducing Best@K=64 thermal violation from 0.052 to 0.037.

Why LM alone is insufficient. Direct LM correction mainly changes VmV_m and VaV_a, while its updates to PgP_g and QgQ_g are much smaller. Branch-flow and thermal residuals depend directly on VmV_m and VaV_a, whereas PgP_g and QgQ_g enter power-balance residuals only at generator buses. Consequently,

∥ΔVm∥, ∥ΔVa∥≫∥ΔPg∥, ∥ΔQg∥,\|\Delta V_m\|,\ \|\Delta V_a\| \gg \|\Delta P_g\|,\ \|\Delta Q_g\|,

with a observed difference of 10310^3 times.

This limits post-PF improvement because post-PF retains only generator-bus VmV_m and non-slack PgP_g, while VaV_a, QgQ_g, and slack PgP_g are recomputed. Thus, an LM update dominated by voltage variables, may reduce pre-PF residuals without improving the final post-PF operating point.

In our method, the LM-corrected state is passed through the denoiser again. Since the denoiser learns the coupling among VmV_m, VaV_a, PgP_g, and QgQ_g, voltage-side corrections can induce coordinated changes in the generation variables. Thus, the improvement relies on both the direct LM update and learned cross-variable coupling.

To verify this, we backpropagate the residual gradient through the denoiser. The resulting PgP_g and QgQ_g updates are comparable to those of VmV_m and VaV_a and contribute about 30% of the total residual reduction, confirming meaningful coupling.


(3) Unreported objective: cost, optimality gap, and cost–feasibility trade-offs

Please refer to Table 2, where we add the cost gap. We do not observe a clear cost–feasibility trade-off. Lower-violation candidates remain close to the AC-IPOPT cost, with gaps below 0.03% in Table 2. After guidance, the gap decreases from 0.024% to 0.010%.

(4) Generalization Beyond the Training Distribution

The available data do not support such an evaluation, as they do not provide sufficiently distinct grids or operating regimes. This remains an open challenge. PF$\Delta$ [2] likewise shows that cross-grid robustness is still difficult for current GNN-based power-flow models.

The current setting is still practically relevant. In real operation, the underlying grid usually remains fixed or changes only occasionally, while demand and component availability vary more frequently. However, PGLearn already introduces substantial demand variation through a 40% global scaling range and local perturbations of up to ±20\pm20%.

(5) Sensitivity to Sampling and Guidance Hyperparameters

Table 3: Sensitivity of the selected post-PF solution to hyperparameters on RTE1888. We vary one hyperparameter at a time while keeping all others at their default values, and report the post-ACPF violation metrics after candidate selection. For efficiency, evaluation uses a subset of the test set with a fixed random seed to remove sampling variability. Default settings are shown in bold.

Parameter Setting QgQ_g viol. Slack PgP_g viol. Voltage viol. Thermal viol.
Candidates KK 16 0.3964 0.08114 0.003390 0.4708
32 0.3760 0.03266 0.003340 0.1007
64 0.3700 0.008124 0.003000 0.08067
Diffusion steps 12 0.3803 0.04602 0.003011 0.2313
18 0.3760 0.03266 0.003340 0.1007
24 0.3894 0.02729 0.003241 0.0997
Guidance start step 9 0.3955 0.02924 0.003247 0.1560
12 0.3760 0.03266 0.003340 0.1007
15 0.3759 0.05239 0.003218 0.2375
αLM\alpha_{\mathrm{LM}} 0.5 0.4083 0.06708 0.003159 0.1767
1.0 0.3760 0.03266 0.003340 0.1007
2.0 0.4042 0.003598 0.003481 0.07747
CG iterations 4 0.4107 0.03306 0.003243 0.1049
8 0.3760 0.03266 0.003340 0.1007
16 0.3979 0.02937 0.003444 0.1062

Some key observations:

  • Candidates KK: Larger KK gives the clearest gains through a wider candidate pool.
  • Diffusion steps: Gains saturate beyond a moderate number of steps.
  • Guidance start step: This is relatively sensitive, middle-to-late guidance works best.
  • αLM\alpha_{\mathrm{LM}}: Stronger correction trades off different violations, and overly large values can degrade performance.
  • CG iterations: This has the smallest effect because only an approximate LM direction is needed (damping is similarly insensitive except at extreme values).

The CG solver can monitor residuals for early stopping, but the tolerance is rarely reached within 8 iterations.

(6) Deployment Feasibility of Best@KK

Yes. Best@KK uses only information available at deployment. For pre-PF selection, we evaluate each candidate’s constraint violations. For post-PF selection, each candidate is passed through a Newton AC power flow, which restores power balance and reveals the remaining violations. We then select the candidate based on these violations and cost. No ground-truth OPF solution is required, and the selection can be completed quickly.

Finally, we briefly address a few remaining minor points.

Best@KK is not directly applicable to deterministic baselines, since each produces only one candidate per input.

We'd also like to clarify that the current paper already discusses several of limitations the reviewer mentioned in Lines 321-329.


[1] Canos: A fast and scalable neural ac-opf solver robust to n-1 perturbations.

[2] PF\Delta: A benchmark dataset for power flow under load, generation, and topology variations.

Reviewer dFJN · CommentOpenReview ↗

Thank you—the rebuttal provides helpful additional evidence and substantially addresses Q2, Q3, Q4, and Q6. I have three remaining concerns.

Table 2 suggests that candidate selection accounts for most of the improvement: Mean-to-Best selection reduces the main violations by 48–68×, while guidance provides a more modest additional gain of at most 1.4×. A matched any-of-K comparison with multi-start deterministic baselines would therefore help clarify the contribution of guidance, especially given the substantial difference in inference compute.

I understand the difficulty of reconstructing DiffOPF from an underspecified description. A comparison in DiffOPF’s published IEEE setting, using its reported results, could nevertheless provide useful context without requiring reimplementation.

It would be helpful to report both Mean and Best cost gaps, clarify that the default (αLM\alpha_{\mathrm{LM}}) is not uniformly optimal, and relate the 30% coupling diagnostic more directly to the relatively small post-PF effect of guidance.

I am maintaining my rating at 3. A matched-budget any-of-K baseline, together with either a DiffOPF comparison or a more focused claim about the guidance mechanism, would strengthen the paper considerably.

Authors · CommentOpenReview ↗

We thank the reviewer for the quick response and for clarifying the remaining concerns. Below, we provide further explanations and additional evidence addressing each point.

(1) Follow-up comparison with DiffOPF

As noted in our initial response, a fully controlled comparison is difficult because DiffOPF differs substantially from our method and omits several implementation details.

Following the reviewer’s suggestion, we evaluate our method on the same IEEE 118-bus case and metrics used by DiffOPF, enabling the closest practical comparison without reimplementing their method.

Table 4. Comparison with DiffOPF on the IEEE 118-bus case.
DiffOPF results are taken from the original paper and reported with limited precision. Thus, fine-grained comparisons may be inconclusive, particularly for values reported as 0.0000.000, which indicates a value below 5×10−45\times10^{-4} under standard rounding.

Test Case Solver Optimality gap Mean Optimality gap CVaR$_{10}$% Setpoint error Mean [p.u.$^2$] Setpoint error CVaR$_{10}% [p.u.^2$] Voltage violation Mean [p.u.] Voltage violation CVaR$_{10}$% [p.u.]
IEEE 118-Bus DiffOPF 0.1% 0.5% 0.000 0.000 0.007 0.036
Ours 0.0169% 0.0189% 5.44×10−55.44\times10^{-5} 7.20×10−47.20\times10^{-4} 1.10×10−51.10\times10^{-5} 1.07×10−41.07\times10^{-4}
Ours + guidance 0.0158% 0.0250% 3.95×10−53.95\times10^{-5} 4.93×10−44.93\times10^{-4} 9.00×10−69.00\times10^{-6} 9.40×10−59.40\times10^{-5}

CVaR10CVaR_{10}% is the average over the worst-performing 10% of test instances. Following DiffOPF, we additionally report the setpoint error:

∥p~g−pg∥22+∥q~g−qg∥22.\|\tilde{p}_g-p_g\|_2^2+\|\tilde{q}_g-q_g\|_2^2.

Our method achieves substantially lower optimality gaps and voltage violations than the reported DiffOPF results, providing further evidence of its effectiveness.

(2) Matched any-of-KK deterministic baseline

We did not initially include this comparison because a deterministic predictor returns the same solution for a fixed condition and has no natural multi-start mechanism.

Perturbing the input condition would change the underlying OPF instance rather than generate multiple candidates for the same condition. Training KK independent models would form an expensive ensemble, especially for K=64K=64. We therefore use Monte Carlo dropout, a classical and efficient method that generates multiple predictions from one model using different inference-time dropout masks [1]. We apply the same selection and evaluation procedure as GridDiffuser.

Table 5. Post-AC power flow feasibility under matched any-of-KK evaluation with K=64K=64.
Baseline denotes the constraint-trained GNN followed by LM correction. The dropout rate is set to 0.1 for both training and inference.

Case Metric Baseline Baseline + MC Dropout Mean Baseline + MC Dropout Best
RTE1888 QgQ_g viol. 3.570 3.752 3.673
Slack PgP_g viol. 3.607 3.670 3.385
Voltage viol. (×10−2)(\times 10^{-2}) 3.839 3.511 2.963
Thermal viol. 5.201 4.169 3.650
Cost gap (%) 0.226% 0.242% 0.148%

Best-of-KK provides only modest gains for the MC-dropout baseline, whereas GridDiffuser benefits substantially. MC dropout introduces stochasticity but does not explicitly learn the conditional solution distribution. When one condition admits multiple solutions, a deterministic point predictor may average across modes and match none of them, particularly in the nonconvex AC-OPF space. MC dropout therefore provides a practical any-of-KK baseline, but with more limited mode coverage.

(3) Cost gaps, default guidance, and the 30% diagnostic

Both Mean and Best cost gaps were included in our rebuttal Table 2. Guidance reduces them from 0.124% to 0.120% and from 0.024% to 0.010%, respectively.

We agree that the default guidance setting is not optimal for every constraint or case. Because guidance affects several coupled objectives, stronger guidance may improve some violations while slightly worsening others. We therefore use one setting consistently rather than tuning it per metric.

The 30% diagnostic and post-PF gain measure different effects. It shows that denoiser-mediated PgP_g and QgQ_g updates contribute to pre-PF residual reduction, indicating that voltage-dominated LM corrections are transferred to generation variables. It does not imply a 30% improvement in post-PF metrics.

Although smaller than the gain from candidate selection, the post-PF improvement remains non-negligible: the test-set mean Best@6464 thermal violation decreases from 0.050 to 0.036, a 28% reduction.

Refs:

[1]: Gal and Ghahramani, Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning, ICML 2016.


We hope these additional results and clarifications address the remaining concerns, and we would greatly appreciate knowing whether any issues still prevent reconsideration of the current rating.

Reviewer 66s2OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces GridDiffuser, which is a diffusion-based GNN model used to solve the AC Optimal Power Flow problem. Noisy initial estimates of the decision variables are passed through a GNN denoising process in order to create an intermediate candidate solution. This intermediate solution is then passed through a projection operator to apply simple constraints, before going through a final Levenberg-Marquandt correction step to provide the final prediction. Since this is a diffusion-based process, they are able to sample several candidate solutions to the OPF problem,in contrast to the single the deterministic output of standard GNN OPF solvers. Their experiment dataset comprises of the PEGASE1354 and RTE1888 cases (provided by PGLearn), and the evaluation metrics are across supervised accuracy, pre- and post- power flow constraint violations, and some timing metrics.

Strengths and weaknesses

Strengths

  • The authors tackle a relevant limitation of current GNN-based OPF solvers, which try to apply deterministic and purely data-driven predictions to this highly non-convex problem.
  • The authors interestingly explore the principles and uses of diffusion models in the context of power systems -- I have not see this in many studies.
  • They show that adding an LM correction can be shown to create better adherence to some physical constraints.

Weaknesses

  • It feels like the authors are missing a lot of relevant literature, since data-driven OPF models are not new. They correctly identify DiffOPF as likely the most closely related work, but their results should also be relevant to a community of researchers trying to solve the same problem. For example, [1][2][3] to name a few (of many). The authors can use their discretion to include what is relevant but the current paper state makes it look as if there is no literature on this.
  • Related to this, there seems to be missing information about model baselines in the experiments. In terms of how they are configured, if they represent the state of the art, if they are appropriately sized, etc. This is essential in order to be able to determine how GridDiffuser performs. In the best case, the baseline would be a (potentially re-implemented) version of a previous SOTA study's model.
    • FWIW, there is also a missing baseline category which are GNN models that predict a candidate solution, and then apply an iterative AC OPT post-processing correction for feasibility. For a reference, see [3].
  • The study provides timing metrics for GridDiffuser vs AC OPF from IPOPT, but conveniently leaves out timing for the GNN baselines. When looking at other studies, it is quite obvious that this is because the speeds, although better than IPOPT, are likely much worse than a pure GNN baseline. This should be added for transparency. For example, it has been shown that the technique of GNN prediction + post-processing can also achieve ms-scale speeds (54ms) for networks with 10000 nodes [3].
  • The study mentions N-1 Contingencies in several locations of the paper (including as part of the contributions), but it is unclear how these were actually integrated in the study, since this description was missing and there was no explicit contingency study.
  • Limited (real-world) discussion. Authors do well to analyze the trade-offs of their presented metrics tables, but do not relate back to why this is relevant for practitioners. For example a discussion of pre- and post-PF constraint violations -- Why of the two really matter? Does it depend on the situation? How reasonable are these violations?. Or also why these results are important for the larger space of data-driven OPF research.

Minor:

  • For enhanced clarity, I believe it would be valuable to explain the variables and functions/operators you introduce notation for, since it may not always be as obvious to a reader as the authors may think, and so a reader does not have to (potentially incorrectly) guess. For example, ψi\psi_i on line 150, vv on line 199, or even the components of the adaptive layer normalization technique on line 156. This also supports a reader with more or less power systems or diffusion model background.

[1] S. Liu, C. Wu, and H. Zhu, “Topology-aware graph neural networks for learning feasible and adaptive ac-opf solutions,” IEEE Transactions on Power Systems, vol. 38, no. 6, pp. 5660–5670, 2023.
[2] M. Gao, J. Yu, Z. Yang, and J. Zhao, “A physics-guided graph convolution neural network for optimal power flow,” IEEE Transactions on Power Systems, vol. 39, no. 1, pp. 380–390, 2024.
[3] L. Piloto, S. Liguori, S. Madjiheurem, M. Zgubic, S. Lovett, H. Tomlinson, S. Elster, C. Apps, and S. Witherspoon. "Canos: A fast and scalable neural ac-opf solver robust to n-1 perturbations", arXiv, 2024.

Questions
  • Please elaborate on and consider improving your GNN baselines for the study, in order to more accurately and clearly display the strengths and weaknesses of your method. For example, PF Delta [4] provides a simplified / smaller open-source version of CANOS [3]. Perhaps you can use this as a starting point for a more justified benchmark model.
  • Please add timings for the GNN baselines as well.
  • Please elaborate on how N-1 topologies contribute to this study and what conclusions can then be attributed to the GridDiffuser methodology.
  • If you have any particular reasons, it would be useful to elaborate more in the paper about the motivation / intuition of using diffusion for this task, particularly compared to other probabilistic methods. As a reader, I believe this would help support your overall method.
  • Line 143: It would be good to outline what these conditioning variables are / may be. Particularly for the reader without a strong power systems background. Perhaps in the appendix?
  • Section 3.4 (Guided Sampling) is not very clear, despite being quite central to the paper's methodology. Firstly, I would suggest to pull A.5 from appendix into the main text, in order to support the text here. Then, I have a few questions about how inference works:
    • In A.5 it says you start with x0 and then add noise and try to predict the original x0 sample in this denoising sequence with a decreasing noise schedule. However, in inference you certainly do not have access to x0 for a new network. Does line 172 suggest you begin with x0 = 0 ? Or Is there a particular way you need to initialize the parameters and how sensitive is the model perform to these initializations?
    • How do you compute the residual needed for the LM step? From the paper's state it looks as if it is just supervised with ground truth values, but this obviously would not work at inference time when you do not have access to this value.
  • It would be valuable to explain more or provide the explicit criteria for how the best candidate is selected for this evaluation. This is particularly important for understanding how to use this model in real world grid operation, and to verify that all decision making criteria would be available in real time and not just a posteriori.
  • In the first paragraph of section 4.3, it appears you claim that mean comparison looks bad for GridDiffuser because it is compared to a single IPOPT reference. This may certainly be true, but still feels like just speculation. Perhaps it would be valuable to use use operating cost as an another guiding metric (instead of or alongside MAE)? So one can see if the several plausible solutions are also good.
  • Bolding or underlining the best values in Table 1 would improve readability. Or figuring out a way to make this more obvious if bold/underline distracts from the mean results too much (since you have both mean and best candidate).
  • Smaller point: You use K for sampling steps in the whole paper and then in the experiments/results section you use it to represent number of candidates. I’d consider changing one of them to a new letter.

Note: As always is the case, I acknowledge that it is completely plausible that I misunderstood some parts of your paper, so where appropriate, please use your discretion to provide pushback / clarification. Addressing key points around model baselines, evaluations, and addressing requests for clarification (both in the review and in the manuscript) could warrant a re-evaluation of the review score.

[4] A. K. Rivera, A. Bhagavathula, A. Carbonero, and P. Donti, “PF$\Delta$ : A benchmark dataset for power flow under load, generation, and topology variations,” arXiv, 2026.

Limitations
  • The authors clearly point out several limitations of their work, which should be appreciated.
  • However, one such limitation that I believe should be elaborated on is the use of supervised metrics / training, because it actually seems to contradict the initial motivation of the study, which was to produce multi-modal solutions (because multiple possible setpoints can have similarly low cost in this highly non-convex space).
Final justification

The authors addressed many of my concerns and clarified several points regarding model baselines, evaluations, and practical applicability. I believe their additional experiments strengthen and clarify their results and improve the paper. They explore an interesting approach to tackle the issues of non-convex AC-OPF and their results show promising benefits that could be interesting for the larger ML and power systems research communities.

Formatting concerns

N/A

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the time spent reading our paper, as well as for the constructive suggestions. Some main concerns may benefit from further clarification.

We first address the 2 concerns that we consider most central to the evaluation of our work.


(1) Insufficient coverage of relevant data-driven OPF literature

Thank you for pointing this out. CANOS was cited in an earlier draft but was accidentally removed when we shortened the paper. We apologize for this and will restore the citation and add the suggested AC-OPF studies to better represent the broader literature.

(2) Whether the GNN baselines are sufficiently strong and representative of prior sota models, such as CANOS, and the lack of a GNN baseline followed by iterative AC-OPF feasibility correction

First, we would like to clarify that GNN+Constraint is already a CANOS-inspired reimplementation adapted to our graph representation, following the main CANOS design choices: an encode–process–decode architecture, interaction-network-style message passing, prediction of voltage and generator dispatch variables, and supervised training augmented with AC-OPF constraint violations.

As the reviewer noted, PF$\Delta$ provides an open-source reimplementation of CANOS. We also referred to this implementation when developing our baseline, and PF$\Delta$ is cited as Ref. [26] in the paper. We further use adaptive balancing between the supervised and constraint losses, rather than a fixed constraint weight, to reduce sensitivity to their changing scales across training stages and grid cases.

Regarding post-processing, more precisely, CANOS applies AC power-flow post-processing rather than an iterative AC-OPF correction. This restores power balance but may still leave generator, voltage, or thermal violations. Our post-PF evaluation follows the same protocol: we fix the predicted non-slack PgP_g and generator-bus VmV_m, and run a Newton–Raphson power flow to solve for VaV_a, QgQ_g, and slack PgP_g. The main implementation difference is that we use PYPOWER rather than pandapower, which does not really change the evaluation protocol.

Therefore, the post-PF results of GNN+Constraint already represent a CANOS-style neural prediction followed by AC power-flow post-processing, as suggested by the reviewer. The implementation is available in the repository linked at Line 88. We apologize that the connection to CANOS was not made clear and will clarify it in the revision.


(3) Missing timing metrics for the GNN baselines

We agree that the inference times of the GNN baselines should be reported, and we will add them. The deterministic GNN requires approximately 7.3 ms per instance, GridDiffuser 3.5 s (2.5 s in a later test on a newer server), and AC-IPOPT about 21 s at the median, with difficult cases reaching 201 s in RTE1888 case.

We acknowledge that GridDiffuser is substantially slower than a single-pass GNN. However, this additional computation is exchanged for improved solution quality. Since AC-OPF dispatch typically operates on a minute-scale horizon, a few seconds has limited practical impact.

Additionally, further acceleration may be achieved through diffusion distillation and optimisation of key components.

(4) Integration of N-1 contingencies

We use PGLearn’s N-1 setting, which mixes normal and contingency cases. For each instance, there is a 50% chance that one generator or one non-bridge transmission line is disconnected; otherwise, the original topology is retained. The same setting is used for training and testing.

Generator and branch status are provided as model inputs. Offline generators are excluded from the loss and bus-level aggregation, with PgP_g and QgQ_g fixed to zero. Offline branches are excluded from graph message passing and the corresponding physical calculations.

The results show that GridDiffuser can condition on component availability and generate solutions under unseen single-component outage and demand combinations within the same grid.

We will clarify this in the revised manuscript.

(5) Practical meaning of pre- and post-PF evaluation

Pre-PF evaluation is mainly an initial diagnostic of the raw model output, included to follow the evaluation setting used in CANOS, where pre-PF evaluation is particularly relevant for stochastic OPF and mixed-integer problems. For practical use, however, post-PF evaluation is generally more important.

In post-PF evaluation, the predicted control variables, such as non-slack generator active power and generator-bus voltage magnitudes, are applied to the grid and an AC power flow is solved. Power balance is then restored by the physical equations, which adjusts quantities such as voltage angles and slack-generator power and may introduce other violations, including voltage and thermal-limit violations.

Post-PF evaluation therefore asks what operating point would result if the predicted dispatch were applied to the grid, and which limits would be violated after power balance is restored.

(6) How reasonable the reported violations are and why the results are important

We acknowledge that the reported violations are not yet low enough for direct deployment, and their acceptability depends on the application and operating margins. For stricter feasibility requirements, GridDiffuser is better viewed as a candidate generator or warm start rather than a replacement for AC-IPOPT.

Its main value is generating diverse candidates within a fixed inference budget. They can be ranked by feasibility, cost, or robustness, and some may be better suited to particular demand perturbations. GridDiffuser also offers diverse candidate solutions and stable inference time, making it a promising approach for increasingly challenging and rapidly changing grid conditions.

(7) Motivation for diffusion and comparison with other probabilistic approaches

Our use of diffusion is motivated by two properties: it can represent multiple valid AC-OPF solutions without averaging across modes, and its iterative sampling enables flexible inference-time constraint guidance without retraining.

(8) Best-candidate selection and real-time availability of the criteria

For each violation metric, we sort the KK candidates from best to worst and assign each candidate a rank. We then sum the ranks across all metrics and select the candidate with the smallest total rank as Best@KK. This ensures that all reported metrics come from one actual candidate. We do not take the minimum of each metric separately, since those minima may come from different candidates and may not correspond to any single solution.

The selection requires no ground-truth OPF solution. Although solving AC-OPF is difficult, checking the constraint violations of a given solution is fast, so this ranking step adds little delay.

(9) Insufficient description of the conditioning variables in Line 143

We will add further details, likely in the appendix. The conditioning variables include: (1) bus demands and a bus-type indicator, such as whether the bus is the slack bus; (2) generator limits, costs, and availability; (3) branch electrical parameters and thermal limits; and (4) component status under each N-1 contingency.

(10) Single-reference evaluation of multiple valid solutions

We would like to clarify the reviewer’s concern that our explanation for the weaker mean comparison may appear speculative. The key issue is that MAE measures distance to only one IPOPT solution, while multiple valid solutions may exist.

A similar issue appears in trajectory forecasting. A vehicle may plausibly turn either left or right, while the recorded ground truth contains only one direction. The other trajectory can therefore have a large error even if it is still reasonable.

A similar situation occurs in our setting. We observed that some candidates farther from this reference still have constraint violations comparable to those closer to it. Thus, a larger MAE does not necessarily imply a less feasible solution.

(11) Clarification of the inference procedure and LM residual computation

At inference time, GridDiffuser does not use the ground-truth x0x_0 or initialise from x0x_0. It starts from pure Gaussian noise, and follows the decreasing noise schedule to generate a solution. The relation xσ=x0+σϵx_\sigma=x_0+\sigma\epsilon only describes how noisy samples are constructed during training.

The LM residual is also computed without ground truth. It is evaluated directly from the current denoised prediction and the known grid conditions, and includes AC power-balance residuals together with generator, voltage, reference-angle, and thermal-limit constraints.

(12) How sensitive is the model perform to these initializations (the initial noise)?

The initial noise scale is fixed by the sampling schedule and follows the noise range used during training. However, the particular Gaussian noise sample affects the generated trajectory and final solution. Increasing KK provides more independent noise initializations and improves best@KK notably.

(13) Operating cost is unknown

Thanks for reminding us, we will add then.

Table 1: Post-AC power flow cost on RTE1888. Cost gap is computed as $ |Cost_{pred}-Cost_{IPOPT}|/Cost_{IPOPT}\times100 $ %.

Case Metric GNN + Constraint GNN + Constraint + LM Ours Mean Ours Best Ours + Guide Mean Ours + Guide Best DC-OPF
Cost gap (%) 0.226% 0.226% 0.124% 0.024% 0.120% \underline{0.010%} 5.357%

We do not observe a clear cost–feasibility trade-off. Lower-violation candidates remain close to the AC-IPOPT cost, with gaps below 0.03% in Table 1, after guidance, the best gap decreases from 0.024% to 0.010%.

Reviewer 66s2 · CommentOpenReview ↗

Answers to (1), (2), (4), (7), (9), (11), (12), (13) are sufficient. Other response below.

(3) Missing timing metrics for the GNN baselines

Yes, this is quite slow. I agree that it probably does not matter for real time dispatch, but this can indeed be prohibitive for applications that need to be solved multiple times, such as Monte Carlo / scenario-based stochastic OPF, unit commitment inner loops, expansion planning, etc. Whether this trade-off is worth it for "improved solution quality", I'm not so sure (see response to (6)). Also, I assume this 3.5s for GridDiffuser is for the sequential case in your best of 32 setting (this should also be mentioned)?

(5) Practical meaning of pre- and post-PF evaluation

Yes, thank you for the explanation, and I agree. I just think it would be stronger if this is highlighted in the paper as the most relevant evaluation.

(6) How reasonable the reported violations are and why the results are important

This is what I expected. While I see the value in multiple candidate solutions and the overall motivation, particularly regarding the non-convex problem and escaping poor local minima, since direct deployment remains prohibitive, it begs the question about where the main impact lies and if the trade offs are worth it.

A full AC-IPOPT would still be required to effectively use these solutions in practice, and I imagine a faster model that is slightly less accurate would also make for an effective (and likely more efficient) warm start. And for what it's worth, in real operations, the previous interval's dispatch is an excellent warm start (and costs 0 ms)...

If the claim / contribution is that the multiple candidate solutions are better using your method, the optimality gaps after AC-IPOPT should be compared (since this is the real deployment setting), and there should be an experiment that also compares to another approach with multiple candidates. For example, quite low hanging fruit would be to take the deterministic baseline and run it K times on slightly perturbed copies of the input load vector (e.g. multiplicative Gaussian noise at ~0.5–2% per bus, sweeping the noise level), which yields K distinct predictions for (K × 7.3 ms total time). You then evaluate your predicted P,Q,Vma,Va similar to your best-of-K setup, and for the warm-start evaluation you just make sure to use the true load vector withy our predicted decision variables.

If the end-to-end pipeline doesn't beat cold-start IPOPT / a more trivially-warm-started IPOPT in terms of time, or if both reach the same local optimum after AC-IPOPT correction, then your proposed model is just adding unnecessary overhead. I am not sure if this additional experimentation is reasonable for you in the rebuttal period, but I will let you determine this.

(8) Best-candidate selection and real-time availability of the criteria

Understood. Please try to explain this briefly somewhere in the paper.

(10) Single-reference evaluation of multiple valid solutions

Understood, and agreed! The point I was trying to make is that a non-supervised metric such as cost or optimality gap could provide more nuance about the correctness of your statement, if you so wish to do so (perhaps similar to Table 1 in your response, but in the pre-PF setting), or the statement should be made more neutral. For example, if the diverse operating points have both higher MAE and higher costs in those cases, then it is just because they have poor predictions. Your original statement just seems bias in its indication that MAE is worse because of the single IPOPT reference, which you do not actually validate.


Ultimately, I still view this as an interesting study with a promising approach, and several of my points were effectively addressed, but I am unfortunately not fully convinced that this trade-off is worth it, and thus cannot yet increase my score. The magnitude (and direction) of my score increase would be determined by: Experiments that more strongly support the paper's main contribution (multiple candidate solutions) as highlighted in (6), and/or a further response or justification from the authors regarding this point.

Authors · CommentOpenReview ↗

We thank the reviewer for the careful follow-up.

Whether the 3.5 s runtime is sequential

The reported 3.5 s is the total runtime for generating all 32 candidates in one GPU batch, not 32 sequential runs. GridDiffuser remains slower than a one-pass GNN because its diffusion steps are sequential, while batching candidates adds limited overhead within available memory.

End-to-end AC-IPOPT warm-start evaluation and why not use a simple and efficient deterministic model?

Our original goal is to progressively reduce constraint violations toward direct deployment without post-optimization (although this has not yet been fully achieved), providing a potential direction for uncertain grid conditions. In this direction, our method has achieved clear improvements over competitive prior approaches such as CANOS and DiffOPF.

We agree that its practical value as a warm start is important. As noted, the previous dispatch can provide a good warm start. However, it may become less suitable under abrupt operating changes, such as large demand shifts or N-1 contingencies, where the previous solution may no longer be close to the new optimum. Our method is intended to target such cases.

Moreover, diffusion models also offer advantages that deterministic models do not easily capture.

A deterministic model learns a mapping

(pd,qd)→(vm,va,pg,qg),(p_d,q_d)\rightarrow(v_m,v_a,p_g,q_g),

and, under an MSE objective, tends to predict the conditional mean. Suppose that two distinct dispatch modes exist for the same load:

pg(1)andpg(2).p_g^{(1)} \quad \text{and} \quad p_g^{(2)}.

The deterministic prediction may then be approximately

p^g≈pg(1)+pg(2)2.\hat p_g \approx \frac{p_g^{(1)}+p_g^{(2)}}{2}.

However, this averaged dispatch may not correspond to either valid operating mode and may provide a poor warm start. From a diffusion-model perspective, the goal is instead to learn the full conditional distribution

p(vm,va,pg,qg∣pd,qd),p(v_m,v_a,p_g,q_g\mid p_d,q_d),

so that distinct dispatch modes can be sampled directly rather than collapsed into a single averaged prediction.

Load perturbation changes the condition rather than generating diverse solutions for the same load. Instead, we adopt MC Dropout, a widely used approach that generates multiple stochastic predictions from the same model under the same condition using different inference-time dropout masks [1]. We apply the same selection and evaluation procedure as GridDiffuser.

Table 2. Post-AC power flow feasibility under matched any-of-KK evaluation with K=64K=64.
Baseline denotes the constraint-trained GNN followed by LM correction. The dropout rate is set to 0.1.

Case Metric Baseline Baseline + MC Dropout Mean Baseline + MC Dropout Best
RTE1888 QgQ_g viol. 3.570 3.752 3.673
Slack PgP_g viol. 3.607 3.670 3.385
Voltage viol. (×10−2)(\times 10^{-2}) 3.839 3.511 2.963
Thermal viol. 5.201 4.169 2.650
Cost gap (%) 0.226% 0.242% 0.148%

Although MC Dropout provides some Best-of-K improvements, the gains remain very limited compared with ours.

Finally, we evaluated our method as a warm-start provider and compared it with a constraint-aware GNN (the one following the CANOS-style design).

Table 3. Preliminary AC-IPOPT prime warm-start results.
Results are reported on 20 test instances (randomly selected from RTE1888 instances with above-median solve times) using pyipopt, with a maximum of 200 iterations and a convergence tolerance of 1×10−61 \times 10^{-6}. No dual variables predicted and used. Runs that do not converge within 200 iters are counted as failures. All reported runtimes were measured on the same server; the larger solve times may reflect differences in hardware and solver implementation, as the times reported in our paper were taken from the PGlearn dataset metadata. Cool start reached the max of 200 iters, taking over 300 s per instance. Costs were averaged only over instances for which both methods converged.

Method IPOPT convergence rate Mean solve time (s) Mean cost Mean iterations
Deterministic model 70.00% 156.52 11810.08 107.88
Ours 100.00% 124.09 11696.28 96.80

The deterministic model converged faster in a couple of cases, possibly because it was explicitly trained with a constraint loss, whereas our model was not. Overall, however, the results indicate that our method tends to provide more reliable convergence, together with lower average runtime and cost.

Single-reference MAE does not fully reflect solution quality

We agree. We will make the statement more neutral and add a comprehensive evaluation of the costs and constraint violations of these diverse solutions. Notably, the strong mean post-PF results provide supporting, though not conclusive, evidence that many generated solutions remain high-quality.

[1]: gal and ghahramani, Dropout as a Bayesian Approximation...

Please let us know if any concerns remain.

Reviewer s4rKOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes GridDiffuser, a graph-based diffusion framework for solving the AC Optimal Power Flow (AC-OPF) problem. The method represents the power grid as a graph, where buses are modeled as graph nodes, transmission lines as edges, and generators are encoded as attributes of their corresponding bus nodes. A GNN is incorporated into the diffusion model to predict denoised AC-OPF solutions while capturing both local network interactions and global grid information through explicit edge states and a virtual node. To address the highly constrained and non-convex nature of AC-OPF, the method further incorporates physics-aware guidance during the reverse diffusion process, encouraging generated solutions to satisfy operational constraints. Experimental results demonstrate that the proposed approach produces high-quality feasible solutions while outperforming existing learning-based baselines in terms of solution quality and substantially faster solve-time than the conventional AC-IPOPT solver.

Strengths and weaknesses

Strengths

  • Originality: This paper proposes a graph-based diffusion method for solving the AC Optimal Power Flow problem. The combination of GNN with diffusion and physics-aware guidance is technically sound and well motivated.
  • Quality: The proposed architecture explicitly models the power grid topology via graph representations, incorporates edge states and a global virtual node, and leverages constraint-based sampling to improve the feasibility of generated solutions.
  • Significance: AC-OPF is a challenging non-convex optimization problem with important real-world applications. A framework with high-quality, feasible solutions with faster inference time could be valuable for real-time operations.

Weakness

  • Generality: The proposed framework is evaluated primarily on a fixed grid topology with variations in operating conditions. As also acknowledged by the authors, its ability to generalize to entirely unseen network topologies remains unclear.
Questions
  • A question of generality: As acknowledged by the authors, its ability to generalize to entirely unseen network topologies remains unclear. A discussion or additional experiments on cross-topology generalization would help better demonstrate the practical applicability of the proposed approach.

  • The paper states that it uses attention pooling but does not specify how it is implemented, It would be helpful if the authors could provide additional details on the attention pooling mechanism, such as how the attention weights are computed, whether single-head or multi-head attention is used, and how the resulting global representation is incorporated into the Graph Network.

Limitations

yes

Final justification

All my questions are clearly addressed in the rebuttal, and I'm keeping my score (5) here.

Formatting concerns

No issues found.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful reading and encouraging assessment, and appreciate that the reviewer recognized the motivation, technical design, and potential practical value of GridDiffuser.

Below, we address the concerns raised by the reviewer:

(1) Cross-topology generalization

We agree that generalization to entirely unseen grid topologies is an important direction. Recent work such as PF$\Delta$ has explicitly studied cross-grid generalization and found that GNN-based solvers trained on a 118-bus system struggle when transferred to 57-bus and 500-bus systems, highlighting that cross-grid generalization remains challenging. This setting is particularly demanding in our case, as we consider AC-OPF on substantially larger grids with over 1,000 buses.

In our view, a broadly generalizable neural OPF solver would likely require training across a diverse collection of power systems. Since different grids vary substantially in topology, electrical parameters, generator configurations, operational limits, and system size, this would require broader multi-grid datasets and model designs that can accommodate differences in system size and component structure. A thorough investigation of this setting is therefore beyond what we can reliably complete during the rebuttal period.

Nevertheless, the current setting remains practically relevant. In many operational settings, the underlying grid changes much less frequently than loads, generator availability, and N−1N-1 contingency states. We appreciate the reviewer highlighting this issue and view cross-grid generalization as an important next step toward more comprehensive neural grid models, which we plan to investigate in future work.

(2) Insufficient details on the attention pooling mechanism

The virtual node provides a direct channel for global information exchange without relying only on repeated local message passing.

Specifically, we use four-head attention pooling with one learnable query per head. Let hi(ℓ)h_i^{(\ell)} denote the representation of bus ii at GNN layer ℓ\ell. For each attention head mm, the bus representation is projected into a key ki,mk_{i,m} and a value vi,mv_{i,m}. The attention weight assigned to bus ii is

αi,m=softmaxi(qmTki,m/d)\alpha_{i,m} = softmax_i(q_m^T k_{i,m} / \sqrt{d}),

where qmq_m is the learnable query for head mm, dd is the dimension of each attention head, and the softmax is taken over all buses.

For each head, the value vectors vi,mv_{i,m} are weighted by αi,m\alpha_{i,m} and summed over all buses. The outputs of the four heads are then concatenated to form the pooled global representation p(ℓ)p^{(\ell)}.

The pooled representation p(ℓ)p^{(\ell)} is concatenated with the previous virtual-node state z(ℓ)z^{(\ell)} and passed through the virtual-node update MLP ϕz\phi_z:

z(ℓ+1)=ϕz([z(ℓ);p(ℓ)])z^{(\ell+1)} = \phi_z([z^{(\ell)}; p^{(\ell)}]).

The updated virtual-node state is then broadcast to every bus. We will include these implementation details in the revised manuscript.

Reviewer s4rK · CommentOpenReview ↗

Thanks for the updates from the authors, and they answered my detailed questions. I'm keeping my score here.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…