Research map / Federated learning and privacy / Privacy attacks and secure learning
THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryption
Tianyu Chen, Hangbo Bao, Shaohan Huang, Li Dong, Binxing Jiao, Daxin Jiang, Haoyi Zhou, Jianxin Li, Furu Wei
Beihang University · Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- RTE leaderboard accuracy (dev) 58.12 · rank 57 of 59 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace GELU with ReLU (ablation) | BERT-tiny · GLUE average | performance reduction: 0.25% average drop | No clear effect |
| replace GELU with ReLU (ablation) | BERT-tiny · CoNLL-2003 dev | F1: 83.57 -> 83.69 | No clear effect |
| replace softmax with estimation network (on top of ReLU) (ablation) | BERT-tiny · GLUE average | performance reduction: 0.25% -> 0.34% average drop | No clear effect |
| replace LayerNorm with linear approximation (LN-distill) (ablation) | BERT-tiny · GLUE average | performance reduction: 0.34% -> 1.42% average drop | Hurt |
| replace LayerNorm with approximation (ablation) | BERT-tiny · CoNLL-2003 dev | F1: 83.38 -> 81.67 | Hurt |
| run under homomorphic encryption | THE-X · GLUE average | performance reduction: 1.42% -> 1.48% average drop | No clear effect |
| approximate transformer with THE-X | BERT-tiny · STS-B dev | Pearson/Spearman corr.: 72.83 -> 68.39 Pearson | Hurt |
| approximate transformer with THE-X | BERT-tiny · QNLI dev | accuracy: 78.38 -> 78.20 | No clear effect |
| fill masked attention scores with negative infinity instead of moderate value (-2 to -5) (ablation) | softmax estimation model · CoNLL-2003 dev | F1 | Hurt |
| raise Adam weight decay as regularization against attention overflow (ablation) | THE-X approximation · all tasks | performance | Mixed |
| jointly fine-tune softmax estimator and approximated LayerNorm instead of two stages (ablation) | THE-X · STS-B dev | performance: down to 0.4% | Hurt |
Open problems in encryption-based private learning
How can encryption-based private learning be made secure against malicious parties and practical for large models?
- Evaluated on only a few small datasets or model types. · 11 papers state it
- Security is proven only against semi-honest parties. · 7 papers state it
- Encrypted inference is shown only on small models. · 6 papers state it
Closest papers by meaning
- Encryption-Friendly LLM Architecture (ICLR 2025 · similarity 0.91)
- Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryption (ICML 2024 · similarity 0.91)
- CipherPrune: Efficient and Scalable Private Transformer Inference (ICLR 2025 · similarity 0.88)
- EncryptedLLM: Privacy-Preserving Large Language Model Inference via GPU-Accelerated Fully Homomorphic Encryption (ICML 2025 · similarity 0.88)
- Privacy-Preserving Embedding via Look-up Table Evaluation with Fully Homomorphic Encryption (ICML 2024 · similarity 0.86)
- United We Stand: Accelerating Privacy-Preserving Neural Inference by Conjunctive Optimization with Interleaved Nexus (AAAI 2024 · similarity 0.85)
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.