Bi-CryptoNets: Leveraging Different-Level Privacy for Encrypted Inference
Man-Jie Yuan, Zheng Zou, Wei Gao
TL;DR
Bi-CryptoNets introduce a dual-branch privacy framework that partitions input data into sensitive and insensitive regions, applying strong homomorphic encryption to the sensitive portion while perturbing the rest. The plaintext and ciphertext branches operate in parallel and exchange information through unidirectional connections and a two-layer feature integration to achieve accurate inference with reduced HE workload. A feature-based knowledge distillation approach aligns the two branches with a teacher network trained on full inputs, boosting performance. Empirical results on MNIST, CIFAR-10, and CIFAR-100 demonstrate significant latency reductions and competitive accuracy compared to full-input private nets, indicating practical viability for low-latency, privacy-preserving inference in MLaaS contexts.
Abstract
Privacy-preserving neural networks have attracted increasing attention in recent years, and various algorithms have been developed to keep the balance between accuracy, computational complexity and information security from the cryptographic view. This work takes a different view from the input data and structure of neural networks. We decompose the input data (e.g., some images) into sensitive and insensitive segments according to importance and privacy. The sensitive segment includes some important and private information such as human faces and we take strong homomorphic encryption to keep security, whereas the insensitive one contains some background and we add perturbations. We propose the bi-CryptoNets, i.e., plaintext and ciphertext branches, to deal with two segments, respectively, and ciphertext branch could utilize the information from plaintext branch by unidirectional connections. We adopt knowledge distillation for our bi-CryptoNets by transferring representations from a well-trained teacher neural network. Empirical studies show the effectiveness and decrease of inference latency for our bi-CryptoNets.
