arXiv:2608.21858eess.SYcs.AI2026-08

用少量历史数据指导电网频率控制,实现快速适应与高效决策。

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

  • 用少量专家历史数据作提示,让模型自主感知并决策。
  • 在未见过的电网环境下仍保持稳定,性能接近全参数微调。
  • 适合电力系统、智能控制领域研究者参考。

能源结构的快速发展使微电网成为下一代电力系统的关键组成部分,提升了系统韧性与可再生能源消纳能力。然而,微电网固有的低惯性、复杂动态特性及较差的建模条件,对数据驱动的频率控制策略提出了更高要求。尽管强化学习(RL)已展现潜力,但现有方法在不同微电网配置间泛化能力不足,且在缺乏明确系统参数时难以适应新环境。为此,本文提出一种新型提示决策变换器(Prompt-DT)架构用于微电网频率控制。该方法不依赖难获取的环境特征参数,而是利用少量专家历史轨迹作为提示,引导自主感知与自适应决策。同时,提出基于自监督对比学习的上下文感知训练与执行机制,提升环境识别与提示利用效率。此外,设计物理信息提示筛选技术,根据累积奖励与频率波动筛选高质量提示,确保在线执行时具备良好的物理引导性。最后,为保障在数据有限的未知环境中泛化能力,开发了一种轻量级微调方法,仅需少量调整即可达到与全参数微调相当的性能。

原文摘要 · Abstract (English)

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.

微电网频率控制提示学习决策变换器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。