# US 2025/0131260 A1 · Systems and methods for enhancing inferential accuracy of an artificial neural network during training on a mixed-signal integrated circuit

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

- Number: US 2025/0131260 A1
- Document ID: US20250131260A1
- Status: Published application
- Kind: A1
- Application number: 19/007,546
- Filed: 2025-01-01
- Published: 2025-04-24
- Earliest claimed: 2021-04-01
- Assignees: Mythic, Inc.
- Applicants: Mythic, Inc.
- Inventors: David Fick; Daniel Graves; Michael Klachko; Ilya Perminov; John Mark Beardslee; Evgeny Shapiro
- Web page: https://patentgrep.com/patent/US20250131260A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method for enhancing inferential accuracy of an artificial neural network during training includes during a simulated training of an artificial neural network identifying channel feedback values of a plurality of distinct channels of a layer of the artificial neural network based on an input of a training batch; if the channel feedback values do not satisfy a channel signal range threshold, computing a channel equalization factor based on the channel feedback values; identifying a layer feedback value based on the input of the training batch; and if the layer feedback value does not satisfy a layer signal range threshold, identifying a composite scaling factor based on the layer feedback values; during a non-simulated training of the artificial neural network, providing training inputs of: the training batch; the composite scaling factor; the channel equalization factor; and training the artificial neural network based on the training inputs.

## Claims

### Claim 1

A method for improving an accuracy of inferential outputs of an artificial neural network training on an analog accelerator, the method comprising:
determining a composite scaling factor (CSF) for a given matrix multiply operation of an analog accelerator based on signal range metrics of one or more outputs of one or more prior matrix multiply operations performed by the analog accelerator;
automatically encoding the analog accelerator based on the CSF for the given matrix multiply operation for training an artificial neural network (ANN);
executing, by the analog accelerator, the training of the ANN including executing the given matrix multiply operation based on an application of the CSF encoded to the analog accelerator for the given matrix multiply operation thereby improving a signal-to-noise ratio of outputs of the given matrix multiply operation; and
further executing the training of the artificial neural network on the analog accelerator based on applying at least one determined CSF to each of a plurality of matrix multiply operations associated with a plurality of neural network layers of the ANN.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the CSF for the given matrix multiply operation includes automatically determining:
(i) an input scaling factor for an input vector for the given matrix multiply operation,
(ii) an output scaling factor for an output vector of the given matrix multiply operation,
(iii) a weight scaling factor for a weight vector for the given matrix multiply operation, and
(iv) a digital scaling factor.

### Claim 3 (depends on 2)

The method according to claim 2, wherein determining the CSF for the given matrix multiply operation further includes selecting a value of the CSF based on the input scaling factor, the output scaling factor, the weight scaling factor, and the digital scaling factor.

### Claim 4 (depends on 1)

The method according to claim 1, wherein automatically encoding the CSF to the analog accelerator includes:
using the CSF to configure one or more training settings of the analog accelerator for training a given artificial neural network layer of the ANN associated with the given matrix multiply operation.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
measuring one or more signal range metrics of the outputs of the given matrix multiply operation; and
dynamically adjusting the value of the CSF during the training of the ANN based on the measurements of the one or more signal range metrics of the given matrix multiply operation.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the one or more outputs of the one or more prior matrix multiply operations include:
measuring N-bit activation output signal ranges of each of one or more neural network layers associated with the one or more prior matrix multiply operations; and
identifying an N-bit activation output signal range of the N-bit activation output signal ranges having a highest upper signal value for each of the one or more neural network layers.

### Claim 7 (depends on 1)

The method according to claim 1, wherein
the CSF relates to automated control that, when used to configure the analog accelerator, increases one or more N-bit activation output signal ranges of a target analog neural network layer to a statistically maximum N-bit activation output signal range.

### Claim 8 (depends on 1)

The method according to claim 1, wherein automatically encoding the CSF to the analog accelerator includes:
dynamically encoding control parameters derived from the CSF to the one or more circuits of the analog accelerator operating during the training of the ANN.

### Claim 9

A method of training an artificial neural network on analog matrix multiply accelerator (MMA), the method comprising:
determining a composite scaling factor (CSF) for a given matrix multiply operation to be executed by the analog MMA based on signal range metrics of one or more outputs of one or more prior matrix multiply operations performed by the analog MMA;
automatically programming the analog MMA based on the CSF for the given matrix multiply operation for training an artificial neural network (ANN);
executing, by the analog MMA, the training of the ANN including executing the given matrix multiply operation based on an application of the CSF programmed to the analog MMA for the given matrix multiply operation thereby improving a signal-to-noise ratio of outputs of the given matrix multiply operation; and
further executing the training of the ANN on the analog MMA based on applying at least one determined CSF during an execution of a plurality of matrix multiply operations associated with a plurality of neural network layers of the ANN.

### Claim 10 (depends on 9)

The method according to claim 9, wherein determining the CSF for the given matrix multiply operation includes automatically determining:
(i) an input scaling factor for an input vector for the given matrix multiply operation,
(ii) an output scaling factor for an output vector of the given matrix multiply operation,
(iii) a weight scaling factor for a weight vector for the given matrix multiply operation, and
(iv) a digital scaling factor.

### Claim 11 (depends on 10)

The method according to claim 10, wherein determining the CSF for the given matrix multiply operation further includes selecting a value of the CSF based on the input scaling factor, the output scaling factor, the weight scaling factor, and the digital scaling factor.

### Claim 12 (depends on 9)

The method according to claim 9, wherein automatically programming the CSF to the analog MMA includes:
using the CSF to configure one or more training settings of the analog MMA for training a given artificial neural network layer of the ANN associated with the given matrix multiply operation.

### Claim 13 (depends on 9)

The method according to claim 9, wherein
the CSF relates to automated control that, when used to configure the analog MMA, increases one or more N-bit activation output signal ranges of a target analog neural network layer of the ANN to a statistically maximum N-bit activation output signal range.

### Claim 14 (depends on 9)

The method according to claim 9, wherein automatically programming the CSF to the analog MMA includes:
dynamically encoding control parameters derived from the CSF to the one or more circuits of the analog MMA operating during the training of the ANN.

### Claim 15

A method comprising:
training an artificial neural network on analog matrix multiply accelerator (MMA) including:
determining a composite scaling factor (CSF) for a given matrix multiply operation to be executed by the analog MMA based on signal range metrics of one or more outputs of one or more prior matrix multiply operations performed by the analog MMA;
automatically programming the analog MMA based on the CSF for the given matrix multiply operation for training an artificial neural network (ANN);
executing, by the analog MMA, the training of the ANN including executing the given matrix multiply operation based on an application of the CSF programmed to the analog MMA for the given matrix multiply operation thereby improving a signal-to-noise ratio of outputs of the given matrix multiply operation; and
further executing the training of the ANN on the analog MMA based on applying at least one determined CSF during an execution of a plurality of matrix multiply operations associated with a plurality of neural network layers of the ANN.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
computing one or more efficacy metrics of the training of the ANN based on outputs of the execution of the plurality of matrix multiply operations; and
validating the ANN or re-training the artificial neural network based on whether the one or more efficacy metrics satisfy a predetermined inferential accuracy value.

### Claim 17 (depends on 15)

The method according to claim 15, wherein automatically programming the CSF to the analog MMA includes:
using the CSF to configure one or more training settings of the analog MMA for training a given artificial neural network layer of the ANN associated with the given matrix multiply operation.

### Claim 18 (depends on 15)

The method according to claim 15, wherein
the CSF relates to automated control that, when used to configure the analog MMA, increases one or more N-bit activation output signal ranges of a target analog neural network layer of the ANN to a statistically maximum N-bit activation output signal range.

### Claim 19 (depends on 15)

The method according to claim 15, wherein automatically programming the CSF to the analog MMA includes:
dynamically encoding control parameters derived from the CSF to the one or more circuits of the analog MMA operating during the training of the ANN.

### Claim 20 (depends on 15)

The method according to claim 15, wherein determining the CSF for the given matrix multiply operation includes:
automatically determining:
(i) an input scaling factor for an input vector for the given matrix multiply operation,
(ii) an output scaling factor for an output vector of the given matrix multiply operation,
(iii) a weight scaling factor for a weight vector for the given matrix multiply operation, and
(iv) a digital scaling factor; and
selecting a value of the CSF based on the input scaling factor, the output scaling factor, the weight scaling factor, and the digital scaling factor.
