Reconciling Operational Energy Trilemma: A Heterogeneous Risk-Constrained MDP Framework with Residual Policy Learning

Yujian Ye, Siqi Qian, Yizhi Wu, Tianxiang Cui, Goran StrbacNeurIPS 2026

TL;DR

Operating a modern, renewable-heavy power grid requires a constant balancing act between keeping costs low, slashing carbon emissions, and preventing catastrophic blackouts. Because standard AI controllers struggle to treat everyday carbon budgets differently from rare, disastrous grid failures, the authors introduce a hybrid reinforcement learning framework that gives each objective its own tailored risk appetite. By pairing heavy-tailed statistical modeling with a physics-informed safety net, this approach cuts operating costs while virtually eliminating dangerous voltage spikes.

What Problem Does This Paper Address?

As we pack power grids with solar panels and wind turbines, system operators face an Operational Energy Trilemma (OET): balancing economic efficiency, carbon reduction, and physical grid security. Pushing for ultra-low carbon often means riding the razor's edge of uncertain renewable supply, where a sudden cloud cover or load spike can trigger cascading voltage failures.

Deep Reinforcement Learning (DRL) is a natural fit for making sequential grid decisions in real time, typically framed as a Constrained Markov Decision Process (CMDP). However, existing safe DRL approaches suffer from two major blind spots:

  1. Uniform Risk Semantics: They treat all constraints the same—usually bounding them in expectation (on average). Optimizing costs and carbon on average over a month makes sense, because a high-emission Tuesday can be offset by a breezy Wednesday. Optimizing grid safety on average is a recipe for disaster; being "safe on average" still permits rare, catastrophic blackouts.
  2. The Gaussian Trap: Even when researchers use tail-risk measures like Conditional Value-at-Risk (CVaR—which measures the average outcome of the worst $\alpha\%$ of cases), they often assume cumulative safety violations follow a neat, symmetrical Gaussian bell curve. In reality, grid violations are zero most of the time, strictly positive when they happen, and heavily right-skewed. A Gaussian curve assigns probability to physically impossible "negative violations" while severely underestimating extreme tail events.

Methods

To reconcile the trilemma, the authors build a Heterogeneous Risk-Constrained MDP (HRC-MDP) built on Soft Actor-Critic (SAC), introducing three clever upgrades over standard safe RL:

Figure 1: The framework of the proposed method.
  • Split Risk Semantics: Economic rewards and carbon limits are optimized in expectation to keep the grid flexible. Meanwhile, safety-critical voltage constraints are strictly policed using CVaR to lock down the worst-case scenarios.
  • Bernoulli–Exponential Mixture Model: Instead of a Gaussian bell curve, the authors model cumulative voltage violations as a mixture of a Dirac delta at zero (representing a probability $p$ of zero violations) and an exponential distribution (capturing the heavy, right-skewed tail when violations do occur). Crucially, they derive a closed-form mathematical equation for CVaR under this mixture using moment matching from mean and second-moment critic networks—avoiding slow, noisy Monte Carlo sampling during training.
  • Residual Policy Learning: Searching for safe actions from scratch in a tightly constrained grid is like navigating a minefield blindfolded. The authors embed domain knowledge via a classical Distributionally Robust Chance-Constrained (DRCC) solver (formulated as a fast Mixed-Integer Linear Program). The DRCC provides a physically safe, cost-effective baseline action ($a_t^{\text{ref}}$), and the neural network only learns a small residual nudge ($\Delta a_t$) to shave off carbon emissions without breaking the grid.
Figure 3: Exploration efficiency improvement enabled by baseline initialization. (a) Unconstrained (or weakly constrained) scenario and (b) Strongly constrained scenario.

Datasets

The main text evaluates the framework on modified IEEE 33-bus and 123-bus active distribution systems configured with over 60% renewable energy penetration, including a 2-month test horizon for safety evaluations. Specific underlying time-series datasets for load and solar generation are deferred to the appendices and not detailed in the main text.

Key Insights and Ideas

  • Bell curves break at scale: On the smaller 33-bus system, the Gaussian CVaR baseline looks passable. On the 123-bus system, aggregated uncertainties make the true violation distribution fiercely skewed. Because the Gaussian model misjudges the tail, its Lagrange multiplier spirals upward—paradoxically causing training instability and massive safety failures.
  • Physics-guided RL learns in four distinct acts: Thanks to the DRCC baseline, residual agents naturally exhibit a reproducible four-stage learning curve: (1) Carbon Constrained (rapidly dropping emissions), (2) Economic Driven (exploring cheaper states at the temporary expense of constraints), (3) Safety Recovery (reining violations back under thresholds), and (4) Stable Convergence. Direct-action RL completely misses this structured progression.

Key Results

Tested across 5 random seeds, the proposed method (HC-Res-M) hits the sweet spot of the energy trilemma:

  • Big Cost Savings: Compared to expectation-based direct RL (MC), the proposed method slashes operating costs by 21.3% on the 33-bus system (\$1,522 vs. \$1,934) and 27.8% on the 123-bus system (\$1,904 vs. \$2,636).
  • Two Orders of Magnitude Safer: On the 123-bus system, the Gaussian baseline (HC-Res-G) suffers catastrophic Breakdown, hitting a voltage violation of $86.19 \times 10^{-2}\text{ p.u.}$ (100% unsafe-day rate). The proposed mixture model holds violations to just $0.53 \times 10^{-2}\text{ p.u.}$—well inside the $2.0 \times 10^{-2}\text{ p.u.}$ limit—achieving a 0.00% unsafe-day rate (even outperforming Gamma and Lognormal tail approximations).
  • Real-Time Speed: End-to-end decision latency (DRCC baseline + neural actor inference) takes just 172.6 ms (33-bus) and 213.9 ms (123-bus) per step—effortlessly beating the 30-minute dispatch window, whereas Gurobi fails to find even a deterministic feasible solution within 1,800 seconds.

Limitations and Future Work

The Bernoulli–exponential mixture is still a parametric approximation. While it matches sparse, right-skewed grid data far better than a Gaussian, it might not capture every exotic, multi-modal violation mechanism in the wild. If the true distribution looks radically different, the model could still underestimate tail risk. Designing methods that are robust to arbitrary distributional misspecification is highlighted as the key next step.

Summary updated

Abstract

Deep decarbonization is transforming power grids into safety-critical, low-carbon cyber-physical systems, where AI controllers must jointly manage economic efficiency, carbon reduction, and operational security. This operational energy trilemma is challenging for reinforcement learning: cost and carbon objectives are naturally optimized in expectation, whereas security violations are rare, heavy-tailed events whose consequences can be catastrophic and therefore require explicit tail-risk control. Existing safe reinforcement learning methods either constrain safety only in expectation or rely on light-tailed approximations, which can underestimate rare but severe grid violations. We propose a heterogeneous risk-constrained reinforcement learning framework for low-carbon grid operation. The key idea is to assign different risk semantics to different objectives: safety-critical security constraints are regulated using Conditional Value-at-Risk, while economic and carbon-related objectives are optimized in expectation to preserve operational flexibility. To better capture extreme scenarios, a mixture distribution model is introduced to characterize heavy-tailed constraint violations. We further develop a residual policy learning scheme built on a distributionally robust chance-constrained reference module: the robust module provides a feasible and economically efficient baseline policy, and the learned residual refines it toward lower-carbon operation while empirically controlling voltage-tail risk. Experiments on power-system operation tasks show that the proposed framework reduces economic cost by up to 27.8% compared with expectation-based CMDP baselines and improves safety by two orders of magnitude over Gaussian-tail methods. These results suggest that risk-aware reinforcement learning can support reliable decarbonization by reconciling efficiency, sustainability, and security within a unified decision-making framework.
BibTeX
@inproceedings{ye2026reconciling,
  author = {Yujian Ye and Siqi Qian and Yizhi Wu and Tianxiang Cui and Goran Strbac},
  title = {{Reconciling Operational Energy Trilemma: A Heterogeneous Risk-Constrained MDP Framework with Residual Policy Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NKm6gfgKzW},
}
Figure