A Pragmatic Comparison of Cryptographic Computation Technologies for Machine Learning
Pith reviewed 2026-05-08 17:29 UTC · model grok-4.3
The pith
Current FHE implementations outperform SMPC for regressions and simple neural nets but lag on complex CNNs.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Extensive benchmarks of leading open-source SMPC and FHE libraries show that fully homomorphic encryption currently outperforms secure multi-party computation on regression tasks and can be competitive for simple dense networks when GPUs or hybrid models are employed, while SMPC remains faster for complex convolutional neural networks.
What carries the argument
Side-by-side runtime measurements of open-source SMPC and FHE libraries on standard ML workloads including linear regression, dense networks, and CNNs.
If this is right
- Practitioners can prefer FHE libraries for regression-based secure ML workloads today.
- Complex image or sequence models should default to SMPC frameworks until FHE improves.
- GPU acceleration and hybrid protocols become high-value targets for FHE development.
- Future comparisons should standardize on the same model code and data to isolate technology effects.
Where Pith is reading between the lines
- Adoption of secure ML would accelerate if vendors shipped pre-tuned FHE or SMPC backends matched to common model families.
- The observed performance crossover points could guide automatic selection logic inside ML frameworks.
- Extending the benchmarks to transformer architectures would test whether the CNN pattern generalizes to attention-based models.
Load-bearing premise
The specific software libraries, hardware setups, and model implementations chosen for testing reflect the true performance difference between the underlying SMPC and FHE technologies rather than quirks of those particular choices.
What would settle it
Re-running the same models and operations with alternate open-source libraries or on different hardware platforms and obtaining the opposite ranking of runtimes for regressions versus CNNs.
Figures
read the original abstract
As security demands increase, the importance of secure computation technologies grows, yet these technologies can often seem overwhelming to practitioners. Furthermore, many approaches focus only on a single technology, potentially overlooking superior alternatives. This work aims to address the issue of selecting the right technology for secure computation by presenting a comparative analysis of two highly relevant cryptographic methods and their software implementations, with a particular focus on machine learning. Firstly, we provide a theoretical summary and comparison of the secure computation paradigms of secure multi-party computation (SMPC) and fully homomorphic encryption (FHE). We outline the advantages and limitations of the protocols, as well as the relevant open-source software implementations. Secondly, we present the results of extensive benchmarking of the main software frameworks identified for machine learning operations and models. Regarding the current state of the art in FHE, we observe that it outperforms SMPC for regressions. Additionally it may be faster for simple dense networks using GPUs or Hybrid Models. Conversely, SMPC showed superior performance for complex models such as CNNs. Our results should pave the way for more technology-agnostic benchmarking of secure computation technologies for machine learning, providing guidance for practitioners looking to adopt these technologies.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript provides a theoretical summary and comparison of secure multi-party computation (SMPC) and fully homomorphic encryption (FHE), reviews their advantages, limitations, and open-source implementations, and reports benchmarking results for machine learning operations and models. It concludes that, in the current state of the art, FHE outperforms SMPC for regressions, may be faster for simple dense networks using GPUs or hybrid models, and that SMPC shows superior performance for complex models such as CNNs.
Significance. If the benchmarking results hold under scrutiny, the paper offers pragmatic, technology-agnostic guidance for practitioners selecting between SMPC and FHE for secure ML, filling a gap between purely theoretical comparisons and single-technology studies while encouraging more reproducible evaluations in the field.
major comments (2)
- [Benchmarking results] Benchmarking results section: The experimental setup lacks essential details including hardware specifications (CPU/GPU models and configurations), exact software library versions and build options, number of repetitions for runtime measurements, statistical methods for reporting averages or significance, and any data exclusion rules. Without these, the central empirical claims (FHE faster for regressions; SMPC faster for CNNs) cannot be independently verified or distinguished from implementation artifacts.
- [Results and discussion] Results discussion: The performance ordering is presented as observations on the state of the art, yet the paper provides no justification that the chosen frameworks, model implementations, and tuning choices are representative or equivalently optimized across SMPC and FHE. This leaves open the possibility that the reported advantages reflect specific library maturity rather than intrinsic properties of the cryptographic paradigms, directly affecting the reliability of the practitioner guidance.
minor comments (2)
- [Abstract] Abstract: The scope of the 'extensive benchmarking' (specific operations, model architectures, and input sizes tested) could be stated more explicitly to help readers assess the generalizability of the conclusions.
- [Theoretical summary] Theoretical comparison: Some protocol descriptions would benefit from explicit cross-references to the open-source implementations discussed later, to better connect theory with the subsequent benchmarks.
Simulated Author's Rebuttal
We thank the referee for their constructive and detailed feedback. The comments highlight important aspects of reproducibility and the interpretation of our pragmatic comparison. We address each major comment below and have revised the manuscript to strengthen these areas.
read point-by-point responses
-
Referee: Benchmarking results section: The experimental setup lacks essential details including hardware specifications (CPU/GPU models and configurations), exact software library versions and build options, number of repetitions for runtime measurements, statistical methods for reporting averages or significance, and any data exclusion rules. Without these, the central empirical claims (FHE faster for regressions; SMPC faster for CNNs) cannot be independently verified or distinguished from implementation artifacts.
Authors: We agree that additional details are necessary for full reproducibility. In the revised manuscript we have expanded the experimental setup subsection to specify the exact hardware (Intel Xeon Gold 6248R CPU and NVIDIA A100 GPU configurations with memory and core counts), precise library versions and build flags (e.g., TenSEAL 0.3.0 compiled with SEAL 3.7, MP-SPDZ commit hash, PyTorch 2.1 with CUDA 11.8), the number of repetitions (ten independent runs per benchmark), the statistical reporting method (arithmetic mean with standard deviation), and confirmation that no measurements were excluded. These additions directly support independent verification of the reported performance ordering. revision: yes
-
Referee: Results discussion: The performance ordering is presented as observations on the state of the art, yet the paper provides no justification that the chosen frameworks, model implementations, and tuning choices are representative or equivalently optimized across SMPC and FHE. This leaves open the possibility that the reported advantages reflect specific library maturity rather than intrinsic properties of the cryptographic paradigms, directly affecting the reliability of the practitioner guidance.
Authors: We have revised the results and discussion sections to include explicit justification for framework selection. We now state that the libraries were chosen as the most mature, actively maintained open-source implementations available for each paradigm at the time of the study, reflecting what a typical practitioner would encounter. We acknowledge that the observed ordering may partly reflect differences in library maturity and optimization effort rather than purely intrinsic properties, and we have added a dedicated paragraph discussing this limitation together with a call for future community-driven standardized benchmarks. This framing preserves the pragmatic, technology-agnostic guidance while clarifying its scope. revision: yes
Circularity Check
No circularity; claims rest on direct empirical measurements without derivations or self-referential reductions
full rationale
The paper consists of a theoretical summary of SMPC and FHE paradigms plus runtime benchmarks on open-source libraries for ML operations. No equations, fitted parameters, predictions derived from inputs, or self-citation chains appear in the provided text. Performance orderings (FHE for regressions, SMPC for CNNs) are presented as observations from measurements rather than constructed from prior results by the authors. The analysis is therefore self-contained against external benchmarks with no load-bearing step that reduces to its own inputs by definition.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Marcus Taubert and Adam Skuta and Thomas Lorunser , title =. 2026 , booktitle =
work page 2026
-
[2]
Marcus Taubert and Adam Skuta and Thomas Lorünser , title=. Proceedings of the 12th International Conference on Information Systems Security and Privacy - Volume 2: ICISSP , year=. doi:10.5220/0014567700004061 , isbn=
-
[3]
Keller, Marcel , month = nov, year =. SIGSAC. doi:10.1145/3372297.3417872 , urldate =
-
[4]
PUMA: secure inference of llama-7b in five minutes
Dong, Ye and Lu, Wen-jie and Zheng, Yancheng and Wu, Haoqi and Zhao, Derun and Tan, Jin and Huang, Zhicong and Hong, Cheng and Wei, Tao and Chen, Wenguang , month = sep, year =. doi:10.48550/arXiv.2307.12533 , abstract =
-
[5]
Watermarking Graph Neural Networks based on Backdoor Attacks
Akimoto, Yoshimasa and Fukuchi, Kazuto and Akimoto, Youhei and Sakuma, Jun , month = jul, year =. Privformer:. 2023. doi:10.1109/EuroSP57164.2023.00031 , abstract =
-
[6]
Luo, Jinglong and Chen, Guanzhong and et al. , month = dec, year =. Centaur:. doi:10.48550/arXiv.2412.10652 , urldate =
-
[7]
Fauzi, Prastudy and Hovd, Martha Norberg and Raddum, Håvard , TITLE =. Cryptography , VOLUME =. 2022 , NUMBER =
work page 2022
- [8]
- [9]
-
[10]
Ilaria Chillotti and Nicolas Gama and Mariya Georgieva and Malika Izabachène , title =. 2018 , url =
work page 2018
-
[11]
Faster Bootstrapping With Multiple Addends , year=
Zhou, Tanping and Yang, Xiaoyuan and Liu, Longfei and Zhang, Wei and Li, Ningbo , journal=. Faster Bootstrapping With Multiple Addends , year=
- [12]
- [13]
-
[14]
Modjtaba Gharibyar and Clemens Krüger and Dominik Schoop , title=. Proceedings of the 11th International Conference on Information Systems Security and Privacy - Volume 2: ICISSP , year=. doi:10.5220/0013144800003899 , isbn=
- [15]
-
[16]
Jung Hee Cheon and Andrey Kim and Miran Kim and Yongsoo Song , title =. 2016 , url =
work page 2016
-
[17]
Zvika Brakerski and Craig Gentry and Vinod Vaikuntanathan , title =. 2011 , url =
work page 2011
-
[18]
HEIR: A Universal Compiler for Homomorphic Encryption , author=. 2025 , eprint=
work page 2025
- [19]
-
[20]
Join the FHE.org community , year =
- [21]
-
[22]
Deep Residual Learning for Image Recognition , author=. 2015 , eprint=
work page 2015
-
[23]
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices , author=. 2018 , eprint=
work page 2018
-
[24]
GhostFaceNets: Lightweight Face Recognition Model From Cheap Operations , year=
Alansari, Mohamad and Hay, Oussama Abdul and Javed, Sajid and Shoufan, Abdulhadi and Zweiri, Yahya and Werghi, Naoufel , journal=. GhostFaceNets: Lightweight Face Recognition Model From Cheap Operations , year=
-
[25]
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale , author=. 2021 , eprint=
work page 2021
-
[26]
CvT: Introducing Convolutions to Vision Transformers , author=. 2021 , eprint=
work page 2021
-
[27]
Random Forest – H2O Wiki , year =
- [28]
- [29]
-
[30]
Baiyu Li and Daniele Micciancio and Mark Schultz and Jessica Sorrell , title =. 2022 , url =
work page 2022
- [31]
- [32]
-
[33]
Franco, Giuseppe and Pappalardo, Alessandro and Fraser, Nicholas J , title =. 2025 , publisher =. doi:10.5281/zenodo.3333552 , url =
-
[34]
Albert Danial , title =. doi:10.5281/zenodo.5760077 , url =
-
[35]
FHEBench: Benchmarking Fully Homomorphic Encryption Schemes , author=. 2022 , eprint=
work page 2022
-
[36]
Faneela and Jawad Ahmad and Baraq Ghaleb and Sana Ullah Jan and William J Buchanan , title =. 2025 , url =
work page 2025
-
[37]
B PRADEEP KUMAR REDDY and SAMEEKSHA GOYAL and RUCHIKA MEEL and Ayantika Chatterjee , title =. 2025 , url =
work page 2025
-
[38]
Orion: A Fully Homomorphic Encryption Framework for Deep Learning , author=. 2025 , eprint=
work page 2025
-
[39]
Craig Gentry , title =
-
[40]
Zvika Brakerski and Offir Friedman and Avichai Marmor and Dolev Mutzari and Yuval Spiizer and Ni Trieu , title =. 2025 , url =
work page 2025
- [41]
- [42]
-
[43]
Arbitrary-Threshold Fully Homomorphic Encryption with Lower Complexity , author=. 2025 , eprint=
work page 2025
-
[44]
Adriana Lopez-Alt and Eran Tromer and Vinod Vaikuntanathan , title =. 2013 , url =
work page 2013
- [45]
-
[46]
Tanping Zhou and Long Chen and Xiaoliang Che and Wenchao Liu and Zhenfeng Zhang and Xiaoyuan Yang , title =. 2021 , url =
work page 2021
-
[47]
Jeongeun Park and Barry Van Leeuwen and Oliver Zajonc , title =. 2024 , doi =
work page 2024
-
[48]
Robin Jadoul and Barry van Leeuwen and Oliver Zajonc , title =. 2025 , url =
work page 2025
-
[49]
A pragmatic introduction to secure multi-party computation , author=. Foundations and Trends. 2018 , publisher=
work page 2018
-
[50]
Crypten: Secure multi-party computation meets machine learning,
Knott, Brian and Venkataraman, Shobha and Hannun, Awni and Sengupta, Shubho and Ibrahim, Mark and Maaten, Laurens van der , month = sep, year =. doi:10.48550/arXiv.2109.00984 , urldate =
- [51]
-
[52]
Protecting Privacy in Federated Time Series Analysis:
Daniel Bachlechner and Ruben Helmut Hetfleisch and Stephan Krenn and Thomas Lor. Protecting Privacy in Federated Time Series Analysis:. CLOSER 2025, Porto, Portugal, April 1-3, 2025 , pages =. 2025 , url =. doi:10.5220/0013356100003950 , timestamp =
-
[53]
Secure Computation and Trustless Data Intermediaries in Data Spaces , journal =
Christoph Fabianek and Stephan Krenn and Thomas Lor. Secure Computation and Trustless Data Intermediaries in Data Spaces , journal =. 2024 , url =. doi:10.48550/ARXIV.2410.16442 , eprinttype =. 2410.16442 , timestamp =
-
[54]
Skuta, Adam and Steurer, Philipp and Hegenbart, Sebastian and Hoch, Ralph and Loruenser, Thomas , TITLE =. Machines , VOLUME =. 2025 , NUMBER =
work page 2025
-
[55]
Noah, Asher and Okunola, Abiodun , year =
-
[56]
Chadhar, Muhammed and Oladele, Sunday and Rouf, Abdur , year =
-
[57]
Comparison of Fully Homomorphic Encryption and Garbled Circuit Techniques in Privacy-Preserving Machine Learning Inference , author=. 2025 , eprint=
work page 2025
-
[58]
TFHE-rs Benchmarks , year =
-
[59]
MOZAIK: A Privacy-Preserving Analytics Platform for IoT Data Using MPC and FHE , author=. 2026 , eprint=
work page 2026
-
[60]
Albrecht and Rachel Player and Sam Scott , title =
Martin R. Albrecht and Rachel Player and Sam Scott , title =. 2015 , url =
work page 2015
-
[61]
Mohassel, Payman and Rindal, Peter , year =
- [62]
-
[63]
Deokhwa Hong and Young-Sik Kim and Yongwoo Lee and Eunyoung Seo , title =. 2024 , url =
work page 2024
-
[64]
Martin Albrecht and Melissa Chase and Hao Chen and Jintai Ding and Shafi Goldwasser and Sergey Gorbunov and Shai Halevi and Jeffrey Hoffstein and Kim Laine and Kristin Lauter and Satya Lokam and Daniele Micciancio and Dustin Moody and Travis Morrison and Amit Sahai and Vinod Vaikuntanathan , title =. 2018 , month =
work page 2018
-
[65]
Kanda, R. and Onizawa, N. and Leonardon, M. and Gripon, V. and Hanyu, T. , year=. Design Environment of Quantization-Aware Edge AI Hardware for Few-Shot Learning , url=. doi:10.1109/mwscas60917.2024.10658789 , booktitle=
-
[66]
Benchmarking Quantized Neural Networks on FPGAs with FINN , author=. 2021 , eprint=
work page 2021
-
[67]
Incremental Network Quantization: Towards Lossless CNNs with Low-Precision Weights , author=. 2017 , eprint=
work page 2017
-
[68]
PyTorch: An Imperative Style, High-Performance Deep Learning Library , author=. 2019 , eprint=
work page 2019
-
[69]
ONNX Authors , title =
-
[70]
Practical Solutions in Fully Homomorphic Encryption -- A Survey Analyzing Existing Acceleration Methods , author=. 2023 , eprint=
work page 2023
-
[71]
International Conference on Theory and Practice of Public Key Cryptography , year=
Chosen-Ciphertext Secure Fully Homomorphic Encryption , author=. International Conference on Theory and Practice of Public Key Cryptography , year=
-
[72]
Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security , pages =
Fiore, Dario and Gennaro, Rosario and Pastro, Valerio , title =. Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security , pages =. 2014 , isbn =. doi:10.1145/2660267.2660366 , abstract =
-
[73]
Deepika Natarajan and Andrew Loveless and Wei Dai and Ronald Dreslinski , title =. 2021 , url =
work page 2021
- [74]
-
[75]
vFHE: Verifiable Fully Homomorphic Encryption with Blind Hash , author=. 2023 , eprint=
work page 2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.