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

MERGE: Fast Private Text Generation

  • Zi Liang
  • , Pinghui Wang
  • , Ruofei Zhang
  • , Nuo Xu
  • , Shuo Zhang
  • , Lifeng Xing
  • , Haitao Bai
  • , Ziyang Zhou
  • Xi'an Jiaotong University

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

17 引用 (Scopus)

摘要

The drastic increase in language models’ parameters has led to a new trend of deploying models in cloud servers, raising growing concerns about private inference for Transformer-based models. Existing two-party privacy-preserving techniques, however, only take into account natural language understanding (NLU) scenarios. Private inference in natural language generation (NLG), crucial for applications like translation and code completion, remains underexplored. In addition, previous privacy-preserving techniques suffer from convergence issues during model training and exhibit poor inference speed when used with NLG models due to the neglect of time-consuming operations in auto-regressive generations. To address these issues, we propose a fast private text generation framework for Transformer-based language models, namely MERGE. MERGE reuses the output hidden state as the word embedding to bypass the embedding computation and reorganize the linear operations in the Transformer module to accelerate the forward procedure. Extensive experiments show that MERGE achieves a 26.5x speedup to the vanilla encrypted model under the sequence length 512, and reduces 80% communication cost, with an up to 10x speedup to state-of-the-art approximated models.

源语言英语
页(从-至)19884-19892
页数9
期刊Proceedings of the AAAI Conference on Artificial Intelligence
卷38
期18
DOI
出版状态已出版 - 25 3月 2024
活动38th AAAI Conference on Artificial Intelligence, AAAI 2024 - Vancouver, 加拿大
期限: 20 2月 2024 → 27 2月 2024

学术指纹

探究 'MERGE: Fast Private Text Generation' 的科研主题。它们共同构成独一无二的学术指纹。

引用此