# US 2023/0409874 A1 · Accelerated transfer learning as a service for neural networks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409874 A1
- Document ID: US20230409874A1
- Status: Published application
- Kind: A1
- Application number: 17/845,063
- Filed: 2022-06-21
- Published: 2023-12-21
- Earliest claimed: 2022-06-21
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Jorge Alexandre SILVA TAVARES; Assaf AVIHOO; Thilo WILL; Andrei Lucian AVRAM
- Web page: https://patentgrep.com/patent/US20230409874A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 3/063: using electronic means
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the present disclosure provide accelerated transfer learning for machine learning models, such as neural networks, as a service. In doing so, the aspects disclosed herein decouple the conversion process for use of machine learning models from deployment of the models in a production environment through the creation of one or more common generic models that execute on a hardware accelerator, such as a FPGA. Additional aspects of the disclosure relate to the creation of an accelerated machine learning model. The accelerated machine learning model is created by identifying common portions of a machine learning model that can be leveraged by a plurality of different machine learning models. Still further aspects of the disclosure relate to training scenario specific machine learning models for use with an accelerated machine learning model.

## Claims

### Claim 1

A method for processing input data using one or more accelerated machine learning models and one or more scenario specific machine learning models, the method comprising:
receiving input data;
providing the input data to an accelerated machine learning model, wherein the accelerated machine learning model is configured to be executed on a hardware accelerator;
generating, using the accelerated machine learning model, a set of transformed feature vectors;
providing the transformed feature vectors to the one or more scenario specific machine learning models, wherein the one or more scenario specific machine learning model are configured to be executed on a central processing unit (CPU);
generating, using the one or more scenario specific models, an output determination; and
providing the output determination.

### Claim 2 (depends on 1)

The method of claim 1, wherein the one or more scenario specific machine learning models are trained to perform a specific task based upon a request associated with the input data.

### Claim 3 (depends on 2)

The method of claim 2, wherein providing the output determination comprises performing a task determined by the one or more scenario specific machine learning models.

### Claim 4 (depends on 1)

The method of claim 1, further comprising determining, based upon the input data the accelerated machine learning model from the one or more accelerated machine learning models.

### Claim 5 (depends on 4)

The method of claim 4, wherein the determination is based upon a task associated with the input data.

### Claim 6 (depends on 4)

The method of claim 4, wherein the determination is based upon a type of specific machine learning model associated with the input data.

### Claim 7 (depends on 1)

The method of claim 1, wherein the hardware accelerator comprises one or more of:
a field-programmable gate array (FPGA);
a graphics processing unit (GPU);
a tensor processing unit (TPU); or
an application-specific integrated circuit (ASIC).

### Claim 8 (depends on 1)

The method of claim 1, wherein the accelerated machine learning model comprises common portions of a plurality of machine learning models, the common portions being executed by the plurality of machine learning models, such that the accelerated machine learning model can be used with the plurality of machine learning models.

### Claim 9 (depends on 8)

The method of claim 8, wherein the accelerated machine learning models is generated based upon the common portions, wherein the common portions are compiled for execution on the hardware accelerator.

### Claim 10

A system comprising:
at least one processor;
at least one field-programmable gate array (FPGA); and
memory encoding computer executable instructions that, when executed by the at least one processor, performs operations comprising:
receive input data related to a task to be processed using machine learning;
provide the input data to an accelerated machine learning model, wherein the accelerated machine learning model is configured to be executed on the FPGA;
generate, using the accelerated machine learning model, a set of transformed feature vectors;
provide the transformed feature vectors to one or more scenario specific machine learning models, wherein the one or more scenario specific machine learning model are configured to be executed on the processor;
generate, using the one or more scenario specific models, an output determination; and
provide the output determination.

### Claim 11 (depends on 10)

The system of claim 10, wherein the accelerated machine learning model comprises common portions of a plurality of machine learning models, the common portions being executed by the plurality of machine learning models, such that the accelerated machine learning model can be used with the plurality of machine learning models.

### Claim 12 (depends on 11)

The system of claim 11, wherein the accelerated machine learning model is generated based upon the common portions, wherein the common portions are compiled for execution on the hardware accelerator.

### Claim 13 (depends on 10)

The system of claim 10, wherein the one or more scenario specific machine learning models are trained using a set of training data generated by the accelerated machine learning model.

### Claim 14 (depends on 10)

The system of claim 10, wherein the one or more scenario specific machine learning models are trained using a set of training data, wherein portions of the one or more scenario specific machine learning models that correspond to the accelerated machine learning model are locked during the training process.

### Claim 15 (depends on 10)

The system of claim 10, wherein the one or more scenario specific machine learning models are trained to perform a specific task based upon the input data.

### Claim 16 (depends on 15)

The system of claim 15, wherein providing the output determination comprises performing a task determined by the one or more scenario specific machine learning models.

### Claim 17

A computer storage medium comprising computer executable instructions that, when executed by at least one processor, performs a method comprising:
receiving input data;
providing the input data to an accelerated machine learning model, wherein the accelerated machine learning model is configured to be executed on a hardware accelerator;
generating, using the accelerated machine learning model, a set of transformed feature vectors;
providing the transformed feature vectors to one or more scenario specific machine learning models, wherein the one or more scenario specific machine learning models are configured to be executed on a central processing unit (CPU);
generating, using the one or more scenario specific models, an output determination; and
performing a task related to the input data based upon the output determination.

### Claim 18 (depends on 17)

The computer storage medium of claim 17, wherein the hardware accelerator comprises one or more of:
a field-programmable gate array (FPGA);
a graphics processing unit (GPU);
a tensor processing unit (TPU); or
an application-specific integrated circuit (ASIC).

### Claim 19 (depends on 17)

The computer storage medium of claim 17, wherein the accelerated machine learning model comprises common portions of a plurality of machine learning models, the common portions being executed by the plurality of machine learning models, such that the accelerated machine learning model can be used with the plurality of machine learning models.

### Claim 20 (depends on 19)

The computer storage medium of claim 19, wherein the accelerated machine learning models is generated based upon the common portions, wherein the common portions are compiled for execution on the hardware accelerator.
