Research map / Federated learning and privacy / Privacy attacks and secure learning
SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPC
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
- GLUE RTE leaderboard accuracy 72.6 · rank 37 of 65 papers
- GLUE CoLA leaderboard Matthews correlation 61.3 · rank 12 of 24 papers
- GLUE QNLI leaderboard accuracy 92 · rank 9 of 27 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace GeLU with Quad (MPCFormer) instead of keeping exact GeLU | SecFormer-style 2Quad model · GLUE average, BERT-large | score: 82.1 (PUMA) vs 56.1 (MPCFormer); SecFormer 80.8 | Hurt |
| keep accurate GeLU (SecFormer) instead of Quad | MPCFormer · GLUE average, BERT-base | score: 75.4 -> 78.8 | Improved |
| keep accurate GeLU (SecFormer) instead of Quad | MPCFormer · GLUE average, BERT-large | score: 56.1 -> 80.8 | Improved |
| add knowledge distillation (ablation) | SecFormer, BERT-base · GLUE average | score: 75.9 -> 78.8 | Improved |
| add knowledge distillation (ablation) | SecFormer, BERT-large · GLUE average | score: 79.6 -> 80.8 | Improved |
| add knowledge distillation (ablation) | MPCFormer, BERT-base · GLUE average | score: 48.0 -> 75.4 | Improved |
| replace Softmax with 2Quad and use SecFormer protocols instead of PUMA | PUMA, BERT-base · GLUE average | score: 79.7 -> 78.8 | Hurt |
| use SecFormer instead of PUMA | PUMA · Single-sample inference time, BERT-base | total time (s): 69.661 -> 19.513 | Improved |
| use SecFormer instead of PUMA | PUMA · Single-sample inference time, BERT-large | total time (s): 139.954 -> 39.089 | Improved |
| keep exact GeLU protocol instead of Quad | MPCFormer · Single-sample inference time, BERT-base | total time (s): 18.591 -> 19.513 | Hurt |
| use Fourier-series GeLU protocol instead of PUMA's | PUMA GeLU protocol · GeLU protocol time and communication | time and communication: about 1.6 times lower | Improved |
| use Goldschmidt with deflation for LayerNorm instead of CrypTen | CrypTen LayerNorm · LayerNorm protocol time | time: up to 4.5 times faster | Improved |
Later papers that compared with this method
1 later accepted paper reports SecFormer as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- CENTAUR: Bridging the Impossible Trinity of Privacy, Efficiency, and Performance in Privacy-Preserving Transformer Inference (ACL 2025 · better on 4 of 4 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
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
- CipherPrune: Efficient and Scalable Private Transformer Inference (ICLR 2025 · similarity 0.85)
- Nimbus: Secure and Efficient Two-Party Inference for Transformers (NeurIPS 2024 · similarity 0.84)
- Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryption (ICML 2024 · similarity 0.84)
- Encryption-Friendly LLM Architecture (ICLR 2025 · similarity 0.83)
- Rényi Pufferfish Privacy: General Additive Noise Mechanisms and Privacy Amplification by Iteration via Shift Reduction Lemmas (ICML 2024 · similarity 0.81)
- Privacy Amplification Persists under Unlimited Synthetic Data Release (NeurIPS 2026 · similarity 0.81)
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.