mlsanityData to 14 Oct 2026

MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention

arXiv 2211.13955 ↗First posted 25 Nov 2022cs.CR cs.LGcited by 20

Not on the map. Why?

Abstract (arXiv)

Secure multi-party computation (MPC) enables computation directly on encrypted data and protects both data and model privacy in deep learning inference. However, existing neural network architectures, including Vision Transformers (ViTs), are not designed or optimized for MPC and incur significant latency overhead. We observe Softmax accounts for the major latency bottleneck due to a high communication complexity, but can be selectively replaced or linearized without compromising the model accuracy. Hence, in this paper, we propose an MPC-friendly ViT, dubbed MPCViT, to enable accurate yet efficient ViT inference in MPC. Based on a systematic latency and accuracy evaluation of the Softmax attention and other attention variants, we propose a heterogeneous attention optimization space. We also develop a simple yet effective MPC-aware neural architecture search algorithm for fast Pareto optimization. To further boost the inference efficiency, we propose MPCViT+, to jointly optimize the Softmax attention and other network components, including GeLU, matrix multiplication, etc. With extensive experiments, we demonstrate that MPCViT achieves 1.9%, 1.3% and 3.6% higher accuracy with 6.2x, 2.9x and 1.9x latency reduction compared with baseline ViT, MPCFormer and THE-X on the Tiny-ImageNet dataset, respectively. MPCViT+ further achieves a better Pareto front compared with MPCViT. The code and models for evaluation are available at https://github.com/PKU-SEC-Lab/mpcvit.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 43 of its 70 references that are in the map. First posted on arXiv 25 Nov 2022.

Builds on

43 of 70 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  5. 2017Non-local Neural Networkscited by 2,293
  6. 2020Reformer: The Efficient Transformercited by 1,668
  7. 2021ViViT: A Video Vision Transformercited by 1,620
  8. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  9. 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 943
  10. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  11. 2019Are Sixteen Heads Really Better than One?cited by 816
  12. 2018FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Searchcited by 485
31 more
  1. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
  2. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
  3. 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
  4. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  5. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  6. 2022Structured Pruning Learns Compact and Accurate Modelscited by 170
  7. 2021CrypTen: Secure Multi-Party Computation Meets Machine Learningcited by 131
  8. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  9. 2021Efficient Training of Visual Transformers with Small Datasetscited by 108
  10. 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
  11. 2020CrypTFlow2: Practical 2-Party Secure Inferencecited by 82
  12. 2018ChamNet: Towards Efficient Network Design through Platform-Aware Model Adaptationcited by 76
  13. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
  14. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 57
  15. 2022Hydra Attention: Efficient Attention with Many Headscited by 55
  16. 2021Less is More: Pay Less Attention in Vision Transformerscited by 53
  17. 2019Hardware/Software Co-Exploration of Neural Architecturescited by 50
  18. 2021DeepReDuce: ReLU Reduction for Fast Private Inferencecited by 50
  19. 2020CryptoNAS: Private Inference on a ReLU Budgetcited by 40
  20. 2022Q-ViT: Fully Differentiable Quantization for Vision Transformercited by 37
  21. 2022How to Train Vision Transformer on Small-scale Datasets?cited by 35
  22. 2021ViTAS: Vision Transformer Architecture Searchcited by 31
  23. 2022Selective Network Linearization for Efficient Private Inferencecited by 31
  24. 2021SIRNN: A Math Library for Secure RNN Inferencecited by 28
  25. 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
  26. 2021Sphynx: ReLU-Efficient Network Design for Private Inferencecited by 15
  27. 2022Vision Transformers in 2022: An Update on Tiny ImageNetcited by 13
  28. 2021UFO-ViT: High Performance Linear Vision Transformer without Softmaxcited by 11
  29. 2018IRLAS: Inverse Reinforcement Learning for Architecture Searchcited by 10
  30. 2022DARTFormer: Finding The Best Type Of Attentioncited by 3
  31. 2022PolyMPCNet: Towards ReLU-free Neural Architecture Search in Two-party Computation Based Private Inferencecited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 6; 2025: 9; 2026: 3.

20 papers.

Sort:

By area:

  1. 2023BAT: Behavior-Aware Human-Like Trajectory Prediction for Autonomous Drivingcited by 28
  2. 2023Converting Transformers to Polynomial Form for Secure Inference Over Homomorphic Encryptioncited by 19
  3. 2024Nimbus: Secure and Efficient Two-Party Inference for Transformerscited by 16
  4. 2025CipherPrune: Efficient and Scalable Private Transformer Inferencecited by 10
  5. 2025TeleSparse: Practical Privacy-Preserving Verification of Deep Neural Networkscited by 9
  6. 2024Ditto: Quantization-aware Secure Inference of Transformers upon MPCcited by 8
  7. 2024PrivCirNet: Efficient Private Inference via Block Circulant Transformationcited by 7
  8. 2024MPC-Minimized Secure LLM Inferencecited by 6
  9. 2024CipherDM: Secure Three-Party Inference for Diffusion Model Samplingcited by 3
  10. 2024TruncFormer: Private LLM Inference Using Only Truncationscited by 2
  11. 2025Private Transformer Inference in MLaaS: A Surveycited by 2
  12. 2025An Efficient Private GPT Never Autoregressively Decodescited by 2
8 more
  1. 2026On the (In-)Security of the Shuffling Defense in the Transformer Secure Inferencecited by 2
  2. 2025A Framework for Double-Blind Federated Adaptation of Foundation Modelscited by 1
  3. 2025SecP-Tuning: Efficient Privacy-Preserving Prompt Tuning for Large Language Models via MPCcited by 1
  4. 2025CrypTorch: PyTorch-based Auto-tuning Compiler for Machine Learning with Multi-party Computationcited by 1
  5. 2025SecPE: Secure Prompt Ensembling for Private and Robust Large Language Modelscited by 0
  6. 2025ObCLIP: Oblivious CLoud-Device Hybrid Image Generation with Privacy Preservationcited by 0
  7. 2026UFO: Unlocking Ultra-Efficient Quantized Private Inference with Protocol and Algorithm Co-Optimizationcited by 0
  8. 2026A Graph-Based Analysis of Comparability, Scale, and Attribution in Private Transformer Inferencecited by 0