SafetyNets: Verifiable Execution of Deep Neural Networks on an Untrusted Cloud [article]

Zahra Ghodsi, Tianyu Gu, Siddharth Garg
<span title="2017-06-30">2017</span> <i > arXiv </i> &nbsp; <span class="release-stage" >pre-print</span>
Inference using deep neural networks is often outsourced to the cloud since it is a computationally demanding task. However, this raises a fundamental issue of trust. How can a client be sure that the cloud has performed inference correctly? A lazy cloud provider might use a simpler but less accurate model to reduce its own computational load, or worse, maliciously modify the inference results sent to the client. We propose SafetyNets, a framework that enables an untrusted server (the cloud) to
more &raquo; ... provide a client with a short mathematical proof of the correctness of inference tasks that they perform on behalf of the client. Specifically, SafetyNets develops and implements a specialized interactive proof (IP) protocol for verifiable execution of a class of deep neural networks, i.e., those that can be represented as arithmetic circuits. Our empirical results on three- and four-layer deep neural networks demonstrate the run-time costs of SafetyNets for both the client and server are low. SafetyNets detects any incorrect computations of the neural network by the untrusted server with high probability, while achieving state-of-the-art accuracy on the MNIST digit recognition (99.4%) and TIMIT speech recognition tasks (75.22%).
<span class="external-identifiers"> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1706.10268v1">arXiv:1706.10268v1</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/3livqjsxqrdwphadwyq4rqo2ue">fatcat:3livqjsxqrdwphadwyq4rqo2ue</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20200823111023/https://arxiv.org/pdf/1706.10268v1.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/cf/48/cf48c890d97677d8bd4df1f9864cfc8fb4909cd9.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/1706.10268v1" title="arxiv.org access"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> arxiv.org </button> </a>