Skip to main content
QUICK REVIEW

[Paper Review] LLM-based Frameworks for Power Engineering from Routine to Novel Tasks

Ran Li, Chuanqing Pu|arXiv (Cornell University)|May 18, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes two LLM-based frameworks for power engineering: an end-to-end system for routine tasks like unit commitment and a human-in-the-loop framework for complex, novel problems. It demonstrates that integrating human expertise with LLMs through web access, problem decomposition, and code synthesis significantly improves accuracy and reliability, especially for domain-specific and cutting-edge challenges.

ABSTRACT

The digitalization of energy sectors has expanded the coding responsibilities for power engineers and researchers. This research article explores the potential of leveraging Large Language Models (LLMs) to alleviate this burden. Here, we propose LLM-based frameworks for different programming tasks in power systems. For well-defined and routine tasks like the classic unit commitment (UC) problem, we deploy an end-to-end framework to systematically assesses four leading LLMs-ChatGPT 3.5, ChatGPT 4.0, Claude and Google Bard in terms of success rate, consistency, and robustness. For complex tasks with limited prior knowledge, we propose a human-in-the-loop framework to enable engineers and LLMs to collaboratively solve the problem through interactive-learning of method recommendation, problem de-composition, subtask programming and synthesis. Through a comparative study between two frameworks, we find that human-in-the-loop features like web access, problem decomposition with field knowledge and human-assisted code synthesis are essential as LLMs currently still fall short in acquiring cutting-edge and domain-specific knowledge to complete a holistic problem-solving project.

Motivation & Objective

  • Address the growing coding burden on power engineers due to energy sector digitalization.
  • Investigate the feasibility of Large Language Models (LLMs) in automating programming tasks across power systems.
  • Develop and compare two LLM frameworks: one for well-defined routine tasks and another for complex, novel problems requiring domain-specific knowledge.
  • Evaluate the effectiveness of human-in-the-loop interaction in enhancing LLM performance for power engineering applications.
  • Identify key limitations of current LLMs in acquiring up-to-date, domain-specific knowledge for holistic engineering problem solving.

Proposed method

  • Deploy an end-to-end LLM framework to evaluate four leading models—ChatGPT 3.5, ChatGPT 4.0, Claude, and Google Bard—on routine unit commitment tasks.
  • Use success rate, consistency, and robustness as evaluation metrics for the end-to-end framework.
  • Design a human-in-the-loop framework that enables iterative collaboration between engineers and LLMs across method recommendation, problem decomposition, subtask programming, and code synthesis.
  • Integrate web access and field knowledge into the human-in-the-loop framework to enhance LLM reasoning and code generation.
  • Apply interactive learning to guide LLMs through complex, ill-defined problems where prior knowledge is limited.
  • Combine human oversight with LLM capabilities to improve code quality and problem-solving reliability in power systems.

Experimental results

Research questions

  • RQ1How effective are current LLMs in solving well-defined, routine power system programming tasks such as unit commitment?
  • RQ2What role does human-in-the-loop interaction play in improving LLM performance for complex, novel power engineering problems?
  • RQ3To what extent do LLMs lack domain-specific and up-to-date knowledge required for holistic engineering problem solving?
  • RQ4How do web access and field knowledge integration affect the reliability and accuracy of LLM-generated code in power systems?
  • RQ5What are the key limitations of LLMs when applied to end-to-end problem-solving in power engineering without human oversight?

Key findings

  • The end-to-end framework showed varying performance across LLMs, with higher success rates for GPT-4.0 and Claude compared to GPT-3.5 and Google Bard.
  • Human-in-the-loop frameworks significantly improved code quality and problem-solving accuracy by enabling iterative refinement and domain-aware guidance.
  • LLMs struggled with holistic problem-solving in novel tasks due to insufficient access to cutting-edge and domain-specific knowledge.
  • Problem decomposition using field knowledge and human-assisted code synthesis were critical for achieving reliable results in complex scenarios.
  • Web access and interactive learning mechanisms enhanced LLMs’ ability to retrieve and apply relevant technical information during task execution.
  • The study confirms that current LLMs are not yet capable of independently completing full-scope power engineering projects without human intervention.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.