English

CryptoGRU: Low Latency Privacy-Preserving Text Analysis With GRU

Cryptography and Security 2021-09-13 v2 Artificial Intelligence

Abstract

Billions of text analysis requests containing private emails, personal text messages, and sensitive online reviews, are processed by recurrent neural networks (RNNs) deployed on public clouds every day. Although prior secure networks combine homomorphic encryption (HE) and garbled circuit (GC) to preserve users' privacy, naively adopting the HE and GC hybrid technique to implement RNNs suffers from long inference latency due to slow activation functions. In this paper, we present a HE and GC hybrid gated recurrent unit (GRU) network, CryptoGRU, for low-latency secure inferences. CryptoGRU replaces computationally expensive GC-based tanhtanh with fast GC-based ReLUReLU, and then quantizes sigmoidsigmoid and ReLUReLU with a smaller bit length to accelerate activations in a GRU. We evaluate CryptoGRU with multiple GRU models trained on 4 public datasets. Experimental results show CryptoGRU achieves top-notch accuracy and improves the secure inference latency by up to 138×138\times over one of state-of-the-art secure networks on the Penn Treebank dataset.

Keywords

Cite

@article{arxiv.2010.11796,
  title  = {CryptoGRU: Low Latency Privacy-Preserving Text Analysis With GRU},
  author = {Bo Feng and Qian Lou and Lei Jiang and Geoffrey C. Fox},
  journal= {arXiv preprint arXiv:2010.11796},
  year   = {2021}
}
R2 v1 2026-06-23T19:33:37.433Z