Papers1 provider · 1 record
January 1, 2026· Zenodo
conference-paper

Structure-Aware Merkle Trees for Tamper-Localizable Dataset and Model Integrity on Blockchain and Distributed Storage

Abstract

Datasets and machine learning (ML) models are often exchanged between organizations that do not fully trust each other. Their integrity is usually checked with a single hash of the whole file, which reveals that a file was altered but not which part, so a verifier cannot tell whether one label was flipped or an entire model layer was replaced. Existing blockchain and Merkle-tree-based integrity systems split files into rows or fixed-size chunks and share the same limitation. We propose a structure-aware Merkle tree that follows the artifact’s own structure: tabular datasets are hashed column by column and safetensors model checkpoints tensor by tensor, with each leaf bound to its column or tensor name. Only the root of the tree and a tag identifying the hashing scheme are anchored on a public blockchain smart contract, while the file itself can be stored on a distributed storage file system (DSFS). A verifier recomputes the tree from the received file and compares its root with the anchored one; if they differ, it compares the tree with that derived from an authentic copy of the file, itself checked against the same root, and names the exact column, row, or tensor that changed, without a trusted third party. We implemented the framework as a working prototype and evaluated it on synthetic datasets and models. Every modification was detected, and every changed cell or tensor value was pinpointed exactly, whereas a conventional Merkle tree could only point to a whole row or a large block of the file. The cost is a longer, one-time hashing step for the data owner, which however remained under one second in all tests.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.