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

THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryption

  • Microsoft USA
  • Microsoft STCA

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

As more and more pre-trained language models adopt on-cloud deployment, the privacy issues grow quickly, mainly for the exposure of plain-text user data (e.g., search history, medical record, bank account). Privacy-preserving inference of transformer models is on the demand of cloud service users. To protect privacy, it is an attractive choice to compute only with ciphertext in homomorphic encryption (HE). However, enabling pre-trained models inference on ciphertext data is difficult due to the complex computations in transformer blocks, which are not supported by current HE tools yet. In this work, we introduce THE-X, an approximation approach for transformers, which enables privacy-preserving inference of pre-trained models developed by popular frameworks. THE-X proposes a workflow to deal with complex computation in transformer networks, including all the non-polynomial functions like GELU, softmax, and LayerNorm. Experiments reveal our proposed THE-X can enable transformer inference on encrypted data for different downstream tasks, all with negligible performance drop but enjoying the theory-guaranteed privacy-preserving advantage.

源语言英语
主期刊名ACL 2022 - 60th Annual Meeting of the Association for Computational Linguistics, Findings of ACL 2022
编辑Smaranda Muresan, Preslav Nakov, Aline Villavicencio
出版商Association for Computational Linguistics (ACL)
3510-3520
页数11
ISBN(电子版)9781955917254
DOI
出版状态已出版 - 2022
活动Findings of the Association for Computational Linguistics: ACL 2022 - Dublin, 爱尔兰
期限: 22 5月 202227 5月 2022

出版系列

姓名Proceedings of the Annual Meeting of the Association for Computational Linguistics
ISSN(印刷版)0736-587X

会议

会议Findings of the Association for Computational Linguistics: ACL 2022
国家/地区爱尔兰
Dublin
时期22/05/2227/05/22

指纹

探究 'THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryption' 的科研主题。它们共同构成独一无二的指纹。

引用此