Differentially Private Convex Optimization with Feasibility Guarantees

Vladimir Dvorkin, Ferdinando Fioretto, Pascal Van Hentenryck, Jalal Kazempour, Pierre PinsonarXiv 2020

Abstract

This paper develops a novel differentially private framework to solve convex optimization problems with sensitive optimization data and complex physical or operational constraints. Unlike standard noise-additive algorithms, that act primarily on the problem data, objective or solution, and disregard the problem constraints, this framework requires the optimization variables to be a function of the noise and exploits a chance-constrained problem reformulation with formal feasibility guarantees. The noise is calibrated to provide differential privacy for identity and linear queries on the optimization solution. For many applications, including resource allocation problems, the proposed framework provides a trade-off between the expected optimality loss and the variance of optimization results.

Introduction

Differential Privacy (DP) is the gold standard for protecting sensitive data, typically achieved by adding calibrated noise to inputs, objectives, or outputs. However, in engineering and infrastructure contexts—such as energy networks or resource allocation—adding random noise to an optimal solution often results in a "garbage" answer that violates hard physical laws (e.g., Kirchhoff's laws) or operational limits (e.g., line capacities). Existing methods often ignore these constraints or require expensive post-processing that can degrade both privacy and optimality. This paper addresses the challenge of releasing private optimization results that are guaranteed to be "legal" and useful for real-world systems.

Methodology: Internalizing Privacy

The authors propose "internalizing" the privacy mechanism into the optimization process itself. Their approach relies on modeling the optimization variable $z$ as a function of noise: $z(\xi) = \tilde{z} + Z\xi$. Here, $\tilde{z}$ is the expected solution, and $Z$ is a "recourse matrix" that dictates how the system adjusts to the noise $\xi$.

Conceptual illustration of the chance-constrained optimization approach. The solution is shifted from the unconstrained optimum to ensure the noisy realization remains within the feasible region with high probability.

As shown in the figure above, the problem is transformed into a stochastic program. Hard equality constraints (physics) are satisfied "almost surely," while inequality constraints (limits) are satisfied with a high prescribed probability ($1-\eta$). To ensure $\epsilon$-differential privacy, the recourse matrix $Z$ is mathematically constrained so that the random component of the released query is independent of the sensitive input data.

Algorithms for Private Queries

The paper introduces two primary algorithms: Private Identity Query (PIQ) for releasing specific variables and Private Sum Query (PSQ) for releasing aggregated statistics.

Algorithms for Private Identity Query (PIQ) and Private Sum Query (PSQ), showing the integration of noise sampling and recourse matrix calculation.

These algorithms can be solved using a conservative Sample Approximation or a more efficient Analytic Reformulation using second-order cone programming. The equality constraint $GZ = 0$ is crucial; it ensures that the noise added to one part of the system is perfectly balanced by adjustments in non-released variables, maintaining the system's physical equilibrium.

Experimental Evaluation

The framework was evaluated using standard energy resource allocation benchmarks from the PowerModels.jl library, including small networks (3_lmbd, 5_pjm) and medium to large IEEE test cases (14_ieee, 39_epri, 57_ieee, and 118_ieee). These datasets represent electrical power grids where nodal demands are treated as sensitive user data that must be protected, while the grid's physical laws (flow conservation) must be strictly maintained.

Key Results and Insights

  • Feasibility Superiority: In tests on the 118-node system, standard Output Perturbation (OP) violated constraints 99.99% of the time. In contrast, the proposed PIQ-s algorithm maintained a violation rate of only 1.51%, well within the requested safety margin.
  • Efficiency: The analytic reformulation solved most problems in a few seconds, making it practical for real-time operations, whereas sample-based methods took significantly longer (up to 78 seconds).
  • Privacy-Utility Trade-off: The framework successfully released private sum queries (aggregates) with much lower optimality loss than identity queries, confirming that group-level privacy is "cheaper" than individual-level privacy in constrained systems.
  • Variance Control: The authors show that you can explicitly trade off "optimality loss" (how much extra the solution costs) against the "variance" of the results. This allows system operators to choose between a solution that is cheaper on average vs. one that is more predictable.

Conclusion and Future Work

While the framework provides strong feasibility guarantees, the sample approximation method can be overly conservative, leading to higher costs. Furthermore, the current framework focuses on linear functional recourse. Extending this to non-linear "AC" power flow equations or non-convex problems remains a significant challenge. Future work could also explore how to optimize which variables are kept private to minimize the impact on utility, as the requirement that $GZ=0$ means not all variables can be released simultaneously.

Summary updated

BibTeX
@misc{dvorkin2020differentially,
  author = {Vladimir Dvorkin and Ferdinando Fioretto and Pascal Van Hentenryck and Jalal Kazempour and Pierre Pinson},
  title = {{Differentially Private Convex Optimization with Feasibility Guarantees}},
  year = {2020},
  eprint = {2006.12338},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.12338},
}
Figure