Pith. sign in

REVIEW 1 cited by

FastQuery: Communication-efficient Embedding Table Query for Private LLM Inference

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.16241 v1 pith:QU2CNA5Z submitted 2024-05-25 cs.CR cs.AI

classification cs.CRcs.AI
keywords timesembeddingtablefastqueryprivatequerycommunicationuser
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

With the fast evolution of large language models (LLMs), privacy concerns with user queries arise as they may contain sensitive information. Private inference based on homomorphic encryption (HE) has been proposed to protect user query privacy. However, a private embedding table query has to be formulated as a HE-based matrix-vector multiplication problem and suffers from enormous computation and communication overhead. We observe the overhead mainly comes from the neglect of 1) the one-hot nature of user queries and 2) the robustness of the embedding table to low bit-width quantization noise. Hence, in this paper, we propose a private embedding table query optimization framework, dubbed FastQuery. FastQuery features a communication-aware embedding table quantization algorithm and a one-hot-aware dense packing algorithm to simultaneously reduce both the computation and communication costs. Compared to prior-art HE-based frameworks, e.g., Cheetah, Iron, and Bumblebee, FastQuery achieves more than $4.3\times$, $2.7\times$, $1.3\times$ latency reduction, respectively and more than $75.7\times$, $60.2\times$, $20.2\times$ communication reduction, respectively, on both LLAMA-7B and LLAMA-30B.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. HE-LRM: Encrypted Deep Learning Recommendation Models using Fully Homomorphic Encryption

    cs.CR 2025-06 conditional novelty 6.0 of 10

    Client-side digit decomposition and block-diagonal packing enable server-side private embedding lookups in FHE, cutting embedding-lookup latency by up to 56x versus CodedHeLUT and enabling end-to-end encrypted DLRM in...

Pith tools