Lune

CCS2025顶会

THOR: Secure Transformer Inference with Homomorphic Encryption

Jungho Moon, Dongwoo Yoo, Xiaoqian Jiang, Miran Kim

摘要

As large language models are increasingly deployed in cloud environments, privacy concerns have become a significant issue. To address this challenge, we present THOR, a non-interactive framework for secure transformer inference using homomorphic encryption. We first propose efficient matrix multiplication algorithms based on diagonal-major encoding and compact ciphertext packing. We extend these basic algorithms to support plaintext-ciphertext matrix multiplication (PC-MM) using parallel submatrix computation and ciphertext-ciphertext multiplication (CC-MM) with a baby-step giant-step strategy. We also design efficient evaluation strategies for non-linear functions such as softmax, LayerNorm, GELU, and Tanh, by integrating advanced approximation techniques with adaptive iterative methods. Our matrix multiplication algorithms outperform state-of-the-art methods, achieving up to 5.3X speedup in PC-MM for ℝ 768 X 768 X ℝ768X128 over BOLT (Pang et al., IEEE S&P 2024) and 9.7X in CC-MM for 12X (ℝ64X128 X ℝ128X128) over Powerformer (Park et al., Preprint). THOR enables secure inference on the BERT-base model with 128 tokens in 10 minutes on a single GPU, while maintaining comparable accuracy on GLUE tasks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
  • Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption 引用了 Secure Outsourced Matrix Computation and Application to Neural Networks
  • Iron: Private Inference on Transformers 引用了 Secure Outsourced Matrix Computation and Application to Neural Networks
  • Iron: Private Inference on Transformers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference 引用了 Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption
  • MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
  • Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic Encryption 引用了 Iron: Private Inference on Transformers
  • Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic Encryption 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
  • Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic Encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Hyperion: Private Token Sampling with Homomorphic Encryption 引用了 Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic Encryption
  • Hyperion: Private Token Sampling with Homomorphic Encryption 引用了 MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 Iron: Private Inference on Transformers
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 Secure Outsourced Matrix Computation and Application to Neural Networks
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 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
  • CryptoMoE: Privacy-Preserving and Scalable Mixture of Experts Inference via Balanced Expert Routing 引用了 Iron: Private Inference on Transformers
  • CryptoMoE: Privacy-Preserving and Scalable Mixture of Experts Inference via Balanced Expert Routing 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
  • CryptoMoE: Privacy-Preserving and Scalable Mixture of Experts Inference via Balanced Expert Routing 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. MOAI: Module-Optimizing Architecture for Non-Interactive Secure Transformer InferenceLinru Zhang, Xiangning Wang, Sim Jun Jie, Zhicong Huang 等ICLR 2026 · 24 次引用
  2. Powerformer: Efficient and High-Accuracy Privacy-Preserving Language Model with Homomorphic EncryptionDongjin Park, Eunsang Lee, Joon-Woo LeeACL 2025 · 13 次引用
  3. CryptoMoE: Privacy-Preserving and Scalable Mixture of Experts Inference via Balanced Expert RoutingYifan Zhou, Tianshi Xu, Jue Hong, Ye Wu 等NeurIPS 2025 · 4 次引用
  4. Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic EncryptionEdward Chen, Fraser Brown, Wenting ZhengUSENIX Security 2026 · 3 次引用
  5. Hyperion: Private Token Sampling with Homomorphic EncryptionLawrence Lim, Jiaming Liu, Vikas Kalagi, Divyakant Agrawal 等ACL 2026 · 1 次引用

它引用的 Paper10

  1. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
  2. Secure Outsourced Matrix Computation and Application to Neural NetworksXiaoqian Jiang, Miran Kim, Kristin E. Lauter, Yongsoo SongCCS 2018 · 359 次引用
  3. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
  4. On the Security of Homomorphic Encryption on Approximate NumbersBaiyu Li, Daniele MicciancioEUROCRYPT 2021 · 165 次引用
  5. BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng 等S&P 2024 · 149 次引用

相关 Paper

  1. Tricycle: Private Transformer Inference with Tricyclic EncodingsLawrence Lim, Vikas Kalagi, Julia Novick, Jiaming Liu 等CCS 2026 · 10 次引用
  2. Breaking the Layer Barrier: Remodeling Private Transformer Inference with Hybrid CKKS and MPCTianshi Xu, Wen-jie Lu, Jiangrui Yu, Yi Chen 等USENIX Security 2025
  3. THE-X: Privacy-Preserving Transformer Inference with Homomorphic EncryptionTianyu Chen, Hangbo Bao, Shaohan Huang, Li Dong 等ACL Findings 2022 · 86 次引用
  4. SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPCJinglong Luo, Yehong Zhang, Zhuo Zhang, Jiaqi Zhang 等ACL Findings 2024 · 23 次引用
  5. Mosformer: Maliciously Secure Three-Party Inference Framework for Large TransformersKe Cheng, Yuheng Xia, Anxiao Song, Jiaxuan Fu 等CCS 2025
黄昏的海面,两侧是细线勾勒的悬崖