Skip to main content
QUICK REVIEW

[Paper Review] OmniLytics: A Blockchain-based Secure Data Market for Decentralized Machine Learning

Jiacheng Liang, Songze Li|arXiv (Cornell University)|Jul 12, 2021
Blockchain Technology Applications and SecurityComputer Science11 citations
TL;DR

OmniLytics proposes a blockchain-based secure data market enabling decentralized machine learning via an Ethereum smart contract, where data owners contribute private data to train a model without revealing it, while ensuring model and data privacy, Byzantine resilience, and atomic payment. The system boosts model accuracy from 62% to 83% in under 500ms of blockchain processing time for a CNN on MNIST.

ABSTRACT

We propose OmniLytics, a blockchain-based secure data trading marketplace for machine learning applications. Utilizing OmniLytics, many distributed data owners can contribute their private data to collectively train an ML model requested by some model owners, and receive compensation for data contribution. OmniLytics enables such model training while simultaneously providing 1) model security against curious data owners; 2) data security against the curious model and data owners; 3) resilience to malicious data owners who provide faulty results to poison model training; and 4) resilience to malicious model owners who intend to evade payment. OmniLytics is implemented as a blockchain smart contract to guarantee the atomicity of payment. In OmniLytics, a model owner splits its model into the private and public parts and publishes the public part on the contract. Through the execution of the contract, the participating data owners securely aggregate their locally trained models to update the model owner's public model and receive reimbursement through the contract. We implement a working prototype of OmniLytics on Ethereum blockchain and perform extensive experiments to measure its gas cost, execution time, and model quality under various parameter combinations. For training a CNN on the MNIST dataset, the MO is able to boost its model accuracy from 62% to 83% within 500ms in blockchain processing time.This demonstrates the effectiveness of OmniLytics for practical deployment.

Motivation & Objective

  • To address the security and privacy limitations of centralized data markets in machine learning.
  • To enable a broker-free, decentralized data market where data owners contribute private data without exposing it.
  • To ensure model privacy by splitting the model into private and public components stored on the blockchain.
  • To provide resilience against malicious data owners who submit faulty updates and against malicious model owners who evade payment.
  • To implement a secure, efficient, and practical smart contract for end-to-end trustless data trading in ML.

Proposed method

  • The model owner splits its model into a private part (kept secret) and a public part (published on the blockchain) to preserve model privacy.
  • Data owners locally train the public model on their private data and upload masked updates using secure aggregation to prevent data leakage.
  • The smart contract executes the SecModelUpdate function, aggregating contributions and applying the multi-Krum algorithm to filter out malicious updates.
  • Payment is enforced atomically via the smart contract, ensuring honest data owners are reimbursed only after successful model updates.
  • The system uses pair-wise masking and cryptographic techniques to ensure data and model privacy during distributed training.
  • A prototype is implemented on Ethereum, with gas cost, execution time, and model accuracy measured across various configurations.

Experimental results

Research questions

  • RQ1Can a blockchain-based data market be designed to enable secure, decentralized training of machine learning models without a central authority?
  • RQ2How can model privacy be preserved when model weights are partially exposed on the blockchain?
  • RQ3What mechanisms can ensure data privacy when data owners contribute locally trained models to a shared model?
  • RQ4How effective is the system in resisting Byzantine attacks from malicious data owners submitting faulty updates?
  • RQ5Can the system ensure atomic and fair payment to honest data contributors while preventing payment evasion by malicious model owners?

Key findings

  • The OmniLytics system successfully boosts model accuracy from 62% to 83% on the MNIST dataset using a CNN, within 500ms of blockchain processing time.
  • Increasing the number of data owners (DOs) reduces the number of contract invocations needed to reach a given accuracy, but increases per-invocation execution time.
  • Model accuracy improves with more public layers in the model (up to 15.96% of total parameters), demonstrating the effectiveness of public model sharing.
  • Setting the pre-training epochs for the model owner (MO) to 40 yields the highest final model accuracy across all tested configurations.
  • The system maintains high resilience against Byzantine data owners: with μ=0.5, it achieves 83.12% accuracy under 2% attack rate, dropping only to 56.86% at 16% attack rate.
  • The multi-Krum outlier detection mechanism effectively suppresses malicious updates, with higher μ values offering stronger defense at the cost of increased gas cost and execution time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.