# US 7,620,523 B2 · Nonparametric method for determination of anomalous event states in complex systems exhibiting non-stationarity

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

- Number: US 7,620,523 B2
- Document ID: US7620523B2
- Status: Granted
- Kind: B2
- Application number: 11/742,479
- Filed: 2007-04-30
- Published: 2008-10-30
- Granted: 2009-11-17
- Earliest claimed: 2007-04-30
- Assignees: Integrien Corporation
- Inventors: Mazda A. Marvasti; Daniel R. Jeske
- Web page: https://patentgrep.com/patent/US7620523B2

## CPC

- G05B 23/0221: {Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods}
- G05B 23/024: {Quantitative history assessment, e.g. mathematical relationships between available data; Functions therefor; Principal component analysis [PCA]; Partial least square [PLS]; Statistical classifiers, e.g. Bayesian networks, linear regression or correlation analysis; Neural networks}
- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- G06F 2218/12: Classification; Matching
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to a feature of the present disclosure, a method is provided for the determination of anomalous events in complex systems, such as problems, inefficiencies, and failures, and a tool is provided for the detection of these events. Many complex systems are non-stationary or experience periodic fluctuations or spikes in values that are outside of normal ranges, but constitute normal behavior nevertheless. The method accounts for both non-stationarity, as well as fluctuations and spikes. Additional novel features include both a threshold setting initialization method and a regression method for the determination of the start points and end points of events.

## Claims

### Claim 1

A method comprising:
1. initializing a system for determining anomalous event states in an information technology (IT) infrastructure by:
(a) collecting historical time-series data for a metric in the IT infrastructure for at least one monitoring period, each monitoring period having a plurality of timeslots and each timeslot observing metric data at least once;
(b) screening the historical data to remove abnormal metric data to form a non-abnormal historical data set;
(c) collecting each data point from the non-abnormal historical data set into a timeslot historical data set that corresponds with the timeslot from which each data point was collected historically;
(d) simulating m monitoring periods by:
(i) generating a simulated time-series data stream comprising randomly selected data points selected from the timeslot historical data set corresponding to the same timeslot in the simulated time-series data stream;
(ii) calculating a cumulative sum value for each simulated randomly selected data point; and
(iii) determining a maximum cusum value (max {Sn}m) for the simulated monitoring period, where n is an indicator of sequential position of each data point in the data stream
to create a set {max{Sn}1, max{Sn}2,...,max{Sn}m}; and
(e) selecting as a threshold max{max{Sn}1, max{Sn}2,...,max{Sn}m};
2. comparing incoming data for each metric against the threshold by
performing a cumulative sum analysis on a set of incoming metric data in real time by calculating a cumulative sum value for each metric and comparing the cumulative sum value to the threshold to detect anomalous events: and
3. initiating an alert state when an anomalous event is detected that effects at least one response to address the conditions triggering the anomalous event in the affected component of the IT infrastructure:
wherein each cumulative sum value is calculated by adding to the previous cumulative sum value the difference between the value of a metric and a value for normal behavior for a current timeslot within the monitoring period: and
wherein if the calculation of the cumulative sum value is negative, it is set to zero.

### Claim 2 (depends on 1)

The method of claim 1, further comprising reinitializing after the completion of each monitoring period.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
storing an initialization data set after each initialization;
during the reinitialization process, removing the oldest monitoring period of initialization data from the initialization data set and adding the immediately previous monitoring period's data to the initialization data set to form an updated initialization data set;
wherein the reinitialization process uses the updated initialization data set.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining the end point of each anomalous event.

### Claim 5 (depends on 4)

The method of claim 4, wherein the determination of the end point of each anomalous event is designated as the largest cusum value in the set of ν historical cusum values having negative or flat regression slope;
wherein regressions over ν cusum values begins at the first cusum statistic to exceed the threshold and progresses for each cusum statistic thereafter until a negative or flat slope is calculated.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining a start point of each anomalous event.

### Claim 7 (depends on 6)

The method of claim 6, wherein the determination of the start point of each anomalous event is designated as the most recent cumulative sum value in the set of νcumulative sum values {Sn,Sn−1,...,Sn−ν+1} having the first negative or flat regression slope;
wherein Sn is initially the first cumulative sum value in an anomalous event to exceed the threshold and regressions over νpoints are calculated until a negative or flat slope results, each calculation taking the regression for the next n−1 set of cusum values.

### Claim 8 (depends on 1)

The method of claim 1, wherein the value for normal behavior is a function of a tunable parameter that determines whether a given metric is outside of a range of normal values for the timeslot in which the given metric is observed.

### Claim 9 (depends on 8)

The method of claim 8, wherein at least one cumulative sum value is calculated by the function:
Sn=max{0,Sn−1+Yn−Qτn(α)}
wherein n represents a timeslot, Sn is the cumulative sum value, Yn is the incoming metric value, Qτn(α) is a function defining an extreme value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α,and S0 =0.

### Claim 10 (depends on 8)

The method of claim 8, wherein at least two cumulative sum values are calculated by the functions:
Sn30 =max{0,Sn−30 +Yn−Qτn(α)}
Sn31 =max{0,Sn−131 +Qτn(1−α)−Yn}
wherein n represents a timeslot; Sn+, Sn−are cumulative sum values; Yn is the incoming metric value; Qτn (α) is a function defining a maximum value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α; Qτn(1−α) is a function defining a minimum lower value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α; and S0+=0, S0−=0.

### Claim 11

A tangible machine-readable medium having program instructions stored thereon executable by a processing unit for performing the steps of:
1. initializing a system for determining anomalous event states in an information technology (IT) infrastructure by:
(a)collecting historical time-series data for a metric in the IT infrastructure for at least one monitoring period, each monitoring period having a plurality of timeslots and each timeslot observing metric data at least once;
(b) screening the historical data to remove abnormal metric data to form a non-abnormal historical data set;
(c) collecting each data point from the non-abnormal historical data set into a timeslot historical data set that corresponds with the timeslot from which each data point was collected historically;
(d) simulating m monitoring periods by:
(i) generating a simulated time-series data stream comprising randomly selected data points selected from the timeslot historical data set corresponding to the same timeslot in the simulated time-series data stream;
(ii) calculating a cumulative sum value for each simulated randomly selected data point; and
(iii) determining a maximum cusum value (max{Sn}m) for the simulated monitoring period, where n is an indicator of sequential position of each data point in the data stream
to create a set {max{Sn}1, max{Sn}2, . . . , max{Sn}m}; and
(e) selecting as a threshold max{max{Sn}1,max{Sn}2,..., max{Sn}m};
2. comparing incoming data for each metric against the threshold by
performing a cumulative sum analysis on a set of incoming metric data in real time by calculating a cumulative sum value for each metric and comparing the cumulative sum value to the threshold to detect anomalous events: and
3. initiating an alert state when an anomalous event is detected that effects at least one response to address the conditions triggering the anomalous event in the affected component of the IT infrastructure:
wherein each cumulative sum value is calculated by adding to the previous cumulative sum value the difference between the value of a metric and a value for normal behavior for a current timeslot within the monitoring period: and
wherein if the calculation of the cumulative sum value is negative, it is set to zero.

### Claim 12 (depends on 11)

The tangible machine-readable medium of claim 11, further comprising reinitializing after the completion of each monitoring period.

### Claim 13 (depends on 12)

The tangible machine-readable medium of claim 12, further comprising:
storing an initialization data set after each initialization;
during the reinitialization process, removing the oldest monitoring period of initialization data from the initialization data set and adding the immediately previous monitoring period's data to the initialization data set to form an updated initialization data set;
wherein the reinitialization process uses the updated initialization data set.

### Claim 14 (depends on 12)

The tangible machine-readable medium of claim 12, further comprising:
determining the end point of each anomalous event.

### Claim 15 (depends on 14)

The tangible machine-readable medium of claim 14, wherein the determination of the end point of each anomalous event is designated as the largest cusum value in the set of νhistorical cusum values having negative or flat regression slope;
wherein regressions over νcusum values begins at the first cusum statistic to exceed the threshold and progresses for each cusum statistic thereafter until a negative or flat slope is calculated.

### Claim 16 (depends on 11)

The tangible machine-readable medium of claim 11, further comprising:
determining a start point of each anomalous event.

### Claim 17 (depends on 16)

The tangible machine-readable medium of claim 16, wherein the determination of the start point of each anomalous event is designated as the most recent cumulative sum value in the set of νcumulative sum values {Sn,Sn−, . . . ,Sn−ν+1} having the first negative or flat regression slope;
wherein Sn is initially the first cumulative sum value in an anomalous event to exceed the threshold and regressions over ν points are calculated until a negative or flat slope results, each calculation taking the regression for the next n−1 set of cusum values.

### Claim 18 (depends on 11)

The tangible machine-readable medium of claim 11, wherein the value for normal behavior is a function of a tunable parameter that determines whether a given metric is outside of a range of normal values for the timeslot in which the given metric is observed.

### Claim 19 (depends on 18)

The tangible machine-readable medium of claim 18, wherein at least one cumulative sum value is calculated by the function:
Sn=max{0,Sn−1+Yn−Qτn (α)}
wherein n represents a timeslot, S,n is the cumulative sum value, Yn is the incoming metric value, Qτn (α) is a function defining an extreme value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α,and S0=0.

### Claim 20 (depends on 18)

The tangible machine-readable medium of claim 18, wherein at least two cumulative sum values are calculated by the functions:
Sn+=max{0,Sn−1++Yn−Qτn (α)}
Sn−=max{0,Sn−1−+Qτn(1α)−Yn}
wherein n represents a timeslot; Sn+, Sn31 are cumulative sum values; Yn is the incoming metric value; Qτn(α) is a function defining a maximum value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α; Qτn (1−α) is a function defining a minimum value for normal behavior based on historical metric values for the same timeslot in which Yn is observed and tunable parameter α; and S0+=0, S0−=0.
