# US 2025/0094316 A1 · Automatic runtime preemptive alert

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

- Number: US 2025/0094316 A1
- Document ID: US20250094316A1
- Status: Published application
- Kind: A1
- Application number: 18/369,292
- Filed: 2023-09-18
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Dong Hui Liu; Jing Lu; Peng Hui Jiang; Xiao Yan Tang; Jun Su; Jia Yu
- Web page: https://patentgrep.com/patent/US20250094316A1

## CPC

- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

For a set in sets of candidate factors, a classification model is trained to predict a computer problem possibility, an accuracy score of the classification model is determined based on model validation, and factor weights of the candidate factors in the set are adjusted based on the accuracy score. This processing is done with respect to all sets of candidate factors. A low accuracy classification model having an accuracy score lower than a threshold criterion is selected. A higher accuracy classification model having an accuracy score that is higher than the accuracy score of the low accuracy classification model is selected. The set of candidate factors used to train the low accuracy classification model is updated using one or more of the candidate factors used to train the higher accuracy classification model. The low accuracy classification model is updated based on the updated set of candidate factors.

## Claims

### Claim 1

A computer-implemented method comprising:
selecting a plurality of sets of candidate factors, the candidate factors being indicators of computer performance, and wherein each set in the plurality of sets of candidate factors has a combination of candidate factors that is different from another set in the plurality of sets of candidate factors;
for a set in the plurality of sets of candidate factors,
training a classification model to predict a problem possibility during a computer runtime using a training dataset associated with the set,
validating the classification model using a validation dataset associated with the set and determining an accuracy score associated with the classification model, and
adjusting factor weights associated with the candidate factors in the set based on the accuracy score,
wherein the training of the classification model, the validation of the classification model, and the adjusting of the factor weights are repeated for all sets in the plurality of sets of candidate factors, wherein a plurality of classification models is trained corresponding to the respective plurality of sets of candidate factors;
selecting from the plurality of classification models a low accuracy classification model having an accuracy score lower than a threshold criterion;
selecting from the plurality of classification models a higher accuracy classification model having an accuracy score that is higher than the accuracy score of the low accuracy classification model;
updating the set of candidate factors used to train the low accuracy classification model by replacing at least one candidate factor in the set of candidate factors used to train the low accuracy classification model with a candidate factor in the set of candidate factors used to train the higher accuracy classification model; and
updating the low accuracy classification model by repeating the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further including:
for the set in the plurality of sets of candidate factors,
training a transformer with encoder and decoder architecture to generate future values for at least some of the candidate factors in the set,
wherein the training of the transformer is repeated along with repeating of the training of the classification model, the validation of the classification model, and the adjusting of the factor weights, for all sets in the plurality of sets of candidate factors, wherein a plurality of transformers are trained corresponding to the respective plurality of sets of candidate factors; and
the updating of the low accuracy classification model includes updating the low accuracy classification model by repeating the training of the transformer, the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further including passing a new set of feature values corresponding to the updated set of candidate factors to the transformer trained using the updated set of candidate factor to generate future values corresponding to the updated set of candidate factors, and using the generated future values as input to the updated low accuracy classification model to predict a future problem possibility.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, further including repeating the selecting of the low accuracy classification model, the selecting of the higher accuracy classification model, the updating of the set of candidate factors used to train the low accuracy classification model, and the updating of the low accuracy classification model, until all low accuracy classification models in the plurality of classification models are updated.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein the candidate factors include factors having time series data values that change during a period of time and at least one factor having a data value that remains static during the period of time.

### Claim 6 (depends on 2)

The computer-implemented method of claim 2, wherein the transformer is a multi-head transformer with self-attention and cross attention, wherein the transformer generates the future values based on self-attention of individual time series data of multiple time series data input to the transformer and cross-attention among the multiple time series data.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the replacing of the at least one candidate factor in the set of candidate factors used to train the low accuracy classification model includes:
replacing the at least one candidate factor that has a lowest adjusted factor weight selected from the set of candidate factors used to train the low accuracy classification model, with the candidate factor that has a highest adjusted factor weight and that is not also in the set of candidate factors used to train the low accuracy classification model selected from the set of candidate factors used to train the higher accuracy classification.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the adjusting of the factor weights includes adjusting factor weights of the candidate factors in the set used in the classification model by multiplying the accuracy score with the factor weights of the candidate factors.

### Claim 9

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a device to cause the device to:
select a plurality of sets of candidate factors, the candidate factors being indicators of computer performance, and wherein each set in the plurality of sets of candidate factors has a combination of candidate factors that is different from another set in the plurality of sets of candidate factors;
for a set in the plurality of sets of candidate factors,
train a classification model to predict a problem possibility during a computer runtime using a training dataset associated with the set,
validate the classification model using a validation dataset associated with the set and determine an accuracy score associated with the classification model, and
adjust factor weights associated with the candidate factors in the set based on the accuracy score,
wherein the device is caused to repeat the training of the classification model, the validation of the classification model, and the adjusting of the factor weights for all sets in the plurality of sets of candidate factors, wherein a plurality of classification models is trained corresponding to the respective plurality of sets of candidate factors;
select from the plurality of classification models a low accuracy classification model having an accuracy score lower than a threshold criterion;
select from the plurality of classification models a higher accuracy classification model having an accuracy score that is higher than the accuracy score of the low accuracy classification model;
update the set of candidate factors used to train the low accuracy classification model by replacing at least one candidate factor in the set of candidate factors used to train the low accuracy classification model with a candidate factor in the set of candidate factors used to train the higher accuracy classification model; and
update the low accuracy classification model by repeating the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the device is further caused to:
for the set in the plurality of sets of candidate factors,
train a transformer with encoder and decoder architecture to generate future values for at least some of the candidate factors in the set,
wherein the device is caused to repeat the training of the transformer along with repeating of the training of the classification model, the validation of the classification model, and the adjusting of the factor weights, for all sets in the plurality of sets of candidate factors, wherein a plurality of transformers are trained corresponding to the respective plurality of sets of candidate factors; and
the device caused to update the low accuracy classification model includes the device caused to update the low accuracy classification model by repeating the training of the transformer, the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the device is further caused to pass a new set of feature values corresponding to the updated set of candidate factors to the transformer trained using the updated set of candidate factor to generate future values corresponding to the updated set of candidate factors, and using the generated future values as input to the updated low accuracy classification model to predict a future problem possibility.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the device is further caused to repeat the selecting of the low accuracy classification model, the selecting of the higher accuracy classification model, the updating of the set of candidate factors used to train the low accuracy classification model, and the updating of the low accuracy classification model, until all low accuracy classification models in the plurality of classification models are updated.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the candidate factors include factors having time series data values that change during a period of time and at least one factor having a data value that remains static during the period of time.

### Claim 14 (depends on 10)

The computer program product of claim 10, wherein the transformer is a multi-head transformer with self-attention and cross attention, wherein the transformer generates the future values based on self-attention of individual time series data of multiple time series data input to the transformer and cross-attention among the multiple time series data.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein the device caused to replace of the at least one candidate factor in the set of candidate factors used to train the low accuracy classification model includes:
the device caused to replace the at least one candidate factor that has a lowest adjusted factor weight selected from the set of candidate factors used to train the low accuracy classification model, with the candidate factor that has a highest adjusted factor weight and that is not also in the set of candidate factors used to train the low accuracy classification model selected from the set of candidate factors used to train the higher accuracy classification.

### Claim 16 (depends on 9)

The computer program product of claim 9, wherein the device caused to adjust the factor weights includes the device caused to adjust factor weights of the candidate factors in the set used in the classification model by multiplying the accuracy score with the factor weights of the candidate factors.

### Claim 17

A system comprising:
at least one computer processor;
at least one memory device coupled with the computer processor;
the at least one computer processor configured to at least:
select a plurality of sets of candidate factors, the candidate factors being indicators of computer performance, and wherein each set in the plurality of sets of candidate factors has a combination of candidate factors that is different from another set in the plurality of sets of candidate factors;
for a set in the plurality of sets of candidate factors,
train a classification model to predict a problem possibility during a computer runtime using a training dataset associated with the set,
validate the classification model using a validation dataset associated with the set and determine an accuracy score associated with the classification model, and
adjust factor weights associated with the candidate factors in the set based on the accuracy score,
wherein the computer processor is configured to repeat the training of the classification model, the validation of the classification model, and the adjusting of the factor weights for all sets in the plurality of sets of candidate factors, wherein a plurality of classification models is trained corresponding to the respective plurality of sets of candidate factors;
select from the plurality of classification models a low accuracy classification model having an accuracy score lower than a threshold criterion;
select from the plurality of classification models a higher accuracy classification model having an accuracy score that is higher than the accuracy score of the low accuracy classification model;
update the set of candidate factors used to train the low accuracy classification model by replacing at least one candidate factor in the set of candidate factors used to train the low accuracy classification model with a candidate factor in the set of candidate factors used to train the higher accuracy classification model; and
update the low accuracy classification model by repeating the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 18 (depends on 17)

The system of claim 17, wherein the computer processor is further configured to:
for the set in the plurality of sets of candidate factors,
train a transformer with encoder and decoder architecture to generate future values for at least some of the candidate factors in the set,
wherein the device is caused to repeat the training of the transformer along with repeating of the training of the classification model, the validation of the classification model, and the adjusting of the factor weights, for all sets in the plurality of sets of candidate factors, wherein a plurality of transformers are trained corresponding to the respective plurality of sets of candidate factors; and
the computer processor configured to update the low accuracy classification model includes the computer processor configured to update the low accuracy classification model by repeating the training of the transformer, the training of the classification model, the validating of the classification model, and the adjusting of the factor weights, using the updated set of candidate factors.

### Claim 19 (depends on 18)

The system of claim 18, wherein the computer processor is further configured to pass a new set of feature values corresponding to the updated set of candidate factors to the transformer trained using the updated set of candidate factor to generate future values corresponding to the updated set of candidate factors, and using the generated future values as input to the updated low accuracy classification model to predict a future problem possibility.

### Claim 20 (depends on 18)

The system of claim 18, wherein the computer processor is further configured to repeat the selecting of the low accuracy classification model, the selecting of the higher accuracy classification model, the updating of the set of candidate factors used to train the low accuracy classification model, and the updating of the low accuracy classification model, until all low accuracy classification models in the plurality of classification models are updated.
