Privacy Preserving Linear Programming

Yuan Hong, Jaideep Vaidya, Nicholas Rizzo, Qi LiuarXiv 2016

Introduction

Linear Programming (LP) serves as the mathematical foundation for global logistics, supply chain management, and resource allocation. In many real-world scenarios, the data required to solve these optimization problems is distributed across multiple organizations. For instance, competing retailers might share a shipping network where collaborative optimization could significantly reduce costs for all parties. However, companies are often reluctant to share proprietary information, such as internal cost structures or specific resource constraints, fearing a loss of competitive advantage.

While Secure Multiparty Computation (SMC) provides a theoretical framework for computing functions on private inputs, generic SMC protocols are often too computationally intensive for large-scale, industrial LP problems. This paper proposes a specialized, efficient alternative: a transformation-based approach that masks the original LP problem, allowing it to be solved by any standard solver without revealing the underlying private data.

Methodology

The authors introduce a framework that maps the original problem space into a "masked" space using linear transformations. The primary goal is to transform a standard LP problem—minimizing $c^Tx$ subject to $Mx \leq B$ and $x \geq 0$—into a new problem that can be solved by a third party or a collaborative group without exposing the original vectors and matrices.

Problem Transformation and Monomial Matrices

The core of the approach involves a linear transformation where $y = Q^{-1}x$. To ensure the transformation is valid for LP, the authors utilize a monomial matrix $Q$. A monomial matrix (a permutation of a diagonal matrix) is essential because it preserves the non-negativity constraints ($x \geq 0$) in the transformed space ($y \geq 0$). By applying this transformation, the problem becomes minimizing $c'^Ty$ subject to $M'y \leq B$, where the new coefficients $c'$ and $M'$ are derived from the original data and the secret matrix $Q$.

Secure Scalar Products

To perform the matrix multiplications required for this transformation without any party seeing the raw data of the others, the protocol employs Additively Homomorphic Encryption (such as Paillier or Goldwasser-Micali). This cryptographic tool allows one party to perform additions and scalar multiplications on data that remains encrypted, facilitating the secure calculation of the transformed constraints and objective functions.

Partitioning Scenarios

The paper details three specific protocols based on how the data is distributed:

  1. Two-party (No Partitioning): One party provides the objective function while the other provides the constraints.
  2. Two-party (Arbitrary Partitioning): Both parties hold partial "shares" of both the objective function and the constraints, increasing the complexity of the masking.
  3. Multi-party: An extension of the partitioned approach designed for $l$ participants.

Key Insights

Algorithm Agnosticism

A significant advantage of this transformation-based approach is that it occurs during a pre-processing phase. Once the LP problem is masked, the resulting file can be solved using any off-the-shelf solver, such as Simplex or Interior Point methods. This makes the protocol highly compatible with existing industrial engineering workflows.

Security through Partitioning

The authors identify that the security of the transformation is significantly enhanced when data is arbitrarily partitioned. If no single party possesses the full objective vector $c^T$, it becomes mathematically difficult for an adversary to reverse-engineer the transformation matrix $Q$, even if they have access to the final optimal solution. This defense-in-depth strategy mitigates "inference attacks" that plagued earlier transformation methods.

Results and Performance

The paper provides formal mathematical proofs for both the correctness and the security of the protocols:

  • Correctness: The authors prove that the optimal solution to the transformed problem ($y^*$) can be mapped back to the original optimal solution ($x^*$) via the relation $x^* = Qy^*$.
  • Security: Under a semi-honest (honest-but-curious) model, the authors demonstrate through Theorems 1 and 2 that no participant learns any private information about the other parties' inputs beyond what is inherently revealed by the final output.
  • Efficiency: By avoiding the complex circuit evaluations required by generic SMC, these protocols rely on relatively fast matrix-vector multiplications and homomorphic encryption. This results in a system that is significantly more scalable for large-scale industrial applications than general-purpose private computation.

Limitations and Future Directions

While the proposed techniques offer a practical path forward for collaborative optimization, several areas for future research remain:

  • Adversarial Models: The current protocols assume semi-honest behavior. Future work is needed to protect against "malicious" actors who might intentionally provide fraudulent data to manipulate the result or probe for secrets.
  • Cryptographic Rigor: The authors describe the current security as heuristic in some aspects, noting that further work is required to prove the transformed data is "indistinguishable from random."
  • Expanded Problem Scopes: The current framework is limited to Linear Programming. Extending these transformation-based privacy techniques to Integer Programming and Quadratic Programming would allow for the optimization of more complex, non-linear systems.
  • Structural Inference: There remains a theoretical risk that the underlying structure or the computational "hardness" of the transformed problem could leak subtle information about the nature of the original constraints.

Summary updated

BibTeX
@misc{hong2016privacy,
  author = {Yuan Hong and Jaideep Vaidya and Nicholas Rizzo and Qi Liu},
  title = {{Privacy Preserving Linear Programming}},
  year = {2016},
  eprint = {1610.02339},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.02339},
}
Figure