🤖 AI Summary
Researchers have introduced Bifrost, an innovative hybrid architecture designed to enhance privacy-preserving inference for cloud-hosted transformers and large language models (LLMs). The framework addresses confidentiality concerns surrounding sensitive user prompts by combining Fully Homomorphic Encryption (FHE) with CPU Trusted Execution Environments (TEEs). In this architecture, user data is securely handled by the CPU TEE, while less sensitive operations are efficiently processed by external accelerators. This approach enables a secure delegation of linear layer operations, minimizing the exposure of intermediate states that could compromise user confidentiality.
Significantly, Bifrost achieves impressive performance improvements, boasting latency reductions of up to 9.25x on GPT-2 and 9.91x on LLaMA 3, with even more dramatic reductions of 14.6-45.8x in end-to-end inference times using direct CKKS/FHE deployments. The key takeaway from this research is the concept of selective encrypted execution, which allows for improved efficiency by utilizing FHE only in critical scenarios, while keeping non-linear and prompt-side processes secured within the CPU TEE. This advancement not only enhances user data privacy but also optimizes the performance of AI models in cloud environments, making it a significant development for the AI/ML community.
Loading comments...
login to comment
loading comments...
no comments yet