# US 2020/0349183 A1 · Clustering and dynamic re-clustering of similar textual documents

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

- Number: US 2020/0349183 A1
- Document ID: US20200349183A1
- Status: Published application
- Kind: A1
- Application number: 16/434,888
- Filed: 2019-06-07
- Published: 2020-11-05
- Earliest claimed: 2019-05-03
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Baskar Jayaraman; ChitraBharathi Ganapathy; Dinesh Kumar Kishorkumar Surapaneni; Tao Feng; Jun Wang
- Web page: https://patentgrep.com/patent/US20200349183A1

## CPC

- G06F 16/353: into predefined classes
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06N 3/0499: Feedforward networks
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer-implemented method includes obtaining a plurality of textual records divided into clusters and a residual set of the textual records, where a machine learning (ML) clustering model has divided the plurality of textual records into the clusters based on a similarity metric. The method also includes receiving, from a client device, a particular textual record representing a query and determining, by way of the ML clustering model and based on the similarity metric, that the particular textual record does not fit into any of the clusters. The method additionally includes, in response to determining that the particular textual record does not fit into any of the clusters, adding the particular textual record to the residual set of the textual records. The method can additionally include identifying, by way of the ML clustering model, that the residual set of the textual records contains a further cluster.

## Claims

### Claim 1

A remote network management platform comprising:
an end-user computational instance that is dedicated to a managed network; and
a prediction computational instance that is configured to perform operations including:
receiving, from the end-user computational instance, a first textual record,
determining, by a machine learning (ML) clustering model that represents a set of clusters of textual records, that the first textual record corresponds to a particular cluster in the set of clusters of textual records,
transmitting, to the end-user computational instance, a representation of the particular cluster,
receiving, from the end-user computational instance, a second textual record,
determining, by the ML clustering model, that the second textual record does not correspond to any cluster of textual records of the set of clusters of textual records,
responsive to determining that the second textual record does not correspond to any cluster of textual records of the set of clusters of textual records, adding the second textual record to a stored set of residual textual records,
identifying an additional cluster of textual records based on the stored set of residual textual records, and
transmitting, to the end-user computational instance, a representation of the additional cluster of textual records.

### Claim 2 (depends on 1)

The remote network management platform of claim 1, wherein the operations performed by the prediction computational instance additionally include:
prior to receiving the first textual record, receiving, from the end-user computational instance, the ML clustering model.

### Claim 3 (depends on 1)

The remote network management platform of claim 1, wherein the operations performed by the prediction computational instance additionally include:
expanding the ML clustering model to additionally represent the additional cluster of textual records.

### Claim 4 (depends on 3)

The remote network management platform of claim 3, wherein the operations performed by the prediction computational instance additionally include:
transmitting, to the end-user computational instance, the ML clustering model as expanded.

### Claim 5 (depends on 1)

The remote network management platform of claim 1, wherein the prediction computational instance is a first prediction computational instance and the ML clustering model is a first ML clustering model, and wherein the operations performed by the first prediction computational instance additionally include:
prior to receiving the first textual record, receiving, from the end-user computational instance, a first plurality of textual records, and
using a non-stochastic iterative algorithm to determine the first ML clustering model based on the first plurality of textual records, wherein using the non-stochastic iterative algorithm to determine the first ML clustering model comprises using each textual record in the first plurality of textual records, in order, to update the first ML clustering model via the non-stochastic iterative algorithm;
wherein the remote network management platform further comprises a second prediction computational instance that is configured to perform operations including:
receiving, from the end-user computational instance, a third textual record,
determining that the second prediction computational instance does not contain an up-to-date ML clustering model corresponding to the end-user computational instance,
responsive to determining that the second prediction computational instance does not contain an up-to-date ML clustering model corresponding to the end-user computational instance, receiving, from the end-user computational instance, the first plurality of textual records, an indication of an ordering of textual records within the first plurality of textual records, and the first textual record,
using the non-stochastic iterative algorithm to determine, based on the first plurality of textual records and the first textual record, a second ML clustering model that represents a set of clusters of textual records, wherein using the non-stochastic iterative algorithm to determine the second ML clustering model comprises using each textual record in the first plurality of textual records and the first textual record, in order, to update the second ML clustering model via the non-stochastic iterative algorithm,
determining, by the second ML clustering model, that the third textual record corresponds to a second particular cluster in the set of clusters of textual records, and
transmitting, to the end-user computational instance, a representation of the second particular cluster.

### Claim 6 (depends on 1)

The remote network management platform of claim 1, wherein the ML clustering model is a first ML clustering model, and wherein the operations performed by the prediction computational instance additionally include:
receiving, from the end-user computational instance, additional textual records,
using each of the additional textual records to update the first ML clustering model via an iterative update process,
determining that a model refresh criterion is satisfied,
responsive to determining that the model refresh criterion is satisfied, determining, based on the additional textual records, a second ML clustering model that represents a second set of clusters of textual records, wherein each cluster of the second ML clustering model corresponds to a respective set of textual records within the additional textual records.

### Claim 7 (depends on 6)

The remote network management platform of claim 6, wherein the operations performed by the prediction computational instance additionally include:
receiving an indication of a preferred cluster of a first set of clusters of textual records represented by the first ML clustering model, wherein determining the second ML clustering model based on the additional textual records comprises determining a first cluster within a second set of clusters of textual records of the second ML clustering model based on the preferred cluster.

### Claim 8 (depends on 1)

The remote network management platform of claim 1, wherein determining, by the ML clustering model, that the first textual record corresponds to the particular cluster selected from the set of clusters of textual records comprises at least one of:
(i) using the ML model to determine word vectors that describe, in a first semantically-encoded vector space, meanings of respective words of the first textual record and comparing the word vectors to at least one of a location or a volume, within the first semantically-encoded vector space, that corresponds to the particular cluster; or
(ii) using the ML model to determine a paragraph vector that describes, in a second semantically-encoded vector space, a meaning of multiple words of the first textual record and comparing the paragraph vector to at least one of a location or a volume, within the second semantically-encoded vector space, that corresponds to the particular cluster.

### Claim 9 (depends on 1)

The remote network management platform of claim 1, wherein the ML clustering model includes a respective location, within a vector space, of each set of clusters of textual records represented by the ML clustering model, and wherein determining, by the ML clustering model, that the first textual record corresponds to the particular cluster selected from the set of clusters of textual records comprises:
determining, based on the first textual record, a first textual record location within the vector space, and
determining that a distance, within the vector space, between the first textual record location and a location of the particular cluster is less than a threshold distance.

### Claim 10

A computer-implemented method comprising:
receiving, by a prediction computational instance and from an end-user computational instance, a first textual record, wherein the end-user computational instance is dedicated to a managed network, and wherein the prediction computational instance and the end-user computational instance are both disposed within a remote network management platform;
determining, by a machine learning (ML) clustering model of the prediction computational instance that represents a set of clusters of textual records, that the first textual record corresponds to a particular cluster selected from the set of clusters of textual records;
transmitting, by the prediction computational instance and to the end-user computational instance, a representation of the particular cluster;
receiving, by the prediction computational instance and from the end-user computational instance, a second textual record;
determining, by the ML clustering model, that the second textual record does not correspond to any cluster of textual records of the set of clusters of textual records;
responsive to determining that the second textual record does not correspond to any cluster of textual records of the set of clusters of textual records, adding, by the prediction computational instance, the second textual record to a stored set of residual textual records;
identifying, by the prediction computational instance, an additional cluster of textual records based on the stored set of residual textual records; and
transmitting, by the prediction computational instance and to the end-user computational instance, a representation of the additional cluster of textual records.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the prediction computational instance is a first prediction computational instance and the ML clustering model is a first ML clustering model, the computer-implemented method further comprising:
receiving, by the first prediction computational instance and from the end-user computational instance prior to receiving the first textual record, a first plurality of textual records;
prior to receiving the first textual record, using, by the first prediction computational instance, a non-stochastic iterative algorithm to determine the first ML clustering model based on the first plurality of textual records, wherein using the non-stochastic iterative algorithm to determine the first ML clustering model comprises using each textual record in the first plurality of textual records, in order, to update the first ML clustering model via the non-stochastic iterative algorithm;
receiving, by a second prediction computational instance and from the end-user computational instance, a second textual record;
determining, by the second prediction computational instance, that the second prediction computational instance does not contain an up-to-date ML clustering model corresponding to the end-user computational instance;
responsive to determining that the second prediction computational instance does not contain an up-to-date ML clustering model corresponding to the end-user computational instance, receiving, by the second prediction computational instance and from the end-user computational instance, the first plurality of textual records, an indication of an ordering of textual records within the first plurality of textual records, and the first textual record;
using, by the second prediction computational instance, the non-stochastic iterative algorithm to determine, based on the first plurality of textual records and the first textual record, a second ML clustering model that represents a set of clusters of textual records, wherein using the non-stochastic iterative algorithm to determine the second ML clustering model comprises using each textual record in the first plurality of textual records and the first textual record, in order, to update the second ML clustering model via the non-stochastic iterative algorithm;
determining, by the second ML clustering model, that the second textual record corresponds to a particular cluster selected from the set of clusters of textual records; and
transmitting, by the second prediction computational instance and to the end-user computational instance, a representation of the particular cluster.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein determining, by the ML clustering model, that the first textual record corresponds to the particular cluster selected from the set of clusters of textual records comprises at least one of:
(i) using the ML model to determine word vectors that describe, in a first semantically-encoded vector space, a meaning of respective words of the first textual record and comparing the word vectors to at least one of a location or a volume, within the first semantically-encoded vector space, that corresponds to the particular cluster; or
(ii) using the ML model to determine a paragraph vector that describes, in a second semantically-encoded vector space, a meaning of multiple words of the first textual record and comparing the paragraph vector to at least one of a location or a volume, within the second semantically-encoded vector space.

### Claim 13 (depends on 10)

The computer-implemented method of claim 10, wherein the ML clustering model includes a respective location, within a vector space, of each set of clusters of textual records represented by the ML clustering model, and wherein determining, by the ML clustering model, that the first textual record corresponds to the particular cluster selected from the set of clusters of textual records comprises:
determining, based on the first textual record, a first textual record location within the vector space, and
determining that a distance, within the vector space, between the first textual record location and a location of the particular cluster is less than a threshold distance.

### Claim 14

A computer-implemented method comprising:
obtaining a plurality of textual records divided into clusters and a residual set of the textual records, wherein a machine learning (ML) clustering model divided the plurality of textual records based on a similarity metric;
receiving, from a client device, a particular textual record representing a query;
determining, by way of the ML clustering model and based on the similarity metric, that the particular textual record does not fit into any of the clusters; and
in response to determining that the particular textual record does not fit into any of the clusters, adding the particular textual record to the residual set of the textual records.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
receiving, from the client device, a second particular textual record representing a second query;
determining, by way of the ML clustering model and based on the similarity metric, that the second particular textual record fits into a particular cluster of the clusters; and
in response to determining that the second particular textual record fits into the particular cluster of the clusters, adding the second particular textual record to the particular cluster.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein determining that the particular textual record fits into the particular cluster comprises determining that the similarity metric indicates that the particular textual record fits into the particular cluster better than the particular textual record fits into all other clusters.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein determining that the particular textual record fits into the particular cluster comprises determining that the similarity metric indicates that the particular textual record fits into the particular cluster to a degree that exceeds a specified threshold similarity.

### Claim 18 (depends on 15)

The computer-implemented method of claim 15, wherein the ML clustering model includes a respective location, within a vector space, of each of the clusters of the textual records, and wherein determining that the second particular textual record fits into the particular cluster comprises:
determining, based on the second particular textual record, a second textual record location within the vector space, and
determining that a distance, within the vector space, between the second textual record location and a location of the particular cluster is less than a threshold distance.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, further comprising:
identifying, by way of the ML clustering model, that the residual set of the textual records contains a further cluster;
adding the further cluster to the clusters of the textual records; and
removing constituent textual records of the further cluster from the residual set of the textual records.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein determining that the particular textual record does not fit into any of the clusters comprises at least one of:
(i) using the ML clustering model to determine word vectors that describe, in a first semantically-encoded vector space, a meaning of respective words of the particular textual record and comparing the word vectors to at least one of locations or volumes, within the first semantically-encoded vector space, that respectively correspond to the clusters; or
(ii) using the ML model to determine a paragraph vector that describes, in a second semantically-encoded vector space, a meaning of multiple words of the particular textual record and comparing the paragraph vector to at least one of locations or volumes, within the second semantically-encoded vector space, that respectively correspond to the clusters.
