paper-with-me

홈 › Papers

Privacy-Preserving Inference for Quantized BERT Models

2025-08-03 · Tianpei Lu, Bingsheng Zhang, Lekun Peng, Bowen Zheng, Lichun Li, Kui Ren arxiv

With the increasing deployment of generative machine learning models in privacy-sensitive domains such as healthcare and personalized services, ensuring secure inference has become a critical challenge. Secure multi-party computation (MPC) enables privacy-preserving model inference but suffers from high communication and computation overhead. The main bottleneck lies in the expensive secure evaluation of floating-point operations. Quantization offers a promising solution by converting floating-point operations into lower-precision integer computations, significantly reducing overhead. However, existing MPC-based quantized inference methods either rely on public quantization parameters-posing privacy risks-or suffer from inefficiencies, particularly in handling nonlinear functions such as activations and softmax. In this work, we propose a fine-grained, layer-wise quantization scheme and support 1-bit weight fully connected layers in a secure setting. We design a multi-input lookup table protocol to evaluate softmax efficiently and securely. Furthermore, we use dual secret sharing schemes and perform precision conversions via lookup tables, eliminating truncation overhead entirely. Experimental evaluation on BERT-base models demonstrates that our approach achieves up to $8\times$ speedup compared to Lu \emph{et al}. (NDSS 25), $9\times$ speedup compared to Gupta \emph{et al}. (PETS 24) and $22 \times$ speedup compared to Knott \emph{et al}. (NeurIPS 21).

📄 PDF Abstract BibTeX arXiv:2508.01636

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Effect of Quantization in Federated Learning: A Rényi Differential Privacy Perspective

2024-05-16 · Tianqu Kang, Lumin Liu, Hengtao He, Jun Zhang 외

Federated Learning (FL) is an emerging paradigm that holds great promise for privacy-preserving machine learning using distributed data. To enhance privacy, FL can be combined with Differential Privacy (DP), which involv…

Federated LearningPrivacy PreservingQuantization

Quantized Transformer Language Model Implementations on Edge Devices

2023-10-06 · Mohammad Wali Ur Rahman, Murad Mehrab Abrar, Hunter Gibbons Copening, Salim Hariri 외

Large-scale transformer-based models like the Bidirectional Encoder Representations from Transformers (BERT) are widely used for Natural Language Processing (NLP) applications, wherein these models are initially pre-trai…

Language ModelingLanguage ModellingmodelPrivacy Preserving

Distributed Optimal Allocation with Quantized Communication and Privacy-Preserving Guarantees

2021-09-29 · Jakob Nylöf, Apostolos I. Rikos, Sebin Gracy, Karl H. Johansson

In this paper, we analyze the problem of optimally allocating resources in a distributed and privacy-preserving manner. We propose a novel distributed optimal resource allocation algorithm with privacy-preserving guarant…

Privacy Preserving

SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPC

2024-01-01 · Jinglong Luo, Yehong Zhang, Zhuo Zhang, JiaQi Zhang 외

With the growing use of Transformer models hosted on cloud platforms to offer inference services, privacy concerns are escalating, especially concerning sensitive data like investment plans and bank account details. Secu…

Knowledge DistillationPrivacy Preserving

Finite Time Privacy Preserving Quantized Average Consensus with Transmission Stopping

2022-07-17 · Apostolos I. Rikos, Christoforos N. Hadjicostis, Karl H. Johansson

Due to their flexibility, battery powered or energy-harvesting wireless networks are employed in diverse applications. Securing data transmissions between wireless devises is of critical importance in order to avoid priv…

Privacy Preserving