English

Almost-Free Queue Jumping for Prior Inputs in Private Neural Inference

Cryptography and Security 2026-03-16 v1

Abstract

Privacy-Preserving Machine Learning as a Service (PP-MLaaS) enables secure neural network inference by integrating cryptographic primitives such as homomorphic encryption (HE) and multi-party computation (MPC), protecting both client data and server models. Recent mixed-primitive frameworks have significantly improved inference efficiency, yet they process batched inputs sequentially, offering little flexibility for prioritizing urgent requests. Na\"ive queue jumping introduces considerable computational and communication overhead, increasing non-negligible latency for in-queue inputs. We initiate the study of privacy-preserving queue jumping in batched inference and propose PrivQJ, a novel framework that enables efficient priority handling without degrading overall system performance. PrivQJ exploits shared computation across inputs via in-processing slot recycling, allowing prior inputs to be piggybacked onto ongoing batch computation with almost no additional cryptographic cost. Both theoretical analysis and experimental results demonstrate over an order-of-magnitude reduction in overhead compared to state-of-the-art PP-MLaaS systems.

Keywords

Cite

@article{arxiv.2603.12946,
  title  = {Almost-Free Queue Jumping for Prior Inputs in Private Neural Inference},
  author = {Qiao Zhang and Minghui Xu and Tingchuang Zhang and Xiuzhen Cheng},
  journal= {arXiv preprint arXiv:2603.12946},
  year   = {2026}
}
R2 v1 2026-07-01T11:18:21.534Z