# US 2016/0258747 A1 · Anomaly Detection Method, Program, and System

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

- Number: US 2016/0258747 A1
- Document ID: US20160258747A1
- Status: Published application
- Kind: A1
- Application number: 15/152,867
- Filed: 2016-05-12
- Published: 2016-09-08
- Earliest claimed: 2012-06-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tsuyoshi Ide; Tetsuro Morimura; Bin Tong
- Web page: https://patentgrep.com/patent/US20160258747A1

## CPC

- G06F 18/2433: Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
- G01B 21/30: for measuring roughness or irregularity of surfaces
- 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 18/10: Pre-processing; Data cleansing
- G06F 18/24: Classification techniques
- G06F 2218/12: Classification; Matching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS

## Abstract

A method providing an analytical technique introducing label information into an anomaly detection model. The method includes the steps of: inputting measurement data having an anomalous or normal label and measurement data having no label as samples; determining a similarity matrix indicating the relationship between the samples based on the samples; defining a penalty based on the similarity matrix and calculating parameters in accordance with an updating equation having a term reducing the penalty; and calculating a degree of anomaly based on the calculated parameters. The present invention also provides a program and system for detecting an anomaly based on measurement data.

## Claims

### Claim 1

A computer implemented method to detect an anomaly based on measurement data, the method comprising the steps of:
inputting measurement data having an anomalous or normal label and measurement data having no label as samples;
determining a similarity matrix indicating the relationship between the samples based on the samples;
defining a penalty based on the similarity matrix and calculating parameters in accordance with an updating equation having a term reducing the penalty; and
calculating a degree of anomaly based on the calculated parameters.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the similarity matrix is a N×N square matrix, where N is the number of samples, each row and each column corresponding to samples, an element corresponding to a normal (labeled) sample and a normal sample being positive number a, an element corresponding to a normal sample and an anomalous sample being non-positive number b, an element corresponding to a normal sample and an unlabeled sample being c, an element corresponding to an anomalous sample and an anomalous sample being d, an element corresponding to an anomalous sample and an unlabeled sample being e, and an element corresponding to an unlabeled sample and an unlabeled sample being f.

### Claim 3 (depends on 2)

The method according to claim 2, wherein a, b, c, d, e, and f are b≦c≦a, e≦d≦f.

### Claim 4 (depends on 3)

The method according to claim 3, wherein c and f are a value equal to or approximate to a, and e is a value equal to or approximate to b on condition that an unlabeled sampled can be assumed to be a normal sample.

### Claim 5 (depends on 3)

The method according to claim 3, wherein c is a value equal to or approximate to b, and e and f are a value equal to or approximate to d on condition that an unlabeled sampled can be assumed to be an anomalous sample.

### Claim 6

A computer executed program to detect an anomaly based on measurement data, the program executing in a computer the steps of:
inputting measurement data having an anomalous or normal label and measurement data having no label as samples;
determining a similarity matrix indicating the relationship between the samples based on the samples;
defining a penalty based on the similarity matrix and calculating parameters in accordance with an updating equation having a term reducing the penalty; and
calculating a degree of anomaly based on the calculated parameters.

### Claim 7 (depends on 6)

The program according to claim 6, wherein the similarity matrix is a N×N square matrix, where N is the number of samples, each row and each column corresponding to samples, an element corresponding to a normal (labeled) sample and a normal sample being positive number a, an element corresponding to a normal sample and an anomalous sample being non-positive number b, an element corresponding to a normal sample and an unlabeled sample being c, an element corresponding to an anomalous sample and an anomalous sample being d, an element corresponding to an anomalous sample and an unlabeled sample being e, and an element corresponding to an unlabeled sample and an unlabeled sample being f.

### Claim 8 (depends on 7)

The program according to claim 7, wherein a, b, c, d, e, and f are b≦c≦a, e≦d≦f.

### Claim 9 (depends on 8)

The program according to claim 8, wherein c and f are a value equal to or approximate to a, and e is a value equal to or approximate to b on condition that an unlabeled sample can be assumed to be a normal sample.

### Claim 10 (depends on 8)

The program according to claim 8, wherein c is a value equal to or approximate to b, and e and f are a value equal to or approximate to d on condition that an unlabeled sample can be assumed to be an anomalous sample.

### Claim 11

A computer implemented system to detect an anomaly based on measurement data, the system comprising:
storage means;
measurement data having an anomalous or normal label and measurement data having no label stored in the storage means as samples;
means for determining a similarity matrix indicating the relationship between the samples based on the samples;
means for defining a penalty based on the similarity matrix and for calculating parameters in accordance with an updating equation having a term reducing the penalty; and
means for calculating a degree of anomaly based on the calculated parameters.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the similarity matrix is a N×N square matrix, where N denotes the number of samples, each row and each column corresponding to samples, an element corresponding to a normal (labeled) sample and a normal sample being positive number a, an element corresponding to a normal sample and an anomalous sample being non-positive number b, an element corresponding to a normal sample and an unlabeled sample being c, an element corresponding to an anomalous sample and an anomalous sample being d, an element corresponding to an anomalous sample and an unlabeled sample being e, and an element corresponding to an unlabeled sample and an unlabeled sample being f.

### Claim 13 (depends on 12)

The system according to claim 12, wherein a, b, c, d, e, and f are b≦c≦a, e≦d≦f.
