Saved in:
Bibliographic Details
Main Authors: Chehade, Mohamad, Zhu, Hao
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.15350
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914334184046592
author Chehade, Mohamad
Zhu, Hao
author_facet Chehade, Mohamad
Zhu, Hao
contents Public Safety Power Shutoffs (PSPS) force rapid topology changes that can render standard operating points infeasible, requiring operators to quickly identify corrective transmission switching actions that reduce load shedding while maintaining acceptable voltage behavior. We present a verifiable, multi-stage adaptation pipeline that fine-tunes an instruction-tuned large language model (LLM) to generate \emph{open-only} corrective switching plans from compact PSPS scenario summaries under an explicit switching budget. First, supervised fine-tuning distills a DC-OPF MILP oracle into a constrained action grammar that enables reliable parsing and feasibility checks. Second, direct preference optimization refines the policy using AC-evaluated preference pairs ranked by a voltage-penalty metric, injecting voltage-awareness beyond DC imitation. Finally, best-of-$N$ selection provides an inference-time addition by choosing the best feasible candidate under the target metric. On IEEE 118-bus PSPS scenarios, fine-tuning substantially improves DC objective values versus zero-shot generation, reduces AC power-flow failure from 50\% to single digits, and improves voltage-penalty outcomes on the common-success set. Code and data-generation scripts are released to support reproducibility.
format Preprint
id arxiv_https___arxiv_org_abs_2602_15350
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Fine-Tuning LLMs to Generate Economical and Reliable Actions for the Power Grid
Chehade, Mohamad
Zhu, Hao
Systems and Control
Artificial Intelligence
Public Safety Power Shutoffs (PSPS) force rapid topology changes that can render standard operating points infeasible, requiring operators to quickly identify corrective transmission switching actions that reduce load shedding while maintaining acceptable voltage behavior. We present a verifiable, multi-stage adaptation pipeline that fine-tunes an instruction-tuned large language model (LLM) to generate \emph{open-only} corrective switching plans from compact PSPS scenario summaries under an explicit switching budget. First, supervised fine-tuning distills a DC-OPF MILP oracle into a constrained action grammar that enables reliable parsing and feasibility checks. Second, direct preference optimization refines the policy using AC-evaluated preference pairs ranked by a voltage-penalty metric, injecting voltage-awareness beyond DC imitation. Finally, best-of-$N$ selection provides an inference-time addition by choosing the best feasible candidate under the target metric. On IEEE 118-bus PSPS scenarios, fine-tuning substantially improves DC objective values versus zero-shot generation, reduces AC power-flow failure from 50\% to single digits, and improves voltage-penalty outcomes on the common-success set. Code and data-generation scripts are released to support reproducibility.
title Fine-Tuning LLMs to Generate Economical and Reliable Actions for the Power Grid
topic Systems and Control
Artificial Intelligence
url https://arxiv.org/abs/2602.15350