IP Library Granted Patent US 11,631,021
Granted Patent B1
US 11,631,021 · App. 16/590,944 · Granted Apr 18, 2023

Identifying and ranking potentially privileged documents using a machine learning topic model

Inventors: Ethan Benjamin (New York, NY); Apoorv Agarwal (New York, NY)
Assignee: Text IQ, Inc.
G06N7/005G06F16/313G06F40/284G06F40/44G06Q50/18
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,631,021
App. No.
16/590,944
Granted
Apr 18, 2023
Kind
B1
Abstract

A method for identifying and ranking potentially privileged documents using a machine learning topic model may include receiving a set of documents. The method may also include, for each of two or more documents in the set of documents, extracting a set of spans from the document, generating, using a machine learning topic model, a set of topics and a subset of legal topics for the set of spans, generating a vector of probabilities for each span with a probability being assigned to each topic in the set of topics for the span, assigning a score to one or more spans in the set of spans by summing the probabilities in the vector that are assigned to a topic in the subset of legal topics, and assigning a score to the document. The method may further include ranking the two or more documents by their assigned scores.

Claims (54)

1. A computer-implemented method for identifying and ranking potentially privileged documents using a machine learning topic model, at least a portion of the method being performed by a computer system comprising one or more processors, the method comprising:

receiving, by the computer system, a set of documents;

for each documents in the set of documents:

extracting, by the computer system, a set of spans from the document,

generating, by the computer system using a Latent Dirichlet Allocation machine learning topic model, a set of topics, and a subset of legal topics in the set of topics, for the set of spans,

generating, by the computer system, a vector of probabilities for each span in the set of spans with a probability being assigned to each topic in the set of topics for the span,

assigning, by the computer system, a score to one or more spans in the set of spans by summing the probabilities in the vector that are assigned to a topic in the subset of legal topics, and

assigning, by the computer system, a score to the document, the score indicating a potential that the document is privileged, the score being equal to a highest score of the scores assigned to the one or more spans in the set of spans; and

ranking, by the computer system, the documents based on the scores assigned to the documents.

2. The method of claim 1 , further comprising:

labelling, by the computer system, a first document in the set of documents as potentially privileged if the first document has a score above a certain threshold.

3. The method of claim 1 , further comprising:

generating, by the computer system, a master set of topics for the documents in the set of documents, the set of topics being a subset of the master set of topics.

4. The method of claim 1 , wherein the assigning, by the computer system, of a score to the one or more spans in the set of spans is not performed for a first span of the one or more spans in the set of spans if at least one of: a language of the first span is unknown or cannot be detected, a number of tokens in the first span is less than a threshold, and the number of tokens in the first span is less than the threshold after names are removed from the first span.

5. The method of claim 1 , further comprising:

altering, by the computer system, the score assigned to a first span if a sender or a recipient of a document containing the first span is a legal entity.

6. The method of claim 1 , further comprising:

altering, by the computer system, the score assigned to a first document in the set of documents if a sender or a recipient of the first document is a legal entity.

7. The method of claim 1 , further comprising:

altering, by the computer system, the score assigned to a first span if the first span contains a mention of a legal entity.

8. The method of claim 1 , further comprising:

altering, by the computer system, the score assigned to a first document if the first document contains a mention of a legal entity.

9. The method of claim 8 , further comprising:

creating, by the computer system, a hypergraph comprising a set of entities based on communications between the set of entities in the set of documents; and

weighting, by the computer system, an edge between one or more entities in the set of entities if the communications between the one or more entities is potentially privileged.

10. The method of claim 9 , further comprising:

altering, by the computer system, the score assigned to a second document in the set of documents if the second document is a communication between entities with a weighted edge in the hypergraph.

11. One or more non-transitory computer-readable media comprising one or more computer-readable instructions that, when executed by one or more processors of a computer system, cause the computer system to perform a method for identifying and ranking potentially privileged documents, the method comprising:

receiving, by the computer system, a set of documents;

for each documents in the set of documents:

extracting, by the computer system, a set of spans from the document,

generating, by the computer system using a Latent Dirichlet Allocation machine learning topic model, a set of topics, and a subset of legal topics in the set of topics, for the set of spans,

generating, by the computer system, a vector of probabilities for each span in the set of spans with a probability being assigned to each topic in the set of topics for the span,

assigning, by the computer system, a score to one or more spans in the set of spans by summing the probabilities in the vector that are assigned to a topic in the subset of legal topics, and

assigning, by the computer system, a score to the document, the score indicating a potential that the document is privileged, the score being equal to a highest score of the scores assigned to the one or more spans in the set of spans; and

ranking, by the computer system, the documents based on the scores assigned to the documents.

12. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

labelling, by the computer system, a first document in the set of documents as potentially privileged if the first document has a score above a certain threshold.

13. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

generating, by the computer system, a master set of topics for the documents in the set of documents, the set of topics being a subset of the master set of topics.

14. The one or more non-transitory computer-readable media of claim 11 , wherein the assigning, by the computer system, of a score to the one or more spans in the set of spans is not performed for a first span of the one or more spans in the set of spans if at least one of: a language of the first span is unknown or cannot be detected, a number of tokens in the first span is less than a threshold, and the number of tokens in the first span is less than the threshold after names are removed from the first span.

15. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

altering, by the computer system, the score assigned to a first span if a sender or a recipient of a document containing the first span is a legal entity.

16. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

altering, by the computer system, the score assigned to a first document in the set of documents if a sender or a recipient of the first document is a legal entity.

17. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

altering, by the computer system, the score assigned to a first span if the first span contains a mention of a legal entity.

18. The one or more non-transitory computer-readable media of claim 11 , wherein the method further comprises:

altering, by the computer system, the score assigned to a first document if the first document contains a mention of a legal entity.

19. The one or more non-transitory computer-readable media of claim 18 , wherein the method further comprises:

creating, by the computer system, a hypergraph comprising a set of entities based on communications between the set of entities in the set of documents; and

weighting, by the computer system, an edge between one or more entities in the set of entities if the communications between the one or more entities is potentially privileged.

20. The one or more non-transitory computer-readable media of claim 19 , wherein the method further comprises:

altering, by the computer system, the score assigned to a second document in the set of documents if the second document is a communication between entities with a weighted edge in the hypergraph.

Assignments (4)
SECURITY INTEREST Recorded Jan 30, 2026
From: RELATIVITY ODA LLC; TEXT IQ, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 074537/0402 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 13, 2025
From: TEXT IQ, INC.
To: RELATIVITY ODA LLC
Reel/Frame 072893/0747 →
PATENT SECURITY AGREEMENT (SUPPLEMENT NO. 1) Recorded Oct 12, 2021
From: TEXT IQ, INC.
To: OWL ROCK CAPITAL CORPORATION, AS COLLATERAL AGENT
Reel/Frame 057777/0387 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 2, 2019
From: BENJAMIN, ETHAN; AGARWAL, APOORV
To: TEXT IQ, INC.
Reel/Frame 050604/0420 →