arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.12342cs.LGcs.CR
收藏

西西弗斯:在隐私保护深度学习中使用低次多项式激活的警示故事

Sisyphus: A Cautionary Tale of Using Low-Degree Polynomial Activations in Privacy-Preserving Deep Learning

New York University(纽约大学)

Karthik Garimella, Nandan Kumar Jha, Brandon Reagen

摘要:

客户端-服务器机器学习中的隐私问题已经引起了私有推理(PI),其中神经推理直接发生在加密输入上。PI保护客户的个人数据和服务器的知识产权。PI中的一个常见做法是使用乱码电路私下计算非线性函数,即ReLU。然而,乱码电路遭受高存储、带宽和延迟成本。为了缓解这些问题,已经采用PI友好的多项式激活函数来取代ReLU。在这项工作中,我们要求:用低次多项式激活函数替代所有ReLU来构建深度隐私友好的神经网络是否可行?我们通过分析用多项式替代ReLU的挑战来探索这个问题,从简单的丢弃和替换解决方案开始,到新颖的,更复杂的替换和重新训练策略。我们检查每种方法的局限性,并提供评论使用多项式激活函数PI。我们发现所有评估的解决方案都存在逃逸激活问题:前向激活值不可避免地开始以指数速率从多项式的稳定区域扩展,这导致爆炸值(NaN)或差的近似。

英文摘要:

Privacy concerns in client-server machine learning have given rise to private inference (PI), where neural inference occurs directly on encrypted inputs. PI protects clients' personal data and the server's intellectual property. A common practice in PI is to use garbled circuits to compute nonlinear functions privately, namely ReLUs. However, garbled circuits suffer from high storage, bandwidth, and latency costs. To mitigate these issues, PI-friendly polynomial activation functions have been employed to replace ReLU. In this work, we ask: Is it feasible to substitute all ReLUs with low-degree polynomial activation functions for building deep, privacy-friendly neural networks? We explore this question by analyzing the challenges of substituting ReLUs with polynomials, starting with simple drop-and-replace solutions to novel, more involved replace-and-retrain strategies. We examine the limitations of each method and provide commentary on the use of polynomial activation functions for PI. We find all evaluated solutions suffer from the escaping activation problem: forward activation values inevitably begin to expand at an exponential rate away from stable regions of the polynomials, which leads to exploding values (NaNs) or poor approximations.

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

↑