# US 2024/0202215 A1 · Method and electronic device to assign appropriate semantic categories to documents with arbitrary granularity

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

- Number: US 2024/0202215 A1
- Document ID: US20240202215A1
- Status: Published application
- Kind: A1
- Application number: 18/083,522
- Filed: 2022-12-18
- Published: 2024-06-20
- Earliest claimed: 2022-12-18
- Assignees: Concentric Software, Inc.
- Applicants: Concentric Software, Inc.
- Inventors: Madhusudana Shashanka; Leomart Reyes Crisostomo; Shankar Subramaniam
- Web page: https://patentgrep.com/patent/US20240202215A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 18/23213: with fixed number of clusters, e.g. K-means clustering
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments herein disclose a method for determining at least one semantic category of at least one document using an electronic device 100. The method includes receiving at least one document embedding indicating a semantic representation of at least one document. Further, the method includes determining a probable set of semantic categories of a plurality of semantic categories associated with the document embedding based on an execution of the at least one document embedding on a plurality of proto-models. Further, the method includes receiving the semantic model associated with each of the probable set of semantic categories. Further, the method includes executing the at least one document embedding on the received semantic model. Further, the method includes determining the at least one semantic category out of the probable set of semantic categories, of the at least one document embedding based on the at least one executed document.

## Claims

### Claim 1

A method for determining at least one semantic category of at least one document using an electronic device 100, wherein the method comprises:
receiving, by the electronic device 100, the at least one document embedding indicating a semantic representation of the at least one document;
determining, by the electronic device 100, a probable set of semantic categories of a plurality of semantic categories associated with the at least one document embedding based on an execution of the at least one document embedding on a plurality of proto-models, wherein each proto-model of the plurality of proto-models is a compressed version of a semantic model associated with a respective semantic category;
receiving, by the electronic device 100, the semantic model associated with each of the probable set of semantic categories;
executing, by the electronic device 100, the at least one document embedding on the received semantic model; and
determining, by the electronic device 100, the at least one semantic category out of the probable set of semantic categories, of the at least one document embedding based on the at least one executed document.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein each semantic model comprises a set of vector embeddings of the at least one document used in training at least one semantic category of the plurality of semantic categories and wherein the set of vector embeddings is referred to as exemplars.

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein determining, by the electronic device 100, the probable set of semantic categories of the plurality of semantic categories associated with the at least one document embedding based on the execution of the at least one document embedding on the plurality of proto-models comprises:
determining, by the electronic device 100, a similarity between the at least one document embedding against one of: a mean exemplar and a centroid exemplar associated with each proto-model of the plurality of proto-models;
determining, by the electronic device 100, whether the similarity between the at least one document embedding and one of: the mean exemplar and the centroid exemplar associated with each proto-model of the plurality of proto-models is greater than an elimination threshold; and
determining, by the electronic device 100, the probable set of semantic categories corresponding to each proto-model of the plurality of proto-models in response to determining that the similarity between the at least one document embedding and one of: the mean exemplar and the centroid exemplar greater than the elimination threshold.

### Claim 4 (depends on 3)

The method as claimed in claim 3, wherein the elimination threshold is determined based on a similarity between one of: the mean exemplar and the centroid exemplar, and a farthest exemplar from the centroid exemplar associated with a respective semantic category.

### Claim 5 (depends on 1)

The method as claimed in claim 1, wherein the semantic model associated with each of the probable set of semantic categories is received from a semantic model database 111.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein the method further comprises:
determining, by the electronic device 100, the at least one semantic category associated with the at least one document is changed to at least one new semantic category;
determining, by the electronic device 100, the at least one semantic category associated with the at least one document is a false positive; and
identifying, by the electronic device 100, the at least one document embedding associated with the at least one document with the at least one new semantic category as an exemplar for the at least one new semantic category.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein the method further comprises:
determining, by the electronic device 100, a first semantic category associated with the at least one document is changed to a second semantic category by a user;
determining, by the electronic device 100, a semantic model associated with the first semantic category and a semantic model associated with the second semantic category; and
performing, by the electronic device 100, one of: automatic updation of the semantic model associated with the first semantic category and the semantic model associated with the second semantic category based on the at least one document; and automatic updation of a plurality of semantic models stored in a semantic models database 111.

### Claim 8 (depends on 1)

The method as claimed in claim 1, wherein the method further comprises:
determining, by the electronic device 100, a first semantic category associated with the at least one document is changed to a second semantic category by a specific user in a multi-user environment; and
automatically updating, by the electronic device 100, the semantic model associated with the first semantic category and the semantic model associated with the second semantic category based on the at least one document only for the specific user; and retaining the semantic model associated with the first semantic category and the semantic model associated with the second semantic category without any change.

### Claim 9 (depends on 8)

The method as claimed in claim 8, wherein the method further comprises:
determining, by the electronic device 100, a plurality of documents wherein the semantic categories of each of the plurality of documents is determined by one of the semantic model associated with a first semantic category and the semantic model associated with the second semantic category;
executing, by the electronic device 100, the updated semantic model associated with the first semantic category and the updated semantic model semantic model associated with the second semantic category based on the determined plurality of documents; and
automatically updating, by the electronic device 100, the at least one semantic category associated with each of the determined plurality of documents based on the execution.

### Claim 10 (depends on 1)

The method as claimed in claim 1, wherein the method further comprises:
determining, by the electronic device 100, an aggregate of the plurality of semantic models stored in a semantic models database 111;
customizing, by the electronic device 100, the aggregate of the plurality of semantic models stored based on a user preference, wherein the customization is one of: enabling at least one semantic model of the plurality of semantic models, disabling the at least one semantic model of the plurality of semantic models, overwriting parameters associated with the at least one semantic model of the plurality of semantic models; and
generating, by the electronic device 100, a new semantic model based on the customization.

### Claim 11

An electronic device 100 for determining at least one semantic category of at least one document, wherein the electronic device 100 comprising:
a memory 110;
a processor 120; and
a semantic category identifier 140, operably connected to the memory 110 and the processor 120, configured to:
receive the at least one document embedding indicating a semantic representation of the at least one document;
determine a probable set of semantic categories of a plurality of semantic categories associated with the at least one document embedding based on an execution of the at least one document embedding on a plurality of proto-models, wherein each proto-model of the plurality of proto-models is a compressed version of a semantic model associated with a respective semantic category;
receive the semantic model associated with each of the probable set of semantic categories;
execute the at least one document embedding on the received semantic model; and
determine the at least one semantic category out of the probable set of semantic categories, of the at least one document embedding based on the at least one executed document.

### Claim 12 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein each semantic model comprises a set of vector embeddings of the at least one document used in training at least one semantic category of the plurality of semantic categories and wherein the set of vector embeddings is referred to as exemplars.

### Claim 13 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein determine the probable set of semantic categories of the plurality of semantic categories associated with the at least one document embedding based on the execution of the at least one document embedding on the plurality of proto-models comprises:
determine a similarity between the at least one document embedding against one of: a mean exemplar and a centroid exemplar associated with each proto-model of the plurality of proto-models;
determine whether the similarity between the at least one document embedding and one of: the mean exemplar and the centroid exemplar associated with each proto-model of the plurality of proto-models is greater than an elimination threshold; and
determine the probable set of semantic categories corresponding to each proto-model of the plurality of proto-models in response to determining that the similarity between the at least one document embedding and one of: the mean exemplar and the centroid exemplar greater than the elimination threshold.

### Claim 14 (depends on 13)

The electronic device 100 as claimed in claim 13, wherein the elimination threshold is determined based on a similarity between one of: the mean exemplar and the centroid exemplar, and a farthest exemplar from the centroid exemplar associated with a respective semantic category.

### Claim 15 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic model associated with each of the probable set of semantic categories is received from a semantic model database 111.

### Claim 16 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic category identifier 140 is configured to:
determine the at least one semantic category associated with the at least one document is changed to at least one new semantic category;
determine the at least one semantic category associated with the at least one document is a false positive; and
identify the at least one document embedding associated with the at least one document with the at least one new semantic category as an exemplar for the at least one new semantic category.

### Claim 17 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic category identifier 140 is configured to:
determine a first semantic category associated with the at least one document is changed to a second semantic category by a user;
determine a semantic model associated with the first semantic category and a semantic model associated with the second semantic category; and
perform one of: automatic updation of the semantic model associated with the first semantic category and the semantic model associated with the second semantic category based on the at least one document; and automatic updation of a plurality of semantic models stored in a semantic models database 111.

### Claim 18 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic category identifier 140 is configured to:
determine a first semantic category associated with the at least one document is changed to a second semantic category by a specific user in a multi-user environment; and
automatically update the semantic model associated with the first semantic category and the semantic model associated with the second semantic category based on the at least one document only for the specific user; and retaining the semantic model associated with the first semantic category and the semantic model associated with the second semantic category without any change.

### Claim 19 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic category identifier 140 is configured to:
determine a plurality of documents wherein the semantic categories of each of the plurality of documents is determined by one of the semantic model associated with a first semantic category and the semantic model associated with the second semantic category;
execute the updated semantic model associated with the first semantic category and the updated semantic model semantic model associated with the second semantic category based on the determined plurality of documents; and
automatically update the at least one semantic category associated with each of the determined plurality of documents based on the execution.

### Claim 20 (depends on 11)

The electronic device 100 as claimed in claim 11, wherein the semantic category identifier 140 is configured to:
determine an aggregate of the plurality of semantic models stored in a semantic models database 111;
customize the aggregate of the plurality of semantic models stored based on a user preference, wherein the customization is one of: enabling at least one semantic model of the plurality of semantic models, disabling the at least one semantic model of the plurality of semantic models, overwriting parameters associated with the at least one semantic model of the plurality of semantic models; and
generate a new semantic model based on the customization.
