# US 2025/0156390 A1 · Merkle-enhanced training data audit process

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

- Number: US 2025/0156390 A1
- Document ID: US20250156390A1
- Status: Published application
- Kind: A1
- Application number: 18/508,532
- Filed: 2023-11-14
- Published: 2025-05-15
- Earliest claimed: 2023-11-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gennaro Anthony Cuomo; Blane H. Dolph
- Web page: https://patentgrep.com/patent/US20250156390A1

## CPC

- G06F 16/2246: {Trees, e.g. B+trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present inventive concept provides for a method of verifying data using Merkle proof and root. The method includes organizing a dataset into a Merkle tree, the dataset including a plurality of data elements. A Merkle root is generated that represents the dataset organized into the Merkle tree. A generated Merkle proof is provided for a data element of the plurality of data elements, and it is determined whether the data element is included in the dataset using the Merkle root and the Merkle proof.

## Claims

### Claim 1

A computer-implemented method of verifying data using Merkle proof and root, the method comprising:
organizing a dataset into a Merkle tree, wherein the dataset includes a plurality of data elements;
training a large language model (LLM) using the dataset;
generating a result from a prompt used in the trained LLM;
generating a Merkle root that represents the dataset organized into the Merkle tree;
providing a generated Merkle proof for a specific data element of the plurality of data elements; and
verifying that the result is informed by the specific data element by determining whether the data element is included in the dataset using the Merkle root and the Merkle proof.

### Claim 2 (depends on 1)

The method of claim 1, wherein the dataset is included in a foundation model.

### Claim 3 (depends on 1)

The method of claim 1, wherein the generated Merkle root and the generated Merkle proof are each a hash.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
including the generated Merkle root in metadata of the dataset.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
requesting a generated Merkle proof; and
authorizing the request of the generated Merkle proof before the providing of the generated Merkle proof for the specific data element of the plurality of data elements.

### Claim 6 (depends on 1)

The method of claim 1, wherein the verifying inclusion of the data element in the dataset using the Merkle root and the Merkle proof further comprises:
sequentially hashing a data hash of the data element with hashes from the Merkle proof; and
comparing the sequential hash result and the Merkle root.

### Claim 7 (depends on 6)

The method of claim 6, wherein if the compared sequential hash result and the Merkle root match, inclusion of the data element in the dataset is verified.

### Claim 8

A computer program product (CPP) for verifying data using Merkle proof and root, the CPP comprising:
one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media capable of performing a method, the method comprising:
organizing a dataset into a Merkle tree, wherein the dataset includes a plurality of data elements;
training a large language model (LLM) using the dataset;
generating a result from a prompt used in the trained LLM;
generating a Merkle root that represents the dataset organized into the Merkle tree;
providing a generated Merkle proof for a specific data element of the plurality of data elements; and
verifying that the result is informed by the specific data element by determining whether the data element is included in the dataset using the Merkle root and the Merkle proof.

### Claim 9 (depends on 8)

The CPP of claim 8, wherein the dataset is included in a foundation model.

### Claim 10 (depends on 8)

The CPP of claim 8, wherein the generated Merkle root and the generated Merkle proof are each a hash.

### Claim 11 (depends on 8)

The CPP of claim 8, further comprising:
including the generated Merkle root in metadata of the dataset.

### Claim 12 (depends on 8)

The CPP of claim 8, further comprising:
requesting a generated Merkle proof; and
authorizing the request of the generated Merkle proof before the providing of the generated Merkle proof for the data element of the plurality of data elements.

### Claim 13 (depends on 8)

The CPP of claim 8, wherein the verifying inclusion of the specific data element in the dataset using the Merkle root and the Merkle proof further comprises:
sequentially hashing a data hash of the data element with hashes from the Merkle proof; and
comparing the sequential hash result and the Merkle root.

### Claim 14 (depends on 13)

The CPP of claim 13, wherein if the compared sequential hash result and the Merkle root match, inclusion of the data element in the dataset is verified.

### Claim 15

A computer system (CS) for verifying data using Merkle proof and root, the CS comprising:
one or more computer processors, one or more computer-readable storage media, and program instructions stored on the one or more computer-readable storage media for execution by at least one of the one or more computer processors capable of performing a method, the method comprising:
organizing a dataset into a Merkle tree, wherein the dataset includes a plurality of data elements;
training a large language model (LLM) using the dataset;
generating a result from a prompt used in the trained LLM;
generating a Merkle root that represents the dataset organized into the Merkle tree;
providing a generated Merkle proof for a specific data element of the plurality of data elements; and
verifying that the result is informed by the specific data element by determining whether the data element is included in the dataset using the Merkle root and the Merkle proof.

### Claim 16 (depends on 15)

The CS of claim 15, wherein the dataset is included in a foundation model.

### Claim 17 (depends on 15)

The CS of claim 15, wherein the generated Merkle root and the generated Merkle proof are each a hash.

### Claim 18 (depends on 15)

The CS of claim 15, further comprising:
including the generated Merkle root in metadata of the dataset.

### Claim 19 (depends on 15)

The CS of claim 15, further comprising:
requesting a generated Merkle proof; and
authorizing the request of the generated Merkle proof before the providing of the generated Merkle proof for the specific data element of the plurality of data elements.

### Claim 20 (depends on 15)

The CS of claim 15, wherein the verifying inclusion of the data element in the dataset using the Merkle root and the Merkle proof further comprises:
sequentially hashing a data hash of the specific data element with hashes from the Merkle proof;
and
comparing the sequential hash result and the Merkle root.
