arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.05017cs.LG
收藏

用于协同机器学习模型训练的智能合约研究

An Investigation of Smart Contract for Collaborative Machine Learning Model Training

Shengwen Ding, Chenhui Hu

摘要:

机器学习(ML)在大数据时代已经渗透到各个领域。协作机器学习(CML)相对于大多数传统ML的优势在于分散节点或代理的共同努力,从而获得更好的模型性能和泛化能力。由于机器学习模型的训练需要大量高质量的数据,因此有必要消除对数据隐私的担忧并确保高质量的数据。为了解决这个问题,我们将目光投向CML和智能合约的集成。基于区块链,智能合约可以自动执行数据保存和验证,以及CML模型训练的连续性。在我们的模拟实验中,我们定义了智能合约的激励机制,研究了数据集中的特征数量(num_words),训练数据的大小,数据持有者提交数据的成本等重要因素,并总结了这些因素如何影响模型的性能指标:训练模型的准确性,模拟前后模型准确性之间的差距,以及使用坏代理的时间。例如,从我们对实验结果的观察来看,num_words值的增加导致了更高的模型精度,并在更短的时间内消除了恶意代理的负面影响。统计分析表明,在智能合约的帮助下,有效地减少了无效数据的影响,并保持了模型的鲁棒性。我们还讨论了现有研究中的差距,并提出了未来可能的工作方向。

英文摘要:

Machine learning (ML) has penetrated various fields in the era of big data. The advantage of collaborative machine learning (CML) over most conventional ML lies in the joint effort of decentralized nodes or agents that results in better model performance and generalization. As the training of ML models requires a massive amount of good quality data, it is necessary to eliminate concerns about data privacy and ensure high-quality data. To solve this problem, we cast our eyes on the integration of CML and smart contracts. Based on blockchain, smart contracts enable automatic execution of data preserving and validation, as well as the continuity of CML model training. In our simulation experiments, we define incentive mechanisms on the smart contract, investigate the important factors such as the number of features in the dataset (num_words), the size of the training data, the cost for the data holders to submit data, etc., and conclude how these factors impact the performance metrics of the model: the accuracy of the trained model, the gap between the accuracies of the model before and after simulation, and the time to use up the balance of bad agent. For instance, the increase of the value of num_words leads to higher model accuracy and eliminates the negative influence of malicious agents in a shorter time from our observation of the experiment results. Statistical analyses show that with the help of smart contracts, the influence of invalid data is efficiently diminished and model robustness is maintained. We also discuss the gap in existing research and put forward possible future directions for further works.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑