Protecting deep learned models
Abstract
Apparatus and methods are disclosed for using machine learning models with private and public domains. Operations can be applied to transform input to a machine learning model in a private domain that is kept secret or otherwise made unavailable to third parties. In one example of the disclosed technology, a method includes applying a private transform to produce transformed input, providing the transformed input to a machine learning model that was trained using a training set modified by the private transform, and generating inferences with the machine learning model using the transformed input. Examples of suitable transforms that can be employed include matrix multiplication, time or spatial domain to frequency domains, and partitioning a neural network model such that an input and at least one hidden layer form part of the private domain, while the remaining layers form part of the public domain.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 57 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
Computer-readable storage devices or memory storing computer-readable instructions that when executed by at least one processor in a computing system, cause the computing system to train or generate inferences with a machine learning model using at least a first domain and a second domain of computing system resources, the computing system being configured to provide fewer access restrictions to a first domain of the computing system resources than access restrictions provided to a second domain of the computing system resources, the computer-readable instructions comprising: instructions for a scrambler that cause the computing system, with the second domain computing resources to scramble input data by performing a transform operation on the input data, producing transformed input data for use training or generating inferences with the machine learning model; and instructions that cause the computing system to, with the first domain computing resources, train or generate inferences w
- Claim 2Depends on #1
The computer-readable storage devices or memory of claim 1, wherein the scrambler instructions comprise instructions that cause the computing system to scramble input to produce the transformed input data by at least one of: performing matrix operations on the input data; transforming audio or image data in the input data to frequency domain data; and decrypting the input data using a decryption key or cipher.
- Claim 3Depends on #1
The computer-readable storage devices or memory of claim 1, wherein the scrambler instructions comprise instructions that cause the computing system to scramble input to produce the transformed input data by: implementing some nodes of an artificial neural network in the second domain and the remaining nodes of the artificial neural network in the first domain.
- Claim 4Depends on #1
The computer-readable storage devices or memory of claim 1, the instructions further comprising: instructions that cause the computing system to perform training reconfiguration of the machine learning model by: forward propagating the transformed input to outputs of the machine learning model, determining errors between expected values of the outputs and output values of the machine learning model outputs, and adjusting at least one parameter of the machine learning model based on the determined errors; and instructions that cause the computing system to repeatedly perform the training reconfiguration until a metric of the determined errors exceeds a predetermined threshold.
- Claim 5Depends on #1
The computer-readable storage devices or memory of claim 1, wherein the computer-readable storage devices or memory further comprise: instructions that cause the computing system to generate a prediction for the input based on output of the machine learning model, the outputs being generated by forward propagating the transformed input through the machine learning model.
- Claim 6Depends on #1
The computer-readable storage devices or memory of claim 1, wherein the scrambler instructions further comprise: instructions that cause the processor to perform the transform operation with a matrix provided using the second domain computing system resources, the matrix being restricted from being accessed by the first domain computing system resources.
- Claim 7Depends on #1
The computer-readable storage devices or memory of claim 1, wherein: the input data is expressed in a physical domain and the transformed input data is in a frequency domain; and the transformed input data comprises rearranged samples of the frequency domain, the samples being rearranged using the scrambler.
- Claim 8Depends on #1
The computer-readable storage devices or memory of claim 1, wherein the scrambler instructions comprise: instructions that cause the computing system to obtain a decryption key from the second domain compute resources; and instructions that cause the computing system to perform the transform by decrypting data.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. application Ser. No. 16/828,889, filed Mar. 24, 2020, which application claims the benefit of U.S. Provisional Application No. 62/929,911, entitled “ PROTECTING DEEP LEARNED MODELS, ” filed Nov. 3, 2019, which applications are incorporated herein by reference in their entirety. BACKGROUND Data science is increasingly being applied to a wide variety of applications. Machine learning models are consuming larger amounts of memory, storage, and processing resources as these models are deployed to new areas. In particular, obtaining well-trained machine learning models can take substantial time, effort, and skill to develop models that are well-behaved across a wide variety of input datasets. Data for machine learning models may be encrypted in order to prevent unauthorized access to trained machine learning models. Thus, as the usage and size of machine learning models increases, the memory, storage, and processing resources used to encrypt and decrypt these models increases accordingly. Further, machine learning models may be stored and used in proprietary formats or in open access formats. Accordingly, there is ample opportunity for improvement in technology used to protect machine learning models from unauthorized access. SUMMARY Apparatus and methods are disclosed for using machine learning models with computing resources having at least one private access domain and one public access domain. Operations can be applied to transform input to a machine learning model in the private domain that is kept secret or otherwise made unavailable to third parties. The transformed input is then provided to a machine learning model. Because the machine learning model is not usable without transforming the input according to the private domain transformation, the rest of the machine learning model can be made publicly available and distributed. In some examples of the disclosed technology, a machine
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 (57)
| Patent | Title | Year | Citations |
|---|---|---|---|
| KR 20050092981 A | An apparatus for laminating dry film resist | — | 0 |
Non-Patent Literature (10)
- “
- International Search Report and Written Opinion Issued in PCT Application No. PCT/US20/056734
- ”
- , Mailed Date: Feb. 10, 2021, 12 Pages.
- Anonymous, Artificial Intelligence Index 2017 Annual Report, Nov. 2017, 101 pages.
- Baydin et al.,
- “
- Automatic Differentiation in Machine Learning: a Survey,
- ”
- (2018), Feb. 5, 2018, 43 pages (also published as arXiv:1502.05767v4 [cs.SC] (Feb. 5, 2018)).