# US 2023/0053996 A1 · Systems and methods for using vector model normal exclusion in natural language processing to characterize a category of messages

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

- Number: US 2023/0053996 A1
- Document ID: US20230053996A1
- Status: Published application
- Kind: A1
- Application number: 17/570,196
- Filed: 2022-01-06
- Published: 2023-02-23
- Earliest claimed: 2021-08-23
- Assignees: Fortinet, Inc.
- Applicants: Fortinet, Inc.
- Inventors: Sameer Khanna
- Web page: https://patentgrep.com/patent/US20230053996A1

## CPC

- G06F 21/552: {involving long-term monitoring or reporting}
- G01V 1/01: Measuring or predicting earthquakes
- G01W 1/10: Devices for predicting weather conditions (computers per se G06; display devices G09)
- G06F 18/24: Classification techniques
- G06F 21/316: {by observing the pattern of computer usage, e.g. typical user behaviour}
- G06F 21/33: using certificates
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 40/242: Dictionaries
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06Q 20/027: {involving a payment switch or gateway}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q 40/02: Banking, e.g. interest calculation or account maintenance (credit or loans G06Q40/03)
- G06Q 40/08: Insurance
- G06Q 50/22: Social work or social welfare, e.g. community support activities or counselling services
- G06V 10/56: relating to colour
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/776: Validation; Performance evaluation
- G06V 40/20: Movements or behaviour, e.g. gesture recognition (recognition of facial expressions G06V40/16)
- H04L 43/045: for graphical visualisation of monitoring data
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 40/157: using dictionaries or tables
- G06F 40/205: Parsing
- G06F 40/295: Named entity recognition
- G06F 40/30: Semantic analysis
- G06N 20/00: Machine learning
- G06Q 50/26: Government or public services (business processes related to the transportation industry G06Q50/40)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01V: GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS (means for indicating the location of accidentally buried, e.g. snow-buried, persons A63B29/02)
- G01W: METEOROLOGY (radar, sonar, lidar or analogous systems, designed for meteorological use G01S13/95, G01S15/88, G01S17/95)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems, devices, and methods are disclosed in relation to a vector space model that may be used to characterize a category of messages. In one of many possible implementations, the frequency of words found within a piece of text is determined. These frequencies are compared against the frequencies of words within a given corpus like the Oxford English Corpus by first converting the frequencies to probabilities via the inverse cumulative distribution function assuming a normal distribution of frequencies then via taking the absolute difference in frequencies. A small difference reduces the weight of the given word whereas a large weight increases the weight of the word, leading to excellent word ranking for automated feature selection filtering without the need for a negative corpus.

## Claims

### Claim 1

A method for characterizing a category of messages, the method comprising:
accessing, by a processing resource, a plurality of model messages of a defined category, wherein each of the plurality of model messages includes text content;
calculating, by the processing resource, a normal exclusion value for each unique word in each of the plurality of model messages, wherein the normal exclusion value for each unique word is calculated based upon a frequency of the particular unique word in the particular message and a frequency of the unique word in a dictionary;
forming, by the processing resource, a model message vector for each of the plurality of model messages to yield a plurality of model message vectors, wherein each of the model message vectors within the plurality of model message vectors corresponds to a particular model message within the plurality of model messages and includes at least a portion of the normal exclusion values calculated for the particular model message; and
identifying, by the processing resource, the largest value in a first dimension within the plurality of model message vectors as a first category extreme, and the largest value in a second dimension within the plurality of model message vectors as a second category extreme.

### Claim 2 (depends on 1)

The method of claim 1, wherein the dictionary includes more than one hundred thousand unique words and corresponding frequencies of the unique word.

### Claim 3 (depends on 1)

The method of claim 1, wherein the dictionary is the Oxford English Corpus™.

### Claim 4 (depends on 1)

The method of claim 1, wherein the normal exclusion value is calculated in accordance with the following equation:
NE=|F−1(tpr+ε)−F−1(Dictionary[selected unique word]+ε)|,
wherein F−1 is an inverse normal cumulative distribution function, tpr is the frequency of the particular unique word in the particular message, E is a small number to prevent an undefined case of F−1(0), and Dictionary[selected unique word] is the frequency of the unique word in a dictionary.

### Claim 5 (depends on 1)

The method of claim 1, the method further comprising:
generating a vector definition for the category of messages represented by the plurality of model messages, wherein forming the model message vector for each of the plurality of model messages to yield the plurality of model message vectors includes forming the model message vector for each of the plurality of model messages consistent with the vector definition.

### Claim 6 (depends on 5)

The method of claim 5, wherein the vector definition includes a position for each normal exclusion value for each unique word found across all of the plurality of model messages.

### Claim 7 (depends on 5)

The method of claim 5, wherein the vector definition includes a position for a subset of each normal exclusion value for each unique word found across all of the plurality of model messages.

### Claim 8 (depends on 1)

The method of claim 1, wherein identifying the largest value in the first dimension within the plurality of model message vectors includes comparing a first dimension value from each of the plurality of model message vectors to determine which is the largest.

### Claim 9 (depends on 1)

The method of claim 1, wherein identifying the largest value in the second dimension within the plurality of model message vectors includes comparing a second dimension value from each of the plurality of model message vectors to determine which is the largest.

### Claim 10 (depends on 1)

The method of claim 1, wherein the dictionary is maintained in a look-up table.

### Claim 11

A system for characterizing a category of messages, the system comprising:
a processing resource;
a non-transitory computer-readable medium, coupled to the processing resource, having stored therein instructions that when executed by the processing resource cause the processing resource to:
access a plurality of model messages of a defined category, wherein each of the plurality of model messages includes text content;
calculate a normal exclusion value for each unique word in each of the plurality of model messages, wherein the normal exclusion value for each unique word is calculated based upon a frequency of the particular unique word in the particular message and a frequency of the unique word in a dictionary;
form a model message vector for each of the plurality of model messages to yield a plurality of model message vectors, wherein each of the model message vectors within the plurality of model message vectors corresponds to a particular model message within the plurality of model messages and includes at least a portion of the normal exclusion values calculated for the particular model message; and
identify the largest value in a first dimension within the plurality of model message vectors as a first category extreme, and the largest value in a second dimension within the plurality of model message vectors as a second category extreme.

### Claim 12 (depends on 11)

The system of claim 11, wherein the non-transitory computer-readable medium further includes the dictionary as a look-up table.

### Claim 13 (depends on 11)

The system of claim 11, wherein the dictionary is the Oxford English Corpus™.

### Claim 14 (depends on 11)

The system of claim 11, wherein the normal exclusion value is calculated in accordance with the following equation:
NE=|F−1(tpr+ε)−F−1(Dictionary[selected unique word]+ε)|,
wherein F−1 is an inverse normal cumulative distribution function, tpr is the frequency of the particular unique word in the particular message, E is a small number to prevent an undefined case of F−1(0), and Dictionary[selected unique word] is the frequency of the unique word in a dictionary.

### Claim 15 (depends on 11)

The system of claim 11, wherein forming the model message vector for each of the plurality of model messages is done in accordance with a vector definition, and wherein the vector definition includes a position for each normal exclusion value for each unique word found across all of the plurality of model messages.

### Claim 16 (depends on 11)

The system of claim 11, wherein identifying the largest value in the first dimension within the plurality of model message vectors includes comparing a first dimension value from each of the plurality of model message vectors to determine which is the largest.

### Claim 17 (depends on 1)

The method of claim 1, wherein identifying the largest value in the second dimension within the plurality of model message vectors includes comparing a second dimension value from each of the plurality of model message vectors to determine which is the largest.

### Claim 18

A non-transitory computer-readable storage medium embodying a set of instructions, which when executed by a processing resource, causes the processing resource to:
access a plurality of model messages of a defined category, wherein each of the plurality of model messages includes text content;
calculate a normal exclusion value for each unique word in each of the plurality of model messages, wherein the normal exclusion value for each unique word is calculated based upon a frequency of the particular unique word in the particular message and a frequency of the unique word in a dictionary;
form a model message vector for each of the plurality of model messages to yield a plurality of model message vectors, wherein each of the model message vectors within the plurality of model message vectors corresponds to a particular model message within the plurality of model messages and includes at least a portion of the normal exclusion values calculated for the particular model message; and
identify the largest value in a first dimension within the plurality of model message vectors as a first category extreme, and the largest value in a second dimension within the plurality of model message vectors as a second category extreme.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the non-transitory computer-readable medium further includes the dictionary as a look-up table.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the normal exclusion value is calculated in accordance with the following equation:
NE=|F−1(tpr+ε)−F−1(Dictionary[selected unique word]+ε)|,
wherein F−1 is an inverse normal cumulative distribution function, tpr is the frequency of the particular unique word in the particular message, E is a small number to prevent an undefined case of F−1(0), and Dictionary[selected unique word] is the frequency of the unique word in a dictionary.
