# US 2021/0344695 A1 · Anomaly detection using an ensemble of models

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

- Number: US 2021/0344695 A1
- Document ID: US20210344695A1
- Status: Published application
- Kind: A1
- Application number: 16/862,696
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Suba Palani; Dinesh Babu Yeddu
- Web page: https://patentgrep.com/patent/US20210344695A1

## CPC

- G06F 16/906: Clustering; Classification
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 16/285: {Clustering or classification}
- G06N 3/043: based on fuzzy logic, fuzzy membership or fuzzy inference, e.g. adaptive neuro-fuzzy inference systems [ANFIS]
- 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/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

Described are techniques for automated anomaly detection including a technique comprising training an ensemble of deep learning models using clustered time series training data from numerous components in an Information Technology (IT) infrastructure. The technique further comprises inputting aggregated time series data to the ensemble of deep learning models and identifying anomalies in the aggregated time series data based on respective portions of the aggregated time series data that are indicated as anomalous by a majority of deep learning models in the ensemble of deep learning models. The technique further comprises grouping the anomalies according to relationships between the anomalies and performing a mitigation action in response to grouping the anomalies.

## Claims

### Claim 1

A computer-implemented method comprising:
training an ensemble of deep learning models using clustered time series training data from numerous components in an Information Technology (IT) infrastructure;
inputting aggregated time series data to the ensemble of deep learning models;
identifying anomalies in the aggregated time series data based on respective portions of the aggregated time series data that are indicated as anomalous by a majority of deep learning models in the ensemble of deep learning models;
grouping the anomalies according to relationships between the anomalies; and
performing a mitigation action in response to grouping the anomalies.

### Claim 2 (depends on 1)

The method of claim 1, wherein the clustered time series training data are clustered using fuzzy clustering.

### Claim 3 (depends on 1)

The method of claim 1, wherein the clustered time series training data are clustered using fuzzy clustering with dynamic time warping distance.

### Claim 4 (depends on 1)

The method of claim 1, wherein the ensemble of deep learning models comprises at least three types of deep learning model.

### Claim 5 (depends on 1)

The method of claim 1, wherein the ensemble of deep learning models comprises a plurality of long short-term memory (LSTM) models.

### Claim 6 (depends on 5)

The method of claim 5, wherein one deep learning model of the ensemble of deep learning models comprises a LSTM model with autoencoders.

### Claim 7 (depends on 5)

The method of claim 5, wherein one deep learning model of the ensemble of deep learning models comprises a LSTM model with uncertainty estimation.

### Claim 8 (depends on 5)

The method of claim 5, wherein one deep learning model of the ensemble of deep learning models comprises a LSTM model with dropouts.

### Claim 9 (depends on 1)

The method of claim 1, wherein grouping the anomalies is based on child-parent relationships between the anomalies.

### Claim 10 (depends on 1)

The method of claim 1, wherein grouping the anomalies is based on a cosine similarity between a group of anomalies and a historical group of anomalies.

### Claim 11 (depends on 1)

The method of claim 1, wherein grouping the anomalies is based on similarities between feature sets of anomalies, wherein the feature sets are generated using autoencoders.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
generating the clustered time series training data by removing anomalies from historical data using an Extreme Studentized Deviate (ESD) test.

### Claim 13 (depends on 12)

The method of claim 12, wherein the Extreme Studentized Deviate (ESD) test comprises a seasonal hybrid generalized ESD test.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
receiving feedback related to the anomalies;
updating the clustered time series training data based on the feedback; and
re-training the ensemble of deep learning models using the updated clustered time series training data.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
receiving feedback related to the anomalies; and
suppressing at least one anomaly based on the feedback.

### Claim 16 (depends on 1)

The method of claim 1, wherein the method is performed by an anomaly detection system according to software that is downloaded to the anomaly detection system from a remote data processing system.

### Claim 17 (depends on 16)

The method of claim 16, wherein the method further comprises:
metering a usage of the software; and
generating an invoice based on metering the usage.

### Claim 18

A system comprising:
one or more processors; and
one or more computer-readable storage media storing program instructions which, when executed by the one or more processors, are configured to cause the one or more processors to perform a method comprising:
training an ensemble of deep learning models using clustered time series training data from numerous components in an Information Technology (IT) infrastructure;
inputting aggregated time series data to the ensemble of deep learning models;
identifying anomalies in the aggregated time series data based on respective portions of the aggregated time series data that are indicated as anomalous by a majority of deep learning models in the ensemble of deep learning models;
grouping the anomalies according to relationships between the anomalies; and
performing a mitigation action in response to grouping the anomalies.

### Claim 19

A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising instructions configured to cause one or more processors to perform a method comprising:
training an ensemble of deep learning models using clustered time series training data from numerous components in an Information Technology (IT) infrastructure;
inputting aggregated time series data to the ensemble of deep learning models;
identifying anomalies in the aggregated time series data based on respective portions of the aggregated time series data that are indicated as anomalous by a majority of deep learning models in the ensemble of deep learning models;
grouping the anomalies according to relationships between the anomalies; and
performing a mitigation action in response to grouping the anomalies.

### Claim 20 (depends on 19)

The computer program product according to claim 19, wherein the clustered time series training data utilizes fuzzy clustering with dynamic time warping distance; and
wherein the ensemble of deep learning models comprises a first long short-term memory (LSTM) model with autoencoders, a second LSTM model with uncertainty estimation, and a third LSTM model with dropouts.
