# US 2022/0284261 A1 · Training-support-based machine learning classification and regression augmentation

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

- Number: US 2022/0284261 A1
- Document ID: US20220284261A1
- Status: Published application
- Kind: A1
- Application number: 17/249,604
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: The Aerospace Corporation
- Applicants: The Aerospace Corporation
- Inventors: Walter Engevald Lillo
- Web page: https://patentgrep.com/patent/US20220284261A1

## CPC

- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/09: Supervised learning
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Machine learning models are provided that consider, during the process of producing output, various aspects of the training data and/or training process from which the models are created. A machine learning model may generate output (e.g., classification determinations or regression output) that is augmented with information regarding the distribution(s) of the corpus of training data upon which the model was trained, the features extracted from the training data, the resulting determinations made by the model, and/or other information. The augmentation may occur internally while generating the model output, or the output itself may be augmented to include distribution-based data in addition to a model output.

## Claims

### Claim 1

A system comprising:
computer-readable memory storing executable instructions; and
one or more processors programmed by the executable instructions to at least:
obtain a corpus of training data comprising a plurality of training data input vectors and a plurality of reference data output vectors, wherein a reference data output vector of the plurality of reference data output vectors represents a desired output generated by an artificial neural network from a corresponding training data input vector of the plurality of training data input vectors;
train the artificial neural network using the corpus of training data to generate classification determinations;
generate, using the artificial neural network and the plurality of training data input vectors:
a plurality of feature vectors, wherein a feature vector of the plurality of feature vectors represents a point in a feature space from which the artificial neural network has been trained to make classification determinations; and
a plurality of training data output vectors, wherein a training data output vector of the plurality of training data output vectors represents a classification determination based on a corresponding feature vector of the plurality of feature vectors;
determine, based on an analysis of the plurality of training data output vectors with respect to the plurality of reference data output vectors:
a first distribution of feature vectors corresponding to training data output vectors representing true positive classification determinations;
a second distribution of feature vectors corresponding to training data output vectors representing true negative classification determinations;
a third distribution of feature vectors corresponding to training data output vectors representing false positive classification determinations;
a fourth distribution of feature vectors corresponding to training data output vectors representing false negative classification determinations; and
a fifth distribution of feature vectors corresponding to the plurality of training data output vectors; and
configure the artificial neural network to generate augmented classification output based at least partly on the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, the fourth distribution of feature vectors, and the fifth distribution of feature vectors.

### Claim 2 (depends on 1)

The system of claim 1, wherein to generate the plurality of feature vectors, the one or more processors are programmed by the executable instructions to:
receive a first training data input vector of the plurality of training data input vectors at an input layer of the artificial neural network;
apply a set of weights to the first training data input vector, wherein the set of weights is associated with the input layer and a first hidden layer of the artificial neural network; and
generate a first feature vector as output of a set of hidden layers of the artificial neural network, the set of hidden layers comprising the first hidden layer.

### Claim 3 (depends on 1)

The system of claim 1, wherein to determine at least one of the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, the fourth distribution of feature vectors, or the fifth distribution of feature vectors, the one or more processors are programmed by the executable instructions to generate one of a Gaussian mixture model or a clustering model to represent feature vectors corresponding to training data output vectors.

### Claim 4 (depends on 1)

The system of claim 1, wherein to configure the artificial neural network to generate augmented classification output, the one or more processors are programmed by the executable instructions to generate an augmented classification output component configured to generate classification augmentation data based on at least on one of: the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, the fourth distribution of feature vectors, or the fifth distribution of feature vectors.

### Claim 5 (depends on 4)

The system of claim 4, wherein the classification augmentation data comprises at least one of: a weighting factor to be applied to a classification score, or a training support metric to be output separately from the classification score.

### Claim 6

A computer-implemented method comprising:
under control of a computing system comprising one or more processors configured to execute specific instructions,
obtaining a trained machine learning model and a corpus of training data used to train the trained machine learning model;
determining, using the trained machine learning model and the corpus of training data, a distribution of feature space points observed during training of the trained machine learning model,
wherein data generated from a training input item of the corpus of training data represents a feature space point of the feature space points observed during training of the trained machine learning model, and
wherein the feature space point is included in the distribution of feature space points based on the feature space point being associated with one of: a false positive classification determination, a false negative classification determination, a true positive classification determination, a true negative classification, or the feature space points observed during training; and
generating a classifier that generates augmented classification output based at least partly on output of the trained machine learning model and the distribution of feature space points.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising generating the augmented classification output using the classifier and an input vector, wherein the augmented classification output comprises:
a classification score representing a classification of the input vector; and
a training-support-based metric representing a degree to which the corpus of training data supports the classification of the input vector.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, further comprising generating the training-support-based metric using an anomaly detector and the input vector, wherein the anomaly detector determines a degree to which the input vector is anomalous with respect to input vectors in the corpus of training data.

### Claim 9 (depends on 7)

The computer-implemented method of claim 7, further comprising generating the training-support-based metric based on the distribution of feature space points and a quantity of feature space points in the distribution of feature space points.

### Claim 10 (depends on 6)

The computer-implemented method of claim 6, further comprising generating the augmented classification output using the classifier and an input vector, wherein the augmented classification output comprises a weighted classification score representing an augmented classification of the input vector, and wherein the weighted classification score is weighted based on a degree to which the corpus of training data supports an initial classification of the input vector.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, further comprising generating a weighting factor using an anomaly detector and the input vector, wherein the anomaly detector determines a degree to which the input vector is anomalous with respect to input vectors in the corpus of training data.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, further comprising generating a weighting factor using an anomaly detector and the input vector, wherein the anomaly detector determines a degree to which the input vector is associated with anomalous classification determinations observed during training of the trained machine learning model using the corpus of training data.

### Claim 13 (depends on 10)

The computer-implemented method of claim 10, further comprising:
expanding a range of an initial classification score representing the initial classification of the input vector prior to applying a weighting factor to the initial classification score; and
compressing a range of a weighted initial classification score subsequent to applying the weighing factor to the initial classification score.

### Claim 14 (depends on 6)

The computer-implemented method of claim 6, wherein determining the distribution of feature space points comprises generating at least one of: a Gaussian mixture model to represent at least a subset of the feature space points, or a clustering model to represent at least a subset of the feature space points.

### Claim 15 (depends on 6)

The computer-implemented method of claim 6, further comprising generating feature data representing a plurality of feature space points using the trained machine learning model and the corpus of training data, wherein determining the distribution of the feature space points comprises determining a distribution of at least a subset of the plurality of feature space points represented by the feature data.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein generating the feature data representing the plurality of feature space points comprises:
providing a first training data input item of the corpus of training data to an input layer of the trained machine learning model, wherein the trained machine learning model comprises a neural network;
applying a set of weights to the first training data input item, wherein the set of weights is associated with the input layer and a first hidden layer of the neural network; and
generating a first feature vector as output of a set of hidden layers comprising the first hidden layer, wherein the first feature vector represents a first feature space point of the plurality of feature space points.

### Claim 17 (depends on 6)

The computer-implemented method of claim 6, wherein generating the classifier comprises generating a Bayesian classifier that generates the augmented classification output using:
a feature vector generated by an internal layer of an artificial neural network; and
a probability value determined using a model of the distribution of feature space points.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, further comprising evaluating a Gaussian kernel using the feature vector and at least one model of a distribution of feature space points, wherein the Bayesian classifier generates the augmented classification output further using data regarding the Gaussian kernel.

### Claim 19

A system comprising:
computer-readable memory storing executable instructions; and
one or more processors programmed by the executable instructions to at least:
obtain a corpus of training data comprising a plurality of training data input vectors and a plurality of reference data output vectors, wherein a reference data output vector of the plurality of reference data output vectors represents a desired output generated by an artificial neural network from a corresponding training data input vector of the plurality of training data input vectors;
train the artificial neural network using the corpus of training data to generate regression output;
generate, using the artificial neural network and the plurality of training data input vectors:
a plurality of feature vectors, wherein a feature vector of the plurality of feature vectors represents a point in a feature space from which the artificial neural network has been trained to generate regression output; and
a plurality of training data output vectors, wherein a training data output vector of the plurality of training data output vectors represents a regression output based on a corresponding feature vector;
determine, based on an analysis of the plurality of training data output vectors with respect to the plurality of reference data output vectors:
a first distribution of feature vectors corresponding to training data output vectors in a first subset of the training data output vectors, wherein each training data output vector in the first subset is associated with an error value that is less than a large error threshold;
a second distribution of feature vectors corresponding to training data output vectors in a second subset of the training data output vectors, wherein each training data output vector in the second subset is associated with a positive error value having a magnitude greater than the large error threshold;
a third distribution of feature vectors corresponding to training data output vectors in a third subset of the training data output vectors, wherein each training data output vector in the third subset is associated with a negative error value having a magnitude greater than the large error threshold; and
a fourth distribution of the plurality of feature vectors; and
configure the artificial neural network to generate augmented regression output based at least partly on the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, and the fourth distribution of feature vectors.

### Claim 20 (depends on 19)

The system of claim 19, wherein to generate the plurality of feature vectors, the one or more processors are programmed by the executable instructions to:
receive a first training data input vector of the plurality of training data input vectors at an input layer of the artificial neural network;
apply a set of weights to the first training data input vector, wherein the set of weights is associated with the input layer and a first hidden layer of the artificial neural network; and
generate a first feature vector as output of a set of hidden layers of the artificial neural network, the set of hidden layers comprising the first hidden layer.

### Claim 21 (depends on 19)

The system of claim 19, wherein to determine at least one of the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, or the fourth distribution of feature vectors, the one or more processors are programmed by the executable instructions to generate one of a Gaussian mixture model or a clustering model to represent feature vectors corresponding to training data output vectors.

### Claim 22 (depends on 19)

The system of claim 19, wherein to configure the artificial neural network to generate augmented regression output, the one or more processors are programmed by the executable instructions to generate an augmented regression output component configured to generate regression augmentation data based on at least on one of: the first distribution of feature vectors, the second distribution of feature vectors, the third distribution of feature vectors, or the fourth distribution of feature vectors.

### Claim 23 (depends on 22)

The system of claim 22, wherein the regression augmentation data comprises at least one of: a first value representing a degree of training data support, or a second value representing an expected degree of error.

### Claim 24

A computer-implemented method comprising:
under control of a computing system comprising one or more processors configured to execute specific instructions,
obtaining a trained machine learning model and a corpus of training data used to train the trained machine learning model;
determining, using the trained machine learning model and the corpus of training data, a distribution of feature space points observed during training of the trained machine learning model,
wherein data generated from a training input item of the corpus of training data represents a feature space point of the feature space points observed during training of the trained machine learning model, and
wherein the feature space point is included in the distribution of feature space points based on the feature space point being associated with one of: an error value having a magnitude that is less than a threshold, a positive error value having a magnitude greater than the threshold, or a negative error value having a magnitude greater than the threshold; and
configuring a regression subsystem to generate augmented regression output based at least partly on output of the trained machine learning model and the distribution of feature space points.

### Claim 25 (depends on 24)

The computer-implemented method of claim 24, further comprising generating the augmented regression output using the regression subsystem and an input vector, wherein the augmented regression output comprises:
a regression score based on the trained machine learning model and the input vector; and
a training-support-based metric representing a degree to which the corpus of training data supports the regression score.

### Claim 26 (depends on 25)

The computer-implemented method of claim 25, further comprising generating the training-support-based metric using an anomaly detector and the input vector, wherein the anomaly detector determines a degree to which the input vector is anomalous with respect to input vectors in the corpus of training data.

### Claim 27 (depends on 25)

The computer-implemented method of claim 25, further comprising determining the training-support-based metric based on a support value associated with the distribution of feature space points, wherein the distribution of feature space points is one of a plurality of distributions of feature space points, and wherein each of the plurality of distributions of feature space points is associated with a different support value.

### Claim 28 (depends on 24)

The computer-implemented method of claim 24, further comprising generating the augmented regression output using the regression subsystem and an input vector, wherein the augmented regression output comprises a weighted regression score weighted based on a degree to which the corpus of training data supports an initial regression score for the input vector.

### Claim 29 (depends on 28)

The computer-implemented method of claim 28, further comprising generating a weighting factor using an anomaly detector and the input vector, wherein the anomaly detector determines a degree to which the input vector is anomalous with respect to input vectors in the corpus of training data.

### Claim 30 (depends on 24)

The computer-implemented method of claim 24, wherein determining the distribution of feature space points comprises generating at least one of: a Gaussian mixture model to represent at least a subset of the feature space points, or a clustering model to represent at least a subset of the feature space points.

### Claim 31 (depends on 24)

The computer-implemented method of claim 24, further comprising generating feature data representing a plurality of feature space points using the trained machine learning model and the corpus of training data, wherein determining the distribution of the feature space points comprises determining a distribution of at least a subset of the plurality of feature space points represented by the feature data.

### Claim 32 (depends on 31)

The computer-implemented method of claim 31, wherein generating the feature data representing the plurality of feature space points comprises:
providing a first training data input item of the corpus of training data to an input layer of the trained machine learning model, wherein the trained machine learning model comprises a neural network;
applying a set of weights to the first training data input item, wherein the set of weights is associated with the input layer and a first hidden layer of the neural network; and
generating a first feature vector as output of a set of hidden layers comprising the first hidden layer, wherein the first feature vector represents a first feature space point of the plurality of feature space points.
