Paper 2025/1551

M&M: Secure Two-Party Machine Learning through Efficient Modulus Conversion and Mixed-Mode Protocols

Ye Dong, National University of Singapore
Wen-jie Lu, Zhejiang University
Xiaoyang Hou
Kang Yang, State Key Laboratory of Cryptology
Jian Liu, Zhejiang University
Abstract

Secure two-party machine learning has made substantial progress through the use of mixed-mode protocols. Despite these advancements, existing approaches often suffer from efficiency bottlenecks due to the inherent mismatch between the optimal domains of various cryptographic primitives, such as Homomorphic Encryption and Oblivious Transfer. In response to these challenges, we introduce the \tNAME{} framework, which features an efficient modulus conversion protocol. This breakthrough enables seamless integration of the most suitable cryptographic subprotocols within their optimal modulus domains, allowing linear computations to be executed over a prime modulus and nonlinear computations over a two-power modulus, with a minimal modulus conversion overhead. We further establish new benchmarks for the performance of fundamental primitives, namely comparison and multiplication, across various two-party techniques, together with our practical optimizations to improve efficiency. By incorporating these techniques, \tNAME{} demonstrates significant performance enhancements over state-of-the-art solutions: \romannumeral1) we report a $6\times$-$100\times$ improvement for approximated truncations with 1-bit error tolerance; \romannumeral2) an average of $5\times$ (resp. $4\times$) reduction in communication (resp. runtime) for machine learning functions; \romannumeral3) and a 25\%-99\% improvement in cost-efficiency for private inference of deep neural networks and 50\% improvement in private training of gradient boosting decision trees.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Secure Two-Party ComputationPrivacy-Preserving Machine LearningMixed-Mode Protocols
Contact author(s)
dongye @ nus edu sg
fionser @ gmail com
xiaoyanghou @ zju edu cn
yangk @ sklc org
liujian2411 @ zju edu cn
History
2025-09-10: revised
2025-08-29: received
See all versions
Short URL
https://ia.cr/2025/1551
License
Creative Commons Attribution-NonCommercial-ShareAlike
CC BY-NC-SA

BibTeX

@misc{cryptoeprint:2025/1551,
      author = {Ye Dong and Wen-jie Lu and Xiaoyang Hou and Kang Yang and Jian Liu},
      title = {M&M: Secure Two-Party Machine Learning through Efficient Modulus Conversion and Mixed-Mode Protocols},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1551},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1551}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.