Paper 2025/1315

NetAdapt: Network-Adaptive Hybrid Protocol Assignment for PPML

Yuntian Chen
Tianpei Lu
Zhanyong Tang
Bingsheng Zhang
Zhiyuan Ning
Zhiying Shi
Kui Ren
Abstract

The widespread use of machine learning on sensitive data makes Privacy-Preserving Machine Learning (PPML) essential for data confidentiality. Current state-of-the-art PPML systems employ hybrid protocol designs to evaluate various operators to achieve better performance; yet, existing hybrid approaches adopt fixed protocol assignments without considering the deployment setting, resulting in inefficiencies across diverse network environments, such as LANs and WANs. To address this, we introduce NetAdapt, a cost-model-driven framework that automatically assigns FHE and MPC protocols to optimize inference efficiency under varying network conditions, by designing a predictive cost model based on the dialect of the Multi-Level Intermediate Representation (MLIR)’s Tensor Operator Set Architecture (TOSA), and an ILP-based solver for managing the cross-protocol conversion while dynamically updating FHE costs based on homomorphic multiplication depth. Experimental results demonstrate that NetAdapt delivers $6.68\times$ to $12.92\times$ improvements in inference running time compared to state-of-the-art solutions, allowing network-agnostic PPML.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Privacy-Preserving Machine LearningSecure Multi-Party ComputationFully Homomorphic EncryptionCost Modeling.
Contact author(s)
chenyt_x @ 163 com
lutianpei @ zju edu cn
zytang @ nwu edu cn
bingsheng @ zju edu cn
ningzhiyuan @ stumail nwu edu cn
shizhiying @ stumail nwu edu cn
kuiren @ zju edu cn
History
2026-09-10: revised
2025-07-18: received
See all versions
Short URL
https://ia.cr/2025/1315
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1315,
      author = {Yuntian Chen and Tianpei Lu and Zhanyong Tang and Bingsheng Zhang and Zhiyuan Ning and Zhiying Shi and Kui Ren},
      title = {{NetAdapt}: Network-Adaptive Hybrid Protocol Assignment for {PPML}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1315},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1315}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.