mlsanityData to 14 Oct 2026

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

arXiv 2608.21858 ↗First posted 22 Aug 2026eess.SY cs.AI cs.SYcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 35 references that are in the map. First posted on arXiv 22 Aug 2026.

Builds on

10 of 35 references.

References · 10

  1. 2017Attention Is All You Needcited by 60,361
  2. 2017Proximal Policy Optimization Algorithmscited by 15,215
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  5. 2018Soft Actor-Critic Algorithms and Applicationscited by 1,240
  6. 2022Prompting Decision Transformer for Few-Shot Policy Generalizationcited by 146
  7. 2024RL2: Reinforce Large Language Model to Assist Safe Reinforcement Learning for Energy Management of Active Distribution Networkscited by 9
  8. 2025Large Language Model Powered Automated Modeling and Optimization of Active Distribution Network Dispatch Problemscited by 7
  9. 2023On the Use of Reinforcement Learning for Attacking and Defending Load Frequency Controlcited by 2
  10. 2026Two-Stage Active Distribution Network Voltage Control via LLM-RL Collaboration: A Hybrid Knowledge-Data-Driven Approachcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025AutoGrid AI: Deep Reinforcement Learning Framework for Autonomous Microgrid Management
  2. 2025A Reinforcement Learning Approach for Optimal Control in Microgrids
  3. 2026Knowledge Distillation for Efficient Transformer-Based Reinforcement Learning in Hardware-Constrained Energy Management Systems
  4. 2024Learning a local trading strategy: deep reinforcement learning for grid-scale renewable energy integration
  5. 2025Offline Reinforcement Learning for Microgrid Voltage Regulation
  6. 2024A Holistic Power Optimization Approach for Microgrid Control Based on Deep Reinforcement Learning
  7. 2025Diffusion-Modeled Reinforcement Learning for Carbon and Risk-Aware Microgrid Optimization
  8. 2026Multiagent Reinforcement Learning in Enhancing Resilience of Microgrids under Extreme Weather Events ↗