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.
Create a lesson
Metadata
- Categories
- cs.CR, cs.DC
- Comments
- 6 pages. Accepted for presentation at the 15th International Workshop on Cloud and Edge Computing, and Applications Management (CloudAM 2026), co-located with the 19th IEEE/ACM International Conference on Utility and Cloud Computing (UCC 2026), Florianopolis, Brazil. Publication in IEEE Xplore pending
Related papers
Confidential Model Sharing Protocol for Distributed Transfer Learning and Blockchain-Governed Access
Shared title terminologycs.CRZeeshan Ali, Walter Tiberti, Andrea Marotta et al.
Evaluating Post-Quantum and Hybrid Signatures for Blockchains: Performance, Storage and Ledger Growth
Shared title terminologycs.CRAnthony Mikhaiel, Essam Ghadafi
Merkle Trees Minimize Verifier Complexity in the ROM
Shared title terminologycs.CRMiranda Christ, Oliver Korten, Tal Malkin et al.
From Vendor-Neutral Request to Paid Backend: Procurement Integrity at the Commitment Boundary of AI Coding Agents
Shared title terminologycs.CRJinqian Zhang, Haojun Xia, Shujiang Wu et al.
Intelligent Event-Safe Cyber-Physical Attack Detection and Localization in Critical Water Infrastructure: A Cross-Dataset Study of SWaT and WADI
Shared title terminologycs.CRVictor Kebande
Energy-Aware Intrusion Detection Granularity for IoT Gateways
Shared title terminologycs.CRHuixue Han, Shangzhi Xu, Tao Liu et al.