LLMs are Few-Shot Decision-Makers: Generalized Context-Aware Microgrid Frequency Control through Prompt Decision Transformer

📅 2026-08-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决微电网频率控制问题,提出了一种基于少量专家历史轨迹和自监督对比学习的提示决策转换器架构,以实现适应性和泛化能力。
📝 Abstract
The rapid evolution of energy structures has positioned microgrids as pivotal components of next-generation power systems, offering enhanced resilience and renewable energy integration. However, the inherent low inertia, complex dynamics, and poor model conditions of microgrids necessitate advanced data-driven frequency control strategies. Although reinforcement learning (RL) has demonstrated certain potential and advantages, existing RL methods often struggle with generalization across diverse microgrid configurations and lack adaptability to unseen environments, particularly when explicit system parameters are unavailable. To address these challenges, in this paper, we introduce a novel prompt decision transformer (Prompt-DT) architecture for microgrid frequency control. Unlike traditional approaches that rely on hard-to-obtain environmental characteristic parameters, the proposed method leverages few-shot expert historical trajectories as prompts to guide autonomous perception and adaptive decision-making. In addition, we propose a context-aware training and execution mechanism utilizing self-supervised contrastive learning to enhance environment recognition and prompt utilization efficiency. In addition, a physics-informed prompt design technique that filters prompts based on cumulative reward and frequency volatility is proposed, ensuring high-quality physical guidance during online execution. Finally, to ensure generalization in unseen environments with limited data, we develop a lightweight finetuning approach that achieves performance comparable to full-parameter finetuning with minimal adjustments.
Problem

Research questions and friction points this paper is trying to address.

microgrid
frequency control
generalization
adaptability
data-driven
Innovation

Methods, ideas, or system contributions that make the work stand out.

Prompt Decision Transformer
Few-shot Learning
Self-supervised Contrastive Learning
Physics-informed Prompt Design
Lightweight Finetuning
X
Xu Yang
State Key Laboratory of Power Systems, Department of Electrical Engineering, Tsinghua University, Beijing 100084, China
C
Chenhui Lin
State Key Laboratory of Power Systems, Department of Electrical Engineering, Tsinghua University, Beijing 100084, China
Haotian Liu
Haotian Liu
Ph.D. Candidate, Tsinghua University
Reinforcement learningpower grid
K
Kaihang Deng
State Key Laboratory of Power Systems, Department of Electrical Engineering, Tsinghua University, Beijing 100084, China
Y
Yunhe Li
State Key Laboratory of Power Systems, Department of Electrical Engineering, Tsinghua University, Beijing 100084, China
Wenchuan Wu
Wenchuan Wu
University of Oxford
MRINeuroImagingSignal ProcessingMachine learning