# US 2021/0406288 A1 · Novelty detection system

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

- Number: US 2021/0406288 A1
- Document ID: US20210406288A1
- Status: Published application
- Kind: A1
- Application number: 17/356,191
- Filed: 2021-06-23
- Published: 2021-12-30
- Earliest claimed: 2020-06-24
- Assignees: thatDot, Inc.
- Applicants: Thatdot, Inc.
- Inventors: Ryan Wright
- Web page: https://patentgrep.com/patent/US20210406288A1

## CPC

- G06F 16/287: {Visualization; Browsing}
- G06N 20/00: Machine learning
- G06F 16/288: {Entity relationship models}
- G06F 16/9027: {Trees}
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A graph-based novelty detection system processes a stream of observations by storing a compressed representation of the observations in a graph. Each node of the graph represents a component of an observation and a count of a number of times that component has been observed. The system calculates a novelty score based, at least in part, on a conditional probability of one or more components of the observation.

## Claims

### Claim 1

A system, comprising:
at least one processor; and
at least one memory storing instructions that, in response to execution by the at least one processor, cause the system to:
store, in a graph, a first plurality of nodes indicative of an observation read from a stream of observations, wherein nodes of the first plurality of nodes correspond to pieces of information in the observation, and wherein the nodes of the first plurality of nodes comprise information indicative of a number of times one or more pieces of categorical information have been observed in the stream of observations;
calculate a score indicative of a degree to which the observation is an outlier with respect to other observations read from the stream of observations, the score calculated based at least in part on the number of times the one or more pieces of categorical information has been observed; and
send the score to a client process.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first plurality of nodes comprise an ordered sequence that corresponds to a sequence of an observation read from the stream of observations.

### Claim 3 (depends on 2)

The system of claim 2, wherein the score is calculated based, at least in part, on a conditional probability computed based, at least in part, on a first node of the ordered sequence and a second node of the ordered sequence, the second node subsequent to the first node in the sequence.

### Claim 4 (depends on 3)

The system of claim 3, wherein the conditional probability is computed based, at least in part, on a first number of times a first piece of categorical information has been observed in the stream of observations and on a second number of times a second piece of categorical information has been observed in the stream of observations, wherein data for the first number of times is obtained from the first node of the sequence, wherein data for the second number of times is obtained from the second node of the sequence.

### Claim 5 (depends on 1)

The system of claim 1, the at least one memory storing further instructions that, in response to execution by the at least one processor, cause the system to:
increment a counter of a node of the first plurality of nodes, the node also included in a second plurality of nodes overlapping with the first plurality of nodes, the node representing a piece of information in the observation that corresponds to a piece of information in the second observation.

### Claim 6 (depends on 1)

The system of claim 1, the at least one memory storing further instructions that, in response to execution by the at least one processor, cause the system to:
traverse a path through the graph, the path defined by components of the observation; and
increment counters of nodes on the path that correspond to pieces of information in the observation.

### Claim 7 (depends on 1)

The system of claim 1, the at least one memory storing further instructions that, in response to execution by the at least one processor, cause the system to:
traverse a path defined by components of the observation.

### Claim 8 (depends on 1)

The system of claim 1, wherein the score is calculated based, at least in part, on a probability determined based, at least in part, on the number of times the piece of categorical information has been observed and a second number of times a prior piece of categorical information has been observed in the observation.

### Claim 9 (depends on 1)

The system of claim 1, wherein the score is adjusted based at least in part on relative information conveyed by a number of available alternative observations.

### Claim 10 (depends on 1)

The system of claim 1, the at least one memory storing further instructions that, in response to execution by the at least one processor, cause the system to:
determine that cardinality of a node of the plurality of nodes exceeds a threshold level; and
in response to the determination, replace one or more edges of the node with a counter indicative of a number of children of the node.

### Claim 11

A computer-implemented method, comprising:
generating a graph representation based, at least in part, on a stream of observations,
wherein the graph comprises at least a first plurality of node representations,
wherein the first plurality of node representations is indicative of an observation read from the stream of observations,
wherein a node of the first plurality of node representations comprises information indicative of a number of times a piece of categorical information has been observed in the stream of observations;
calculating a score indicative of a degree to which the observation is an outlier with respect to other observations, the score based, at least in part, on the number of times the piece of categorical information has been observed; and
providing the score.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the graph representation comprises information indicative of a tree and the tree comprises the first plurality of nodes.

### Claim 13 (depends on 11)

The computer-implemented method of claim 11, further comprising:
incrementing a counter of a node, of the first plurality of node representations, that represents a piece of information in the observation that corresponds to a piece of information in a second observation.

### Claim 14 (depends on 11)

The computer-implemented method of claim 11, further comprising:
traversing a path through the graph representation, the path defined by components of the observation; and
incrementing counters of node representations on the path that correspond to pieces of information in the observation.

### Claim 15 (depends on 11)

The computer-implemented method of claim 11, wherein the score is calculated based, at least in part, on a conditional probability determined based, at least in part, on the number of times the piece of categorical information has been observed and a second number of times a prior piece of categorical information has been observed in the observation.

### Claim 16 (depends on 11)

The computer-implemented method of claim 11, further comprising:
determining an order of the first plurality of node representations based, at least in part, on one or more of cardinality of a piece of information in the observation, a weighted graph model, or an example of an anomalous observation.

### Claim 17

A non-transitory computer-readable storage medium comprising instructions that, in response to execution by at least one processor of one or more computing devices, cause the one or more computing devices to at least:
receive data indicative of a stream of observations;
store a plurality of nodes in a graph, the plurality of nodes representative of an observation read from the stream of observations, wherein a node in the plurality of nodes comprising information indicative of a number of times a piece of information has been observed in the stream of observations;
determine a score indicative of a degree to which the observation is an outlier with respect to other observations, the score based, at least in part, on the number of times the piece of information has been observed; and
provide the score.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, comprising further instructions that, in response to execution by at least one processor of one or more computing devices, cause the one or more computing devices to at least:
traverse a path through the graph, the path defined by components of the observation; and
increment counters of nodes on the path that correspond to pieces of information in the observation.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, comprising further instructions that, in response to execution by at least one processor of one or more computing devices, cause the one or more computing devices to at least:
determine the number of times the piece of information has been observed in the stream of observations;
obtain a count of a number of siblings of a node in the first plurality of nodes;
compute a conditional probability of the piece of information occurring in the stream of observations;
compute an indicator of information content associated with the conditional probability; and
scale the indicator based, at least in part, on the count of the number of siblings.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the score is based, at least in part, on the scaled indicator.
