More Efficient MPC from Improved Triple Generation and Authenticated Garbling

Kang Yang, Xiao Wang, Jiang Zhang

TL;DR

This paper introduces significant performance optimizations for maliciously secure Multi-Party Computation (MPC). By streamlining the generation of authenticated "Beaver triples" and successfully adapting the "half-gates" technique to the multi-party setting, the authors achieve up to a 5x speedup in preprocessing and a 35% reduction in communication overhead for distributed garbled circuits.

What Problem Does This Paper Address?

Secure Multi-Party Computation (MPC) allows a group of parties to compute a function over their private inputs without revealing anything but the final result. While "semi-honest" protocols (where parties follow the rules but try to learn extra info) are relatively fast, "maliciously secure" protocols (which protect against active cheating) have historically suffered from massive overheads.

The current state-of-the-art for constant-round MPC often relies on distributed garbling and the generation of authenticated AND triples (Beaver triples). However, these building blocks are plagued by two main issues:

  1. Communication Bottlenecks: Achieving malicious security requires heavy consistency checks that bloat the data sent between parties.
  2. Computational Overhead: Existing protocols for generating authenticated bits (aBits) involve expensive bit-matrix multiplications and redundant checks that prevent them from fully utilizing high-speed (10 Gbps) networks.

Methods

The authors propose several novel optimizations to the "WRK" paradigm of distributed garbling:

  • Bare IKNP for aBits: They propose a new authenticated bit protocol based on the standard IKNP Oblivious Transfer (OT) extension. By allowing a "harmless leakage" (where an adversary can guess a few bits of a key but fails and causes an abort if they are wrong), they reduce communication by 24% and eliminate the need for expensive bit-matrix multiplications.
  • Re-randomized Consistency Checks: For authenticated shares (aShares), they replace a repetitive checking procedure (done $\rho$ times) with a single check based on re-randomization, drastically reducing the number of required commitments.
  • Multi-Party Half-Gates: "Half-gates" is a famous optimization that reduces the size of garbled circuits in the two-party setting. This paper takes the first step in applying this to the multi-party setting, reducing the size of garbled tables by $2\kappa$ bits per gate per garbler.
  • Batched Circuit Authentication: They use "almost universal linear hash functions" to reduce the cost of authenticating the circuit from $4\rho$ bits down to just 1 bit per gate.

Datasets

The authors evaluated their protocol using standard benchmarks in the MPC literature:

  • AES-128 Circuit: A common baseline for measuring the throughput of AND triples.
  • Hamming Distance: A circuit with roughly 2 million AND gates.
  • Sorting Circuit: A large-scale benchmark with over 10 million AND gates.
  • Real-world Applications: They also tested their techniques on the Bolt (anonymous payment channels) and DECO (web data provenance) frameworks.

All experiments were conducted on Amazon EC2 c5.9xlarge instances with 36 vCPUs and 10 Gbps network bandwidth.

Key Insights and Ideas

  • The "Harmless Leakage" Realization: The authors realized that the strict "no-leakage" requirements of prior aBit protocols were overkill. In the context of MPC, if an adversary tries to guess bits of a global key, they have a very low chance of success and a very high chance of being caught. This "selective failure" is acceptable because it doesn't compromise the overall security of the computation.
  • Consolidating Checks: By recognizing that different layers of consistency checks in prior work were aiming for similar goals, the authors were able to collapse them into a single, batched multi-party check.
  • Partial Half-Gates: While fully implementing half-gates in a distributed manner is complex, the authors showed that the garbled table can be split into portions. One portion behaves like a two-party garbling (optimizable via half-gates), while the other handles the multi-party consistency.

Key Results

  • Triple Generation Speedup: The new protocol is 4x to 5x faster than the previous best implementation. In a two-party setting with 8 threads, it generates over 4 million triples per second (compared to 0.8 million previously).
  • Scalability: In the multi-party setting, the protocol can handle 80 parties at the same speed that prior work could only handle 16 parties.
  • Communication Efficiency:
    • Reduced triple generation communication by ~24%.
  • Reduced distributed garbled circuit size by ~35% in the three-party setting.
  • Reduced circuit authentication communication from $4\rho$ bits to 1 bit per gate.
  • Real-world Impact: For the Bolt application (10M gates), execution time dropped from 15 seconds to just 1.2 seconds on a 1 Gbps network.

Limitations and Future Work

  • Partial Optimization: The application of half-gates is described as a "first step." While it significantly reduces the table size, it doesn't yet reach the theoretical minimum possible in the two-party case for all garblers simultaneously.
  • Boolean Focus: The optimizations are primarily for boolean circuits. While some techniques might carry over, the paper does not explore arithmetic MPC (over large fields) in depth.
  • Network Bottlenecks: As computation becomes faster, the network remains the primary bottleneck. Future work could look into further compressing the "function-independent" phase data.

Summary updated

BibTeX
@inproceedings{yang2020more,
  author = {Kang Yang and Xiao Wang and Jiang Zhang},
  title = {{More Efficient MPC from Improved Triple Generation and Authenticated Garbling}},
  booktitle = {CCS},
  year = {2020},
  doi = {10.1145/3372297.3417285},
}
Figure