# US 2021/0286707 A1 · Correlation and root cause analysis of trace data using an unsupervised autoencoder

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

- Number: US 2021/0286707 A1
- Document ID: US20210286707A1
- Status: Published application
- Kind: A1
- Application number: 16/819,881
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew GREEN; Narayana Aditya MADINENI; Michael W. GRAY; Leigh S. MCLEAN
- Web page: https://patentgrep.com/patent/US20210286707A1

## CPC

- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/323: {Visualisation of programs or trace data}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An analyzer system inputs parameter values from trace files of a software application into an autoencoder. The analyzer system adjusts weights of the edges between nodes in the autoencoder until reconstruction errors in outputs are minimized. The analyzer system receives a selection of a parameter represented in an autoencoder. In response, the analyzer system identifies hidden layer nodes connected to an output node corresponding to the selected parameter and identifies other output nodes connected to the hidden layer nodes. The analyzer system retrieves weights assigned to edges between the hidden layer nodes and the other output nodes. The analyzer system calculates correlation values between the output node corresponding to the selected parameter and each of the other output nodes and outputs the correlation values. A user can use the correlation values to better direct the root cause analysis.

## Claims

### Claim 1

A method for determining correlations in software application trace data, comprising:
receiving, by an analyzer system, a selection of a parameter of a plurality of parameters represented in an autoencoder;
in response, identifying, by the analyzer system, one or more hidden layer nodes in the autoencoder connected to an output node in the autoencoder corresponding to the selected parameter;
identifying, by the analyzer system, one or more other output nodes in the autoencoder connected to the one or more hidden layer nodes;
retrieving, by the analyzer system, weights assigned to edges between the one or more hidden layer nodes and the one or more other output nodes:
calculating, by the analyzer system, correlation values between the output node corresponding to the selected parameter and each of the other output nodes; and
outputting, by the analyzer system, the correlation values.

### Claim 2 (depends on 1)

The method of claim 1, wherein a training of the autoencoder comprises:
constructing, by the analyzer system, the autoencoder with an input layer with input nodes representing parameters in one or more training trace files, one or more hidden layers, and an output layer with output nodes reconstructing inputs to the input layer;
assigning, by the analyzer system, an initial weight to each edge between the input nodes and nodes in the one or more hidden layers and between the nodes in the one or more hidden layers and the output nodes;
inputting, by the analyzer system, input parameter values in the one or more training trace files into the autoencoder;
calculating, by the autoencoder, outputs of each node in the one or more hidden layers and outputs of each output node using an activation function and the initial weights; and
iteratively updating, by the analyzer system, the initial weights until the autoencoder calculates the outputs of each output node where reconstruction errors are, minimized.

### Claim 3 (depends on 1)

The method of claim 1, wherein, the receiving of the selection of the parameter comprises:
inputting, by the analyzer system, parameter values from one or more trace files of a software application into the autoencoder;
adjusting, by the analyzer system, weights of the edges between nodes in the autoencoder until reconstruction errors in outputs of the autoencoder are minimized;
sending, by the analyzer system, the plurality of parameters represented in the autoencoder to a user interface; and
receiving, by the analyzer system, the selection of the parameter from the user interface.

### Claim 4 (depends on 1)

The method of claim 1, wherein the calculating of the correlation values comprises:
calculating, by the analyzer system, a product of the weights of the output node corresponding to the selected parameter and each of the other output nodes.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more hidden layer nodes reside in a current layer, wherein the identifying of the other output nodes comprises:
identifying, by the analyzing system, a hidden layer node in a previous layer connected to the one or more hidden layer nodes in the current layer;
identifying, by the analyzer system, one or more intermediate hidden layer nodes in the current layer connected to the hidden layer node in the previous layer;
identifying, by the analyzer system, one or more additional output nodes connected to the one or more intermediate hidden layer nodes.

### Claim 6 (depends on 5)

The method of claim 5, wherein the retrieving of the weights and the calculating of the correlation values comprise:
retrieving, by the analyzer system, weights assigned to edges between the hidden layer node in the previous layer and the one or more intermediate hidden layer nodes and between the one or more intermediate hidden layer nodes and the additional output nodes; and
calculating, by the analyzer system, additional correlation values between the output node corresponding to the selected parameter and each of the additional output nodes.

### Claim 7

A computer program product for determining correlations in software application trace data, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive a selection of a parameter of a plurality of parameters represented in an autoencoder,
in response, identify one or more hidden layer nodes in the autoencoder connected to an output node in the autoencoder corresponding to the selected parameter;
identify one or more other output nodes in the autoencoder connected to the one or more hidden layer nodes;
retrieve weights assigned to edges between the one or more hidden layer nodes and the one or more other output nodes;
calculate correlation values between the output node corresponding to the selected parameter and each of the other output nodes; and
output the correlation values.

### Claim 8 (depends on 7)

The computer program product of claim 7, wherein in training the autoencoder, the processor is caused to:
construct the autoencoder with an input layer with input nodes representing parameters in one or more training trace files, one or more hidden layers, and an output layer with output nodes reconstructing inputs to the input layer;
assign an initial weight to each edge between the input nodes and nodes in the one or more hidden layers and between the nodes in the one or more hidden layers and the output nodes;
input input parameter values in the one or more training trace files into the autoencoder;
calculate outputs of each node in the one or more hidden layers and outputs of each output node using an activation function and the initial weights; and
iteratively updating, by the analyzer system, the initial weights until the autoencoder calculates the outputs of each output node where reconstruction errors are minimized.

### Claim 9 (depends on 7)

The computer program product of claim 7, wherein in receiving the selection of the parameter, the processor is further caused to:
input parameter values from one or more trace files of a software application into the autoencoder;
adjust weights of the edges between nodes in the autoencoder until reconstruction errors in outputs of the autoencoder are minimized;
send the plurality of parameters represented in the autoencoder to a user interface; and
receive the selection of the parameter from the user interface.

### Claim 10 (depends on 7)

The computer program product of claim 7, wherein in calculating the correlation values, the processor is further caused to:
calculate a product of the weights of the output node corresponding to the selected parameter and each of the other output nodes.

### Claim 11 (depends on 7)

The computer program product of claim 7, wherein the one or more hidden layer nodes reside in a current layer, wherein in identifying the other output nodes, the processor is further caused to:
identify a hidden layer node in a previous layer connected to the one or more hidden layer nodes in the current layer;
identify one or more intermediate hidden layer nodes in the current layer connected to the hidden layer node in the previous layer;
identify one or more additional output nodes connected to the one or more intermediate hidden layer nodes.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein in retrieving the weights and the calculating of the correlation values, the processor is caused to:
retrieve weights assigned to edges between the hidden layer node in the previous layer and the one or more intermediate hidden layer nodes and between the one or more intermediate hidden layer nodes and the additional output nodes; and
calculate additional correlation values between the output node corresponding to the selected parameter and each of the additional output nodes.

### Claim 13

A system comprising:
a processor; and
a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive a selection of a parameter of a plurality of parameters represented in an autoencoder;
in response, identify one or more hidden layer nodes in the autoencoder connected to an output node in the autoencoder corresponding to the selected parameter;
identify one or more other output nodes in the autoencoder connected to the one or more hidden layer nodes;
retrieve weights assigned to edges between the one or more hidden layer nodes and the one or more other output nodes;
calculate correlation values between the output, node corresponding to the selected parameter and each of the other output nodes; and
output the correlation values.

### Claim 14 (depends on 13)

The system of claim 13, wherein in training the autoencoder, the processor is caused to:
construct the autoencoder with an input layer with input nodes representing parameters in one or more training trace files, one or more hidden layers, and an output layer with output nodes reconstructing inputs to the input layer;
assign an initial weight to each edge between the input nodes and nodes in the one or more hidden layers and between the nodes in the one or more hidden layers and the output nodes;
input input parameter values in the one or more training trace files into the autoencoder;
calculate outputs of each node in the one or more hidden layers and outputs of each output node using an activation function and the initial weights; and
iteratively updating, by the analyzer system, the initial weights until the autoencoder calculates the outputs of each output node where reconstruction errors are minimized.

### Claim 15 (depends on 13)

The system of claim 13, wherein in receiving the selection of the parameter, the processor is further caused to:
input parameter values from one or more trace files of a software application into the autoencoder;
adjust weights of the edges between nodes in the autoencoder until reconstruction errors in outputs of the autoencoder are minimized;
send the plurality of parameters represented in the autoencoder to a user interface; and
receive the selection of the parameter from the user interface.

### Claim 16 (depends on 13)

The system of claim 13, wherein in calculating the correlation values, the processor is further caused to:
calculate a product of the weights of the output node corresponding to the selected parameter and each of the other output nodes.

### Claim 17 (depends on 13)

The system of claim 13, wherein the one or more hidden layer nodes reside in a current layer, wherein in identifying the other output nodes, the processor is further caused to:
identify a hidden layer node in a previous layer connected to the one or more hidden layer nodes in the current layer;
identify one or more intermediate hidden layer nodes in the current layer connected to the hidden layer node in the previous layer;
identify one or more additional output nodes connected to the one or more intermediate hidden layer nodes.

### Claim 18 (depends on 17)

The system of claim 17, wherein in retrieving the weights and the calculating of the correlation values, the processor is caused to:
retrieve weights assigned to edges between the hidden layer node in the previous layer and the one or more intermediate hidden layer nodes and between the one or more intermediate hidden layer nodes and the additional output nodes; and
calculate additional correlation values between the output node corresponding to the selected parameter and each of the additional output nodes.
