atlas

Research map / Federated learning and privacy / Privacy attacks and secure learning

CipherPrune: Efficient and Scalable Private Transformer Inference

ICLR 2025 · Federated learning and privacy › Privacy attacks and secure learning · approach: Encryption-based private learning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CipherPrune, a private Transformer inference framework that progressively prunes tokens under encryption and assigns lower-degree polynomial approximations to less important tokens, cutting 2PC runtime by roughly 6.1x at 128 tokens and 10.6x at 512 tokens.

Problem

Private Transformer inference with cryptographic protocols (hybrid HE/MPC) has high latency and scales poorly with long token inputs, since attention cost grows quadratically with token count and high-degree polynomial non-linearities are expensive.

Approach

Input-adaptive, progressive token pruning computed on secret shares (importance scores from attention, comparison against learned thresholds, oblivious swaps to relocate pruned tokens), combined with encrypted polynomial reduction that uses low-degree polynomials for less important tokens, with thresholds learned jointly via a soft-mask gradient search that accounts for crypto cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CipherPrune instead of BOLTBERT Medium · BERT MediumTime (s): 99.5 -> 43.6Helped
Use CipherPrune instead of BOLTBERT Base · BERT BaseTime (s): 245.4 -> 79.1Helped
Use CipherPrune instead of BOLTBERT Large · BERT LargeTime (s): 624.3 -> 157.6Helped
Use CipherPrune instead of BOLTBERT models · BERT Medium, BERT Base, and BERT LargeCommunication (GB): 14.3 -> 6.7; 25.7 -> 9.7; 67.9 -> 18.4Helped
Use CipherPrune instead of IRONBERT models · BERT Medium, BERT Base, and BERT LargeAccuracy (%): 87.7±0.2 -> 87.4±0.2; 90.4±0.1 -> 90.1±0.2; 92.7±0.1 -> 92.5±0.1Hurt
Replace fixed 50% word elimination with adaptive, progressive token pruning (ablation)CipherPrune† vs BOLT with W.E. · NLP tasksAccuracy (%): +0.5%Helped
Add progressive token pruning to adaptive token pruning (ablation)CipherPrune† vs BOLT with W.E. · NLP tasksRuntime speedup: 2.1×Helped
Add polynomial reduction to token pruning (ablation)CipherPrune · NLP tasksRuntime speedup over BOLT: 6.1×Helped
Add polynomial reduction to token pruning (ablation)CipherPrune · NLP tasksAccuracyHurt
Increase input length while using CipherPrune rather than BOLT without W.E.GPT2 · 32 to 512 input tokensSpeedup: ~1.9× -> ~10.6×Helped
Use a large α rather than a smaller α (ablation)BERT-Base threshold settings · BERT-BaseAccuracyHelped

Limitations

Experimental setup

Datasets: GLUE MNLI GLUE QNLI GLUE SST-2 GLUE MRPC

Benchmarks: GLUE MNLI GLUE QNLI GLUE SST-2 GLUE MRPC

Metrics: runtime (s) communication (GB) accuracy (%)

Baselines: IRON BOLT BOLT w/o W.E. BumbleBee MPCFormer PUMA

Builds on: BOLT IRON EzPC BFV

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy