eess.SYNov 11, 2026

LLM-Enhanced Deep Reinforcement Learning with Human-in-the-Loop Calibration for Real-Time Optimal Power Flow

Authors: Jiayang Tu, Bozhen Jiang, Bojun Du, Yunxiao Ling, Ershun Du, Qin Wang

Organizations: Department of Electrical and Electronic Engineering, The Hong Kong Polytechnic University, Hong Kong. · Department of Electrical Engineering, Tsinghua University, Beijing 100084, China · Laboratory of Low Carbon Energy, Tsinghua University, Beijing 100084, China.

Abstract

Real-time optimal power flow (RT-OPF) requires fast and reliable decision-making under time-varying operating conditions. However, many practical operating preferences and safety related requirements are difficult to encode using conventional numerical rewards alone, which limits the effectiveness and controllability of deep reinforcement learning (DRL) for RT-OPF. To address this issue, this paper proposes an LLM-enhanced DRL framework with human-in-the-loop (HITL) for RT-OPF. The proposed method augments the physics-based reward with sparse language evaluative feedback during offline training, so that semantic operational requirements can be incorporated into policy learning. To improve reliability in RT-OPF, a selective HITL calibration mechanism is further introduced to inspect and correct questionable LLM judgments before they continuously shape the learning process. Case studies on the IEEE 30-bus and IEEE 118-bus systems show that LLM feedback improves policy safety over vanilla TD3, while further HITL calibration achieves the best overall performance and more stable training behavior. These results demonstrate the effectiveness of combining language guidance and expert calibration for RT-OPF.

Figures & tables

Explore similar work

CardsList
  1. Can Large Language Models Reason and Optimize Under Constraints?

    Mar 24, 2026Fabien Bernier, Salah Ghamizi, Pantelis Dogoulis +1Constraint-Guided Reasoning in Language ModelsLLM Evaluation

  2. PowerFlow: Unlocking the Dual Nature of LLMs via Principled Distribution Matching

    Mar 19, 2026Ruishuo Chen, Yu Chen, Zhuoran Li +1RL for Language ModelsReinforcement Learning

  3. LLMs Can Learn to Reason Via Off-Policy RL

    Feb 22, 2026Daniel Ritter, Owen Oertell, Bradley Guo +3RL for Language Model ReasoningRL Post-Training