Skip to main navigation Skip to search Skip to main content

PowerGraph-LLM: Novel Power Grid Graph Embedding and Optimization With Large Language Models

  • Fabien Bernier
  • , Jun Cao*
  • , Maxime Cordy
  • , Salah Ghamizi
  • *Corresponding author for this work

Research output: Contribution to journalArticleResearchpeer-review

12 Citations (Scopus)

Abstract

Efficiently solving Optimal Power Flow (OPF) problems in power systems is crucial for operational planning and grid management. There is a growing need for scalable algorithms capable of handling the increasing variability, constraints, and uncertainties in modern power networks while providing accurate and fast solutions. To address this, machine learning techniques, particularly Graph Neural Networks (GNNs) have emerged as promising approaches. This letter introduces PowerGraph-LLM, the first framework explicitly designed for solving OPF problems using Large Language Models (LLMs). The proposed approach combines graph and tabular representations of power grids to effectively query LLMs, capturing the complex relationships and constraints in power systems. A new implementation of in-context learning and fine-tuning protocols for LLMs is introduced, tailored specifically for the OPF problem. PowerGraph-LLM demonstrates reliable performances using off-the-shelf LLM. Our study reveals the impact of LLM architecture, size, and fine-tuning and demonstrates our framework’s ability to handle realistic grid components and constraints.

Original languageEnglish
Pages (from-to)5483-5486
Number of pages4
JournalIEEE Transactions on Power Systems
Volume40
Issue number6
DOIs
Publication statusAccepted/In press - Aug 2025
Externally publishedYes

Keywords

  • Graph Embedding
  • LLM
  • Low-Rank Adaptation (LORA)

Fingerprint

Dive into the research topics of 'PowerGraph-LLM: Novel Power Grid Graph Embedding and Optimization With Large Language Models'. Together they form a unique fingerprint.

Cite this