# US 2025/0378102 A1 · Performing fact checking using machine learning models

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

- Number: US 2025/0378102 A1
- Document ID: US20250378102A1
- Status: Published application
- Kind: A1
- Application number: 18/737,572
- Filed: 2024-06-07
- Published: 2025-12-11
- Earliest claimed: 2024-06-07
- Applicants: X Development LLC
- Inventors: Ozan Gokdemir; Garrett Raymond Honke; Jeffrey Bush
- Web page: https://patentgrep.com/patent/US20250378102A1

## CPC

- G06F 16/35: Clustering; Classification
- G06F 16/3329: Natural language query formulation
- G06F 16/338: Presentation of query results
- G06F 40/30: Semantic analysis
- G06Q 10/10: Office automation; Time management
- G06F 40/216: using statistical methods
- G06F 40/279: Recognition of textual entities
- G06Q 50/18: Legal services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

## Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for performing tasks. One of the methods includes receiving a trigger from a user; responsive to the trigger, obtaining text data representing one or more subwords to be processed; obtaining data representing a plurality of clusters, wherein each cluster comprises one or more documents of a plurality of documents; processing the text data to identify one or more clusters of the plurality of clusters that are relevant to the text data; for each of the one or more identified clusters: identifying one or more documents of the identified cluster that are relevant to the text data; identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data; and providing data representing the one or more identified documents that contradict the text data.

## Claims

### Claim 1

A method comprising:
receiving a trigger from a user;
responsive to the trigger, obtaining text data representing one or more subwords to be processed;
obtaining data representing a plurality of clusters, wherein each cluster comprises one or more documents of a plurality of documents;
processing the text data to identify one or more clusters of the plurality of clusters that are relevant to the text data;
for each of the one or more identified clusters:
identifying one or more documents of the identified cluster that are relevant to the text data;
identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data; and
providing data representing the one or more identified documents that contradict the text data.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
identifying one or more statements that contradict the text data of the one or more identified documents that contradict the text data; and
providing data representing the one or more identified statements to the user.

### Claim 3 (depends on 1)

The method of claim 1, wherein obtaining text data comprises obtaining the text data from a transcript of speech.

### Claim 4 (depends on 1)

The method of claim 1, wherein obtaining text data comprises:
obtaining a plurality of sentences from a sequence of text, wherein each sentence is associated with a timestamp; and
assigning a set of one or more sentences from the plurality of sentences as the text data, wherein each sentence in the set of one or more sentences is associated with a timestamp prior to a time that the trigger from the user was received.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining text data comprises:
obtaining a plurality of segments from a sequence of text, wherein each segment comprises a plurality of subwords that are semantically relevant, and wherein each segment is associated with a timestamp; and
assigning a particular segment from the plurality of segments as the text data, wherein the particular segment is associated with a timestamp prior to a time that the trigger from the user was received.

### Claim 6 (depends on 1)

The method of claim 1, wherein each cluster is associated with a summary for the cluster, and wherein obtaining data representing a plurality of clusters comprises generating the data representing the plurality of clusters, and wherein generating the data representing the plurality of clusters comprises:
obtaining document data representing one or more documents;
generating a respective document embedding for each of the one or more documents;
clustering the respective document embeddings for the one or more documents into a plurality of clusters; and
for each of the plurality of clusters, generating the associated summary for the cluster.

### Claim 7 (depends on 6)

The method of claim 6, wherein clustering the respective document embeddings comprises clustering using hierarchical agglomerative clustering.

### Claim 8 (depends on 6)

The method of claim 6, wherein clustering the respective document embeddings comprises clustering using nearest neighbor clustering.

### Claim 9 (depends on 6)

The method of claim 6, wherein generating the associated summary for the cluster comprises providing the documents for the cluster to a machine learning model that is configured to generate a summary for input documents, wherein the summary comprises one or more facts in the input documents.

### Claim 10 (depends on 1)

The method of claim 1, wherein each cluster is associated with a summary for the cluster, and wherein processing the text data to identify one or more clusters of the plurality of clusters that are relevant to the text data comprises:
generating an embedded representation for the text data;
obtaining a respective embedding for each summary of each cluster;
for each respective embedding for each summary:
determining a similarity between the respective embedding and the embedded representation for the text data;
determining that the similarity meets a threshold similarity; and
in response, identifying the cluster for the respective embedding as relevant to the text data.

### Claim 11 (depends on 10)

The method of claim 10, wherein each of the documents of the plurality of documents includes metadata, and wherein the metadata comprises attribute values for one or more attributes, and wherein obtaining a respective embedding for each summary of each cluster comprises:
filtering the plurality of clusters to identify one or more qualifying clusters having documents that include attribute values matching particular criteria, wherein the particular criteria defines one or more attribute values for the one or more attributes; and
obtaining a respective embedding for each summary of each qualifying cluster of the one or more qualifying clusters.

### Claim 12 (depends on 11)

The method of claim 11, wherein the particular criteria is defined by the user.

### Claim 13 (depends on 1)

The method of claim 1, wherein identifying one or more documents of the identified cluster that are relevant to the text data comprises:
for each document of the identified cluster:
determining a document similarity between an embedded representation of the document and an embedded representation of the text data;
determining that the document similarity meets a document threshold similarity; and
in response, identifying the document as relevant to the text data.

### Claim 14 (depends on 1)

The method of claim 1, wherein identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data comprises:
for each document of the identified documents that are relevant to the text data:
determining a contradiction score between the document and the text data using a machine learning model;
determining that the contradiction score meets a threshold contradiction score; and
in response, identifying the document as contradicting the text data.

### Claim 15 (depends on 14)

The method of claim 14, wherein the machine learning model is a large language model.

### Claim 16 (depends on 14)

The method of claim 14, wherein the machine learning model is configured to generate a contradiction score representing a likelihood that two input sequences of text negate each other.

### Claim 17 (depends on 1)

The method of claim 1, wherein identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data comprises:
providing an input prompt comprising at least the text data and one or more documents of the identified documents that are relevant to the text data to a language model to generate an output indicating whether the text data contradicts the one or more documents of the input prompt; and
identifying one or more documents of the input prompt as contradicting the text data based on the output.

### Claim 18 (depends on 2)

The method of claim 2, wherein identifying one or more statements that contradict the text data of the one or more identified documents that contradict the text data comprises:
providing an input prompt comprising at least the text data and the one or more identified documents to a language model to generate an output indicating which statements of the one or more identified documents contradict the text data; and
identifying one or more statements of the one or more identified documents as contradicting the text data based on the output.

### Claim 19

A system comprising:
one or more computers; and
one or more storage devices storing instructions that, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
receiving a trigger from a user;
responsive to the trigger, obtaining text data representing one or more subwords to be processed;
obtaining data representing a plurality of clusters, wherein each cluster comprises one or more documents of a plurality of documents;
processing the text data to identify one or more clusters of the plurality of clusters that are relevant to the text data;
for each of the one or more identified clusters:
identifying one or more documents of the identified cluster that are relevant to the text data;
identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data; and
providing data representing the one or more identified documents that contradict the text data.

### Claim 20

One or more computer-readable storage media storing instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
receiving a trigger from a user;
responsive to the trigger, obtaining text data representing one or more subwords to be processed;
obtaining data representing a plurality of clusters, wherein each cluster comprises one or more documents of a plurality of documents;
processing the text data to identify one or more clusters of the plurality of clusters that are relevant to the text data;
for each of the one or more identified clusters:
identifying one or more documents of the identified cluster that are relevant to the text data;
identifying one or more documents that contradict the text data of the one or more identified documents that are relevant to the text data; and
providing data representing the one or more identified documents that contradict the text data.
