跳到主要导航 跳到搜索 跳到主要内容

PrivTI: Efficient End-to-End Privacy-Preserving Inference for Transformer-Based Models in MLaaS

  • Mingshun Luo
  • , Haolei He
  • , Wenti Yang
  • , Meng Li
  • , Longfei Wu
  • , Zijian Zhang
  • , Zhitao Guan*
  • *此作品的通讯作者
  • North China Electric Power University
  • Pengcheng Laboratory
  • Hefei University of Technology
  • Fayetteville State University
  • Beijing Institute of Technology

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Machine Learning as a Service (MLaaS) offers convenient access to high-quality transformer-based model inference without local deployment, but it requires uploading sensitive data to the server, raising significant privacy concerns. Recent advances in homomorphic encryption (HE) and secure multi-party computation (MPC) have shown great potential for enabling privacy-preserving inference. However, existing schemes face challenges with transformer-based models due to massive matrix multiplications and complex non-linear functions. To address these challenges, we propose PrivTI, an efficient end-to-end privacy-preserving inference framework for transformer-based models. Specifically, we design an HE-based single-instruction multiple-data (SIMD) encoding scheme to perform matrix multiplication efficiently. To handle non-linear functions, we develop MPC-friendly protocols for core functions like GELU, Softmax, and LayerNorm, and further extend support to SiLU and RMSNorm. Moreover, PrivTI supports conversions between HE and MPC, enabling end-to-end privacy-preserving inference. Experimental results demonstrate that PrivTI achieves speedups 1.9-45.2× in matrix multiplication and 1.1-18.9× in non-linear function evaluation compared to baseline schemes IRON, BOLT, and NEXUS under the Local Area Network (LAN) setting. Additionally, PrivTI reduces communication overhead by 1.1-4898.7×. Moreover, end-to-end benchmarks show 3.3-9.8× improvements in computation speed and 1.6-6.2× reductions in communication overhead.

源语言英语
页(从-至)3198-3211
页数14
期刊IEEE Transactions on Services Computing
卷19
期5
DOI
出版状态已出版 - 1 9月 2026
已对外发布是

学术指纹

探究 'PrivTI: Efficient End-to-End Privacy-Preserving Inference for Transformer-Based Models in MLaaS' 的科研主题。它们共同构成独一无二的学术指纹。

引用此