# US 2022/0284076 A1 · Real-time outlier detection method and apparatus in multidimensional data stream

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

- Number: US 2022/0284076 A1
- Document ID: US20220284076A1
- Status: Published application
- Kind: A1
- Application number: 17/354,219
- Filed: 2021-06-22
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Korea Advanced Institute of Science and Technology
- Applicants: Korea Advanced Institute of Science and Technology
- Inventors: Jae-Gil LEE; Susik YOON; Byung Suk LEE
- Web page: https://patentgrep.com/patent/US20220284076A1

## CPC

- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- G06F 16/2264: {Multidimensional index structures}
- G06F 16/285: {Clustering or classification}
- G06F 17/175: {of multidimensional data}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An outlier detection device sets a weight for a kernel center of a grid cell based on a distribution of the data disposed on the grid cell region, calculates a cumulative change of a weight for each corresponding kernel center, sets a stationary region in the grid cell region based on the cumulative change, maintains a density of a kernel center of the stationary region as a previous density, calculates a density of a kernel center excluding the stationary region to update the calculated density, estimates a density of multidimensional data at the current time, and detects an arbitrary number of outliers based on a relative difference between the density of the multidimensional data and a density of a kernel center nearest to the multidimensional data.

## Claims

### Claim 1

A method of detecting an outlier in real time in a multidimensional data stream, implemented by a computing device including at least one processor, the method comprising:
disposing multidimensional data input in real time on a grid cell region and setting a weight for a kernel center of each grid cell based on a data distribution on the grid cell region;
calculating a cumulative change of a weight for each corresponding kernel center by comparing a data distribution at a current time and a data distribution at a previous time, and setting a stationary region in the grid cell region based on the cumulative change;
maintaining a density of a kernel center of the stationary region as a previous density, and calculating a density of a kernel center excluding the stationary region to update the calculated density; and
estimating a density of multidimensional data at the current time, and detecting an arbitrary number of outliers based on a relative difference between the density of the multidimensional data and a density of a kernel center nearest to the multidimensional data.

### Claim 2 (depends on 1)

The method of claim 1, wherein setting the weight for the kernel center comprises setting number of multidimensional data positioned in the grid cell as the weight of the kernel center for the grid cell.

### Claim 3 (depends on 1)

The method of claim 1, wherein setting the stationary region comprises classifying a grid cell whose cumulative change, representing a net change in the number of data, is less than or equal to a predetermined threshold as the stationary region and classifying a grid cell whose cumulative change is greater than the threshold as an update region.

### Claim 4 (depends on 3)

The method of claim 3, wherein calculating the density of the kernel center excluding the stationary region comprises calculating the density of the corresponding kernel center based on a kernel function and distances with the k (k is a natural number) nearest different kernel centers in the update region.

### Claim 5 (depends on 3)

The method of claim 3, wherein detecting the arbitrary number of outliers comprises estimating a density of each multidimensional data based on a kernel function and distances among the k (k is a natural number) nearest kernel centers at a position of each multidimensional data at the current time.

### Claim 6 (depends on 5)

The method of claim 5, wherein detecting the arbitrary number of outliers comprises estimating the relative difference as an outlier score, and detecting the arbitrary number of multidimensional data in the sequential order of the highest outlier score as the outliers or detecting multidimensional data whose outlier score is greater than or equal to a predetermined allowance threshold as the outliers.

### Claim 7 (depends on 6)

The method of claim 6, wherein detecting the arbitrary number of outliers comprises estimating an upper bound and a lower bound of a density of the multidimensional data for each grid cell based on the position of the multidimensional data in the grid cell, and calculating an upper bound and a lower bound of an outlier score based on the upper bound and the lower bound of the density of the multidimensional data.

### Claim 8 (depends on 6)

The method of claim 6, wherein detecting the arbitrary number of outliers comprises comparing an upper bound and a lower bound of an outlier score for each grid cell to select, as a candidate grid cell, at least one grid cell having a lower bound of the outlier score higher than an upper bound of the outlier score of some grid cells, and detecting the arbitrary number of the multidimensional data as the outliers from the multidimensional data positioned in the candidate grid cell.

### Claim 9

A computing device comprising:
a memory including instructions; and
at least one processor that executes the instructions to detect an outlier in a multidimensional data stream,
wherein the at least one processor
disposes multidimensional data input in real time on a grid cell region and sets a weight for a kernel center of each grid cell based on a data distribution on the grid cell region,
classifies a stationary region and an update region according to a cumulative change of a weight predetermined for a kernel center of the corresponding grid cell, by comparing a data distribution at a current time and a data distribution at a previous time, and
calculates a density of a kernel center in the update region to update the calculated density, estimates a density for each of the multidimensional data, and detects an arbitrary number of outliers based on a relative difference between a density of the multidimensional data and a density of the kernel center nearest to the corresponding multidimensional data.

### Claim 10 (depends on 9)

The computing device of claim 9, wherein the at least one processor sets the number of the multidimensional data positioned in the grid cell as the weight of the kernel center, and calculates a cumulative change from a change in a weight distribution of the kernel center.

### Claim 11 (depends on 9)

The computing device of claim 9, wherein the at least one processor calculates a density of the kernel center or a density of the multidimensional data based on a kernel function and distances with the k nearest kernel centers at each position.

### Claim 12 (depends on 9)

The computing device of claim 9, wherein the at least one processor maintains a density of the kernel center of the stationary region as a previous density, calculates the density of the kernel center of the update region excluding the stationary region, updates the calculated density of the kernel center, and stores the density of the kernel center at the current time.

### Claim 13 (depends on 9)

The computing device of claim 9, wherein the at least one processor
estimates an upper bound and a lower bound of the density of the multidimensional data for each grid cell based on a position of the multidimensional data in the grid cell, calculates an upper bound and a lower bound of the relative difference based on the upper bound and the lower bound of the density, and
selects, as a candidate grid cell, a grid cell that has the lower bound of the relative difference greater than the upper bounds of other grid cells through comparing the upper bounds and the lower bounds of the grid cells.

### Claim 14 (depends on 13)

The computing device of claim 13, wherein the at least one processor
selects at least one candidate grid cell so that the number of multidimensional data positioned in the candidate grid cell is greater than the arbitrary number, and
selects the arbitrary number of the multidimensional data in the sequentially higher order of the relative difference as outliers among the multidimensional data positioned in the candidate grid cell.
