stat.MLSep 30, 2026

Learning to Price Electricity for Optimal Demand Response

Authors: Jing Shang, Mohammad Mehrabi, Xinyang Zhou, Mahmoud Saleh, Andrey Bernstein, Stefan Wager

Organizations: Stanford University · National Laboratory of the Rockies · Prime Coalition · Eaton Research Labs

Abstract

There is considerable interest in using time-varying electricity prices to shape consumer demand response, and better align energy demand with renewable production. However, optimal prices generally vary over time in response to complex signals such as weather forecasts, sunrise/sunset times, and day-of-week patterns; and existing methods are not able to make efficient use of such rich contextual information. Here, we propose a neural-network-based algorithm for contextual energy pricing, modeling pricing as a Stackelberg game and leveraging a mean-field solution representation from Mehrabi et al.~(2024). The approach learns constrained mappings from contextual features to feasible price signals. We validate our approach by simulating the energy grid in several US cities, and show that incorporating contextual information can considerably increase the value of the demand response programs.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Optimal Contextual Pricing under Agnostic Non-Lipschitz Demand

    May 7, 2026Jianyu Xu, Yu-Xiang WangDynamic PricingInterval Regret

  2. Towards Affordable Energy: A Gymnasium Environment for Electric Utility Demand-Response Programs

    May 12, 2026Jose E. Aguilar Escamilla, Lingdong Zhou, Xiangqi Zhu +1Demand ResponseElectricity Markets

  3. Minimax-Optimal Semiparametric Contextual Dynamic Pricing with Multimodal Revenue

    Aug 4, 2026Xueping Gong, Zhuoluo Zhang, Zhaowei Miao +1Dynamic PricingPrices