ADA: Resolving Attribution Ambiguity in End-to-End Power System Dispatch via Two-Time-Scale Stochastic Approximation

mengqi Han, Bo Yang, Qi Liu, Mengshuo Jia, Chen Gong, Liu Yuxiang, Sicheng Liu, Mingxuan CaiNeurIPS 2026

TL;DR

Managing a modern power grid requires turning messy, changing real-world scenarios into strict mathematical equations—a task where current AI agents often fail because they can't tell why their plans go wrong. This paper introduces the Agile Dispatch Agent (ADA), which solves this "whodunit" problem by separating quick tactical decisions from slow, deliberate updates to its foundational understanding of the grid. By running these two learning loops at different speeds, ADA keeps simulated grids running safely through renewable fluctuations and sudden outages where standard optimization and LLM agents collapse.

What Problem Does This Paper Address?

Picture a power grid operator at midnight: wind generation suddenly drops, a transmission line overheats, and the instructions are a fuzzy mandate to "balance cost and stability." Turning this messy reality into formal math is called Power System Dispatch (PSD).

Researchers have tried handing this job to Large Language Models (LLMs), which are great at translating human intent into equations. However, existing end-to-end LLM agents suffer from three major headaches:

  1. Modeling Ambiguity: Real grids have dynamic, partially hidden physical limits. When renewable energy fluctuates wildly, standard LLM agents lose track of the rules—constraint accuracy drops from 95.2% in static grids to 70.3% in highly dynamic ones.
  2. Algorithm Inductive Bias: As grid states shift, the math changes (e.g., from smooth, convex landscapes to choppy, discrete ones). Relying on a single fixed solver leads to crashes or physically impossible commands.
  3. Attribution Ambiguity: Current agents bundle equation-writing, math-solving, and LLM "self-reflection" into one big feedback loop. When a dispatch plan fails, the agent can't tell if it wrote the wrong equation, picked the wrong solver, or hallucinated bad feedback. It ends up guessing in the dark while the grid overloads.

Methods

To untangle this mess, the authors built ADA (Agile Dispatch Agent). Instead of one tangled feedback loop, ADA uses a classical mathematical framework called Two-Time-Scale Stochastic Approximation (TTSA)—essentially running two learning clocks at different speeds so they don't trip over each other.

Figure 4: The Agile Dispatch Agent framework architecture. The system consists of four core modules (Planner, Solver, Judger, and Summarizer) that work together to transform unstructured scenarios into formal optimization problems and generate executable solutions. The framework is driven by Task Knowledge (T K) and Action Knowledge (AK), enabling knowledge-driven dynamic evolution for adaptive decision-making in complex physical systems.

ADA splits its brain into four modules operating across two knowledge types:

  • The Fast Loop (Tactical Adaptation): Driven by Action Knowledge (AK), the Planner uses a standard Monte Carlo Tree Search (MCTS) to actively invoke tools (like power-flow calculators) to clear up missing context before writing formal equations. Next, a novel Solver extracts mathematical features from the newly minted equations (like stiffness or non-convexity) and dynamically picks the best specialized algorithm from six solver families, penalizing "jack-of-all-trades" solvers.
  • Verification & Scoring: A deterministic physics gate immediately blocks impossible actions. For valid moves, the Judger blends hard physical simulator metrics (like line loading) with an LLM's semantic check (did we actually follow long-term priorities?).
  • The Slow Loop (Strategic Evolution): Driven by Task Knowledge (TK), the Summarizer watches verified historical trajectories in a replay buffer and slowly reconstructs the agent's baseline templates for objectives and physical constraints. Because this loop moves much slower than the fast loop, tactical noise settles down before ADA rewrites its core understanding of the grid.

Datasets

No new benchmarks were introduced. Instead, ADA was tested on four established Learning to Run a Power Network (L2RPN) benchmarks based on real-world grid dynamics and IEEE test systems:

  • ijcnn-2019 (IEEE 14-bus): Tests fuzzy trade-offs between safety, cost, and intervention size.
  • wcci-2020 (IEEE 36-bus): Adds planned maintenance and renewable energy uncertainty, testing if agents can infer shifting physical boundaries.
  • neurips-2020 (IEEE 118-bus): Scales up to a large grid with extreme disturbances and adversarial line disconnections.
  • wcci-2022: Introduces battery storage coordination, requiring multi-step planning where actions have delayed consequences.

Key Insights and Ideas

  • Speed separation cures the blame game: Updating tactical tool-use and foundational math templates at the same speed causes unstable, biased learning. Making task-knowledge updates mathematically slower than action updates gives the system provable local tracking guarantees—and beats synchronous updates in practice.
  • Physics and LLMs see different dangers: In ablation tests, the physical reward and the LLM Judge disagreed about 30%–36% of the time! Physical metrics catch immediate line overloads, while the LLM catches subtle, delayed operational risks and priority violations. Using either signal alone spiked future line loading by 40% compared to blending them equally.
  • Less meddling, safer grids: Because ADA updates its priors to prune redundant grid-switching and penalize costly generator tweaks when simple switching works, it cuts intervention costs by an order of magnitude while keeping safety margins high.

Key Results

Using Qwen3-32B as its backbone, ADA was compared against static optimizers (GreedyOpt, MILPAgent), reinforcement learning (SAC, HRL), and LLM agents (ReAct, ToT, ORLM).

Table 1: Main Results on L2RPN Benchmarks. We report 3 metrics: Rate, ↑, Avg. R, ↑, and Overload, ↓. Best results are in bold, second-best are underlined.
  • Long-horizon survival: On the toughest benchmark (wcci-2022), standard LLM agents like ReAct and ToT collapsed, surviving less than 8.1% of episodes. Optimization baseline MILPAgent reached 46.2%. ADA achieved a 95.0% completion rate.
  • Near-perfect reliability: ADA hit 100.0% completion on both wcci-2020 and neurips-2020, and 97.3% on ijcnn-2019.
  • Minimal overloads: Across all four benchmarks, ADA kept grid overload rates tiny—ranging from 0.00% (neurips-2020) to 0.10% (wcci-2022), compared to ~16%–18% overloads for SAC and ReAct on wcci-2022.
  • Ablation proof: Freezing ADA's memory ("Static ADA") dropped wcci-2022 completion from 95.0% to 65.1%, and giving that static agent extra compute didn't help (64.7%)—proving the gains come from asynchronous knowledge evolution, not brute-force token spending.

Limitations and Future Work

  • Speed limits of the slow loop: If a real grid experiences catastrophic shifts faster than ADA's slow knowledge loop can update, the mathematical tracking guarantees break down.
  • Compute overhead: Running MCTS in the Planner adds latency. While ADA easily finishes within the benchmark's 5-minute dispatch window, sub-second grid emergencies will require faster search optimizations.
  • Not ready to fly solo: Simulator success doesn't equal live-grid safety. For future real-world deployment, the authors propose "tiered supervised autonomy"—letting ADA automatically handle low-impact, physically verified tweaks, while routing narrow safety margins, Judge-physics disagreements, and major topology switches to human operators.

Summary updated

Abstract

Large Language Models (LLMs) present a novel paradigm for power system dispatch (PSD), enabling operators to derive optimal dispatch strategies from multi-objective requirements and grid dynamics. However, isolated paradigms focusing on modeling or solving often yield decision bias or physical infeasibility. Meanwhile, end-to-end paradigms couple modeling-solving with reflection-feedback loops, obscuring whether failures stem from inaccurate modeling, invalid solutions, or insufficient feedback, thereby causing ineffective iterations. To address these challenges, we propose Agile Dispatch Agent (ADA), an agent based on two-time-scale evolution that decouples the optimization process into two asynchronous loops. On the fast time scale, the Planner actively acquires information to clarify complex requirements, while the Solver selects algorithms to adapt to the problem mathematical characteristics. On the slow time scale, the Summarizer module updates the modeling feasible region based on evaluations from the Judger. Under a finite-horizon Planner and standard two-time-scale stochastic approximation assumptions, our analysis provides local tracking guarantees for the fast decision process and the slow knowledge evolution. Experiments on L2RPN benchmarks with ambiguous requirements and renewable dynamics show that ADA outperforms state-of-the-art baselines.
BibTeX
@inproceedings{han2026ada,
  author = {mengqi Han and Bo Yang and Qi Liu and Mengshuo Jia and Chen Gong and Liu Yuxiang and Sicheng Liu and Mingxuan Cai},
  title = {{ADA: Resolving Attribution Ambiguity in End-to-End Power System Dispatch via Two-Time-Scale Stochastic Approximation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2bynWlZtFd},
}
Figure