# US 11,120,336 B2 · Anomaly detection independent of a normal pattern of input data

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

- Number: US 11,120,336 B2
- Document ID: US11120336B2
- Status: Granted
- Kind: B2
- Application number: 17/017,474
- Filed: 2020-09-10
- Published: 2020-12-31
- Granted: 2021-09-14
- Earliest claimed: 2018-07-11
- Assignees: MakinaRocks Co., Ltd.
- Applicants: MakinaRocks Co., Ltd.
- Inventors: Andre S. Yoon; Yongsub Lim; Sangwoo Shim
- Web page: https://patentgrep.com/patent/US11120336B2

## CPC

- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/2413: based on distances to training or reference patterns
- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- 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 3/096: Transfer learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 20/00: Machine learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06N 3/047: Probabilistic or stochastic networks
- G06N 20/20: Ensemble learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

According to an exemplary embodiment of the present disclosure, disclosed is a computer program stored in a computer readable storage medium. When the computer program is executed in one or more processors, the computer program performs the following method for anomaly detection of data using a network function, and the method includes: generating an anomaly detection model including a plurality of anomaly detection sub models including a trained network function using a plurality of training data sub sets included in the training data set; calculating input data using at least one of the plurality of generated anomaly detection sub models; and determining whether there is an anomaly in the input data based on output data for input data of at least one of the plurality of generated anomaly detection sub models and the input data.

## Claims

### Claim 1

A computer program stored in a non-transitory computer readable storage medium wherein when the computer program is executed in one or more processors, the computer program performs the following method for anomaly detection of data using a network function, the method comprising:
generating an anomaly detection model for performing anomaly detection independently of the normal pattern of input data including a plurality of anomaly detection sub models including a trained network function using a plurality of mutually distinguishable training data sub sets included in the training data set;
calculating input data using at least one of the plurality of generated anomaly detection sub models which operate reverse chronologically based on the generation time of each of the plurality of anomaly detection sub models; and
determining whether there is an anomaly in the input data based on output data for input data of at least one of the plurality of generated anomaly detection sub models and the input data.

### Claim 2 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein each of the plurality of training data sub sets includes different training data which are grouped by a predetermined criterion, and the predetermined criterion includes at least one of a generation time interval of the training data and a domain of the training data.

### Claim 3 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein the plurality of anomaly detection sub models includes a first anomaly detection sub model including a first network function trained with the first training data sub set configured by training data generated during a first time interval and a second anomaly detection sub model including a second network function trained with the second training data sub set configured by training data generated during a second time interval which is different from the first time interval.

### Claim 4 (depends on 3)

The computer program stored in a computer readable storage medium according to claim 3, wherein an initial weight of the second network function at least partially shares a weight of the trained first network function.

### Claim 5 (depends on 3)

The computer program stored in a computer readable storage medium according to claim 3, wherein the first time interval is earlier than the second time interval and the first anomaly detection sub model is generated earlier than the second anomaly detection sub model.

### Claim 6 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein the network function is a network function including a dimensionality reduction network and a dimensionality restoration network.

### Claim 7 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein the trained network function is trained only with normal data which does not include an anomaly as training data and is trained to reduce and restore the dimensionality of the training data.

### Claim 8 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein the calculating of input data using at least one of the plurality of generated anomaly detection sub models includes:
generating output data obtained by generating dimensionality reduction data by reducing a dimensionality of the input data by a network included in the anomaly detection sub model and then restoring the dimensionality of the dimensionality reduction data.

### Claim 9 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, wherein the determining of whether there is an anomaly in the input data includes:
determining whether there is an anomaly in the input data, based on a reconstruction error calculated based on the comparison of the output data and the input data.

### Claim 10 (depends on 1)

The computer program stored in a computer readable storage medium according to claim 1, further comprising:
determining that there is an anomaly in the input data when all the plurality of anomaly detection sub models included in the anomaly detection model determines that there is an anomaly in the input data.

### Claim 11 (depends on 3)

The computer program stored in a computer readable storage medium according to claim 3, wherein the determining of whether there is an anomaly in the input data includes:
determining whether there is an anomaly in input data using the second anomaly detection sub model; and
determining whether there is an anomaly in input data using the first anomaly detection sub model when the second anomaly detection sub model determines that there is an anomaly in the input data.

### Claim 12 (depends on 4)

The computer program stored in a computer readable storage medium according to claim 4, wherein a predetermined number of layers among layers of a dimensionality reduction network of the second network function sets a weight of a corresponding layer of the first network function which is previously learned as an initial weight.

### Claim 13 (depends on 4)

The computer program stored in a computer readable storage medium according to claim 4, wherein a predetermined number of layers among layers of a dimensionality restoration network of the second network function is initialized with a weight of a corresponding layer of the first network function which is previously learned at every learning epoch.

### Claim 14 (depends on 5)

The computer program stored in a computer readable storage medium according to claim 5, wherein a first training data sub set configured by training data generated for the first time interval to generate the first anomaly detection sub model is sampled at a lower sampling ratio than a sampling ratio of the second training data sub set for generating the second anomaly detection sub model so that only a part of the training data included in the first training data sub set is used to be trained.

### Claim 15

An anomaly detecting method of data using a network function performed in one or more processors, the method comprising:
generating an anomaly detection model for performing anomaly detection independently of the normal pattern of input data including a plurality of anomaly detection sub models including a trained network function using a plurality of mutually distinguishable training data sub sets included in the training data set;
calculating input data using at least one of the plurality of generated anomaly detection sub models which operate reverse chronologically based on the generation time of each of the plurality of anomaly detection sub models; and
determining whether there is an anomaly in the input data based on output data for input data of at least one among the plurality of generated anomaly detection sub models and the input data.

### Claim 16

A computing device, comprising:
one or more processors; and
a memory which stores commands executable in the processor,
wherein the processor is configured to
generate an anomaly detection model for performing anomaly detection independently of the normal pattern of input data including a plurality of anomaly detection sub models including a trained network function using a plurality of mutually distinguishable training data sub sets included in the training data set;
calculate input data using at least one of the plurality of generated anomaly detection sub models which operate reverse chronologically based on the generation time of each of the plurality of anomaly detection sub models; and
determine whether there is an anomaly in the input data based on output data for input data of at least one of the plurality of generated anomaly detection sub models and the input data.
