paper-with-me

Papers

MPC-Minimized Secure LLM Inference

2024-08-07 · Deevashwer Rathee, Dacheng Li, Ion Stoica, Hao Zhang, Raluca Popa

Many inference services based on large language models (LLMs) pose a privacy concern, either revealing user prompts to the service or the proprietary weights to the user. Secure inference offers a solution to this problem through secure multi-party computation (MPC), however, it is still impractical for modern LLM workload due to the large overhead imposed by MPC. To address this overhead, we propose Marill, a framework that adapts LLM fine-tuning to minimize MPC usage during secure inference. Marill introduces high-level architectural changes during fine-tuning that significantly reduce the number of expensive operations needed within MPC during inference, by removing some and relocating others outside MPC without compromising security. As a result, Marill-generated models are more efficient across all secure inference protocols and our approach complements MPC-friendly approximations for such operations. Compared to standard fine-tuning, Marill results in 3.6-11.3x better runtime and 2.4-6.9x better communication during secure inference across various MPC settings, while typically preserving over 90% performance across downstream tasks.

📄 PDF Abstract BibTeX arXiv:2408.03561

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Movable Antenna Aided Physical Layer Security with No Eavesdropper CSI

2024-12-27 · Zhenqiao Cheng, Chongjun Ouyang, Xingqi Zhang

A novel movable antenna (MA)-aided secure transmission framework is proposed to enhance the secrecy transmission rate without relying on the eavesdropper's channel state information. Within this framework, a joint beamfo…

Position

Secure Supervised Learning-Based Smart Home Authentication Framework

2024-02-01 · K. Swapna Sudha, N. Jeyanthi, Celestine Iwendi

The Smart home possesses the capability of facilitating home services to their users with the systematic advance in The Internet of Things (IoT) and information and communication technologies (ICT) in recent decades. The…

SecureRouter: Encrypted Routing for Efficient Secure Inference

2026-04-16 · Yukuan Zhang, Mengxin Zheng, Qian Lou arxiv

Cryptographically secure neural network inference typically relies on secure computing techniques such as Secure Multi-Party Computation (MPC), enabling cloud servers to process client inputs without decrypting them. Alt…

Efficient ML Models for Practical Secure Inference

2022-08-26 · Vinod Ganesan, Anwesh Bhattacharya, Pratyush Kumar, Divya Gupta 외

ML-as-a-service continues to grow, and so does the need for very strong privacy guarantees. Secure inference has emerged as a potential solution, wherein cryptographic primitives allow inference without revealing users' …

CrypTFlow2: Practical 2-Party Secure Inference

2020-10-13 · Deevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 외

We present CrypTFlow2, a cryptographic framework for secure inference over realistic Deep Neural Networks (DNNs) using secure 2-party computation. CrypTFlow2 protocols are both correct -- i.e., their outputs are bitwise …