Ownership Preserving AI Market Places Using Blockchain

Nishant Baranwal Somy, Kalapriya Kannan, Vijay Arya, Sandeep Hans, Abhishek Singh, Pranay Lohia, Sameep Mehta

TL;DR

This paper introduces a decentralized, blockchain-based AI marketplace that allows data owners, cloud providers, and AI developers to collaboratively train models without sacrificing privacy or asset ownership. By combining federated learning, homomorphic encryption, and smart contracts on Hyperledger Fabric, the system ensures verifiable, trustless interactions while achieving high scalability by keeping heavy computation and storage off-chain.

What Problem Does This Paper Address?

Current AI marketplaces (both centralized and decentralized) struggle with a fundamental flaw: they require participants to expose their raw data or proprietary models to third parties. This exposure leads to a loss of intellectual property, violates strict data privacy regulations (like GDPR), and discourages stakeholders from sharing valuable assets. Furthermore, centralized marketplaces rely on a trusted middleman, which can lead to digital monopolies, higher costs, and a lack of transparency.

The authors aim to build a "trustless" marketplace where Data Owners (DOs), Model Owners (MOs), and Cloud Owners (COs) can collaborate securely. The challenge is ensuring that no party can steal another's assets, while simultaneously guaranteeing that cloud providers actually perform the compute work they claim to be doing.

Methods

The authors design a decentralized protocol using Hyperledger Fabric. The system separates participants into three distinct roles: Data Owners (DO), Cloud Owners (CO) who provide GPU compute, and Model Owners (MO) who provide the AI architecture.

Key techniques include:

  • Data Splitting & Replication: DOs split their datasets into "Privacy Preserving Data Subsets" (PPDS) and distribute them off-chain to various COs. No single CO gets the full dataset. Crucially, subsets are also replicated across multiple COs to enable consensus-based verification later.
  • Federated Learning + Homomorphic Encryption: MOs encrypt their models using homomorphic encryption and send them to the COs. COs train the encrypted models on their local data subsets (federated learning) and return the updates. Because the model is encrypted, the CO cannot steal it.
  • Off-Chain Computation / On-Chain Verification: Unlike other blockchain AI projects that force network nodes to perform redundant ML training to achieve consensus, this system uses the blockchain strictly for metadata, audit trails, and verification via smart contracts (chaincode).
  • Cryptographic Proof of Training: To prevent a lazy CO from faking the training to save GPU resources, the system compares the hashed model outputs from multiple COs holding the same replicated data subset. Nonces (random numbers) are appended to the models before hashing to prevent malicious COs from simply copying another CO's published hash.

Datasets

Not discussed in the paper in the context of machine learning benchmarks. The paper does not evaluate the system on standard ML datasets (like ImageNet or CIFAR). Instead, the evaluation focuses on the blockchain network's infrastructure performance. The authors use Hyperledger Caliper and Pgbench to simulate transaction workloads and benchmark the throughput and latency of the proposed smart contracts.

Key Insights and Ideas

  • Decoupling is crucial for scalability: By keeping the heavy lifting (data storage and model training) off-chain and using the blockchain strictly for recording hashes and state changes, the system avoids the massive computational bottlenecks that plague other blockchain-based AI networks.
  • Trust through cryptographic accountability: The clever use of nonces combined with data replication ensures that cloud providers actually spend the GPU cycles to train the models. If a provider tries to cheat by submitting a fake model or copying a hash, the consensus mechanism catches the mismatch.
  • Skewed data splitting protects privacy: Data isn't just randomly split; it's split in a skewed fashion so no subset contains all classes or a full range of values. This prevents model owners from reverse-engineering data characteristics over multiple federated learning rounds.

Key Results

  • The system was implemented using 15 chaincode functions on Hyperledger Fabric and tested across geographically distributed data centers (San Jose and London).
  • It scales efficiently, handling up to 1,000 transactions per second (tps) in an optimized 4-peer setup.
  • Because a full model training setup requires about 15 blockchain transactions, the system can support initiating roughly 65 to 70 model training jobs per second.
  • The blockchain overhead adds only about 15 seconds of latency to the workflow. This is practically negligible compared to the hours or days typically required for actual AI model training.

Limitations and Future Work

  • Limitations: The paper assumes the existence of seamless homomorphic encryption that blends perfectly with federated learning. However, it glosses over the massive computational overhead that homomorphic encryption typically introduces to the actual ML training phase, focusing instead on the blockchain's performance.
  • Future Work: The authors plan to integrate more comprehensive algorithms for homomorphic encryption specifically tailored for federated learning. They also aim to develop an automated evaluation mechanism so stakeholders can transparently assess model and data quality, allowing the system to execute automated financial payouts based on those verified contributions.

Summary updated

BibTeX
@inproceedings{somy2019ownership,
  author = {Nishant Baranwal Somy and Kalapriya Kannan and Vijay Arya and Sandeep Hans and Abhishek Singh and Pranay Lohia and Sameep Mehta},
  title = {{Ownership Preserving AI Market Places Using Blockchain}},
  booktitle = {Blockchain},
  year = {2019},
  doi = {10.1109/blockchain.2019.00029},
}
Figure