Lune

USENIX Security2025顶会

Breaking the Layer Barrier: Remodeling Private Transformer Inference with Hybrid CKKS and MPC

Tianshi Xu, Wen-jie Lu, Jiangrui Yu, Yi Chen, Chenqi Lin, Runsheng Wang, Meng Li

摘要

This paper presents an efficient framework for private Transformer inference that combines Homomorphic Encryption (HE) and Secure Multi-party Computation (MPC) to protect data privacy. Existing methods often leverage HE for linear layers (e.g., matrix multiplications) and MPC for non-linear layers (e.g., Softmax activation functions), but the conversion between HE and MPC introduces significant communication costs. The proposed framework, dubbed BLB, overcomes this by breaking down layers into fine-grained operators and further fusing adjacent linear operators, reducing the need for HE/MPC conversions. To manage the increased ciphertext bit width from the fused linear operators, BLB proposes the first secure conversion protocol between CKKS and MPC and enables CKKS-based computation of the fused operators. Additionally, BLB proposes an efficient matrix multiplication protocol for fused computation in Transformers. Extensive evaluations on BERT-base, BERT-large, and GPT2-base show that BLB achieves a 21×21\times reduction in communication overhead compared to BOLT (S&P'24) and a 2×2\times reduction compared to Bumblebee (NDSS'25), along with latency reductions of 13×13\times and 1.8×1.8\times, respectively, when leveraging GPU acceleration.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CrypTFlow2: Practical 2-Party Secure Inference 引用了 CrypTFlow: Secure TensorFlow Inference
  • CrypTFlow2: Practical 2-Party Secure Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CrypTFlow2: Practical 2-Party Secure Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function 引用了 CrypTFlow2: Practical 2-Party Secure Inference
  • LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function 引用了 CrypTFlow: Secure TensorFlow Inference
  • LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison Function 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CrypTFlow: Secure TensorFlow Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CrypTFlow: Secure TensorFlow Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • MINIM: Privacy-Aware Minimal View for Agents via Trusted Local Sanitization 引用了 CrypTFlow2: Practical 2-Party Secure Inference
  • ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE Evaluation 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Secure Outsourced Matrix Computation and Application to Neural Networks 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Secure Outsourced Matrix Computation and Application to Neural Networks 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Sok: Private Transformer-based Model Inference 引用了 CrypTFlow2: Practical 2-Party Secure Inference
  • Sok: Private Transformer-based Model Inference 引用了 CrypTFlow: Secure TensorFlow Inference
  • Sok: Private Transformer-based Model Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Sok: Private Transformer-based Model Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Pisces: Cryptography-based Private Retrieval-Augmented Generation with Dual-Path RetrievalXiaojian Liang, Lushan Song, Shishuai Du, Weicheng Zhu 等ICLR 2026
  2. LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison FunctionChenkai Zeng, Qi Feng, Debiao He, Min LuoCCS 2026
  3. MINIM: Privacy-Aware Minimal View for Agents via Trusted Local SanitizationHexuan Yu, Chaoyu Zhang, Heng Jin, Shanghao Shi 等ICML 2026
  4. ROSETTA: Efficient and Accurate Privacy-Preserving LLM Decoding via Hybrid CKKS/TFHE EvaluationJiangrui Yu, Baosheng Zhang, Liang Kong, Lin Ding 等CCS 2026
  5. Sok: Private Transformer-based Model InferenceYuntian Chen, Tianpei Lu, Zhanyong Tang, Bingsheng Zhang 等USENIX Security 2026

它引用的 Paper23

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
  2. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
  3. Secure Outsourced Matrix Computation and Application to Neural NetworksXiaoqian Jiang, Miran Kim, Kristin E. Lauter, Yongsoo SongCCS 2018 · 359 次引用
  4. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
  5. CrypTFlow: Secure TensorFlow InferenceNishant Kumar, Mayank Rathee, Nishanth Chandran, Divya Gupta 等S&P 2020 · 276 次引用

相关 Paper

  1. BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng 等S&P 2024 · 149 次引用
  2. THOR: Secure Transformer Inference with Homomorphic EncryptionJungho Moon, Dongwoo Yoo, Xiaoqian Jiang, Miran KimCCS 2025 · 1 次引用
  3. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
  4. BumbleBee: Secure Two-party Inference Framework for Large TransformersWen-jie Lu, Zhicong Huang, Zhen Gu, Jingyu Li 等NDSS 2025
  5. Mosformer: Maliciously Secure Three-Party Inference Framework for Large TransformersKe Cheng, Yuheng Xia, Anxiao Song, Jiaxuan Fu 等CCS 2025
黄昏的海面,两侧是细线勾勒的悬崖