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

Dong Ye, Wenjie Lu, Xiaoyang Hou, Kang Yang, Jian LiuIEEE TDSC 2025

Abstract

Secure two-party machine learning has made substantial progress through the use of mixed-mode protocols, but existing approaches often suffer from efficiency bottlenecks due to inherent mismatch between optimal domains of various cryptographic primitives. In response to these challenges, we introduce framework M&M, which features an efficient modulus conversion protocol. This breakthrough enables seamless integration of the most suitable cryptographic subprotocols within their optimal modulus domains with a minimal modulus conversion overhead. We further establish new benchmarks and practical optimizations for the performance of fundamental primitives, namely comparison and multiplication, across various two-party techniques.By incorporating these techniques, M&M demonstrates significant performance enhancements over state-of-the-art solutions: i) we report a <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$6\times$</tex-math></inline-formula>-<inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$100\times$</tex-math></inline-formula> improvement for approximated truncations with 1-bit error tolerance; ii) an average of <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$5\times$</tex-math></inline-formula> (resp. <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$4\times$</tex-math></inline-formula>) reduction in communication (resp. runtime) for machine learning functions; iii) 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.
BibTeX
@article{ye2025m,
  author = {Dong Ye and Wenjie Lu and Xiaoyang Hou and Kang Yang and Jian Liu},
  title = {{M\&amp;M: Secure Two-Party Machine Learning Through Modulus Conversion and Mixed-Mode Protocols}},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  year = {2025},
  doi = {10.1109/tdsc.2025.3643323},
}

Loading related content...

Figure