East: Efficient and Accurate Secure Transformer Framework for Inference
Not on the map. Why?
Abstract (arXiv)
Transformer has been successfully used in practical applications, such as ChatGPT, due to its powerful advantages. However, users' input is leaked to the model provider during the service. With people's attention to privacy, privacy-preserving Transformer inference is on the demand of such services. Secure protocols for non-linear functions are crucial in privacy-preserving Transformer inference, which are not well studied. Thus, designing practical secure protocols for non-linear functions is hard but significant to model performance. In this work, we propose a framework East to enable efficient and accurate secure Transformer inference. Firstly, we propose a new oblivious piecewise polynomial evaluation algorithm and apply it to the activation functions, which reduces the runtime and communication of GELU by over 1.5× and 2.5×, compared to prior arts. Secondly, the secure protocols for softmax and layer normalization are carefully designed to faithfully maintain the desired functionality. Thirdly, several optimizations are conducted in detail to enhance the overall efficiency. We applied East to BERT and the results show that the inference accuracy remains consistent with the plaintext inference without fine-tuning. Compared to Iron, we achieve about 1.8× lower communication within 1.2× lower runtime.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 15 of its 34 references that are in the map. First posted on arXiv 19 Aug 2023.
Builds on
15 of 34 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
- 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
- 2018Chameleon: A Hybrid Secure Computation Framework for Machine Learning Applicationscited by 67
- 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 57
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2021SIRNN: A Math Library for Secure RNN Inferencecited by 28
- 2023LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformerscited by 22
3 more
Built on by
Citing papers per year: 2023: 2; 2024: 3; 2025: 3; 2026: 1.
9 papers.
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2023Grounding Foundation Models through Federated Transfer Learning: A General Frameworkcited by 24
- 2024No Free Lunch Theorem for Privacy-Preserving LLM Inferencecited by 13
- 2024Power-Softmax: Towards Secure LLM Inference over Encrypted Datacited by 7
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
- 2025Private Transformer Inference in MLaaS: A Surveycited by 2
- 2024TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computingcited by 0
- 2025Comparison of Fully Homomorphic Encryption and Garbled Circuit Techniques in Privacy-Preserving Machine Learning Inferencecited by 0
- 2026Private Vertical Federated Inference for Time-Seriescited by 0
- 2026Private Vertical Federated Inference for Time-Series8 May 2026
- 2025Comparison of Fully Homomorphic Encryption and Garbled Circuit Techniques in Privacy-Preserving Machine Learning Inference8 Oct 2025
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliance22 May 2025
- 2025Private Transformer Inference in MLaaS: A Survey15 May 2025
- 2024Power-Softmax: Towards Secure LLM Inference over Encrypted Data12 Oct 2024
- 2024TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing12 Jul 2024
- 2024No Free Lunch Theorem for Privacy-Preserving LLM Inference31 May 2024
- 2023Grounding Foundation Models through Federated Transfer Learning: A General Framework29 Nov 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023