SafeAgentGrid: A Hierarchical Constitutional Multi-Agent Framework for Trustworthy Autonomous Resource Optimization in Smart Energy Infrastructures
Abstract
Multi-agent reinforcement learning (MARL) has been increasingly utilized for the real-time control of smart energy infrastructures, where agents are still vulnerable to false data injection attacks (FDIAs), Byzantine failures, and specification misalignment. Existing constitutional AI techniques target discrete language-based coordination, not continuous-action cyber–physical control. In this paper, we propose SafeAgentGrid, a hierarchical neuro-symbolic constitutional framework. A projection filter guarantees every hard box-type constraint by construction. A hybrid neural-surrogate mediator combines a low-latency fast path, admitted only after a split-conformal test bounds its alignment shortfall, with a full path over a tightenedDC reachable set under fairness (Gini) and risk-aware security weighting. Finally, 8-bit quantized models support edge computing. In a data-informed DC power-flow simulation, SafeAgentGrid accomplishes an average reward of 200,186.9 at 0.0125±0.0014 violations/step, rising only to 0.0194±0.0016 under 20% FDIA and 0.0140±0.0015 under Byzantine failure of ⌊N/3⌋ agents, at 100% grid efficiency and 0.79 ms/step mediation latency. It enhances both reward and safety over four unmediated techniques trained in the same environment (Wilcoxon signed-rank, p≤3.4×10−8) on all ten training seeds and outperforms a joint safety shield and a Lagrangian constrained MARL technique, which violate the limits on 57.5% and 98.8% of the steps. We further derive the tightening from a chance constraint and show that it is necessary under the stochastic realization.