# US 2023/0267281 A1 · Systems and methods for short text similarity based clustering

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

- Number: US 2023/0267281 A1
- Document ID: US20230267281A1
- Status: Published application
- Kind: A1
- Application number: 17/585,024
- Filed: 2022-01-26
- Published: 2023-08-24
- Earliest claimed: 2022-01-26
- Assignees: Allstate Solutions Private Limited
- Applicants: Allstate Solutions Private Limited
- Inventors: Balaji Jagan; Prajwal K. Kunder
- Web page: https://patentgrep.com/patent/US20230267281A1

## CPC

- G06F 16/355: Creation or modification of classes or clusters
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 40/279: Recognition of textual entities
- G06V 30/19093: {Proximity measures, i.e. similarity or distance measures}
- G06V 30/19107: {Clustering techniques}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods and systems for receiving a plurality of documents including short text data and determining a plurality of forward similarity values based on the short text data in each of the plurality of documents, determining a plurality of reverse similarity values based on the short text data in each of the plurality of documents, generating a forward and reverse similarity matrix based on the plurality of forward similarity values and the plurality of reverse similarity values, and generating a plurality of short text similarity based clusters to group the short text data of the plurality of documents based on the forward and reverse similarity matrix.

## Claims

### Claim 1

A short text similarity based clustering system comprising:
one or more processors;
one or more memory components communicatively coupled to the one or more processors; and
machine-readable instructions stored in the one or more memory components that cause the short text similarity based clustering system to perform at least the following when executed by the one or more processors:
receive a plurality of documents comprising short text data;
determine a plurality of forward similarity values based on the short text data in each of the plurality of documents, wherein a forward similarity value of one indicates a subsequent document comprises at least the short text data of a preceding document;
determine a plurality of reverse similarity values based on the short text data in each of the plurality of documents, wherein a reverse similarity value of one indicates the preceding document comprises at least the short text data of the subsequent document;
generate a forward and reverse similarity matrix based on the plurality of forward similarity values and the plurality of reverse similarity values; and
generate a plurality of short text similarity based clusters to group the short text data of the plurality of documents based on the forward and reverse similarity matrix.

### Claim 2 (depends on 1)

The short text similarity based clustering system of claim 1, wherein the short text data comprises less than or equal to 256 alphanumeric characters.

### Claim 3 (depends on 1)

The short text similarity based clustering system of claim 1, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
determine a cluster range for each cluster;
determine a difference between the plurality of forward similarity values and the plurality of reverse similarity values for each pair of documents within the forward and reverse similarity matrix; and
place each pair of documents having the difference within the cluster range in the respective cluster.

### Claim 4 (depends on 1)

The short text similarity based clustering system of claim 1, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to implement an iterative process, the iterative process causing the short text similarity based clustering system to perform at least the following:
determine a maximum similarity score in each row of the forward and reverse similarity matrix for a reference document of the plurality of documents;
calculate a threshold such that the threshold is within a range of the maximum similarity score;
compress the forward and reverse similarity matrix based on the threshold to generate a compressed forward and reverse similarity matrix including the plurality of documents having values within the range of the maximum similarity score; and
generate the plurality of short text similarity based clusters based on the compressed forward and reverse similarity matrix.

### Claim 5 (depends on 4)

The short text similarity based clustering system of claim 4, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
analyze a link between the plurality of forward similarity values and the plurality of reverse similarity values of the plurality of documents compared to the reference document based on the compressed forward and reverse similarity matrix; and
repeat the iterative process to generate the plurality of short text similarity based clusters until each document has been used as the reference document to analyze each link.

### Claim 6 (depends on 4)

The short text similarity based clustering system of claim 4, wherein machine-readable instructions to compress the forward and reverse similarity matrix further comprises machine-readable instructions to:
determine a minimum similarity score in each row of the forward and reverse similarity matrix for the reference document of the plurality of documents;
calculate the threshold based on a ratio between the maximum similarity score and the minimum similarity score; and
remove data points of the forward and reverse similarity matrix below the minimum similarity score.

### Claim 7 (depends on 4)

The short text similarity based clustering system of claim 4, wherein machine-readable instructions to compress the forward and reverse similarity matrix further comprises machine-readable instructions to:
mask data points of the forward and reverse similarity matrix above the maximum similarity score.

### Claim 8 (depends on 1)

The short text similarity based clustering system of claim 1, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
preprocess the short text data of each of the plurality of documents to generate a preprocessing prior to determine the plurality of forward similarity values and the plurality of reverse similarity values based on a natural language processing (NLP) tool.

### Claim 9 (depends on 8)

The short text similarity based clustering system of claim 8, wherein the NLP tool comprises a library including a dictionary, one or more natural language rules, or combinations thereof, and the NLP tool is configured to use the library to extract text information from the short text data based on identification of domain independent and dependent terms, identify and tag one or more multi-word expressions with respect to the short text data, identify a relationship within the short text data between one or more entities and respective predicates, or combinations thereof.

### Claim 10 (depends on 8)

The short text similarity based clustering system of claim 8, wherein, after use of the NLP tool, the preprocessing further comprises application of a statistical information extraction on the short text data of the plurality of documents based on term frequency, entity frequency, co-occurrence terms frequency, distributional frequency of entities over short text data, distributional frequency of entities with predicates and with other terms, or combinations thereof.

### Claim 11 (depends on 1)

The short text similarity based clustering system of claim 1, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
use a word embedding tool based on a pre-trained model, a domain specific model, or combinations thereof to determine one or more word vectors associated with each of the plurality of documents.

### Claim 12 (depends on 11)

The short text similarity based clustering system of claim 11, wherein, to determine the plurality of forward similarity values and the plurality of reverse similarity values between a pair of documents of the plurality of documents, the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
apply a cosine similarity to the one or more word vectors to determine the forward similarity value or the reverse similarity value therebetween, wherein the subsequent document compared to the preceding document is indicative of the forward similarity value, and the preceding document compared to the subsequent document is indicative of the reverse similarity value.

### Claim 13

A short text similarity based clustering system comprising:
one or more processors;
one or more memory components communicatively coupled to the one or more processors; and
machine-readable instructions stored in the one or more memory components that cause the short text similarity based clustering system to perform at least the following when executed by the one or more processors:
receive a plurality of documents comprising short text data;
preprocess the short text data of each of the plurality of documents to generate a preprocessing based on a natural language processing (NLP) tool comprising a library, the NLP tool configured to use the library to extract text information from the short text data;
after the preprocessing, determine a plurality of forward similarity values based on the short text data in each of the plurality of documents, wherein a forward similarity of one indicates a subsequent document comprises at least the short text data of a preceding document;
determine a plurality of reverse similarity values based on the short text data in each of the plurality of documents, wherein a reverse similarity of one indicates the preceding document comprises at least the short text data of the subsequent document;
generate a forward and reverse similarity matrix based on the plurality of forward similarity values and the plurality of reverse similarity values; and
generate a plurality of short text similarity based clusters to group the short text data of the plurality of documents based on the forward and reverse similarity matrix.

### Claim 14 (depends on 13)

The short text similarity based clustering system of claim 13, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to:
determine a cluster range for each cluster;
determine a difference between the plurality of forward similarity values and the plurality of reverse similarity values for each pair of documents within the forward and reverse similarity matrix; and
place each pair of documents having the difference within the cluster range in the respective cluster.

### Claim 15 (depends on 13)

The short text similarity based clustering system of claim 13, wherein the machine-readable instructions when executed by the one or more processors further cause the short text similarity based clustering system to implement an iterative process, to the iterative process causing short text similarity based clustering system to perform at least the following:
determine a maximum similarity score in each row of the forward and reverse similarity matrix for a reference document of the plurality of documents;
determine a minimum similarity score in each row of the forward and reverse similarity matrix for the reference document of the plurality of documents;
calculate a threshold based on a ratio between the maximum similarity score and the minimum similarity score such that the threshold is within a range of the maximum similarity score;
compress the forward and reverse similarity matrix based on the threshold to generate a compressed forward and reverse similarity matrix including the plurality of documents having values within the range of the maximum similarity score; and
generate the plurality of short text similarity based clusters based on the compressed forward and reverse similarity matrix.

### Claim 16 (depends on 13)

The short text similarity based clustering system of claim 13, wherein the library comprises a dictionary, one or more natural language rules, or combinations thereof, and the NLP tool is configured to use the library to extract text information from the short text data based on identification of domain independent and dependent terms, identify and tag one or more multi-word expressions with respect to the short text data, identify a relationship within the short text data between one or more entities and respective predicates, or combinations thereof.

### Claim 17 (depends on 13)

The short text similarity based clustering system of claim 13, wherein, after use of the NLP tool, the preprocessing further comprises application of a statistical information extraction on the short text data of the plurality of documents based on term frequency, entity frequency, co-occurrence terms frequency, distributional frequency of entities over short text data, distributional frequency of entities with predicates and with other terms, or combinations thereof.

### Claim 18

A short text similarity based clustering method comprising:
receiving a plurality of documents comprising short text data;
determining a plurality of forward similarity values based on the short text data in each of the plurality of documents, wherein a forward similarity of one indicates a subsequent document comprises at least the short text data of a preceding document;
determining a plurality of reverse similarity values based on the short text data in each of the plurality of documents, wherein a reverse similarity of one indicates the preceding document comprises at least the short text data of the subsequent document;
generating a forward and reverse similarity matrix based on the plurality of forward similarity values and the plurality of reverse similarity values; and
generating a plurality of short text similarity based clusters to group the short text data of the plurality of documents based on the forward and reverse similarity matrix.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
determining a cluster range for each cluster;
determining a difference between the plurality of forward similarity values and the plurality of reverse similarity values for each pair of documents within the forward and reverse similarity matrix; and
placing each pair of documents having the difference within the cluster range in the respective cluster.

### Claim 20 (depends on 18)

The method of claim 18, further comprising implementing an iterative process, the iterative process comprising:
determining a maximum similarity score in each row of the forward and reverse similarity matrix for a reference document of the plurality of documents;
determining a minimum similarity score in each row of the forward and reverse similarity matrix for the reference document of the plurality of documents;
calculating a threshold based on a ratio between the maximum similarity score and the minimum similarity score such that the threshold is within a range of the maximum similarity score;
compressing the forward and reverse similarity matrix based on the threshold to generate a compressed forward and reverse similarity matrix including the plurality of documents having values within the range of the maximum similarity score; and
generating the plurality of short text similarity based clusters based on the compressed forward and reverse similarity matrix.
