FuseFSS: Efficient Secure LLM Inference with Function Secret Sharing
Abstract
Lay Summary
Large language models are often used through online services, but users may not want to reveal sensitive inputs such as private prompts, medical notes, or business data. Secure inference protocols can protect these inputs by splitting the computation across two non-colluding servers, but this protection usually makes model inference much slower. This paper introduces FuseFSS, a compiler-based approach that makes a difficult part of secure language-model inference more efficient. Instead of designing a separate cryptographic protocol for each nonlinear operation in a model, FuseFSS describes these operations in a common format and automatically turns them into a small number of reusable secure-computation steps. This makes the system easier to extend and reduces repeated engineering effort. Experiments on BERT and GPT-style models show that FuseFSS preserves model accuracy while improving end-to-end inference speed and reducing communication and preprocessing costs. The work helps move privacy-preserving language-model services closer to practical deployment.