Fantastic Four: Honest-Majority Four-Party Secure Computation With Malicious Security

Anders P. K. Dalskov, Daniel Escudero, Marcel Keller

Abstract

This paper presents "Fantastic Four," a novel four-party secure multi-party computation (MPC) protocol that achieves active (malicious) security with efficiency comparable to semi-honest three-party protocols. By leveraging a fourth party and a unique "protocol hopping" mechanism, the framework provides robust computation and guaranteed output delivery without compromising data privacy, even when participants attempt to cheat. The protocol eliminates the need for expensive function-dependent preprocessing, making it highly practical for complex tasks like secure machine learning training and inference.

Introduction

Secure Multi-Party Computation (MPC) allows multiple parties to compute a function over their private inputs without revealing those inputs to each other. Historically, MPC has faced a "trilemma" between security, efficiency, and robustness. Passive security is efficient but vulnerable to cheating; active security protects against cheaters but is significantly slower. Furthermore, robustness (guaranteed output delivery) often requires identifying an honest party to finish the computation, which can compromise privacy if that party is not truly trustworthy.

The "Fantastic Four" protocol breaks these trade-offs. It provides a system that is fast, does not require complex preprocessing, and maintains privacy even during fault recovery.

Technical Methodology

The protocol is built upon several key technical innovations designed to minimize the overhead of malicious security:

  • Replicated Secret Sharing: Data is split into shares such that any two parties cannot reconstruct the secret, but the group can compute on it. In the four-party (4PC) case, each share is held by three parties, providing the redundancy needed to detect and correct errors efficiently.
  • Joint Message Passing (JMP): This primitive allows two parties who know a value to securely send it to a third party. If the sender and a "witness" disagree, the protocol immediately detects a cheater.
  • Protocol Hopping for Private Robustness: This is the standout innovation. If the 4PC protocol detects a cheater, it does not abort. Instead, the remaining three parties "hop" to a 3-party malicious protocol. If another error occurs, they hop to a 2-party protocol. This ensures the computation finishes without ever centralizing secrets on a single machine.
Protocol 3: Shared Input handling with cheating identification.

As shown in Protocol 3, the system handles shared inputs by utilizing pre-shared keys and the JMP primitive to ensure that even if a party attempts to provide inconsistent data, the cheating is identified during the process.

Experimental Evaluation

The authors evaluated the protocol on standard machine learning benchmarks to demonstrate its real-world viability. The tests included training on the MNIST dataset (1 to 3 dense layers) and performing secure inference on ImageNet using complex architectures like ResNet-50, SqueezeNet, and DenseNet-121.

Key Performance Results

  • Training Speed: For MNIST training with one dense layer, the malicious 4PC protocol took 22.1 seconds per epoch. This is remarkably close to the 12.2 seconds required by a semi-honest 3PC protocol, despite providing much higher security guarantees.
  • Throughput: The protocol achieved a throughput of over 400,000 multiplications per second on standard AWS hardware.
  • Inference Efficiency: Running a ResNet-50 inference—a computationally intensive task—took only 7.8 seconds under malicious 4PC security.
  • Communication Volume: In ImageNet tests, the 4PC malicious protocol used only 5.7 GB of data for ResNet-50, compared to 47.0 GB for a 3PC malicious alternative. This order-of-magnitude improvement makes it highly suitable for bandwidth-constrained environments.

Discussion and Key Insights

The "Power of Four" is a central theme of this work. Moving from three to four parties provides a massive efficiency boost for malicious security because each piece of data is witnessed by more participants, lowering the cost of non-interactive proofs. The results suggest that malicious security can be achieved almost "for free" relative to passive 3PC costs, making the addition of a fourth server a small price for a significant jump in security.

Furthermore, the protocol avoids the "preprocessing baggage" common in other state-of-the-art protocols like SWIFT. It does not require storing massive amounts of data before the computation begins, simplifying deployment in dynamic environments.

Conclusion

Fantastic Four demonstrates that robust, maliciously secure MPC is possible at speeds previously reserved for semi-honest models. While the protocol assumes honest parties only store intended messages to maintain long-term privacy, and probabilistic truncation may require adjustments for extremely deep networks, it represents a major step forward in practical, privacy-preserving computation. Future work may focus on reducing the impact of network latency and refining truncation methods for even larger-scale models.

Summary updated

BibTeX
@inproceedings{dalskov2021fantastic,
  author = {Anders P. K. Dalskov and Daniel Escudero and Marcel Keller},
  title = {{Fantastic Four: Honest-Majority Four-Party Secure Computation With Malicious Security}},
  booktitle = {USENIX Security},
  year = {2021},
  url = {https://openreview.net/forum?id=lquar-DbLo},
}
Figure