# US 2020/0287923 A1 · Unsupervised learning to simplify distributed systems management

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

- Number: US 2020/0287923 A1
- Document ID: US20200287923A1
- Status: Published application
- Kind: A1
- Application number: 16/297,013
- Filed: 2019-03-08
- Published: 2020-09-10
- Earliest claimed: 2019-03-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ramya Raghavendra; Mudhakar Srivatsa; Joshua M. Rosenkranz; Christopher Streiffer
- Web page: https://patentgrep.com/patent/US20200287923A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Data associated with performances of microservices functioning in a distributed computing environment is clustered by executing an unsupervised machine learning algorithm. A representative data is selected from a cluster, selecting performed for a plurality of the clusters. Based on time series data of the representative data associated with the plurality of the clusters, causal extraction is performed. Based on the causal extraction and the plurality of the clusters, a causal graph is constructed. The causal graph is embedded into vector space. Based on the embedded vector space, an artificial neural network model can be trained for managing the distributed computing environment.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving data associated with performances of microservices functioning in a distributed computing environment;
clustering the data into clusters by executing an unsupervised machine learning algorithm;
selecting a representative data from a cluster, the selecting performed for a plurality of the clusters;
based on time series data of the representative data associated with the plurality of the clusters, performing a causal extraction;
constructing a causal graph based on the causal extraction and the plurality of the clusters;
embedding the causal graph into vector space; and
based on the embedded vector space, training an artificial neural network model for managing the distributed computing environment.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the artificial neural network model is trained to predict an anomaly in the distributed computing environment.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the artificial neural network model is trained to predict resource usage of the microservices.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the representative data comprises a centroid of the cluster, and the causal extraction comprises granger causality.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the embedding the causal graph embeds the time series data into the vector space.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the causal graph is represented as a tensor and the time series data associated with nodes of the causal graph are represented as channels.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the embedding the causal graph into vector space comprises creating a tensor based on spatial relationships of nodes in the causal graph.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising: based on executing the trained neural network, automatically stopping a microservice determined to be anomalous.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising: based on executing the trained neural network, automatically provisioning additional resource to the distributed computing environment.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising: detecting a change in the causal graph built over time, and based on the change, determining whether a microservice is anomalous.

### Claim 11

A system, comprising:
at least one hardware processor;
a memory device coupled with at least one hardware processor;
the at least one hardware processor operable to:
receive data associated with performances of microservices functioning in a distributed computing environment;
cluster the data into clusters by executing an unsupervised machine learning algorithm;
select a representative data from a cluster, the selecting performed for a plurality of the clusters;
based on time series data of the representative data associated with the plurality of the clusters, perform a causal extraction;
construct a causal graph based on the causal extraction and the plurality of the clusters;
embed the causal graph into vector space; and
based on the embedded vector space, train an artificial neural network model for managing the distributed computing environment.

### Claim 12 (depends on 11)

The system of claim 11, wherein the artificial neural network model is trained to predict an anomaly in the distributed computing environment.

### Claim 13 (depends on 11)

The system of claim 11, wherein the artificial neural network model is trained to predict resource usage of the microservices.

### Claim 14 (depends on 11)

The system of claim 11, wherein the representative data comprises a centroid of the cluster, and the causal extraction comprises granger causality.

### Claim 15 (depends on 11)

The system of claim 11, wherein the time series data is embedded into the vector space.

### Claim 16 (depends on 11)

The system of claim 11, wherein the causal graph is represented as a tensor and the time series data associated with nodes of the causal graph are represented as channels.

### Claim 17 (depends on 11)

The system of claim 11, wherein based on executing the trained neural network, a microservice determined to be anomalous is automatically stopped.

### Claim 18

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to:
receive data associated with performances of microservices functioning in a distributed computing environment;
cluster the data into clusters by executing an unsupervised machine learning algorithm;
select a representative data from a cluster, the selecting performed for a plurality of the clusters;
based on time series data of the representative data associated with the plurality of the clusters, perform a causal extraction;
construct a causal graph based on the causal extraction and the plurality of the clusters;
embed the causal graph into vector space; and
based on the embedded vector space, train an artificial neural network model for managing the distributed computing environment.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the artificial neural network model is trained to predict an anomaly in the distributed computing environment.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein based on executing the trained neural network, a microservice determined to be anomalous is automatically stopped.
