Ditto: Quantization-aware Secure Inference of Transformers upon MPC
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
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2017Mixed Precision Trainingcited by 1,156
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
10 more
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020FALCON: Honest-Majority Maliciously Secure Framework for Private Deep Learningcited by 74
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2021CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUcited by 46
- 2018Faster CryptoNets: Leveraging Sparsity for Real-World Encrypted Inferencecited by 45
- 2019QUOTIENT: Two-Party Secure Neural Network Training and Predictioncited by 41
- 2022Memorization and Optimization in Deep Neural Networks with Minimum Over-parameterizationcited by 36
- 2019Secure Evaluation of Quantized Neural Networkscited by 22
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 5.
8 papers.
- 2024Nimbus: Secure and Efficient Two-Party Inference for Transformerscited by 16
- 2025CrypTorch: PyTorch-based Auto-tuning Compiler for Machine Learning with Multi-party Computationcited by 1
- 2026FuseFSS: Efficient Secure LLM Inference with Function Secret Sharingcited by 1
- 2025ObCLIP: Oblivious CLoud-Device Hybrid Image Generation with Privacy Preservationcited by 0
- 2026UFO: Unlocking Ultra-Efficient Quantized Private Inference with Protocol and Algorithm Co-Optimizationcited by 0
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptationcited by 0
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communicationcited by 0
- 2026A Graph-Based Analysis of Comparability, Scale, and Attribution in Private Transformer Inferencecited by 0
- 2026A Graph-Based Analysis of Comparability, Scale, and Attribution in Private Transformer Inference14 Oct 2026
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communication19 Sep 2026
- 2026HEAT: Faster Fully Homomorphic Inference via Approximations-Weights Co-Adaptation1 Sep 2026
- 2026FuseFSS: Efficient Secure LLM Inference with Function Secret Sharing8 Jun 2026
- 2026UFO: Unlocking Ultra-Efficient Quantized Private Inference with Protocol and Algorithm Co-Optimization21 Feb 2026
- 2025CrypTorch: PyTorch-based Auto-tuning Compiler for Machine Learning with Multi-party Computation24 Nov 2025
- 2025ObCLIP: Oblivious CLoud-Device Hybrid Image Generation with Privacy Preservation5 Oct 2025
- 2024Nimbus: Secure and Efficient Two-Party Inference for Transformers24 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2025Privacy-Preserving Inference for Quantized BERT Models
- 2025CipherPrune: Efficient and Scalable Private Transformer Inference
- 2021Secure Quantized Training for Deep Learning
- 2026SecMoE: Communication-Efficient Secure MoE Inference via Select-Then-Compute
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers
- 2025An Efficient Private GPT Never Autoregressively Decodes
- 2023The Inhibitor: ReLU and Addition-Based Attention for Efficient Transformers under Fully Homomorphic Encryption on the Torus
- 2026StraightDP: Geometry-Aware Differential Privacy for Rectified-Flow Transformers