Skip to main content
QUICK REVIEW

[Paper Review] Privacy Preserving PCA for Multiparty Modeling

Yingting Liu, Chaochao Chen|arXiv (Cornell University)|Feb 6, 2020
Cryptography and Data SecurityComputer Science13 references13 citations
TL;DR

This paper proposes Privacy Preserving PCA (PPPCA) for horizontally partitioned data across multiple parties, enabling secure, lossless dimensionality reduction using homomorphic encryption and secret sharing. The method preserves data privacy while achieving identical model accuracy to centralized PCA, supporting any downstream machine learning model without re-encryption per model type.

ABSTRACT

In this paper, we present a general multiparty modeling paradigm with Privacy Preserving Principal Component Analysis (PPPCA) for horizontally partitioned data. PPPCA can accomplish multiparty cooperative execution of PCA under the premise of keeping plaintext data locally. We also propose implementations using two techniques, i.e., homomorphic encryption and secret sharing. The output of PPPCA can be sent directly to data consumer to build any machine learning models. We conduct experiments on three UCI benchmark datasets and a real-world fraud detection dataset. Results show that the accuracy of the model built upon PPPCA is the same as the model with PCA that is built based on centralized plaintext data.

Motivation & Objective

  • To address the challenge of performing PCA on horizontally partitioned data across multiple organizations without sharing plaintext data.
  • To design a general-purpose privacy-preserving modeling framework that supports any downstream machine learning model without per-model cryptographic overhead.
  • To ensure the output of PCA is both privacy-preserving and lossless compared to centralized PCA.
  • To evaluate the efficiency and accuracy of two cryptographic techniques—homomorphic encryption and secret sharing—within the PPPCA framework.

Proposed method

  • PPPCA uses a server-aided, multiparty computation model where each party holds plaintext data locally and collaboratively computes PCA without revealing raw data.
  • Two cryptographic techniques are employed: homomorphic encryption (Paillier) for secure addition of encrypted values and secret sharing for distributed matrix operations.
  • Floating-point numbers are encoded as (encrypted significand, unencrypted exponent) pairs to support numerical precision in homomorphic operations.
  • The method computes the covariance matrix and eigenvectors in a distributed manner, ensuring that no single party learns the full data or intermediate results.
  • The final dimensionality-reduced data are shared with a data consumer, who can directly train any machine learning model without further cryptographic processing.
  • The protocol operates under the honest-but-curious threat model, ensuring privacy against passive adversaries.

Experimental results

Research questions

  • RQ1Is the model accuracy built using PPPCA equivalent to that of a centralized PCA on plaintext data?
  • RQ2How does the computational efficiency of homomorphic encryption-based PPPCA compare to secret sharing-based PPPCA as the number of parties increases?
  • RQ3Can PPPCA outputs be directly used to train various machine learning models (e.g., logistic regression, GBDT, DNN) with no loss in performance?
  • RQ4How do the two cryptographic methods (HE and SS) scale with increasing data size and number of parties?

Key findings

  • The model accuracy built on PPPCA output is indistinguishable from that of centralized PCA: AUC for fraud detection was 0.9663 (centralized) vs. 0.9692 (PPPCA-HE) and 0.9613 (PPPCA-SS).
  • For the APS dataset, PPPCA achieved AUC of 0.9915 (centralized), 0.9918 (HE), and 0.9906 (SS), showing negligible performance loss.
  • In the Wine dataset (regression), RMSE was 0.7122 (centralized), 0.7103 (HE), and 0.7126 (SS), confirming lossless transformation.
  • The HE-based method scaled more efficiently with increasing parties: running time rose from 3.16s (2 parties) to 3.36s (4 parties), while SS-based method increased from 2.91s to 3.42s over the same range.
  • PPPCA enabled direct use of results for diverse models: GBDT achieved 0.9941 AUC (centralized), 0.9943 (HE), and 0.9948 (SS), showing high compatibility.
  • The secret sharing method was initially faster with fewer parties but became significantly slower as party count increased due to communication overhead in matrix shuffling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.