EUVIMEDEUVIMED entdecken
Crossref

MERGE: Fast Private Text Generation

Zi Liang, Pinghui Wang, Ruofei Zhang, Nuo Xu, Shuo Zhang, Lifeng Xing, Haitao Bai, Ziyang Zhou

Proceedings of the AAAI Conference on Artificial Intelligence · 24.03.2024 · 38 (18) · 19884-19892

DOI: 10.1609/aaai.v38i18.29964 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 24.03.2024. Verfasst von Zi Liang und 7 weiteren Autor:innen. Die Arbeit wurde bisher 9-mal zitiert (Crossref).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Zitieren

APA

Liang, Z., Wang, P., Zhang, R., Xu, N., Zhang, S., Xing, L., Bai, H., & Zhou, Z. (2024). MERGE: Fast Private Text Generation. Proceedings of the AAAI Conference on Artificial Intelligence, 38(18), 19884-19892. https://doi.org/10.1609/aaai.v38i18.29964

Vancouver

Liang Z, Wang P, Zhang R, Xu N, Zhang S, Xing L, et al. MERGE: Fast Private Text Generation. Proceedings of the AAAI Conference on Artificial Intelligence. 2024;38(18):19884-19892. doi:10.1609/aaai.v38i18.29964

BibTeX
@article{Liang2024,
  author = {Liang, Zi and Wang, Pinghui and Zhang, Ruofei and Xu, Nuo and Zhang, Shuo and Xing, Lifeng and Bai, Haitao and Zhou, Ziyang},
  title = {MERGE: Fast Private Text Generation},
  journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2024},
  volume = {38},
  number = {18},
  pages = {19884--19892},
  doi = {10.1609/aaai.v38i18.29964}
}
Kostenlos starten →