# US 2020/0286469 A1 · System and method for determining reasons for anomalies using cross entropy ranking of textual items

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

- Number: US 2020/0286469 A1
- Document ID: US20200286469A1
- Status: Published application
- Kind: A1
- Application number: 16/810,310
- Filed: 2020-03-05
- Published: 2020-09-10
- Earliest claimed: 2019-03-07
- Assignees: Verint Americas Inc.
- Applicants: Verint Americas Inc.
- Inventors: Cynthia Freeman
- Web page: https://patentgrep.com/patent/US20200286469A1

## CPC

- G06F 17/40: Data acquisition and logging (for input to computer G06F3/00)
- G10L 15/183: using context dependencies, e.g. language models
- G06F 16/383: using metadata automatically derived from the content
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/279: Recognition of textual entities
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G10L 15/063: {Training}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A framework for reducing the number of textual items reviewed to determine the source of or reason for an anomaly in a time series that is used to track metrics in textual data is provided. According the framework, textual items in a time window corresponding to the anomaly are ranked according to the cross-entropy as determined by applying a language model to the relevant textual items and ranking textual items that most likely triggered an anomaly in time series data based on the cross-entropy value. In an aspect, a predetermined number of textual items having the highest cross-entropy are provided or all textual items having cross-entropy value higher than predetermine threshold are provided.

## Claims

### Claim 1

A method that includes one or more processing devices performing operations comprising:
detecting an anomaly in a time series that is used to track metrices in textual data;
identifying a time step ai(t) associated with the detected anomaly;
collecting relevant textual data from a time window twindow associated with the detected anomaly;
training a language model on the relevant textual data;
for every textual item at time step ai(t), calculating a cross-entropy value according to the language model; and
generating a set of textual items having a cross-entropy value greater that a predetermined value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the time window twindow is just before time step ai(t).

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of textual items is produced in rank order from greatest cross-entropy value to least cross-entropy value.

### Claim 4 (depends on 1)

The method of claim 1, wherein the set of textual items contains a predetermined number of textual items having the greatest cross-entropy values.

### Claim 5 (depends on 1)

The method of claim 1, wherein the cross-entropy value is indicative of how surprising a textual item is as compared with an immediate previous linguistic state according to the language model.

### Claim 6 (depends on 1)

The method of claim 1, wherein the language model is snapshot language model.

### Claim 7 (depends on 1)

The method of claim 1, further comprising identifying at least one of the textual items as most likely triggering the anomaly in the time series.

### Claim 8

A system comprising:
a processing device; and
a memory device in which instructions executable by the processing device are stored for causing the processor to:
detect an anomaly in a time series that is used to track metrices in textual data;
identify a time step ai(t) associated with the detected anomaly;
collect relevant textual data from a time window twindow associated with the detected anomaly;
train a language model on the relevant textual data;
for every textual item at time step ai(t), calculate a cross-entropy value according to the language model; and
generate a set of textual items having a cross-entropy value greater that a predetermined value.

### Claim 9 (depends on 8)

The system of claim 8, wherein the time window twindow is just before time step ai(t).

### Claim 10 (depends on 8)

The system of claim 8, wherein the set of textual items is produced in rank order from greatest cross-entropy value to least cross-entropy value.

### Claim 11 (depends on 8)

The system of claim 8, wherein the set of textual items contains a predetermined number of textual items having the greatest cross-entropy values.

### Claim 12 (depends on 8)

The system of claim 8, wherein the cross-entropy value is indicative of how surprising a textual item is as compared with an immediate previous linguistic state according to the language model.

### Claim 13 (depends on 8)

The system of claim 8, wherein the language model is snapshot language model.

### Claim 14 (depends on 8)

The system of claim 8, further comprising the memory device storing instructions executable by the processing device for causing the processor to identify at least one of the textual items as most likely triggering the anomaly in the time series.

### Claim 15

A non-transitory computer-readable storage medium having program code that is executable by a processor to cause a computing device to perform operations, the operations comprising:
detecting an anomaly in a time series that is used to track metrices in textual data;
identifying a time step ai(t) associated with the detected anomaly;
collecting relevant textual data from a time window twindow associated with the detected anomaly;
training a language model on the relevant textual data;
for every textual item at time step ai(t), calculating a cross-entropy value according to the language model; and
generating a set of textual items having a cross-entropy value greater that a predetermined value.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the time window twindow is just before time step ai(t).

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the set of textual items is produced in rank order from greatest cross-entropy value to least cross-entropy value.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the set of textual items contains a predetermined number of textual items having the greatest cross-entropy values.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the cross-entropy value is indicative of how surprising a textual item is as compared with an immediate previous linguistic state according to the language model.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the language model is snapshot language model.

### Claim 21 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the operations further comprising identifying at least one of the textual items as most likely triggering the anomaly in the time series.
