mlsanityData to 14 Oct 2026

CipherPrune: Efficient and Scalable Private Transformer Inference

arXiv 2502.16782 ↗First posted 24 Feb 2025cs.LG cs.CRcited by 10

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  5. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  6. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  7. 2021Learned Token Pruning for Transformerscited by 139
  8. 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
  9. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  10. 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
  11. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
  12. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 57
18 more
  1. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
  2. 2019SHE: A Fast and Accurate Deep Neural Network for Encrypted Datacited by 36
  3. 2022TrojViT: Trojan Insertion in Vision Transformerscited by 31
  4. 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 31
  5. 2019Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted Datacited by 28
  6. 2021SIRNN: A Math Library for Secure RNN Inferencecited by 28
  7. 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20
  8. 2023Primer: Fast Private Transformer Inference on Encrypted Datacited by 20
  9. 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
  10. 2022Exploiting Data Sparsity in Secure Cross-Platform Social Recommendationcited by 17
  11. 2024freePruner: A Training-free Approach for Large Multimodal Model Accelerationcited by 8
  12. 2024PrivCirNet: Efficient Private Inference via Block Circulant Transformationcited by 7
  13. 2024BoostCom: Towards Efficient Universal Fully Homomorphic Encryption by Boosting the Word-wise Comparisonscited by 4
  14. 2024Trinity: A General Purpose FHE Acceleratorcited by 4
  15. 2024DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Datacited by 4
  16. 2022MATCHA: A Fast and Energy-Efficient Accelerator for Fully Homomorphic Encryption over the Toruscited by 3
  17. 2024CryptoTrain: Fast Secure Training on Encrypted Datasetcited by 3
  18. 2024OFHE: An Electro-Optical Accelerator for Discretized TFHEcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 4.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute
  2. 2026SecureRouter: Encrypted Routing for Efficient Secure Inference
  3. 2025An Efficient Private GPT Never Autoregressively Decodes
  4. 2024Ditto: Quantization-aware Secure Inference of Transformers upon MPC
  5. 2026Fiona: Accelerating FHE Inference with Packing-Aware Ternary Weights
  6. 2024PrivQuant: Communication-Efficient Private Inference with Quantized Network/Protocol Co-Optimization
  7. 2026Privacy-Aware Split Inference with Speculative Decoding for Large Language Models over Wide-Area Networks
  8. 2025SecONNds: Secure Outsourced Neural Network Inference on ImageNet