Comet: A Communication-efficient and Performant Approximation for Private Transformer Inference

Xiangrui Xu, Qiao Zhang, Rui Ning, Chunsheng Xin, Hongyi Wu
5/24/2024
cs.LGcs.AIcs.CR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The prevalent use of Transformer-like models, exemplified by ChatGPT in modern language processing applications, underscores the critical need for enabling private inference essential for many cloud-based services reliant on such models. However, current privacy-preserving frameworks impose significant communication burden, especially for non-linear computation in Transformer model. In this paper, we introduce a novel plug-in method Comet to effectively reduce the communication cost without compromising the inference performance. We second introduce an efficient approximation method to eliminate the heavy communication in finding good initial approximation. We evaluate our Comet on Bert and RoBERTa models with GLUE benchmark datasets, showing up to 3.9$\times$ less communication and 3.5$\times$ speedups while keep competitive model performance compared to the prior art.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024comet,
  title  = {Comet: A Communication-efficient and Performant Approximation for Private Transformer Inference},
  author = {Xiangrui Xu and Qiao Zhang and Rui Ning and Chunsheng Xin and Hongyi Wu},
  year   = {2024},
  eprint = {2405.17485},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.17485v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.17485.svg)](https://codeofpaper.com/paper/2405.17485)

Discussion