A New PPML Paradigm for Quantized Models
摘要
—Model quantization has become a common practice in machine learning (ML) to improve efficiency and reduce computational/communicational overhead. However, adopting quantization in privacy-preserving machine learning (PPML) remains challenging due to the complex internal structure of quantized operators, which leads to inefficient protocols under the existing PPML frameworks. In this work, we propose a new PPML paradigm that is tailor-made for and can benefit from quantized models. Our main observation is that lookup tables can ignore the complex internal constructs of any functions which can be used to simplify the quantized operator evaluation. We view the model inference process as a sequence of quantized operators, and each operator is implemented by a lookup table. We then develop an efficient private lookup table evaluation protocol, and its online communication cost is only log n , where n is the size of the lookup table. On a single CPU core, our protocol can evaluate 2 26 tables with 8-bit input and 8-bit output per second. The resulting PPML framework for quantized models offers extremely fast online performance. The experimental results demonstrate that our quantization strategy achieves substantial speedups over SOTA PPML solutions, improving the online performance by 40 ∼ 60 × w.r.t. convolutional neural network (CNN) models, such as AlexNet, VGG16, and ResNet18, and by 10 ∼ 25 × w.r.t. large language models (LLMs), such as GPT-2, GPT-Neo, and Llama2.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MPCache: MPC-Friendly KV Cache Eviction for Efficient Private LLM Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- XONN: XNOR-based Oblivious Deep Neural Network Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- XONN: XNOR-based Oblivious Deep Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 XONN: XNOR-based Oblivious Deep Neural Network Inference
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 MASCOT: Faster Malicious Arithmetic Secure Computation with Oblivious Transfer
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Sok: Private Transformer-based Model Inference 引用了 MPCache: MPC-Friendly KV Cache Eviction for Efficient Private LLM Inference
- Sok: Private Transformer-based Model Inference 引用了 XONN: XNOR-based Oblivious Deep Neural Network Inference
- Sok: Private Transformer-based Model Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- Sok: Private Transformer-based Model Inference 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
- Sok: Private Transformer-based Model Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
引用它的顶会 Paper3
- MPCache: MPC-Friendly KV Cache Eviction for Efficient Private LLM InferenceWenxuan Zeng, Ye Dong, Jinjin Zhou, Jin Tan 等NeurIPS 2025 · 4 次引用
- Sort, Sweep, Mirror: Batch Private Interval Lookup with Logarithmic CostAndes Y. L. Kei, Lucien K. L. Ng, Jack P. K. Ma, Sherman S. M. ChowS&P 2026 · 2 次引用
- Sok: Private Transformer-based Model InferenceYuntian Chen, Tianpei Lu, Zhanyong Tang, Bingsheng Zhang 等USENIX Security 2026
它引用的 Paper34
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 次引用
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
- MASCOT: Faster Malicious Arithmetic Secure Computation with Oblivious TransferMarcel Keller, Emmanuela Orsini, Peter SchollCCS 2016 · 487 次引用
- XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine 等USENIX Security 2019 · 314 次引用
相关 Paper
- FastQuery: Communication-efficient Embedding Table Query for Private LLMs inferenceChenqi Lin, Tianshi Xu, Zebin Yang, Runsheng Wang 等DAC 2024
- Preprocessed Private Function Evaluation: Achieving Sublinear Online Complexity for Lookup TablesTanping Zhou, Xiaoyi Wang, Yi Qu, Wenchao Liu 等CCS 2026
- MD-ML: Super Fast Privacy-Preserving Machine Learning for Malicious Security with a Dishonest MajorityBoshi Yuan, Shixuan Yang, Yongxiang Zhang, Ning Ding 等USENIX Security 2024 · 22 次引用
- Fast Matrix Multiplications for Lookup Table-Quantized LLMsHan Guo, William Brandon, Radostin Cholakov, Jonathan Ragan-Kelley 等EMNLP Findings 2024 · 5 次引用
- Privacy-Preserving Embedding via Look-up Table Evaluation with Fully Homomorphic EncryptionJaeyun Kim, Saerom Park, Joohee Lee, Jung Hee CheonICML 2024 · 5 次引用
