SecureRouter: 加密路由用于高效的安全推断
SecureRouter: Encrypted Routing for Efficient Secure Inference
AI总结:
SecureRouter通过加密路由和推断框架,实现高效的加密变压器推断,减少延迟并保持数据和模型保密。
摘要:
加密安全的神经网络推断通常依赖于安全计算技术,如多方安全计算(MPC),使云服务器能够处理客户端输入而无需解密。尽管先前的隐私保护推断系统在MPC中设计网络优化,但它们仍然缓慢且昂贵,限制了实际应用。主要瓶颈是它们使用单一固定变换器模型处理所有加密输入,忽略了不同输入需要不同模型大小来平衡效率和准确性。我们提出了SecureRouter,一种端到端的加密路由和推断框架,通过加密输入自适应模型选择加速安全变换器推断。SecureRouter建立了一个统一的加密管道,集成了安全路由和MPC优化的模型池,使路由、推断和协议执行协调进行,同时保持完整的数据和模型保密。该框架包括训练阶段和推断阶段的组件:一个MPC成本感知的安全路由,从加密特征预测每个模型的效用和成本,以及一个MPC优化的模型池,其架构和量化方案共同训练以最小化MPC通信和计算开销。与先前工作相比,SecureRouter实现了1.95倍的延迟减少,精度损失微乎其微,为可扩展和高效的加密AI推断提供了实用路径。我们的开源实现可在:https://github.com/UCF-ML-Research/SecureRouter
英文摘要:
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. Although prior privacy-preserving inference systems co-design network optimizations with MPC, they remain slow and costly, limiting real-world deployment. A major bottleneck is their use of a single, fixed transformer model for all encrypted inputs, ignoring that different inputs require different model sizes to balance efficiency and accuracy. We present SecureRouter, an end-to-end encrypted routing and inference framework that accelerates secure transformer inference through input-adaptive model selection under encryption. SecureRouter establishes a unified encrypted pipeline that integrates a secure router with an MPC-optimized model pool, enabling coordinated routing, inference, and protocol execution while preserving full data and model confidentiality. The framework includes training-phase and inference-phase components: an MPC-cost-aware secure router that predicts per-model utility and cost from encrypted features, and an MPC-optimized model pool whose architectures and quantization schemes are co-trained to minimize MPC communication and computation overhead. Compared to prior work, SecureRouter achieves a latency reduction by 1.95x with negligible accuracy loss, offering a practical path toward scalable and efficient secure AI inference. Our open-source implementation is available at: https://github.com/UCF-ML-Research/SecureRouter
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。