CipherPrune: Efficient and Scalable Private Transformer Inference
Not on the map. Why?
Abstract (arXiv)
Private Transformer inference using cryptographic protocols offers promising solutions for privacy-preserving machine learning; however, it still faces significant runtime overhead (efficiency issues) and challenges in handling long-token inputs (scalability issues). We observe that the Transformer's operational complexity scales quadratically with the number of input tokens, making it essential to reduce the input token length. Notably, each token varies in importance, and many inputs contain redundant tokens. Additionally, prior private inference methods that rely on high-degree polynomial approximations for non-linear activations are computationally expensive. Therefore, reducing the polynomial degree for less important tokens can significantly accelerate private inference. Building on these observations, we propose textitCipherPrune, an efficient and scalable private inference framework that includes a secure encrypted token pruning protocol, a polynomial reduction protocol, and corresponding Transformer network optimizations. At the protocol level, encrypted token pruning adaptively removes unimportant tokens from encrypted inputs in a progressive, layer-wise manner. Additionally, encrypted polynomial reduction assigns lower-degree polynomials to less important tokens after pruning, enhancing efficiency without decryption. At the network level, we introduce protocol-aware network optimization via a gradient-based search to maximize pruning thresholds and polynomial reduction conditions while maintaining the desired accuracy. Our experiments demonstrate that CipherPrune reduces the execution overhead of private Transformer inference by approximately 6.1× for 128-token inputs and 10.6× for 512-token inputs, compared to previous methods, with only a marginal drop in accuracy. The code is publicly available at https://github.com/UCF-Lou-Lab-PET/cipher-prune-inference.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 30 of its 52 references that are in the map. First posted on arXiv 24 Feb 2025.
Builds on
30 of 52 references.
References · 30
- 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
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
- 2021Learned Token Pruning for Transformerscited by 139
- 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
- 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
- 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 57
18 more
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2019SHE: A Fast and Accurate Deep Neural Network for Encrypted Datacited by 36
- 2022TrojViT: Trojan Insertion in Vision Transformerscited by 31
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 31
- 2019Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted Datacited by 28
- 2021SIRNN: A Math Library for Secure RNN Inferencecited by 28
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20
- 2023Primer: Fast Private Transformer Inference on Encrypted Datacited by 20
- 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
- 2022Exploiting Data Sparsity in Secure Cross-Platform Social Recommendationcited by 17
- 2024freePruner: A Training-free Approach for Large Multimodal Model Accelerationcited by 8
- 2024PrivCirNet: Efficient Private Inference via Block Circulant Transformationcited by 7
- 2024BoostCom: Towards Efficient Universal Fully Homomorphic Encryption by Boosting the Word-wise Comparisonscited by 4
- 2024Trinity: A General Purpose FHE Acceleratorcited by 4
- 2024DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Datacited by 4
- 2022MATCHA: A Fast and Energy-Efficient Accelerator for Fully Homomorphic Encryption over the Toruscited by 3
- 2024CryptoTrain: Fast Secure Training on Encrypted Datasetcited by 3
- 2024OFHE: An Electro-Optical Accelerator for Discretized TFHEcited by 2
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025Trusted AI Agents in the Cloudcited by 6
- 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generationcited by 4
- 2025Securing Transformer-based AI Execution via Unified TEEs and Crypto-protected Acceleratorscited by 2
- 2025DESIGN: Encrypted GNN Inference via Server-Side Input Graph Pruningcited by 1
- 2025Black Box Absorption: LLMs Undermining Innovative Ideascited by 1
- 2025DictPFL: Efficient and Private Federated Learning on Encrypted Gradientscited by 1
- 2026Steerability of Instrumental-Convergence Tendencies in LLMscited by 1
- 2026RobPI: Robust Private Inference against Malicious Clientcited by 0
- 2026DegreeSpar: Structured Degree Sparsity for Efficient Secure Transformer Inferencecited by 0
- 2026A Graph-Based Analysis of Comparability, Scale, and Attribution in Private Transformer Inferencecited by 0
- 2026A Graph-Based Analysis of Comparability, Scale, and Attribution in Private Transformer Inference14 Oct 2026
- 2026DegreeSpar: Structured Degree Sparsity for Efficient Secure Transformer Inference26 Sep 2026
- 2026RobPI: Robust Private Inference against Malicious Client23 Feb 2026
- 2026Steerability of Instrumental-Convergence Tendencies in LLMs4 Jan 2026
- 2025Trusted AI Agents in the Cloud5 Dec 2025
- 2025DictPFL: Efficient and Private Federated Learning on Encrypted Gradients24 Oct 2025
- 2025Black Box Absorption: LLMs Undermining Innovative Ideas23 Oct 2025
- 2025DESIGN: Encrypted GNN Inference via Server-Side Input Graph Pruning8 Jul 2025
- 2025Securing Transformer-based AI Execution via Unified TEEs and Crypto-protected Accelerators4 Jul 2025
- 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generation15 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2026SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute
- 2026SecureRouter: Encrypted Routing for Efficient Secure Inference
- 2025An Efficient Private GPT Never Autoregressively Decodes
- 2024Ditto: Quantization-aware Secure Inference of Transformers upon MPC
- 2026Fiona: Accelerating FHE Inference with Packing-Aware Ternary Weights
- 2024PrivQuant: Communication-Efficient Private Inference with Quantized Network/Protocol Co-Optimization
- 2026Privacy-Aware Split Inference with Speculative Decoding for Large Language Models over Wide-Area Networks
- 2025SecONNds: Secure Outsourced Neural Network Inference on ImageNet