CryptoGRU:基于GRU的低延迟隐私保护文本分析
CryptoGRU: Low Latency Privacy-Preserving Text Analysis With GRU
摘要:
每天都有数十亿包含私人电子邮件、个人短信和敏感在线评论的文本分析请求由部署在公共云上的递归神经网络(RNN)处理。虽然现有的安全网络结合了同态加密(HE)和乱码电路(GC)来保护用户的隐私,但是天真地采用HE和GC混合技术来实现RNN由于缓慢的激活函数而遭受长的推理延迟。在本文中,我们提出了一个HE和GC混合门控递归单元(GRU)网络,CryptoGRU,用于低延迟安全推理。CryptoGRU用快速的基于GC的$ReLU$替换计算昂贵的基于GC的$tanh$,然后用更小的比特长度量化$sigmoid$和$ReLU$,以加速GRU中的激活。我们使用在4个公共数据集上训练的多个GRU模型来评估CryptoGRU。实验结果表明,CryptoGRU在Penn Treebank数据集上实现了一流的准确性,并将安全推理延迟提高了$138\times$。
英文摘要:
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 $tanh$ with fast GC-based $ReLU$, and then quantizes $sigmoid$ and $ReLU$ 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\times$ over one of state-of-the-art secure networks on the Penn Treebank dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。