arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.03287stat.MLcs.CRcs.LG
收藏

Slalom:可信硬件中神经网络的快速、可验证和私有执行

Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardware

Stanford University(斯坦福大学)

Florian Tramèr, Dan Boneh

摘要:

随着机器学习(ML)应用于安全关键或敏感领域,外包ML计算的完整性和隐私性需求日益增长。一个实用的解决方案来自可信执行环境(TEE),它使用硬件和软件保护将敏感计算与不可信的软件堆栈隔离开来。然而,与不受信任的替代方案相比,这些隔离保证在性能上是有代价的。本文通过在可信设备和不可信设备之间有效地划分深度神经网络(DNN)计算,启动了TEE中DNN的高性能执行研究。基于矩阵乘法的有效外包方案,我们提出了Slalom,这是一个框架,可以安全地从TEE(例如,英特尔SGX或Sanctum)到更快但不受信任的协同定位处理器。我们通过在英特尔SGX安全区中运行DNN来评估Slalom,该安全区选择性地将工作委托给不受信任的GPU。对于规范DNN(VGG16,MobileNet和ResNet变体),我们获得了6倍至20倍的可验证推理吞吐量增加,以及4倍至11倍的可验证和私有推理吞吐量增加。

英文摘要:

As Machine Learning (ML) gets applied to security-critical or sensitive domains, there is a growing need for integrity and privacy for outsourced ML computations. A pragmatic solution comes from Trusted Execution Environments (TEEs), which use hardware and software protections to isolate sensitive computations from the untrusted software stack. However, these isolation guarantees come at a price in performance, compared to untrusted alternatives. This paper initiates the study of high performance execution of Deep Neural Networks (DNNs) in TEEs by efficiently partitioning DNN computations between trusted and untrusted devices. Building upon an efficient outsourcing scheme for matrix multiplication, we propose Slalom, a framework that securely delegates execution of all linear layers in a DNN from a TEE (e.g., Intel SGX or Sanctum) to a faster, yet untrusted, co-located processor. We evaluate Slalom by running DNNs in an Intel SGX enclave, which selectively delegates work to an untrusted GPU. For canonical DNNs (VGG16, MobileNet and ResNet variants) we obtain 6x to 20x increases in throughput for verifiable inference, and 4x to 11x for verifiable and private inference.

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

↑