Analysis of Models for Decentralized and Collaborative AI on Blockchain

09/14/2020
by   Justin D. Harris, et al.
0

Machine learning has recently enabled large advances in artificial intelligence, but these results can be highly centralized. The large datasets required are generally proprietary; predictions are often sold on a per-query basis; and published models can quickly become out of date without effort to acquire more data and maintain them. Published proposals to provide models and data for free for certain tasks include Microsoft Research's Decentralized and Collaborative AI on Blockchain. The framework allows participants to collaboratively build a dataset and use smart contracts to share a continuously updated model on a public blockchain. The initial proposal gave an overview of the framework omitting many details of the models used and the incentive mechanisms in real world scenarios. In this work, we evaluate the use of several models and configurations in order to propose best practices when using the Self-Assessment incentive mechanism so that models can remain accurate and well-intended participants that submit correct data have the chance to profit. We have analyzed simulations for each of three models: Perceptron, Naïve Bayes, and a Nearest Centroid Classifier, with three different datasets: predicting a sport with user activity from Endomondo, sentiment analysis on movie reviews from IMDB, and determining if a news article is fake. We compare several factors for each dataset when models are hosted in smart contracts on a public blockchain: their accuracy over time, balances of a good and bad user, and transaction costs (or gas) for deploying, updating, collecting refunds, and collecting rewards. A free and open source implementation for the Ethereum blockchain and simulations written in Python is provided at https://github.com/microsoft/0xDeCA10B. This version has updated gas costs using newer optimizations written after the original publication.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/16/2019

Decentralized & Collaborative AI on Blockchain

Machine learning has recently enabled large advances in artificial intel...
research
03/21/2020

Towards an Enterprise-Ready Implementation of Artificial Intelligence-Enabled, Blockchain-Based Smart Contracts

Blockchain technology and artificial intelligence (AI) are current hot t...
research
10/25/2019

User Data Sharing Frameworks: A Blockchain-Based Incentive Solution

Currently, there is no universal method to track who shared what, with w...
research
05/23/2019

Non-Negative PARATUCK2 Tensor Decomposition Combined to LSTM Network For Smart Contracts Profiling

Smart contracts are programs stored and executed on a blockchain. The Et...
research
11/21/2021

A Blockchain-Based Approach for Collaborative Formalization of Mathematics and Programs

Formalization of mathematics is the process of digitizing mathematical k...
research
09/12/2022

An Investigation of Smart Contract for Collaborative Machine Learning Model Training

Machine learning (ML) has penetrated various fields in the era of big da...
research
11/27/2017

Witnet: A Decentralized Oracle Network Protocol

Witnet is a decentralized oracle network (DON) that connects smart contr...

Please sign up or login with your details

Forgot password? Click here to reset