# US 2025/0378104 A1 · Analyzing Collections of Unstructured Data

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

- Number: US 2025/0378104 A1
- Document ID: US20250378104A1
- Status: Published application
- Kind: A1
- Application number: 19/234,880
- Filed: 2025-06-11
- Published: 2025-12-11
- Earliest claimed: 2024-06-11
- Assignees: Anomalo, Inc.
- Applicants: Anomalo, Inc.
- Inventors: Jeremy Stanley; Viktoriya Andonova; Chukwuemeka Ezekwe; Daniel Walcoff; Kristian Ferjas Cailer; Timothy John Marshall; Kristen Marie Hauser; Elliot Shmukler
- Web page: https://patentgrep.com/patent/US20250378104A1

## CPC

- G06F 16/332: Query formulation
- G06F 16/383: using metadata automatically derived from the content
- G06F 16/3329: Natural language query formulation
- G06F 16/345: {Summarisation for human users}
- G06F 16/35: Clustering; Classification
- G06F 40/226: Validation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a general aspect, data quality monitoring and reporting are described. In some implementations, a system identifies a plurality of documents that include unstructured data and identifies a prompt indicating instructions for analyzing the unstructured data in the plurality of documents. The system causes a machine learning (ML) model to analyze the unstructured data in the plurality of documents according to the prompt. The system receives results from the ML model in a structured format according to the prompt and outputs a representation of the results.

## Claims

### Claim 1

A method performed by a computing system, the method comprising:
identifying a plurality of documents that include unstructured data;
identifying a prompt for a machine learning (ML) model, the prompt indicating instructions for analyzing the unstructured data in the plurality of documents to:
extract a set of characteristic attributes defined in the prompt, and
identify a set of issue attributes defined in the prompt;
causing the ML model to analyze the unstructured data in the plurality of documents according to the prompt, including:
causing the ML model to perform a first pass that includes individually analyzing documents of the plurality of documents to generate first output that includes, for each respective document, extracted characteristic attributes and identified issue attributes of the respective document;
causing the ML model to perform a second pass that includes analyzing clusters of documents clustered by characteristic attributes of the first output, wherein analyzing the clusters of documents includes, for each cluster of documents, analyzing the characteristic attributes of the first output for documents in the cluster to generate second output that includes cluster-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt; and
causing the ML model to perform a third pass that includes analyzing the cluster-level characteristic attributes of the second output to generate third output that includes one or more collection-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt;
receiving results from the ML model in a structured format according to the prompt, the results based on the first output of the first pass, the second output of the second pass, and the third output of the third pass; and
outputting a representation of the results returned by the ML model.

### Claim 2 (depends on 1)

The method of claim 1, wherein the prompt includes instructions to return results for each characteristic attribute in the set of characteristic attributes, the results for each characteristic attribute including, for each document in the plurality of documents, one or more of the following: a category represented by a respective document and determined by the ML model, an integer representing a count associated with the respective document and determined by the ML model, or a string describing the respective document and determined by the ML model.

### Claim 3 (depends on 1)

The method of claim 1, wherein the prompt includes instructions to return results for each issue attribute in the set of issue attributes, the results for each issue attribute including, for each document in the plurality of documents, one or more of the following: a Boolean value representing presence of the issue attribute in a respective document and determined by the ML model, or a representation of unstructured content from the respective document that caused the issue attribute to be identified as present by the ML model.

### Claim 4 (depends on 1)

The method of claim 1, wherein the set of characteristic attributes includes one or more of the following characteristic attributes: a topic of a target set of documents, a sentiment of a target set of documents, a summary of a target set of documents, a tone of a target set of documents, a language of a target set of documents, a quality grade of a target set of documents, or a category of a target set of documents.

### Claim 5 (depends on 1)

The method of claim 1, wherein the set of issue attributes include one or more of the following issue attributes: presence of personally identifiable information (PII) in a document, presence of abusive language in a document, presence of sensitive information in a document, or presence of duplicate documents.

### Claim 6 (depends on 5)

The method of claim 5, wherein the first output of the first pass includes representations of unstructured content that caused one or more issue attributes to be identified as present by the ML model.

### Claim 7 (depends on 1)

The method of claim 1, wherein the results include a score for each document in the plurality of documents, the score determined by the ML model based on one or more of the following:
one or more characteristic attributes extracted from the respective document, or presence of one or more issue attributes identified in the respective document.

### Claim 8 (depends on 1)

The method of claim 1, comprising:
receiving input identifying one or more attribute classes, the one or more attribute classes corresponding to one or more characteristic attributes in the set of characteristic attributes, one or more issue attributes in the set of issue attributes, or a combination of both; and
generating the prompt including instantiating the one or more attribute classes.

### Claim 9 (depends on 1)

The method of claim 1, comprising receiving input specifying the ML model to use for analyzing the unstructured data in the plurality of documents.

### Claim 10 (depends on 1)

The method of claim 1, comprising:
validating the results received from the ML model including determining whether the structured format of the results complies with formatting instructions in the prompt.

### Claim 11 (depends on 10)

The method of claim 10, comprising, in response to a determination that the structured format of the results does not comply with the formatting instructions in the prompt, prompting the ML model to fix a non-compliant portion of the results.

### Claim 12 (depends on 1)

The method of claim 1, wherein outputting the representation of the results includes one or both of the following:
generating one or more visualizations based on the results; or
storing the representation of the results in a storage resource.

### Claim 13 (depends on 1)

The method of claim 1, wherein the unstructured data includes one or more of the following: text data, audio data, or visual data.

### Claim 14 (depends on 1)

The method of claim 1, comprising modifying the plurality of documents based on the results returned by the ML model, wherein modifying the plurality of documents includes one or more of the following:
removing one or more documents from the plurality of documents based on identified presence of one or more issue attributes;
altering content within one or more documents based on presence of one or more issue attributes;
annotating content within one or more documents based on presence of one or more issue attributes;
highlighting content within one or more documents based on presence of one or more issue attributes;
removing content within one or more documents based on presence of one or more issue attributes;
replacing content within one or more documents based on presence of one or more issue attributes; or
redacting content within one or more documents based on presence of one or more issue attributes.

### Claim 15 (depends on 14)

The method of claim 14, comprising using the modified plurality of documents to train a different ML model.

### Claim 16 (depends on 14)

The method of claim 14, wherein modifying the plurality of documents includes outputting a modified set of documents that is distinct from the plurality of documents.

### Claim 17

A system comprising:
one or more processors; and
a computer-readable medium storing instructions that are operable when executed by the one or more processors to perform operations comprising:
identifying a plurality of documents that include unstructured data;
identifying a prompt for a machine learning (ML) model, the prompt indicating instructions for analyzing the unstructured data in the plurality of documents to:
extract a set of characteristic attributes defined in the prompt, and
identify a set of issue attributes defined in the prompt;
causing the ML model to analyze the unstructured data in the plurality of documents according to the prompt, including:
causing the ML model to perform a first pass that includes individually analyzing documents of the plurality of documents to generate first output that includes, for each respective document, extracted characteristic attributes and identified issue attributes of the respective document;
causing the ML model to perform a second pass that includes analyzing clusters of documents clustered by characteristic attributes of the first output, wherein analyzing the clusters of documents includes, for each cluster of documents, analyzing the characteristic attributes of the first output for documents in the cluster to generate second output that includes cluster-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt; and
causing the ML model to perform a third pass that includes analyzing the cluster-level characteristic attributes of the second output to generate third output that includes one or more collection-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt;
receiving results from the ML model in a structured format according to the prompt, the results based on the first output of the first pass, the second output of the second pass, and the third output of the third pass; and
outputting a representation of the results returned by the ML model.

### Claim 18 (depends on 17)

The system of claim 17, wherein the prompt includes instructions to return results for each characteristic attribute in the set of characteristic attributes, the results for each characteristic attribute including, for each document in the plurality of documents, one or more of the following: a category represented by a respective document and determined by the ML model, an integer representing a count associated with the respective document and determined by the ML model, or a string describing the respective document and determined by the ML model.

### Claim 19 (depends on 17)

The system of claim 17, wherein the prompt includes instructions to return results for each issue attribute in the set of issue attributes, the results for each issue attribute including, for each document in the plurality of documents, one or more of the following: a Boolean value representing presence of the issue attribute in a respective document and determined by the ML model, or a representation of unstructured content from the respective document that caused the issue attribute to be identified as present by the ML model.

### Claim 20 (depends on 17)

The system of claim 17, wherein the set of characteristic attributes includes one or more of the following characteristic attributes: a topic of a target set of documents, a sentiment of a target set of documents, a summary of a target set of documents, a tone of a target set of documents, a language of a target set of documents, a quality grade of a target set of documents, or a category of a target set of documents.

### Claim 21 (depends on 17)

The system of claim 17, wherein the set of issue attributes include one or more of the following issue attributes: presence of personally identifiable information (PII) in a document, presence of abusive language in a document, presence of sensitive information in a document, or presence of duplicate documents.

### Claim 22 (depends on 17)

The system of claim 17, the computer-readable medium storing instructions that are operable when executed by the one or more processors to perform operations comprising:
validating the results received from the ML model including determining whether the structured format of the results complies with formatting instructions in the prompt.

### Claim 23 (depends on 17)

The system of claim 17, the computer-readable medium storing instructions that are operable when executed by the one or more processors to perform operations comprising modifying the plurality of documents based on the results returned by the ML model, wherein modifying the plurality of documents includes one or more of the following:
removing one or more documents from the plurality of documents based on identified presence of one or more issue attributes;
altering content within one or more documents based on presence of one or more issue attributes;
annotating content within one or more documents based on presence of one or more issue attributes;
highlighting content within one or more documents based on presence of one or more issue attributes;
removing content within one or more documents based on presence of one or more issue attributes;
replacing content within one or more documents based on presence of one or more issue attributes; or
redacting content within one or more documents based on presence of one or more issue attributes.

### Claim 24

A non-transitory computer-readable medium storing instructions that are operable when executed by a data-processing apparatus to perform operations comprising:
identifying a plurality of documents that include unstructured data;
identifying a prompt for a machine learning (ML) model, the prompt indicating instructions for analyzing the unstructured data in the plurality of documents to:
extract a set of characteristic attributes defined in the prompt, and
identify a set of issue attributes defined in the prompt;
causing the ML model to analyze the unstructured data in the plurality of documents according to the prompt, including:
causing the ML model to perform a first pass that includes individually analyzing documents of the plurality of documents to generate first output that includes, for each respective document, extracted characteristic attributes and identified issue attributes of the respective document;
causing the ML model to perform a second pass that includes analyzing clusters of documents clustered by characteristic attributes of the first output, wherein analyzing the clusters of documents includes, for each cluster of documents, analyzing the characteristic attributes of the first output for documents in the cluster to generate second output that includes cluster-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt; and
causing the ML model to perform a third pass that includes analyzing the cluster-level characteristic attributes of the second output to generate third output that includes one or more collection-level characteristic attributes identified according to the set of characteristic attributes defined in the prompt;
receiving results from the ML model in a structured format according to the prompt, the results based on the first output of the first pass, the second output of the second pass, and the third output of the third pass; and
outputting a representation of the results returned by the ML model.

### Claim 25 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the prompt includes instructions to return results for each characteristic attribute in the set of characteristic attributes, the results for each characteristic attribute including, for each document in the plurality of documents, one or more of the following: a category represented by a respective document and determined by the ML model, an integer representing a count associated with the respective document and determined by the ML model, or a string describing the respective document and determined by the ML model.

### Claim 26 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the prompt includes instructions to return results for each issue attribute in the set of issue attributes, the results for each issue attribute including, for each document in the plurality of documents, one or more of the following: a Boolean value representing presence of the issue attribute in a respective document and determined by the ML model, or a representation of unstructured content from the respective document that caused the issue attribute to be identified as present by the ML model.

### Claim 27 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the set of characteristic attributes includes one or more of the following characteristic attributes: a topic of a target set of documents, a sentiment of a target set of documents, a summary of a target set of documents, a tone of a target set of documents, a language of a target set of documents, a quality grade of a target set of documents, or a category of a target set of documents.

### Claim 28 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the set of issue attributes include one or more of the following issue attributes: presence of personally identifiable information (PII) in a document, presence of abusive language in a document, presence of sensitive information in a document, or presence of duplicate documents.

### Claim 29 (depends on 24)

The non-transitory computer-readable medium of claim 24, the non-transitory computer-readable medium storing instructions that are operable when executed by the data-processing apparatus to perform operations comprising:
validating the results received from the ML model including determining whether the structured format of the results complies with formatting instructions in the prompt.

### Claim 30 (depends on 24)

The non-transitory computer-readable medium of claim 24, the non-transitory computer-readable medium storing instructions that are operable when executed by the data-processing apparatus to perform operations comprising modifying the plurality of documents based on the results returned by the ML model, wherein modifying the plurality of documents includes one or more of the following:
removing one or more documents from the plurality of documents based on identified presence of one or more issue attributes;
altering content within one or more documents based on presence of one or more issue attributes;
annotating content within one or more documents based on presence of one or more issue attributes;
highlighting content within one or more documents based on presence of one or more issue attributes;
removing content within one or more documents based on presence of one or more issue attributes;
replacing content within one or more documents based on presence of one or more issue attributes; or
redacting content within one or more documents based on presence of one or more issue attributes.
