SecureRouter: Encrypted Routing for Efficient Secure Inference

Yukuan Zhang, Mengxin Zheng, Qian Lou
4/16/2026
3 citations
cs.CRcs.AI
transformer-attention

Official code: UCF-ML-Research/SecureRouter (2 stars, Python, last commit 2026-04-14). 1 more implementation below.

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
UCF-ML-Research/SecureRouterOfficial2Python–2026-04-14
UCF-ML-Research/SecureRouter-Encrypted-Routing-for-Efficient-Secure-InferenceOfficial0––2026-04-07
20Python, ShellApr 14, 20267 months ago

Similar Papers

Cite this paper

@article{zhang2026securerouter,
  title  = {SecureRouter: Encrypted Routing for Efficient Secure Inference},
  author = {Yukuan Zhang and Mengxin Zheng and Qian Lou},
  year   = {2026},
  eprint = {2604.15499},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.15499v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.15499.svg)](https://codeofpaper.com/paper/2604.15499)

Discussion