# US 2023/0267330 A1 · Parameter-Efficient Multi-Task and Transfer Learning

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

- Number: US 2023/0267330 A1
- Document ID: US20230267330A1
- Status: Published application
- Kind: A1
- Application number: 18/310,638
- Filed: 2023-05-02
- Published: 2023-08-24
- Earliest claimed: 2018-09-27
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Mark Sandler; Andrew Gerald Howard; Andrey Zhmoginov; Pramod Kaushik Mudrakarta
- Web page: https://patentgrep.com/patent/US20230267330A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/048: Activation functions
- G10L 15/16: using artificial neural networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The present disclosure provides systems and methods that enable parameter-efficient transfer learning, multi-task learning, and/or other forms of model re-purposing such as model personalization or domain adaptation. In particular, as one example, a computing system can obtain a machine-learned model that has been previously trained on a first training dataset to perform a first task. The machine-learned model can include a first set of learnable parameters. The computing system can modify the machine-learned model to include a model patch, where the model patch includes a second set of learnable parameters. The computing system can train the machine-learned model on a second training dataset to perform a second task that is different from the first task, which may include learning new values for the second set of learnable parameters included in the model patch while keeping at least some (e.g., all) of the first set of parameters fixed.

## Claims

### Claim at position 1

1-28. (canceled)

### Claim 29

A computer-implemented method, the method comprising:
obtaining, by one or more computing devices, a convolutional machine-learned model that has been previously trained on a first training dataset to perform a first task, the convolutional machine-learned model including one or more convolutional filters and a first set of learnable parameters;
modifying, by the one or more computing devices, the convolutional machine-learned model to include a model patch, the model patch including a second set of learnable parameters; and
after modifying the convolutional machine-learned model to include the model patch, training, by the one or more computing devices, the convolutional machine-learned model on a second training dataset to perform a second task that is different from the first task, wherein training, by the one or more computing devices, the convolutional machine-learned model on the second training dataset to perform the second task comprises learning new values for the second set of learnable parameters included in the model patch.

### Claim 30 (depends on 29)

The computer-implemented method of claim 29, wherein modifying, by the one or more computing devices, the convolutional machine-learned model to include the model patch comprises replacing, by the one or more computing devices, at least one of the one or more convolutional filters with a reduced-parameter version of the convolutional filter.

### Claim 31 (depends on 29)

The computer-implemented method of claim 29, wherein modifying, by the one or more computing devices, the convolutional machine-learned model to include the model patch comprises replacing, by the one or more computing devices, at least one of the convolutional filters with a depth-wise separable convolution.

### Claim 32 (depends on 29)

The computer-implemented method of claim 29, wherein training, by the one or more computing devices, the convolutional machine-learned model on the second training dataset to perform the second task comprises learning the new values for the second set of learnable parameters while keeping at least some of the first set of learnable parameters fixed, at least a majority of the first set of learnable parameters fixed, or all of the first set of learnable parameters fixed.

### Claim 33 (depends on 29)

The computer-implemented method of claim 29, wherein, after modification of the convolutional machine-learned model to include the model patch, at least a portion of the model patch is positioned structurally prior to a final layer of the convolutional machine-learned model.

### Claim 34 (depends on 33)

The computer-implemented method of claim 33, wherein the model patch further includes the final layer of the convolutional machine-learned model.

### Claim 35 (depends on 29)

The computer-implemented method of claim 29, wherein, after modification of the convolutional machine-learned model to include the model patch, at least a portion of the model patch is included in an intermediate layer of the convolutional machine-learned model.

### Claim 36 (depends on 29)

The computer-implemented method of claim 29, wherein:
the convolutional machine-learned model comprises a plurality of layers; and
at least some the second set of learnable parameters included in the model patch comprise one or both of scale and bias parameters for one or more layers of the plurality of layers.

### Claim 37 (depends on 29)

The computer-implemented method of claim 29, wherein:
the convolutional machine-learned model comprises a plurality of layers; and
at least some of the second set of learnable parameters included in the model patch comprise parameters included in one or more of a squeeze function, an excite function, or a gating function for one or more layers of the plurality of layers.

### Claim 38 (depends on 29)

The computer-implemented method of claim 29, wherein:
the convolutional machine-learned model comprises a plurality of layers; and
the model patch comprises at least one additional intermediate layer that is structurally positioned between at least two of the plurality of layers.

### Claim 39 (depends on 29)

The computer-implemented method of claim 29 further comprising, simultaneous with training, by the one or more computing devices, the convolutional machine-learned model including the model patch on the second training dataset to perform the second task:
training, by the one or more computing devices, the convolutional machine-learned model excluding the model patch on the first training dataset to perform the first task.

### Claim 40 (depends on 39)

The computer-implemented method of claim 39, wherein training, by the one or more computing devices, the convolutional machine-learned model excluding the model patch on the first training dataset to perform the first task comprises training, by the one or more computing devices, the convolutional machine-learned model excluding the model patch but including an alternative model patch on the first training dataset to perform the first task.

### Claim 41 (depends on 29)

The computer-implemented method of claim 29, wherein the first task comprises processing of first input data structured according to a first domain and the second task comprises processing of second input data structured according to a second domain that is different than the first domain.

### Claim 42 (depends on 41)

The computer-implemented method of claim 41, further comprising, after training, by the one or more computing devices, the convolutional machine-learned model on the second training dataset to perform the second task:
receiving, by the one or more computing devices, new input data; and
when the new input data is structured according to the first domain, employing, by the one or more computing devices, the convolutional machine-learned model excluding the model patch to process the new input data to generate a first prediction; and
when the new input data is structured according to the second domain, employing, by the one or more computing devices, the convolutional machine-learned model including the model patch to process the new input data to generate a second prediction.

### Claim 43 (depends on 42)

The computer-implemented method of claim 42, wherein the new input data is structured according to the first domain, wherein the second domain comprises a smaller number of dimensions than the first domain, and wherein the method further comprises:
determining, by the one or more computing devices, a resource-allocation parameter that corresponds to a desired amount of resources allocated to processing of the new input data; and
determining, by the one or more computing devices, whether to convert the new input data from the first domain to the second domain based at least in part on the resource-allocation parameter;
wherein, when the new input data is converted to the second domain, the computer-implemented method includes said employing, by the one or more computing devices, the convolutional machine-learned model including the model patch to process the new input data to generate the second prediction.

### Claim 44 (depends on 41)

The computer-implemented method of claim 41, wherein the first domain comprises a first image resolution, the first task comprises processing imagery of a first input resolution, the second domain comprises a second image resolution that is smaller than the first image resolution, and the second task comprises processing imagery of a second input resolution.

### Claim 45 (depends on 29)

The computer-implemented method of claim 29, wherein training, by the one or more computing devices, the convolutional machine-learned model on the second training dataset to perform the second task comprises:
determining, by the one or more computing devices, a training allocation parameter that corresponds to a desired amount of resources to allocate to training the convolutional machine-learned model on the second training dataset to perform the second task;
and learning the new values for the second set of learnable parameters while keeping a subset of first set of learnable parameters fixed, wherein a ratio of the subset of first set of learnable parameters to all of the first set of learnable parameters is determined based at least in part on and is correlated with the training allocation parameter.

### Claim 46 (depends on 29)

The computer-implemented method of claim 29, wherein the first task comprises object detection and the second task comprises image classification.

### Claim 47

A computer-implemented method, the method comprising:
obtaining, by a worker device, a convolutional machine-learned model that includes one or more convolutional filters and a first set of learnable parameters;
modifying, by the worker device, the convolutional machine-learned model to include a model patch, the model patch including a second set of learnable parameters;
after modifying the convolutional machine-learned model to include the model patch, training, by the worker device, the convolutional machine-learned model on a local dataset that is stored locally at the worker device, and wherein training, by the one or more computing devices, the convolutional machine-learned model on the local dataset comprises learning new values for both the first set of learnable parameters and the second set of learnable parameters; and
transmitting, by the worker device to a central system, data descriptive of the new values for only the first set of learnable parameters but not the second set of learnable parameters.

### Claim 48

A computer-implemented method, the method comprising:
obtaining, by one or more computing devices, a convolutional machine-learned model that includes an existing set of learnable parameters;
generating, by the one or more computing devices, a first model patch that includes a first set of learnable parameters and a second model patch that includes a second set of learnable parameters;
simultaneously:
training, by the one or more computing devices, the convolutional machine-learned model including the first model patch but not the second model patch on a first set of training data to perform a first task; and
training, by the one or more computing devices, the convolutional machine-learned model including the second model patch but not the first model patch on a second set of training data to perform a second task that is different than the first task.
