Two-Phase Multi-Party Computation Enabled Privacy-Preserving Federated Learning

Renuga Kanagavelu, Zengxiang Li, Juniarto Samsudin, Yechao Yang, Feng Yang, Rick Siow Mong Goh, Mervyn Cheah, Praewpiraya Wiwatphonthana, Khajonpong Akkarajitsakul, Shangguang WangCCGRID 2020

Abstract

Countries across the globe have been pushing strict regulations on the protection of personal or private data collected. The traditional centralized machine learning method, where data is collected from end-users or IoT devices, so that it can discover insights behind real-world data, may not be feasible for many data-driven industry applications in light of such regulations. A new machine learning method, coined by Google as Federated Learning (FL) enables multiple participants to train a machine learning model collectively without directly exchanging data. However, recent studies have shown that there is still a possibility to exploit the shared models to extract personal or confidential data. In this paper, we propose to adopt Multi-Party Computation (MPC) to achieve privacy-preserving model aggregation for FL. The MPC-enabled model aggregation in a peer-to-peer manner incurs high communication overhead with low scalability. To address this problem, the authors proposed to develop a two-phase mechanism by 1) electing a small committee and 2) providing MPC-enabled model aggregation service to a larger number of participants through the committee. The MPC-enabled FL framework has been integrated in an IoT platform for smart manufacturing. It enables a set of companies to train high quality models collectively by leveraging their complementary data-sets on their own premises, without compromising privacy, model accuracy vis-à-vis traditional machine learning methods and execution efficiency in terms of communication cost and execution time.

Introduction

Federated Learning (FL) represents a significant shift in machine learning, allowing decentralized data sources to collaboratively train a global model. By design, FL keeps raw data on local devices, sharing only model updates (gradients or weights) with a central server. However, this "privacy-by-design" approach is not infallible. Research has demonstrated that shared model parameters can be exploited through inference attacks to reconstruct sensitive training data.

To mitigate these risks, Multi-Party Computation (MPC) is often employed. MPC allows multiple parties to compute a function over their private inputs without revealing the inputs themselves. While effective, traditional peer-to-peer (P2P) MPC implementations suffer from a "quadratic curse": as the number of participants ($n$) increases, the communication overhead grows at $O(n^2)$. In large-scale industrial or IoT networks, this overhead becomes prohibitive, leading to significant latency and system inefficiency.

The Two-Phase MPC-Enabled FL Framework

To overcome the scalability limitations of P2P MPC, this paper proposes a novel two-phase framework that transitions from a fully decentralized model to a hierarchical, committee-based approach.

Phase I: Committee Election The process begins with the election of a small subset of participants to form a Model Aggregation Committee. This election is performed using a lightweight MPC protocol. Because the data involved in the voting process is minimal compared to high-dimensional model weights, the $O(n^2)$ communication cost remains negligible during this phase.

Phase II: Hierarchical Aggregation Once the committee is established, the bulk of the model training and aggregation occurs. Participants perform local training on their private datasets and then generate "secret shares" of their model weights using protocols such as Additive or Shamir Secret Sharing. Instead of broadcasting these shares to every other participant, they are uploaded only to the elected committee members.

The proposed two-phase architecture utilizes an elected Model Aggregation Committee to reduce communication overhead.

This hierarchical structure reduces the communication complexity from $O(n^2)$ to $O(n)$, allowing the system to scale to hundreds of participants without the exponential increase in message volume typical of standard MPC.

Workflow and Implementation

The framework's workflow is designed for industrial readiness, specifically targeting Industrial IoT (IIoT) environments. The process involves four key stages: local training, secret share generation and exchange, local aggregation on secret shares within the committee, and finally, global aggregation.

Detailed workflow of the MPC-enabled FL framework across local training, secret share generation, and multi-level aggregation.

The authors implemented this framework using both Additive and Shamir Secret Sharing. Additive sharing was found to be more efficient for large-scale neural network parameters due to its lower computational overhead during reconstruction. To handle modern deep learning models, the framework includes a parallel processing mechanism for large tensors, ensuring that the cryptographic operations do not become a bottleneck for model training.

Experimental Evaluation

The proposed framework was evaluated using a real-world industrial use case: Fault Detection in Electrical Machines. The dataset consisted of induction motor sensor data (vibration, temperature, current, and acoustic) collected by the University of Tennessee. The task was a binary classification to distinguish between healthy and faulty motor states.

The researchers tested two model architectures to measure scalability:

  • SimpleNN: A basic neural network with 121 input features and 242 parameters.
  • ComplexNN: A more sophisticated model with 7,380 parameters to test the system's handling of larger data volumes.

Key Results

The experimental results highlight the efficiency and effectiveness of the two-phase approach:

  • Scalability and Speed: In a simulation with 128 participants, the two-phase method achieved a 25x speedup in execution time compared to traditional P2P MPC.
  • Communication Efficiency: The number of messages required for 128 parties was reduced from approximately 500,000 in the P2P model to under 100,000 in the committee-based model.
  • Model Accuracy: The federated models achieved a balanced accuracy of approximately 0.945, which is nearly identical to a centralized model (0.949) and significantly outperforms models trained by individual companies in isolation (0.918). This confirms that MPC provides "lossless" privacy without the accuracy trade-offs seen in methods like Differential Privacy.

Conclusion and Future Work

The two-phase MPC-enabled FL framework successfully addresses the scalability challenges of privacy-preserving machine learning in industrial settings. By utilizing an elected committee, the system maintains robust security while drastically reducing communication overhead.

Future research will focus on expanding the framework to support Vertical Federated Learning, where participants hold different features for the same set of users. Additionally, the authors plan to investigate defense mechanisms against malicious actors who might attempt to poison the global model or compromise committee integrity.

Summary updated

BibTeX
@inproceedings{kanagavelu2020two,
  author = {Renuga Kanagavelu and Zengxiang Li and Juniarto Samsudin and Yechao Yang and Feng Yang and Rick Siow Mong Goh and Mervyn Cheah and Praewpiraya Wiwatphonthana and Khajonpong Akkarajitsakul and Shangguang Wang},
  title = {{Two-Phase Multi-Party Computation Enabled Privacy-Preserving Federated Learning}},
  booktitle = {CCGRID},
  year = {2020},
  url = {https://openreview.net/forum?id=3jqZgCnj3aB},
}
Figure