TL;DR
Secure multi-party computation (MPC) lets distrusting parties compute functions on private data without revealing their inputs, and dozens of open-source frameworks now promise to make it practical. Yet, comparing these tools is a minefield: papers and codebases often disagree on security guarantees, hidden "trusted dealers" silently skew benchmarks, and new protocols rarely make it into maintained software. This paper builds the missing bridge—mapping eight MPC protocol families onto 33 open-source frameworks, auditing their actual source code, and benchmarking them under one roof to separate true protocol costs from engineering quirks.
What Problem Does This Paper Address?
If you want to run privacy-preserving machine learning or secure analytics today, you can choose from dozens of MPC frameworks. But picking the right one—or even understanding what security you are actually getting—is surprisingly hard. The authors identify three recurring gaps:
- The Assumption Gap: Frameworks are routinely compared head-to-head even when they assume completely different threat models (e.g., honest majority vs. dishonest majority) or rely on a trusted dealer (an extra party that generates secret-sharing "preprocessing" material) whose presence is invisible when only online runtimes are reported.
- The Implementation Gap: What a framework’s academic paper claims and what its public GitHub repository actually executes often differ. Many repositories omit malicious-security checks, use insecure defaults, or are quietly abandoned.
- The Transfer Gap: Academic protocol advances are usually released as one-off prototypes, forcing practitioners to rely on a handful of maintained codebases while researchers repeatedly re-implement baselines.
Methods
The authors tackle these gaps in three stages:
- Systematizing Protocol Families: They organize modern general-purpose MPC (built from secret sharing, oblivious transfer, and garbled circuits) into eight families across three deployment models (client–server, outsourced to $n$ servers, and peer-to-peer). Each family is categorized by corruption threshold, adversary model (semi-honest, covert, malicious), algebraic domain (fields vs. rings), and where its preprocessing comes from.
- Auditing 33 Frameworks: They inspect the actual source code, documentation, and papers of 33 open-source frameworks (spanning general-purpose compilers like MP-SPDZ, low-level libraries like EMP-toolkit, and ML-oriented tools like CrypTen and SecretFlow-SPU) to record what is implemented rather than just claimed.
- Unified Benchmarking: Using a single testbed with an emulated LAN (0.1 ms RTT, 1 Gbps) and WAN (80 ms RTT, 40 Mbps), they benchmark 21 protocols inside one codebase (MP-SPDZ) to isolate pure protocol differences, and 9 frameworks on matching protocol classes to isolate implementation and configuration effects.
Datasets
Because this is a systems and cryptography systematization paper rather than an ML modeling paper, it does not use standard ML training datasets. Instead, the evaluation relies on:
- A curated corpus of 65 peer-reviewed protocol papers (1986–2026), from which 43 implementable protocols are traced into code.
- 33 open-source MPC frameworks validated against their repositories in November 2026.
- Synthetic microbenchmarks on 64-bit vectors ($2^{10}$ and $2^{14}$ elements) for basic operations (addition, multiplication, comparison, equality) and two core ML workloads: a $128 \times 128$ matrix multiplication and a ReLU over $2^{14}$ values.
Key Insights and Ideas
- Code $\neq$ Paper: Out of 33 frameworks, 19 have a gap between claimed and implemented guarantees, and 15 provide weaker security in code than their papers suggest. For example, CrypTen and SecretFlow-SPU’s SEMI2K default to using "party 0" as the dealer—meaning party 0 generates Beaver triples in the clear and learns every opened value. Meanwhile, Falcon and HPMPC perform malicious-security checks but never actually abort on failure.
- Preprocessing is where both speed and hidden trust live: The fastest online protocols (like function-dependent masking or Function Secret Sharing) push heavy work into an offline phase or onto a trusted dealer. When you include the cost of generating that preprocessing, framework rankings flip—for instance, CrypTen with an external dealer drops from 1st to 4th place on LAN comparisons.
- Popularity does not track capability: GitHub stars concentrate on ML-oriented frameworks like PySyft (10.1k stars, which actually removed MPC in 2023) and CrypTen (1.6k stars, archived), while MP-SPDZ—the only maintained framework implementing all eight protocol families—has far fewer stars (1.2k).
- Maintenance is bimodal and fragile: Only 15 of the 33 frameworks are actively maintained. Dishonest-majority malicious MPC relies on a tiny handful of codebases, with MP-SPDZ alone carrying 11 protocols that exist nowhere else in maintained form.
Key Results
- The Price of Malicious Security: Measured inside MP-SPDZ, upgrading from semi-honest to malicious security costs 2.7–12$\times$ under an honest majority, but 34–112$\times$ under a dishonest majority (almost entirely due to authenticated preprocessing).
- Implementation Effects: Within the exact same protocol class (semi-honest three-party replicated sharing), different frameworks and default compiler flags vary by 16$\times$ in runtime and 41$\times$ in communication.
- Linear Algebra vs. Non-Linearities: Matrix multiplication is cheap ($<1.5$ MB) whenever a protocol computes dot products with a single resharing per output. Non-linearities like ReLU ($2^{14}$ values) span over three orders of magnitude—from 11 ms (honest-majority Astra/Rep3) to 17–22 s (dishonest-majority Semi2k/Hemi).
- Party Scaling: Moving from 3 to 7 parties, tolerating a dishonest majority (malicious $\text{SPDZ}_{2^k}$) costs 170$\times$ more time and 205$\times$ more per-party communication than malicious Shamir sharing.
- Surfaced Bugs: Running nine frameworks under one harness uncovered silent correctness defects in three frameworks: unzeroed/freed buffers in ABY3’s arithmetic-to-binary conversion, thread races in ABY’s OT extension, and undefined 64-bit behavior in SCI.
Limitations and Future Work
The authors note that their benchmarks run all parties on a single host with an emulated network (omitting TCP dynamics), and focus on basic kernels rather than full end-to-end applications. Looking forward, they highlight several urgent open problems for the community:
- Dealer-free preprocessing for fast comparison/ReLU protocols (e.g., generating FSS correlations without a trusted third party).
- Standardized, verifiable benchmarking that fixes phase boundaries (setup, offline, online) and records security configurations.
- Protocol-agnostic interfaces to make upstreaming new academic protocols into maintained frameworks a drop-in process rather than a dead-end fork.
Summary updated