# US 12,147,452 B2 · 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 12,147,452 B2
- Document ID: US12147452B2
- Status: Granted
- Kind: B2
- Application number: 17/356,191
- Filed: 2021-06-23
- Published: 2021-12-30
- Granted: 2024-11-19
- Earliest claimed: 2020-06-24
- Assignees: thatDot, Inc.
- Applicants: Thatdot, Inc.
- Inventors: Ryan Wright
- Web page: https://patentgrep.com/patent/US12147452B2

## 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 data structure, a representation of an observation, the representation comprising at least a first node indicative of a first piece of categorical information and a first number of times the first piece of categorical information has been observed in a stream of observations, and a second node indicative of a second piece of categorical information and a second number of times the second piece of categorical information has been observed in the stream of observations;
update the first node to indicate that the first piece of categorical information has been observed again in the stream of observations;
calculate, using the graph data structure, 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 one or more probabilities computed based, at least in part, on the first number of times the first piece of categorical information has been observed in the stream of observations, and the second number of times the second piece of categorical information has been observed in the stream of observations; and
send the score to a client process.

### Claim 2 (depends on 1)

The system of claim 1, wherein the first and second nodes indicate 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 one or more probabilities comprise a conditional probability computed based, at least in part, on the first and second nodes in the ordered sequence.

### Claim 4 (depends on 3)

The system of claim 3, wherein the conditional probability is computed based, at least in part, on the first number of times the first piece of categorical information has been observed in the stream of observations and on the second number of times the 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 and data for the second number of times is obtained from the second node.

### Claim 5 (depends on 1)

The system of claim 1, wherein the observation is represented in the graph data structure by a first plurality of nodes comprising the first and second nodes, and wherein a second observation is represented in the graph data structure by a second plurality of nodes comprising at least one node of the first plurality of nodes.

### 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 data structure, 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 one or more probabilities are computed based, at least in part, on traversing the graph data structure to obtain the first number of times the first piece of categorical information has been observed and the second number of times the second 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 stored in the graph data structure.

### 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 a first plurality of nodes in the graph data structure exceeds a threshold level; and
in response to the determination, replace one or more records indicative of 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 data structure based, at least in part, on a stream of observations,
wherein the graph data structure comprises at least a first plurality of nodes,
wherein the first plurality of nodes represent an observation read from the stream of observations, and
wherein a first node of the first plurality of nodes comprises information indicative of a first number of times a first piece of categorical information has been observed in the stream of observations, and a second node of the first plurality of nodes comprises information indicative of a second number of times a second 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 a probability computed based, at least in part, on the first number of times the first piece of categorical information has been observed and the second number of times the second piece of categorical information has been observed; and
providing the score to a client process.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the graph data structure 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 nodes, 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 data structure, 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 probability is based, at least in part, on a conditional probability determined based, at least in part, on the first number of times the first piece of categorical information has been observed and the second number of times the second piece of categorical information has been observed.

### Claim 16 (depends on 11)

The computer-implemented method of claim 11, further comprising:
determining an order of the first plurality of nodes 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 data structure, the plurality of nodes representative of an observation read from the stream of observations, wherein a first node in the plurality of nodes comprises a first value indicative of a first number of times a first piece of information has been observed in the stream of observations and a second node in the plurality of nodes comprises a second value indicative of a second number of times a second 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 stored in the graph data structure, the score based, at least in part, on a probability computed using the first value indicative of the first number of times the first piece of information has been observed and the second value indicative of the second number of times the second 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 data structure, 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, using the graph data structure, the number of times the first piece of information has been observed in the stream of observations;
obtain a count of a number of siblings of the first node;
compute a conditional probability of the first 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.
