paper-with-me

Papers

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

2024-05-24 · Xiangrui Xu, Qiao Zhang, Rui Ning, Chunsheng Xin, Hongyi Wu

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.

📄 PDF Abstract BibTeX arXiv:2405.17485

Code (0)

등록된 구현이 없습니다.

Tasks

Privacy Preserving

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
WordPiece 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
RoBERTa 설명 없음

Similar Papers 제목 키워드 기반

Comet: Accelerating Private Inference for Large Language Model by Predicting Activation Sparsity

2025-05-12 · Guang Yan, Yuhui Zhang, Zimu Guo, Lutan Zhao 외

With the growing use of large language models (LLMs) hosted on cloud platforms to offer inference services, privacy concerns about the potential leakage of sensitive information are escalating. Secure multi-party computa…

Language ModelingLanguage ModellingLarge Language Model

LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformers

2023-05-28 · Xuanqi Liu, Zhuotao Liu

The community explored to build private inference frameworks for transformer-based large language models (LLMs) in a server-client setting, where the server holds the model parameters and the client inputs its private da…

Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Experts

2025-02-27 · Shulai Zhang, Ningxin Zheng, Haibin Lin, Ziheng Jiang 외

Mixture-of-experts (MoE) has been extensively employed to scale large language models to trillion-plus parameters while maintaining a fixed computational cost. The development of large MoE models in the distributed scena…

Computational EfficiencyGPUMixture-of-Experts

MPCFormer: fast, performant and private Transformer inference with MPC

2022-11-02 · Dacheng Li, Rulin Shao, Hongyi Wang, Han Guo 외

Enabling private inference is crucial for many cloud inference services that are based on Transformer models. However, existing private inference solutions can increase the inference latency by more than 60x or significa…

Knowledge Distillation

CoMet: Metaphor-Driven Covert Communication for Multi-Agent Language Games

2025-05-23 · Shuhang Xu, Fangwei Zhong

Metaphors are a crucial way for humans to express complex or subtle ideas by comparing one concept to another, often from a different domain. However, many large language models (LLMs) struggle to interpret and apply met…