FOBNN:基于二值化神经网络的快速不经意推理
FOBNN: Fast Oblivious Inference via Binarized Neural Networks
AI总结:
提出基于二值化神经网络的快速不经意推理框架FOBNN,通过位长限制和逐层位累加算法优化不经意位计数瓶颈,在不泄露数据的前提下显著提升线性操作效率,并在基准测试和生物信息学中验证其优越性。
摘要:
深度学习的卓越性能催生了深度学习即服务的兴起,允许客户端将个人数据发送给服务提供商以进行模型预测。在此背景下,一个持续的挑战是保护客户端敏感数据的隐私。不经意推理允许在客户端输入上执行神经网络,而不会向服务提供商透露输入或结果。在本文中,我们提出了FOBNN,一个基于二值化神经网络的快速不经意推理框架。在FOBNN中,通过神经网络二值化,我们将线性操作(例如卷积和全连接操作)转换为同或运算和不经意位计数问题。对于混淆电路或位秘密共享等安全多方计算技术,XNOR操作不会产生通信开销,使得OBC问题成为线性操作的主要瓶颈。为了解决这个问题,我们首先提出了位长限制算法,通过最小化位表示来减少冗余计算。随后,我们开发了逐层位累加算法,逐层利用纯位操作以进一步提升性能。我们还通过链接优化和结构探索增强了二值化神经网络结构。前者在给定网络结构下优化链接连接,而后者在相同安全计算成本下探索最优网络结构。我们的理论分析表明,BLB算法比最先进的OBC算法性能提升17%至55%,而LBA表现出近100%的提升。全面的概念验证评估表明,FOBNN在流行基准上优于先前技术,并在新兴生物信息学中显示出有效性。
英文摘要:
The remarkable performance of deep learning has sparked the rise of Deep Learning as a Service (DLaaS), allowing clients to send their personal data to service providers for model predictions. A persistent challenge in this context is safeguarding the privacy of clients' sensitive data. Oblivious inference allows the execution of neural networks on client inputs without revealing either the inputs or the outcomes to the service providers. In this paper, we propose FOBNN, a Fast Oblivious inference framework via Binarized Neural Networks. In FOBNN, through neural network binarization, we convert linear operations (e.g., convolutional and fully-connected operations) into eXclusive NORs (XNORs) and an Oblivious Bit Count (OBC) problem. For secure multiparty computation techniques, like garbled circuits or bitwise secret sharing, XNOR operations incur no communication cost, making the OBC problem the primary bottleneck for linear operations. To tackle this, we first propose the Bit Length Bounding (BLB) algorithm, which minimizes bit representation to decrease redundant computations. Subsequently, we develop the Layer-wise Bit Accumulation (LBA) algorithm, utilizing pure bit operations layer by layer to further boost performance. We also enhance the binarized neural network structure through link optimization and structure exploration. The former optimizes link connections given a network structure, while the latter explores optimal network structures under same secure computation costs. Our theoretical analysis reveals that the BLB algorithm outperforms the state-of-the-art OBC algorithm by a range of 17% to 55%, while the LBA exhibits an improvement of nearly 100%. Comprehensive proof-of-concept evaluation demonstrates that FOBNN outperforms prior art on popular benchmarks and shows effectiveness in emerging bioinformatics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。