hottub.patents
US 12,346,830 B2#3507496 Most CitedActiveUnited States (USPTO)Utility

Private inference in deep neural network

0Forward Citations (#3507496 Global)
0.0/yrCitation Velocity (#3507496 Global)
0.00Citation PageRank (#3507496 Global)
5Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A secure inference over Deep Neural Networks (DNNs) using secure two-party computation to perform privacy-preserving machine learning. The secure inference uses a particular type of comparison that can be used as a building block for various layers in the DNN including, for example, ReLU activations and divisions. The comparison securely computes a Boolean share of a bit representing whether input value x is less than input value y, where x is held by a user of the DNN, and where y is held by a provider of the DNN. Each party computing system parses their input into leaf strings of multiple bits. This is much more efficient than if the leaf strings were individual bits. Accordingly, the secure inference described herein is more readily adapted for using in complex DNNs.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method for performing secure inference over a Deep Neural Network (DNN) using secure two-party computation, which involves a first party and a second party, to perform privacy-preserving machine learning such that a provider of the DNN does not learn anything about inputs to the DNN or about weights of the DNN beyond that which can be inferred from an output of the DNN and the inputs to the DNN, wherein said method is further performed in a manner to reduce communications between the first party and the second party via use of an oblivious transfer technique, the method comprising: performing a comparison that securely computes a Boolean share of a bit representing whether input value x is less than input value y, where x is held by a user of the DNN, and where y is held by the provider of the DNN, the comparison performed by: parsing x into q leaf strings x q-1. . . x 0, where each of the q leaf strings is more than one bit, and where x is equal to the concatenation x q-1 ∥. . . ∥ x

  2. Claim 2Depends on #1

    The method in accordance with claim 1, wherein inputs x and y are each of size bits, and each leaf string is of size m bits, where m divides.

  3. Claim 3Depends on #1

    The method in accordance with claim 1, wherein inputs x and y are each of size bits, and each leaf string has a maximum size of m bits, where m does not divide.

  4. Claim 4Depends on #1

    The method in accordance with claim 1, the parsing comprising parsing so that at least one of the leaf strings of each of the inputs has less than m bits.

  5. Claim 5Depends on #2

    The method in accordance with claim 2, wherein /m is not a power of 2.

  6. Claim 6Depends on #5

    The method in accordance with claim 5, the recursively calculating shares comprising first constructing a binary tree with a power of two leaves.

  7. Claim 7Depends on #1

    The method in accordance with claim 1, the computing shares of inequality 1{x n < y n } occurring for each of all n from q − 1 down to 1, and the computing shares of equality 1{x n =y n } occurring for each of all n from q − 1 down to 1.

  8. Claim 8Depends on #1

    The method in accordance with claim 1, wherein for at least one of the comparisons, the comparison is performed as part of a ReLU activation on a value a ∈ L using arithmetic shares of a.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application claims the benefit of U.S. Provisional Application No. 63/051,754 filed Jul. 14, 2020, which is hereby incorporated herein by reference in its entirety. BACKGROUND Machine learning is often performed by training a deep neural network (DNN) on data (called “ training data ” ). Training the neural network involves changing the weights w of the DNN until the DNN gives accurate inference. For example, a DNN could be trained on medical images in order to predict the presence or absence of certain diseases, alerting a doctor for further evaluation. Later, the trained DNN can be used to actually formulate a prediction on new data (called herein “ evaluation data ” ) not used during training. Whether training the DNN or evaluation using the DNN, it is often important to preserve privacy. Recently, there have been many works that have made advances towards realizing secure inference [4, 6, 14, 18, 20, 23, 30, 42, 47, 48, 50, 54, 56]. In the nomenclature used within this application, when numbers are included within square brackets, this application is referencing correspondingly numbered documents in the bibliography included in the provisional application that has been incorporated herein, and reproduced further below in Section 11. Emerging applications for secure inference are in healthcare where prior work [4, 44, 54] has explored secure inference services for privacy preserving medical diagnosis of chest diseases, diabetic retinopathy, malaria, and so on. Consider a server that holds the weights w of a publicly known deep neural network (DNN), F, that has been trained on private data (e.g., actual medical images of patients). A client holds a private input x (a new patient's medical image); in a standard machine learning (ML) inference task, the goal is for the client to learn the prediction F (x,w) (e.g., a possible diagnosis) of the server's model on the input x. In secure inference, the inference is performed wi

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (5)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Mohassel, et al.,
  • “
  • ABY3: A Mixed Protocol Framework for Machine Learning
  • ”
  • , in Proceedings of ACM SIGSAC Conference on Computer and Communications Security, Oct. 15, 2018, pp. 35-52.
  • Mohassel, et al.,
  • “
  • SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • ”
  • , in Proceedings of IEEE Symposium on Security and Privacy, May 22, 2017, pp. 19-38.