paper-with-me

홈 › Papers

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

2025-05-12 · Guang Yan, Yuhui Zhang, Zimu Guo, Lutan Zhao, Xiaojun Chen, Chen Wang, Wenhao Wang, Dan Meng, Rui Hou

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 computation (MPC) is a promising solution to protect the privacy in LLM inference. However, MPC requires frequent inter-server communication, causing high performance overhead. Inspired by the prevalent activation sparsity of LLMs, where most neuron are not activated after non-linear activation functions, we propose an efficient private inference system, Comet. This system employs an accurate and fast predictor to predict the sparsity distribution of activation function output. Additionally, we introduce a new private inference protocol. It efficiently and securely avoids computations involving zero values by exploiting the spatial locality of the predicted sparse distribution. While this computation-avoidance approach impacts the spatiotemporal continuity of KV cache entries, we address this challenge with a low-communication overhead cache refilling strategy that merges miss requests and incorporates a prefetching mechanism. Finally, we evaluate Comet on four common LLMs and compare it with six state-of-the-art private inference systems. Comet achieves a 1.87x-2.63x speedup and a 1.94x-2.64x communication reduction.

📄 PDF Abstract BibTeX arXiv:2505.07239

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

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

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

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 relian…

Privacy Preserving

A Practitioner's Guide to Bayesian Inference in Pharmacometrics using Pumas

2023-03-31 · Mohamed Tarek, Jose Storopoli, Casey Davis, Chris Elrod 외

This paper provides a comprehensive tutorial for Bayesian practitioners in pharmacometrics using Pumas workflows. We start by giving a brief motivation of Bayesian inference for pharmacometrics highlighting limitations i…

Bayesian Inference

COMET-M: Reasoning about Multiple Events in Complex Sentences

2023-05-24 · Sahithya Ravi, Raymond Ng, Vered Shwartz

Understanding the speaker's intended meaning often involves drawing commonsense inferences to reason about what is not stated explicitly. In multi-event sentences, it requires understanding the relationships between even…

coreference-resolutionCoreference ResolutionSentence

GD-COMET: A Geo-Diverse Commonsense Inference Model

2023-10-23 · Mehar Bhatia, Vered Shwartz

With the increasing integration of AI into everyday life, it's becoming crucial to design AI systems that serve users from diverse backgrounds by making them culturally aware. In this paper, we present GD-COMET, a geo-di…

Paragraph-level Commonsense Transformers with Recurrent Memory

2020-10-04 · Saadia Gabriel, Chandra Bhagavatula, Vered Shwartz, Ronan Le Bras 외

Human understanding of narrative texts requires making commonsense inferences beyond what is stated explicitly in the text. A recent model, COMET, can generate such implicit commonsense inferences along several dimension…

SentenceWorld Knowledge