# US 11,120,127 B2 · Reconstruction-based anomaly detection

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

- Number: US 11,120,127 B2
- Document ID: US11120127B2
- Status: Granted
- Kind: B2
- Application number: 16/218,976
- Filed: 2018-12-13
- Published: 2019-06-27
- Granted: 2021-09-14
- Earliest claimed: 2017-12-27
- Assignees: NEC Corporation
- Applicants: NEC Laboratories America, Inc.
- Inventors: Alexandru Niculescu-Mizil; Eric Cosatto; Xavier Fontaine
- Web page: https://patentgrep.com/patent/US11120127B2

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 21/554: {involving event detection and direct action}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06N 3/02: Neural networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- G06F 2218/12: Classification; Matching
- G06F 2221/034: Test or assess a computer or a system
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods and systems for detecting and correcting anomalies include predicting normal behavior of a monitored system based on training data that includes only sensor data collected during normal behavior of the monitored system. The predicted normal behavior is compared to recent sensor data to determine that the monitored system is behaving abnormally. A corrective action is performed responsive to the abnormal behavior to correct the abnormal behavior.

## Claims

### Claim 1

A method for detecting and correcting anomalies, comprising:
predicting normal behavior of a monitored system based on training data that includes only sensor data collected during normal behavior of the monitored system, by generating time-series data that represents the predicted normal behavior of the monitored system using an autoencoder model trained with the training data;
receiving time-series data that represents recent sensor measurements;
comparing the time-series data representing the predicted normal behavior to the time-series data representing the recent sensor data to determine that the monitored system is behaving abnormally; and
performing a corrective action responsive to the abnormal behavior to correct the abnormal behavior.

### Claim 2 (depends on 1)

The method of claim 1, wherein the autoencoder model is a neural network autoencoder and comprises an encoder part and a decoder part.

### Claim 3 (depends on 2)

The method of claim 2, wherein the encoder part has an input and an output, where a dimensionality of the encoder's output is lower than a dimensionality of the encoder's input.

### Claim 4 (depends on 1)

The method of claim 1, wherein predicting normal behavior comprises masking part of the training data and reconstructing the masked part.

### Claim 5 (depends on 4)

The method of claim 4, wherein masking part of the training data comprises removing values from time series that make up the training data.

### Claim 6 (depends on 1)

The method of claim 1, wherein comparing comprises comparing the recent sensor data to the predicted normal behavior using a comparison function and determining that a comparison result value is above a threshold.

### Claim 7 (depends on 6)

The method of claim 6, wherein comparing comprises determining a mean of squared vector differences between the predicted normal behavior and the recent sensor data.

### Claim 8 (depends on 6)

The method of claim 6, wherein the comparison function is based on domain-specific heuristics.

### Claim 9 (depends on 1)

The method of claim 1, wherein the corrective action is selected from the group consisting of changing a security setting for an application or hardware component of the monitored system, changing an operational parameter of an application or hardware component of the monitored system, halting or restarting an application of the monitored system, halting or rebooting a hardware component of the monitored system, changing an environmental condition of the monitored system, and changing status of a network interface of the monitored system.

### Claim 10

A system for detecting and correcting anomalies, comprising:
a machine learning model that includes an autoencoder model trained with training data that includes only sensor data collected during normal behavior of the monitored system, configured to predict normal behavior of a monitored system with output time-series data that represents the predicted normal behavior of the monitored system;
an anomaly module comprising a processor configured to compare the predicted normal behavior to recent sensor data to determine that the monitored system is behaving abnormally; and
a control module configured to perform a corrective action responsive to the abnormal behavior to correct the abnormal behavior.

### Claim 11 (depends on 10)

The system of claim 10, wherein the autoencoder model is a neural network autoencoder and comprises an encoder part and a decoder part.

### Claim 12 (depends on 11)

The system of claim 11, wherein the encoder part has an input and an output, where a dimensionality of the encoder's output is lower than a dimensionality of the encoder's input.

### Claim 13 (depends on 10)

The system of claim 10, wherein the machine learning model is further configured to mask part of the training data and to reconstruct the masked part.

### Claim 14 (depends on 13)

The system of claim 13, wherein the machine learning model is further configured to remove values from time series that make up the training data to mask part of the training data.

### Claim 15 (depends on 10)

The system of claim 10, wherein the anomaly module is further configured to compare the recent sensor data to the predicted normal behavior using a comparison function and to determine that a comparison result value is above a threshold.

### Claim 16 (depends on 15)

The system of claim 15, wherein the anomaly module is further configured to determine a mean of squared vector differences between the predicted normal behavior and the recent sensor data.

### Claim 17 (depends on 15)

The system of claim 15, wherein the comparison function is based on domain-specific heuristics.

### Claim 18 (depends on 10)

The system of claim 10, wherein the corrective action is selected from the group consisting of changing a security setting for an application or hardware component of the monitored system, changing an operational parameter of an application or hardware component of the monitored system, halting or restarting an application of the monitored system, halting or rebooting a hardware component of the monitored system, changing an environmental condition of the monitored system, and changing status of a network interface of the monitored system.
