Large Language Models for Power Scheduling: A User-Centric Approach

Thomas Mongaillard, Samson Lasaulce, Othman Hicheur, Chao Zhang, Lina Bariah, Vineeth S. Varma, Hang Zou, Qiyang Zhao, Mérouane Debbah

Abstract

This paper introduces VRQ2Vec, a multi-agent framework designed to bridge the gap between human natural language and complex mathematical optimization in power scheduling. By utilizing Large Language Models (LLMs) as a translation layer, the framework converts arbitrary voice requests into solvable optimization problems. Evaluated on a new dataset of electric vehicle (EV) charging requests, the system demonstrates that "error-informed" prompting can achieve near-perfect intent recognition, allowing non-experts to manage energy tasks through conversational commands.

Introduction

Traditional resource scheduling in smart grids and wireless networks is typically "system-centric," relying on rigid algorithms designed by engineers to meet predefined constraints. However, modern users increasingly demand personalized services and high Quality-of-Experience (QoE). This creates two significant barriers: a modeling gap, where users cannot translate desires (e.g., "protect my battery while charging cheaply") into formal optimization programs, and a communication gap, as machines require structured data rather than ambiguous natural language.

To address these challenges, the authors propose a "human-in-the-loop" approach that leverages the semantic reasoning capabilities of LLMs to interpret user intent and parameterize the underlying mathematical models.

The VRQ2Vec Framework

The proposed VRQ2Vec architecture decomposes the translation process into three specialized agents, ensuring that the LLM is used for reasoning while deterministic solvers handle numerical computation.

  1. Agent 1: Intent Recognition (The Classifier): This agent identifies the user's primary goal and maps it to a specific class of optimization problem (OP), such as Linear Programming (LP) for cost minimization or Mini-Max for peak reduction.
  2. Agent 2: Parameter Identification (The Parser): Utilizing function-calling, this agent extracts constraints (e.g., deadlines, target levels) from the request and integrates external data (e.g., electricity prices) to complete the model.
  3. Agent 3: OP Solving Agent (The Hybrid Solver): The LLM selects the most appropriate numerical solver (e.g., scipy.optimize or cvxpy) and assists in its initialization, delegating the heavy arithmetic to classical tools.
The VRQ2Vec multi-agent architecture, illustrating the flow from voice request to power scheduling vector via three specialized agents.

Experimental Setup and Datasets

The study primarily utilized Llama 3 8B and introduced the EVRQ (Electric Vehicle Request Dataset), a benchmark of 800 voice requests. These requests cover six performance categories: Charging Cost (CC), Charging Time (CT), Environmental Impact (EI), Power Peak (PP), Power Variations (PV), and Grid Damage (GD). The framework was tested using three prompting strategies:

  • Basic: Standard instructions.
  • Contextualized: Adding domain-specific knowledge.
  • Error-Informed: Incorporating feedback from previous classification errors to refine the model's decision-making.

Key Results and Insights

The researchers found that Error-Informed Prompting significantly outperformed other methods. For common requests like Charging Cost and Charging Time, Intent Recognition Accuracy (IRA) reached nearly 100%.

Intent Recognition Accuracy (IRA) across different performance metrics, demonstrating the superior performance of Error-informed prompting.

A key insight from the study is the "Modulation" Analogy: providing the LLM with too many candidate optimization models can degrade performance. Similar to high-order digital modulation being sensitive to noise, an LLM is more prone to misclassification when the "constellation" of possible math models becomes too crowded. Furthermore, the study measured Average Relative Optimality Loss (AROL), finding that even when the LLM misclassifies a request, the resulting scheduling vectors often remain "reasonable" from a user perspective, though less efficient than the ground truth.

Conclusion

VRQ2Vec demonstrates the potential of LLMs to democratize complex energy management tasks. By separating semantic reasoning from numerical solving, the framework provides a robust path toward user-centric power scheduling. Future work includes fine-tuning models on specialized energy datasets and expanding the framework to other domains, such as wireless resource management and EMF exposure reduction.

Summary updated

BibTeX
@inproceedings{mongaillard2024large,
  author = {Thomas Mongaillard and Samson Lasaulce and Othman Hicheur and Chao Zhang and Lina Bariah and Vineeth S. Varma and Hang Zou and Qiyang Zhao and Mérouane Debbah},
  title = {{Large Language Models for Power Scheduling: A User-Centric Approach}},
  booktitle = {WiOpt},
  year = {2024},
}
Figure