arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01584cs.CRcs.AI
收藏

TT-TFHE:一种环面全同态加密友好的神经网络架构

TT-TFHE: a Torus Fully Homomorphic Encryption-Friendly Neural Network Architecture

Nanyang Technological University(南洋理工大学);IIT Bombay(印度理工学院班加罗尔)

Adrien Benamira, Tristan Guérand, Thomas Peyrin, Sayandeep Saha

AI总结:

本文提出TT-TFHE框架,利用真值表神经网络将TFHE扩展到表格和图像数据,实现低内存、高速度的私有推理,性能优于现有同态加密方案。

摘要:

本文提出了TT-TFHE,一个深度神经网络全同态加密(FHE)框架,该框架利用最近一类称为真值表神经网络(TTnet)的卷积神经网络,有效地将环面FHE(TFHE)的使用扩展到表格和图像数据集。所提出的框架提供了一个易于实现、自动化的基于TTnet的设计工具箱,其底层采用(基于Python的)开源Concrete实现(基于CPU并实现查找表),用于加密数据的推理。实验评估表明,在三个表格数据集上,TT-TFHE在时间和准确性方面大大优于所有同态加密(HE)设置,其他特征均相同。在MNIST和CIFAR-10等图像数据集上,我们表明TT-TFHE持续且大幅优于其他TFHE设置,并且与其他HE变体(如BFV或CKKS)相比具有竞争力(同时保持相同的128位加密安全保证)。此外,我们的解决方案具有非常低的内存占用(MNIST仅需几十MB),这与其他HE设置形成鲜明对比,后者通常每个用户需要几十到几百GB的内存(外加通信开销)。这是第一项在表格数据集和MNIST上提供完全实用的私有推理解决方案(即推理时间几秒,内存几十MB)的工作,并且可以轻松扩展到服务器端的多线程和多用户。

英文摘要:

This paper presents TT-TFHE, a deep neural network Fully Homomorphic Encryption (FHE) framework that effectively scales Torus FHE (TFHE) usage to tabular and image datasets using a recent family of convolutional neural networks called Truth-Table Neural Networks (TTnet). The proposed framework provides an easy-to-implement, automated TTnet-based design toolbox with an underlying (python-based) open-source Concrete implementation (CPU-based and implementing lookup tables) for inference over encrypted data. Experimental evaluation shows that TT-TFHE greatly outperforms in terms of time and accuracy all Homomorphic Encryption (HE) set-ups on three tabular datasets, all other features being equal. On image datasets such as MNIST and CIFAR-10, we show that TT-TFHE consistently and largely outperforms other TFHE set-ups and is competitive against other HE variants such as BFV or CKKS (while maintaining the same level of 128-bit encryption security guarantees). In addition, our solutions present a very low memory footprint (down to dozens of MBs for MNIST), which is in sharp contrast with other HE set-ups that typically require tens to hundreds of GBs of memory per user (in addition to their communication overheads). This is the first work presenting a fully practical solution of private inference (i.e. a few seconds for inference time and a few dozens MBs of memory) on both tabular datasets and MNIST, that can easily scale to multiple threads and users on server side.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑