SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute
Bowen Shen, Yuyue Chen, Peng Yang, Bin Zhang, Xi Zhang, Zoe L. Jiang
摘要
Privacy-preserving Transformer inference has gained attention due to the potential leakage of private information. Despite recent progress, existing frameworks still fall short of practical model scales, with gaps up to a hundredfold. A possible way to close this gap is the Mixture of Experts (MoE) architecture, which has emerged as a promising technique to scale up model capacity with minimal overhead. However, given that the current secure two-party (2-PC) protocols allow the server to homomorphically compute the FFN layer with its plaintext model weight, under the MoE setting, this could reveal which expert is activated to the server, exposing token-level privacy about the client's input. While naively evaluating all the experts before selection could protect privacy, it nullifies MoE sparsity and incurs the heavy computational overhead that sparse MoE seeks to avoid. To address the privacy and efficiency limitations above, we propose a 2-PC privacy-preserving inference framework, SecMoE. Unifying per-entry circuits in both the MoE layer and piecewise polynomial functions, SecMoE obliviously selects the extracted parameters from circuits and only computes one encrypted entry, which we refer to as Select-Then-Compute. This makes the model for private inference scale to 63× larger while only having a 15.2× increase in end-to-end runtime. Extensive experiments show that, under 5 expert settings, SecMoE lowers the end-to-end private inference communication by 1.8 7.1× and achieves 1.3 3.8× speedup compared to the state-of-the-art (SOTA) protocols.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
它引用的 Paper14
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
相关 Paper
- CryptoMoE: Privacy-Preserving and Scalable Mixture of Experts Inference via Balanced Expert RoutingYifan Zhou, Tianshi Xu, Jue Hong, Ye Wu 等NeurIPS 2025 · 4 次引用
- CipherPrune: Efficient and Scalable Private Transformer InferenceYancheng Zhang, Jiaqi Xue, Mengxin Zheng, Mimi Xie 等ICLR 2025
- XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
- HookMoE: A learnable performance compensation strategy of Mixture-of-Experts for LLM inference accelerationLongkai Cheng, Along He, Mulin Li, Xueshuo Xie 等EMNLP 2025
- Exploiting Activation Sparsity with Dense to Dynamic-k Mixture-of-Experts ConversionFilip Szatkowski, Bartosz Wójcik, Mikolaj Piórczynski, Simone ScardapaneNeurIPS 2024 · 19 次引用
