mlsanityData to 14 Oct 2026

Ditto: Quantization-aware Secure Inference of Transformers upon MPC

arXiv 2405.05525 ↗First posted 9 May 2024cs.CR cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Due to the rising privacy concerns on sensitive client data and trained models like Transformers, secure multi-party computation (MPC) techniques are employed to enable secure inference despite attendant overhead. Existing works attempt to reduce the overhead using more MPC-friendly non-linear function approximations. However, the integration of quantization widely used in plaintext inference into the MPC domain remains unclear. To bridge this gap, we propose the framework named Ditto to enable more efficient quantization-aware secure Transformer inference. Concretely, we first incorporate an MPC-friendly quantization into Transformer inference and employ a quantization-aware distillation procedure to maintain the model utility. Then, we propose novel MPC primitives to support the type conversions that are essential in quantization and implement the quantization-aware MPC execution of secure quantized inference. This approach significantly decreases both computation and communication overhead, leading to improvements in overall efficiency. We conduct extensive experiments on Bert and GPT2 models to evaluate the performance of Ditto. The results demonstrate that Ditto is about 3.14~ 4.40× faster than MPCFormer (ICLR 2023) and 1.44~ 2.35× faster than the state-of-the-art work PUMA with negligible utility degradation.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 22 of its 51 references that are in the map. First posted on arXiv 9 May 2024.

Builds on

22 of 51 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2016Pointer Sentinel Mixture Modelscited by 3,096
  6. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  7. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  8. 2017Mixed Precision Trainingcited by 1,156
  9. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  10. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  11. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  12. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
10 more
  1. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  2. 2020FALCON: Honest-Majority Maliciously Secure Framework for Private Deep Learningcited by 74
  3. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
  4. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
  5. 2021CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUcited by 46
  6. 2018Faster CryptoNets: Leveraging Sparsity for Real-World Encrypted Inferencecited by 45
  7. 2019QUOTIENT: Two-Party Secure Neural Network Training and Predictioncited by 41
  8. 2022Memorization and Optimization in Deep Neural Networks with Minimum Over-parameterizationcited by 36
  9. 2019Secure Evaluation of Quantized Neural Networkscited by 22
  10. 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 5.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Privacy-Preserving Inference for Quantized BERT Models
  2. 2025CipherPrune: Efficient and Scalable Private Transformer Inference
  3. 2021Secure Quantized Training for Deep Learning
  4. 2026SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute
  5. 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers
  6. 2025An Efficient Private GPT Never Autoregressively Decodes
  7. 2023The Inhibitor: ReLU and Addition-Based Attention for Efficient Transformers under Fully Homomorphic Encryption on the Torus
  8. 2026StraightDP: Geometry-Aware Differential Privacy for Rectified-Flow Transformers