Golden Grain: Building a Secure and Decentralized Model Marketplace for MLaaS

11/12/2020
by   Jiasi Weng, et al.
0

ML-as-a-service (MLaaS) becomes increasingly popular and revolutionizes the lives of people. A natural requirement for MLaaS is, however, to provide highly accurate prediction services. To achieve this, current MLaaS systems integrate and combine multiple well-trained models in their services. However, in reality, there is no easy way for MLaaS providers, especially for startups, to collect well-trained models from individual developers, due to the lack of incentives. In this paper, we aim to fill this gap by building a model marketplace, called as Golden Grain, to facilitate model sharing, which enforces the fair model-money swaps between individual developers and MLaaS providers. Specifically, we deploy the swapping process on the blockchain, and further introduce a blockchain-empowered model benchmarking design for transparently determining the model prices according to their authentic performances so as to incentivize the faithful contributions of well-trained models. Especially, to ease the blockchain overhead for benchmarking, our marketplace carefully offloads the heavy computation and crafts a trusted execution environment (TEE) based secure off-chain on-chain interaction protocol, ensuring both the integrity and authenticity of benchmarking. We implement a prototype of our Golden Grain on the Ethereum blockchain, and conduct extensive experiments with standard benchmark datasets to demonstrate the practically affordable performance of our design.

READ FULL TEXT

page 1

page 2

page 3

page 4

01/15/2021

Trading on-chain: how feasible is regulators' worst-case scenario?

When consumers trade financial products, they typically use well-identif...
06/17/2021

ÐArcher: Detecting On-Chain-Off-Chain Synchronization Bugs in Decentralized Applications

Since the emergence of Ethereum, blockchain-based decentralized applicat...
04/13/2020

Smart Contracts on the Move

Blockchain systems have received much attention and promise to revolutio...
09/15/2021

BOSS: A Blockchain Off-State Sharing System

Blockchain has been applied to data sharing to ensure the integrity of d...
06/30/2021

Extending On-chain Trust to Off-chain - A Trustworthy Vaccine Shipping Example

Blockchain creates a secure environment on top of strict cryptographic a...
12/10/2021

Decentralized Spectrum Access System: Vision, Challenges, and a Blockchain Solution

Spectrum access system (SAS) is widely considered the de facto solution ...
04/14/2022

Proof of Federated Training: Accountable Cross-Network Model Training and Inference

Blockchain has widely been adopted to design accountable federated learn...