paper-with-me

홈 › Papers

GPU-based Private Information Retrieval for On-Device Machine Learning Inference

2023-01-26 · Maximilian Lam, Jeff Johnson, Wenjie Xiong, Kiwan Maeng, Udit Gupta, Yang Li, Liangzhen Lai, Ilias Leontiadis, Minsoo Rhu, Hsien-Hsin S. Lee, Vijay Janapa Reddi, Gu-Yeon Wei, David Brooks, G. Edward Suh

On-device machine learning (ML) inference can enable the use of private user data on user devices without revealing them to remote servers. However, a pure on-device solution to private ML inference is impractical for many applications that rely on embedding tables that are too large to be stored on-device. In particular, recommendation models typically use multiple embedding tables each on the order of 1-10 GBs of data, making them impractical to store on-device. To overcome this barrier, we propose the use of private information retrieval (PIR) to efficiently and privately retrieve embeddings from servers without sharing any private information. As off-the-shelf PIR algorithms are usually too computationally intensive to directly use for latency-sensitive inference tasks, we 1) propose novel GPU-based acceleration of PIR, and 2) co-design PIR with the downstream ML application to obtain further speedup. Our GPU acceleration strategy improves system throughput by more than $20 \times$ over an optimized CPU PIR implementation, and our PIR-ML co-design provides an over $5 \times$ additional throughput improvement at fixed model quality. Together, for various on-device ML applications such as recommendation and language modeling, our system on a single V100 GPU can serve up to $100,000$ queries per second -- a $>100 \times$ throughput improvement over a CPU-based baseline -- while maintaining model accuracy.

📄 PDF Abstract BibTeX arXiv:2301.10904

Code (1)

facebookresearch/GPU-DPF 공식 구현 pytorch

Tasks

CPUGPUInformation RetrievalLanguage ModelingLanguage ModellingRetrieval

Similar Papers 제목 키워드 기반

Evaluating Privacy Leakage in Split Learning

2023-05-22 · Xinchi Qiu, Ilias Leontiadis, Luca Melis, Alex Sablayrolles 외

Privacy-Preserving machine learning (PPML) can help us train and deploy models that utilize private information. In particular, on-device machine learning allows us to avoid sharing raw data with a third-party server dur…

Privacy Preserving

Prive-HD: Privacy-Preserved Hyperdimensional Computing

2020-05-14 · Behnam Khaleghi, Mohsen Imani, Tajana Rosing

The privacy of data is a major challenge in machine learning as a trained model may expose sensitive information of the enclosed dataset. Besides, the limited computation capability and capacity of edge devices have made…

Privacy PreservingQuantization

Private Split Inference of Deep Networks

2021-01-01 · Mohammad Samragh, Hossein Hosseini, Kambiz Azarian, Joseph Soriaga

Splitting network computations between the edge device and the cloud server is a promising approach for enabling low edge-compute and private inference of neural networks. Current methods for providing the privacy train …

Big Reasoning with Small Models: Instruction Retrieval at Inference Time

2025-10-15 · Kenan Alkiek, David Jurgens, Vinod Vydiswaran arxiv

Small language models (SLMs) enable low-cost, private, on-device inference, but they often fail on problems that require specialized domain knowledge or multi-step reasoning. Existing approaches for improving reasoning e…

Federated Learning: Opportunities and Challenges

2021-01-14 · Priyanka Mary Mammen

Federated Learning (FL) is a concept first introduced by Google in 2016, in which multiple devices collaboratively learn a machine learning model without sharing their private data under the supervision of a central serv…

BIG-bench Machine LearningFederated Learning