Research map / Architectures and efficiency / Attention and transformers
MPCFORMER: FAST, PERFORMANT AND PRIVATE TRANSFORMER INFERENCE WITH MPC
Dacheng Li, Hongyi Wang, Rulin Shao, Han Guo, Eric Xing, Hao Zhang
Carnegie Mellon University · University of Washington · University of California, Berkeley
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
- IMDB leaderboard accuracy 94.5 · rank 27 of 174 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add knowledge distillation from the original model (ablation) | MPCFormer with BERT-BASE · IMDb | accuracy: 87.3 -> 93.9 | Improved |
| Add knowledge distillation from the original model (ablation) | MPCFormer with BERT-BASE · GLUE average | Avg. Score: 40.8 -> 68.4 | Improved |
| Initialize the student with teacher weights instead of random weights (ablation) | MPCFormer with BERT-BASE · GLUE (QNLI, SST-2, STS-B, MRPC, RTE) | Avg: 76.1 -> 84.0 | Improved |
| Initialize the student with teacher weights instead of random weights (ablation) | MPCFormer with BERT-BASE · QNLI | score: 90.6 -> 90.6 | No clear effect |
| Use random student initialization instead of teacher weights (ablation) | MPCFormer with BERT-BASE · SST-2 | score: 92.0 -> 90.0 | Hurt |
| Use random student initialization instead of teacher weights (ablation) | MPCFormer with BERT-BASE · STS-B | score: 80.8 -> 60.0 | Hurt |
| Use random student initialization instead of teacher weights (ablation) | MPCFormer with BERT-BASE · MRPC | score: 88.7 -> 81.2 | Hurt |
| Use random student initialization instead of teacher weights (ablation) | MPCFormer with BERT-BASE · RTE | score: 64.9 -> 58.5 | Hurt |
| Increase distillation data to roughly 5% of small datasets and 2% of medium datasets (ablation) | MPCFormer · GLUE (RTE, MRPC, SST-2, QNLI) | normalized performance | Improved |
| Replace Softmax with the more aggressive 2Quad approximation rather than 2ReLU | MPCFormer · Softmax in MPC inference | speed | Improved |
| Use MPCFormer rather than task-specific training without distillation (ablation) | BERT-LARGE approximation · GLUE subset | Avg: 43.5 -> 84.6 | Improved |
| Initialize with teacher weights without adding distillation (ablation) | Approximated BERT-LARGE · GLUE subset | Avg: 59.3 -> 43.5 | Hurt |
Open problems in Transformer block and depth design
Do transformer block and depth changes keep their gains at large scale, in full models and at low cost?
- Theory covers simplified transformers, not the full architecture. · 11 papers state it
- Scaling beyond small and mid-size models is untested. · 8 papers state it
- The new components add training or inference overhead. · 8 papers state it
Closest papers by meaning
- Ditto: Quantization-aware Secure Inference of Transformers upon MPC (ICML 2024 · similarity 0.90)
- Nimbus: Secure and Efficient Two-Party Inference for Transformers (NeurIPS 2024 · similarity 0.83)
- CipherPrune: Efficient and Scalable Private Transformer Inference (ICLR 2025 · similarity 0.83)
- MERGE: Fast Private Text Generation (AAAI 2024 · similarity 0.83)
- IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUs (ICLR 2024 · similarity 0.83)
- MatFormer: Nested Transformer for Elastic Inference (NeurIPS 2024 · similarity 0.82)
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.