Zeroth-Order Feedback-Based Optimization for Distributed Demand Response

Ruiyang Jin, Yujie Tang, Jie SongarXiv 2023 · DOI

Distributed Demand Response (DDR) is a critical mechanism for balancing supply and demand in modern smart grids. By coordinating flexible loads like electric vehicles, HVAC systems, and batteries, grid operators can maintain stability and efficiency. However, traditional DDR approaches face two significant hurdles: the lack of accurate grid models and the need for user privacy. This paper introduces two novel distributed algorithms—2-ZFGD and RZFCD—that leverage zeroth-order optimization to address these challenges.

The Challenge of Model-Free Coordination

Standard optimization techniques for DDR often rely on a detailed mathematical model of the power grid (e.g., power flow equations) to calculate gradients. In practice, these models are difficult to obtain and maintain due to the grid's scale and dynamic nature. Furthermore, many algorithms require users to share private cost functions or local constraints with a central aggregator, raising significant privacy concerns.

To overcome these barriers, the authors propose a "model-free" approach. By treating the grid as a black box, the aggregator can estimate the necessary gradients using only the observed system-wide feedback (e.g., total cost or voltage violations) in response to small perturbations in user behavior. This ensures that agents never have to upload their local cost functions, preserving their privacy.

Proposed Algorithms: 2-ZFGD and RZFCD

The paper presents two algorithms based on zeroth-order feedback:

  1. 2-ZFGD (2-point Zeroth-order Feedback-based Gradient Descent): This method applies a simultaneous random perturbation to all agents. While versatile and applicable to any convex feasible set, it suffers from high variance in gradient estimation, leading to a slower convergence rate.
  2. RZFCD (Randomized Zeroth-order Feedback-based Coordinate Descent): This is the paper's primary contribution. Instead of perturbing all agents at once, the aggregator selects one agent per iteration to perturb. This coordinate-wise approach significantly reduces variance. Although it requires the feasible region to be a "box" constraint (simple upper and lower bounds on power), it offers a substantial improvement in efficiency.
Comparison of the proposed zeroth-order algorithms in terms of feasible region and iteration complexity.

Theoretical and Empirical Results

The theoretical analysis shows that RZFCD achieves an iteration complexity of $O(d/\epsilon)$, where $d$ is the number of agents and $\epsilon$ is the desired precision. As shown in the comparison table, this is a significant improvement over the $O(d/\epsilon^2)$ complexity of 2-ZFGD for both convex and nonconvex cases.

The algorithms were tested on two scenarios:

  • Convex Case: A synthetic 100-agent system where RZFCD reached a 0.1% relative error in fewer than 1,000 iterations, vastly outperforming 2-ZFGD, which failed to reach 1% error within 20,000 iterations.
  • Nonconvex Case: A realistic 141-bus radial distribution system involving complex AC power flow equations. Even in this challenging nonconvex landscape, RZFCD demonstrated superior convergence speed and robustness, proving its applicability to real-world grid physics.

Conclusion

By utilizing zeroth-order coordinate descent, the proposed RZFCD algorithm provides a fast, model-free, and privacy-preserving solution for DDR. It effectively closes the performance gap between constrained and unconstrained zeroth-order optimization for common energy management scenarios. Future work will explore handling more complex coupled constraints and the impact of measurement noise on the feedback signal.

Summary updated

BibTeX
@misc{jin2023zeroth,
  author = {Ruiyang Jin and Yujie Tang and Jie Song},
  title = {{Zeroth-Order Feedback-Based Optimization for Distributed Demand Response}},
  year = {2023},
  eprint = {2311.00372},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.00372},
}
Figure