# US 2022/0284290 A1 · Data-driven weight initialization for machine learning models

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

- Number: US 2022/0284290 A1
- Document ID: US20220284290A1
- Status: Published application
- Kind: A1
- Application number: 17/653,855
- Filed: 2022-03-07
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Debasmit DAS; Yash Sanjay BHALGAT; Fatih Murat PORIKLI
- Web page: https://patentgrep.com/patent/US20220284290A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Certain aspects of the present disclosure provide techniques for provide a method, comprising: receiving input data for a layer of a neural network model; selecting a target code for the input data; and determining weights for the layer based on an autoencoder loss and the target code.

## Claims

### Claim 1

A processor-implemented method, comprising:
receiving input data for a layer of a neural network model;
selecting a target code for the input data; and
determining weights for the layer based on an autoencoder loss and the target code.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
applying the weights to the input data for the layer to generate pre-activation data;
applying an activation function to the pre-activation data to generate activation data; and
providing the activation data as input data to a subsequent layer of the neural network model.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining weights for the layer based on an autoencoder loss comprises minimizing a combination of an encoding loss and a decoding loss.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining weights for the layer based on an autoencoder loss comprises determining a Sylvester equation based on the encoding loss and the decoding loss.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining weights for the layer based on an autoencoder loss comprises solving the Sylvester equation with a Bartels-Stewart algorithm.

### Claim 6 (depends on 1)

The method of claim 1, wherein an autoencoder used to generate the autoencoder loss comprises a first set of weights for an encoding component and a second set of weights for a decoding component.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first set of weights is shared with the second set of weights.

### Claim 8 (depends on 7)

The method of claim 7, wherein the second set of weights is a transpose of the first set of weights.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
selecting a subset of training data from a training dataset; and
selecting the input data for the layer of the neural network model from the subset of training data.

### Claim 10 (depends on 1)

The method of claim 1, wherein the target code is based on one of:
one or more principal components of the input data for the layer;
a linear discriminant projection of the input data for the layer;
a Fischer discriminant based on the input data for the layer;
a scaled one-hot code based on the input data for the layer;
clustering of the input data for the layer; or
one or more handcrafted features based on the input data for the layer.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining that the layer of the neural network model comprises a convolution layer; and
reshaping the input data for the layer prior to determining the weights for the layer.

### Claim 12 (depends on 11)

The method of claim 11, further comprising creating a weight data structure based on the reshaped input data for the layer.

### Claim 13 (depends on 1)

The method of claim 1, wherein the layer of the neural network model comprises a fully-connected layer.

### Claim 14 (depends on 1)

A method, comprising: performing the method of claim 1 iteratively for each layer of a plurality of layers of a machine learning model.

### Claim 15

A processing system, comprising: a memory comprising computer-executable instructions; a processor configured to execute the computer-executable instructions and cause the processing system to:
receive input data for a layer of a neural network model;
select a target code for the input data; and
determine weights for the layer based on an autoencoder loss and the target code.

### Claim 16 (depends on 15)

The processing system of claim 15, wherein the processor is further configured to cause the processing system to:
apply the weights to the input data for the layer to generate pre-activation data;
apply an activation function to the pre-activation data to generate activation data; and
provide the activation data as input data to a subsequent layer of the neural network model.

### Claim 17 (depends on 15)

The processing system of claim 15, wherein in order to determine the weights for the layer based on an autoencoder loss, the processor is further configured to cause the processing system to minimize a combination of an encoding loss and a decoding loss.

### Claim 18 (depends on 17)

The processing system of claim 17, wherein in order to determine weights for the layer based on an autoencoder loss, the processor is further configured to cause the processing system to determine a Sylvester equation based on the encoding loss and the decoding loss.

### Claim 19 (depends on 18)

The processing system of claim 18, wherein in order to determine weights for the layer based on an autoencoder loss, the processor is further configured to cause the processing system to solve the Sylvester equation with a Bartels-Stewart algorithm.

### Claim 20 (depends on 15)

The processing system of claim 15, wherein an autoencoder used to generate the autoencoder loss comprises a first set of weights for an encoding component and a second set of weights for a decoding component.

### Claim 21 (depends on 20)

The processing system of claim 20, wherein the first set of weights is shared with the second set of weights.

### Claim 22 (depends on 21)

The processing system of claim 21, wherein the second set of weights is a transpose of the first set of weights.

### Claim 23 (depends on 15)

The processing system of claim 15, wherein the processor is further configured to cause the processing system to
select a subset of training data from a training dataset; and
select the input data for the layer of the neural network model from the subset of training data.

### Claim 24 (depends on 15)

The processing system of claim 15, wherein the target code is based on one of:
one or more principal components of the input data for the layer;
a linear discriminant projection of the input data for the layer;
a Fischer discriminant based on the input data for the layer;
a scaled one-hot code based on the input data for the layer;
clustering of the input data for the layer; or
one or more handcrafted features based on the input data for the layer.

### Claim 25 (depends on 15)

The processing system of claim 15, wherein the processor is further configured to cause the processing system to:
determine that the layer of the neural network model comprises a convolution layer; and
reshape the input data for the layer prior to determining the weights for the layer.

### Claim 26 (depends on 25)

The processing system of claim 25, wherein the processor is further configured to cause the processing system to create a weight data structure based on the reshaped input data for the layer.

### Claim 27 (depends on 15)

The processing system of claim 15, wherein the layer of the neural network model comprises a fully-connected layer.

### Claim 28

A non-transitory computer-readable medium comprising computer-executable instructions that, when executed by one or more processors of a processing system, cause the processing system to perform a method, the method comprising:
receiving input data for a layer of a neural network model;
selecting a target code for the input data; and
determining weights for the layer based on an autoencoder loss and the target code.

### Claim 29 (depends on 28)

The non-transitory computer-readable medium of claim 28, wherein the method further comprises:
applying the weights to the input data for the layer to generate pre-activation data;
applying an activation function to the pre-activation data to generate activation data; and
providing the activation data as input data to a subsequent layer of the neural network model.

### Claim 30 (depends on 28)

The non-transitory computer-readable medium of claim 28, wherein determining weights for the layer based on an autoencoder loss comprises minimizing a combination of an encoding loss and a decoding loss.
